//#region src/types.d.ts
type ApiAuthor = {
  /**用户邮箱。*/email: string; /**用户名。*/
  user_name: string;
};
type ApiBranch = {
  /**分支指向的最新提交信息。*/commit: {
    /**最新提交的哈希值。*/sha: string;
  }; /**分支是否被锁定。*/
  locked: boolean; /**分支名称。*/
  name: string; /**分支是否是保护分支。*/
  protected: boolean;
};
type ApiBranchDetail = {
  /**分支指向的最新提交信息。*/commit: ApiCommit; /**分支是否被锁定。*/
  locked: boolean; /**分支名称。*/
  name: string; /**分支是否是保护分支。*/
  protected: boolean;
};
type ApiBranchProtection = {
  /**是否允许所有人创建保护分支。*/allow_creation: boolean; /**是否允许所有人删除保护分支。*/
  allow_deletions: boolean; /**是否允许所有人强制推送。*/
  allow_force_pushes: boolean; /**是否仅允许仓库管理员及负责人创建保护分支。*/
  allow_master_creation: boolean; /**是否仅允许仓库管理员及负责人删除保护分支。*/
  allow_master_deletions: boolean; /**是否仅允许仓库管理员及负责人强制推送。*/
  allow_master_force_pushes: boolean; /**是否允许仓库管理员及负责人手动合并到目标分支。*/
  allow_master_manual_merge: boolean; /**是否仅允许仓库管理员及负责人推送代码到保护分支中。*/
  allow_master_pushes: boolean; /**是否允许所有人推送代码到保护分支中。*/
  allow_pushes: boolean;
  forbid_approve_pull_created_by_own_npc: boolean; /**保护分支规则唯一标识符。*/
  id: string; /**需要的代码评审者数量。格式：`评审者数量 ∈ [1,5]`*/
  required_approved_review_count: number; /**需要的评审通过率。格式：`通过率 ∈ [1, 100]`*/
  required_approved_review_ratio: number; /**是否仅允许线性提交。*/
  required_linear_history: boolean; /**是否需至少一个仓库管理员批准。*/
  required_master_approve: boolean; /**是否仅允许自动合并。*/
  required_must_auto_merge: boolean; /**是否必须通过合并请求推送代码到此规则匹配分支中。*/
  required_must_push_via_pull_request: boolean; /**保护分支的合并请求是否需要代码评审。*/
  required_pull_request_reviews: boolean; /**是否需要通过状态检查。*/
  required_status_checks: boolean; /**保护分支规则名称，支持通配符。*/
  rule: string;
};
type ApiCodeIssueDetail = {
  /**责任人邮箱（git 原始信息）。*/author_email: string; /**责任人姓名（git 原始信息）。*/
  author_name: string; /**问题创建时间。*/
  created_at: string; /**问题描述。*/
  description: string; /**规则展示名称。*/
  display_name: string; /**额外信息。*/
  extra_msg: string; /**包含问题的文件路径。*/
  file_path: string; /**问题ID。*/
  id: string; /**忽略时间。*/
  ignored_at: string; /**问题介绍。*/
  introduce: string; /**行号。*/
  line_no: number; /**引入问题的commit。*/
  occur_version: string; /**重新开启时间。*/
  reopen_at: string; /**仓库ID。*/
  repo_id: string; /**问题所在的commit。*/
  revision: string; /**严重级别。*/
  risk_level: string; /**问题规则。*/
  rule: string; /**规则名称。*/
  rule_title: string; /**问题状态（open/ignored）。*/
  state: string; /**扫描工具。*/
  tool: string;
};
type ApiCodeIssueListData = {
  /**问题列表。*/list: ApiCodeIssueRecord[];
};
type ApiCodeIssueRecord = {
  /**责任人邮箱（git 原始信息）。*/author_email: string; /**责任人姓名（git 原始信息）。*/
  author_name: string; /**问题创建时间。*/
  created_at: string; /**规则展示名称。*/
  display_name: string; /**包含问题的文件路径。*/
  file_path: string; /**问题ID。*/
  id: string; /**行号。*/
  line_no: number; /**引入问题的commit。*/
  occur_version: string; /**仓库ID。*/
  repo_id: string; /**问题所在的commit。*/
  revision: string; /**严重级别。*/
  risk_level: string; /**问题规则。*/
  rule: string; /**规则名称。*/
  rule_title: string; /**扫描工具。*/
  tool: string;
};
type ApiCommit = {
  /**提交的作者信息。*/author: ApiUserInfo; /**提交的详细信息。*/
  commit: ApiCommitObject; /**提交的提交者信息。*/
  committer: ApiUserInfo; /**父提交列表。*/
  parents: ApiCommitParent[]; /**提交的哈希值。*/
  sha: string;
};
type ApiCommitAsset = {
  /**提交附件作者信息。*/author: ApiUserInfo; /**附件内容类型。*/
  content_type: string; /**附件创建时间。*/
  created_at: string; /**下载次数。*/
  download_count: number; /**附件哈希算法。*/
  hash_algo: string; /**附件哈希值。*/
  hash_value: string; /**附件唯一标识符。*/
  id: string; /**附件名称。*/
  name: string; /**附件路径。*/
  path: string; /**附件大小（字节）。*/
  size_in_byte: number; /**附件更新时间。*/
  updated_at: string;
};
type ApiCommitDiffFilePatch = {
  /**新增行数。*/additions: number; /**删除行数。*/
  deletions: number; /**文件权限模式。*/
  mode: string; /**文件名。*/
  name: string; /**Git差异补丁内容。*/
  patch: string; /**文件路径。*/
  path: string; /**重命名前的原文件名。*/
  previous_filename: string; /**重命名前的文件权限模式。*/
  previous_mode: string; /**文件变更状态。枚举值：`added`,`modified`,`deleted`,`renamed`,`copied`*/
  status: "added" | "modified" | "deleted" | "renamed" | "copied";
};
type ApiCommitObject = {
  /**提交的作者签名信息。*/author: ApiSignature; /**提交的评论数量。*/
  comment_count: number; /**提交的提交者签名信息。*/
  committer: ApiSignature; /**提交的消息内容。*/
  message: string; /**提交对应的树对象信息。*/
  tree: ApiCommitObjectTree; /**提交的验证信息。*/
  verification: ApiCommitObjectVerification;
};
type ApiCommitObjectTree = {
  /**树对象的哈希值。*/sha: string;
};
type ApiCommitObjectVerification = {
  /**验证负载数据。*/payload: string; /**验证结果的原因。*/
  reason: string; /**签名信息。*/
  signature: string; /**提交是否已验证。*/
  verified: boolean; /**验证时间。*/
  verified_at: string;
};
type ApiCommitParent = {
  /**父提交的哈希值。*/sha: string;
};
type ApiCommitStatuses = {
  /**提交的哈希值。*/sha: string; /**整体提交状态。*/
  state: string; /**具体的提交状态检查列表。*/
  statuses: GitWoaComCnbMonorepoGitInternalAppVcsServiceBffApiCommitStatus[];
};
type ApiCompareResponse = {
  /**基准对比提交。*/base_commit: ApiCommit; /**提交列表。*/
  commits: ApiCommit[]; /**文件差异列表。*/
  files: ApiCommitDiffFilePatch[]; /**源分支最新提交。*/
  head_commit: ApiCommit; /**共同祖先提交。*/
  merge_base_commit: ApiCommit; /**总提交数。*/
  total_commits: number;
};
type ApiContent = {
  /**当内容为text时的实际内容（base64编码）。*/content: string; /**内容编码方式，仅当内容类型为blob时有效。枚举值：`base64`*/
  encoding: "base64"; /**子项列表，当内容类型为tree时返回，否则为空。*/
  entries: ApiTreeEntry[]; /**LFS对象的下载URL，仅当内容类型为lfs时有效。*/
  lfs_download_url: string; /**LFS对象的唯一标识符，仅当内容类型为lfs时有效。*/
  lfs_oid: string; /**LFS对象的大小（字节），仅当内容类型为lfs时有效。*/
  lfs_size: number; /**内容名称（文件名或目录名）。*/
  name: string; /**内容在仓库中的完整路径。*/
  path: string; /**Git对象的哈希值。*/
  sha: string; /**内容大小（字节）。*/
  size: number; /**内容类型。枚举值：`tree`、`blob`、`lfs`、`empty`*/
  type: "tree" | "blob" | "lfs" | "empty";
};
type ApiContributorTrend = {
  /**贡献者信息。*/author: ApiAuthor; /**贡献者的总提交数。*/
  commit_count: number; /**贡献者以周为单位的提交趋势数据。*/
  weeks: ApiWeek[];
};
type ApiDeleteIssueAssigneesForm = {
  /**Issue处理人用户名列表，最大限制为8。示例：`["zhangsan", "lisi"]`*/assignees: string[];
};
type ApiDeletePullAssigneesForm = {
  /**合并请求的处理人用户列表。*/assignees: string[];
};
type ApiDiffLine = {
  /**实际内容文本。*/content: string; /**左侧（原版本）的行号。*/
  left_line_number: number; /**差异行的前缀符号。*/
  prefix: string; /**右侧（新版本）的行号。*/
  right_line_number: number; /**枚举值：`context`,`addition`,`deletion`,`context_eofnl`,`add_eofnl`,`del_eofnl`,`file_header`,`hunk_header`,`binary`*/
  type: "context" | "addition" | "deletion" | "context_eofnl" | "add_eofnl" | "del_eofnl" | "file_header" | "hunk_header" | "binary";
};
type ApiIssue = {
  /**Issue处理人列表，最多支持8个处理人。*/assignees: ApiUserInfo[]; /**Issue创建者信息。*/
  author: ApiUserInfo; /**Issue评论数量。*/
  comment_count: number; /**Issue创建时间。*/
  created_at: string; /**Issue结束日期。*/
  ended_at: string; /**Issue是否可见。*/
  invisible: boolean; /**Issue标签列表，最多支持10个标签。*/
  labels: ApiLabel[]; /**Issue最后活动时间。*/
  last_acted_at: string; /**Issue的唯一标识编号。*/
  number: string; /**Issue优先级。枚举值：`-2P`,`-1P`,`P0`,`P1`,`P2`,`P3`*/
  priority: "-2P" | "-1P" | "P0" | "P1" | "P2" | "P3"; /**Issue开始日期。*/
  started_at: string; /**Issue状态。枚举值：`open`,`closed`*/
  state: "open" | "closed"; /**状态变更原因。枚举值：`open`,`completed`,`not_planned`,`reopened`*/
  state_reason: "open" | "completed" | "not_planned" | "reopened"; /**Issue标题，长度限制2-255字符。*/
  title: string; /**Issue最后更新时间。*/
  updated_at: string;
};
type ApiIssueActivity = {
  /**动态发起人。*/actor: ApiUserInfo; /**动态发起人的仓库访问角色。*/
  actor_access_role: string; /**创建时间。*/
  created_at: string; /**动态唯一标识。*/
  id: string; /**动态详细内容。*/
  payload: any; /**提交时间。*/
  submitted_at: string; /**动态类型。*/
  type: string;
};
type ApiIssueComment = {
  /**发表评论的用户信息。*/author: ApiUserInfo; /**评论的内容。*/
  body: string; /**评论的创建时间。*/
  created_at: string; /**评论的唯一标识符。*/
  id: string; /**Reaction 数量列表。*/
  reactions: GitWoaComCnbMonorepoGitInternalAppVcsServiceBffApiSceneReaction[]; /**评论的更新时间。*/
  updated_at: string;
};
type ApiIssueDetail = {
  /**Issue处理人列表，最多支持8个处理人。*/assignees: ApiUserInfo[]; /**Issue创建者信息。*/
  author: ApiUserInfo; /**Issue内容正文。*/
  body: string; /**Issue评论数量。*/
  comment_count: number; /**Issue创建时间。*/
  created_at: string; /**Issue结束日期。*/
  ended_at: string; /**Issue是否可见。*/
  invisible: boolean; /**Issue标签列表，最多支持10个标签（含创建者和贴标者信息）。*/
  labels: ApiLabelInfo[]; /**Issue最后活动时间。*/
  last_acted_at: string; /**Issue的唯一标识编号。*/
  number: string; /**Issue优先级。枚举值：`-2P`,`-1P`,`P0`,`P1`,`P2`,`P3`*/
  priority: "-2P" | "-1P" | "P0" | "P1" | "P2" | "P3"; /**Issue自定义属性列表。*/
  properties: ApiIssueProperty[]; /**Issue开始日期。*/
  started_at: string; /**Issue状态。枚举值：`open`,`closed`*/
  state: "open" | "closed"; /**状态变更原因。枚举值：`open`,`completed`,`not_planned`,`reopened`*/
  state_reason: "open" | "completed" | "not_planned" | "reopened"; /**Issue标题，长度限制2-255字符。*/
  title: string; /**Issue最后更新时间。*/
  updated_at: string;
};
type ApiIssueProperty = {
  /**自定义属性键名。*/key: string; /**自定义属性显示名称。*/
  name: string; /**自定义属性类型。枚举值：`string`,`date`,`number`*/
  type: "string" | "date" | "number"; /**自定义属性值。*/
  value: string;
};
type ApiIssuePropertyUpdateResult = {
  /**更新失败的属性数量*/failed_count: number; /**更新失败的属性key列表，仅当存在失败时返回*/
  failed_keys: string[]; /**更新成功的属性数量*/
  success_count: number;
};
type ApiLabel = {
  /**标签颜色。*/color: string; /**标签描述。*/
  description: string; /**标签ID。*/
  id: string; /**标签名称。*/
  name: string;
};
type ApiLabelInfo = {
  /**贴标者信息。*/applied_by: ApiUserInfo; /**标签颜色。*/
  color: string; /**标签创建者信息。*/
  creator: ApiUserInfo; /**标签描述。*/
  description: string; /**标签ID。*/
  id: string; /**标签名称。*/
  name: string;
};
type ApiMergePullRequest = {
  /**合并提交的详细描述信息。*/commit_message: string; /**合并提交的标题。*/
  commit_title: string; /**合并提交方式。可选值：`merge`,`squash`,`rebase`*/
  merge_style: string;
};
type ApiMergePullResponse = {
  /**是否成功合并。*/merged: boolean; /**合并操作的响应消息。*/
  message: string; /**合并提交的哈希值。*/
  sha: string;
};
type ApiMeta = {
  /**生成数据的分支名称。*/gen_branch: string; /**生成数据的提交哈希。*/
  gen_hash: string; /**数据更新时间戳。*/
  updated_at: string;
};
type ApiPatchIssueAssigneesForm = {
  /**Issue处理人用户名列表，最大限制为8。示例：`["zhangsan", "lisi"]`*/assignees: string[];
};
type ApiPatchIssueCommentForm = {
  /**Issue评论内容。*/body: string;
};
type ApiPatchIssueForm = {
  /**Issue内容。*/body: string; /**Issue结束日期。示例：`2026-12-30`*/
  end_date: string; /**Issue优先级。可选值：`-2P`,`-1P`,`P0`,`P1`,`P2`,`P3`*/
  priority: string; /**Issue开始日期。示例：`2026-01-01`*/
  start_date: string; /**Issue状态。可选值：`open`,`closed`*/
  state: string; /**ISSUE状态变更原因。可选值：`completed`,`not_planned`,`reopened`*/
  state_reason: string; /**Issue标题。*/
  title: string;
};
type ApiPatchLabelForm = {
  /**标签颜色。示例值: `ff0000`,`00ff00`,`0000ff`,`ffffff`。*/color: string; /**标签描述信息。*/
  description: string; /**标签名称。*/
  new_name: string;
};
type ApiPatchPullCommentForm = {
  /**评论内容。*/body: string;
};
type ApiPatchPullRequest = {
  /**合并请求的更新内容。*/body: string; /**合并请求的更新状态。可选值：`open`,`closed`*/
  state: string; /**合并请求的更新标题。*/
  title: string;
};
type ApiPipelineSettings = {
  /**是否允许仓库按照.cnb.yml配置自动触发云原生构建。*/auto_trigger: boolean; /**是否允许仓库按照.cnb.yml配置自动触发定时任务。*/
  cron_auto_trigger: boolean; /**是否允许本仓Fork出来的仓库按照.cnb.yml配置自动触发云原生构建。*/
  forked_repo_auto_trigger: boolean;
};
type ApiPostBlobForm = {
  /**Blob的内容。*/content: string; /**内容的编码格式。可选值：`utf-8`,`base64`*/
  encoding: string;
};
type ApiPostIssueAssetUploadUrlForm = {
  /**文件类型。*/content_type: string; /**文件名。必填。*/
  name: string; /**文件大小，单位：字节。必须大于 0。*/
  size: number;
};
type ApiPostIssueAssigneesForm = {
  /**Issue处理人用户名列表，最大限制为8。示例：`["zhangsan", "lisi"]`*/assignees: string[];
};
type ApiPostIssueCommentForm = {
  /**Issue评论内容。*/body: string;
  work_mode: boolean;
};
type ApiPostIssueForm = {
  /**Issue处理人列表，最大限制为8。示例：`["处理人1","处理人2"]`*/assignees: string[]; /**Issue内容。*/
  body: string; /**Issue结束日期。示例：`2026-12-30`*/
  end_date: string; /**是否可见。*/
  invisible: boolean; /**Issue标签列表，最大限制为10。示例：`["标签1","标签2"]`*/
  labels: string[]; /**Issue优先级。可选值：`-2P`,`-1P`,`P0`,`P1`,`P2`,`P3`*/
  priority: string; /**Issue开始日期。示例：`2026-01-01`*/
  start_date: string; /**Issue标题。*/
  title: string; /**是否开启工作模式。*/
  work_mode: boolean;
};
type ApiPostIssueLabelsForm = {
  /**Issue标签列表，最大限制为10。示例：`["标签1","标签2"]`*/labels: string[];
};
type ApiPostLabelForm = {
  /**标签颜色。示例值: `ff0000`,`00ff00`,`0000ff`,`ffffff`。*/color: string; /**标签描述信息。*/
  description: string; /**标签名称。*/
  name: string;
};
type ApiPostPullAssigneesForm = {
  /**合并请求的处理人用户列表。*/assignees: string[];
};
type ApiPostPullLabelsForm = {
  /**合并请求的标签列表。*/labels: string[];
};
type ApiPostPullRequestReviewReplyForm = {
  /**回复的评论内容。*/body: string; /**父评论ID。*/
  reply_to_comment_id: string;
};
type ApiPostTagFrom = {
  /**标签的描述信息。*/message: string; /**标签名称。*/
  name: string; /**标签指向的目标对象。格式：`分支名称`,`标签名称`,`提交哈希`*/
  target: string;
};
type ApiPull = {
  /**作者信息。*/author: ApiUserInfo; /**目标分支信息。*/
  base: ApiPullRef; /**阻塞原因。枚举值：`no_merge_base`,`internal_error`,`code_conflict`,`status_check`,`waiting_review`*/
  blocked_on: "no_merge_base" | "internal_error" | "code_conflict" | "status_check" | "waiting_review"; /**合并请求内容。*/
  body: string; /**源分支信息。*/
  head: ApiPullRef; /**是否为WIP状态，WIP状态表示合并请求是否是草稿阶段。*/
  is_wip: boolean; /**关联的标签列表（含创建者和贴标者信息）。*/
  labels: ApiLabelInfo[]; /**可合并状态。枚举值：`checking`,`mergeable`,`merging`,`merged`,`conflict`,`no-merge-base`*/
  mergeable_state: "checking" | "mergeable" | "merging" | "merged" | "conflict" | "no-merge-base"; /**合并者信息。*/
  merged_by: ApiUserInfo; /**合并请求唯一标识符编号。*/
  number: string; /**评审人列表，包含评审状态信息。*/
  reviewers: ApiPullReviewer[]; /**合并请求状态。枚举值：`open`,`closed`,`merged`*/
  state: "open" | "closed" | "merged"; /**合并请求标题。*/
  title: string;
};
type ApiPullCommentCreationForm = {
  /**评论内容。*/body: string;
};
type ApiPullCreationForm = {
  /**目标分支名称。*/base: string; /**合并请求内容。*/
  body: string; /**源分支名称。*/
  head: string; /**源分支所在的仓库标识。示例值：`owner/repo`*/
  head_repo: string; /**合并请求标题。*/
  title: string;
};
type ApiPullFile = {
  /**新增行数。*/additions: number; /**文件的Blob对象访问地址。*/
  blob_url: string; /**文件内容访问地址。*/
  contents_url: string; /**删除行数。*/
  deletions: number; /**文件名称。*/
  filename: string; /**文件的差异补丁内容。*/
  patch: string; /**文件的原始内容访问地址。*/
  raw_url: string; /**文件的提交哈希值。*/
  sha: string; /**文件更改状态。枚举值：`add`,`modify`,`delete`,`rename`,`copy`*/
  status: "add" | "modify" | "delete" | "rename" | "copy";
};
type ApiPullRef = {
  /**分支引用名称。示例值：`refs/heads/main`*/ref: string; /**关联的仓库信息。*/
  repo: ApiRepo; /**提交哈希值。*/
  sha: string;
};
type ApiPullRefInfo = {
  /**分支引用名称。*/ref: string; /**关联的仓库信息。*/
  repo: ApiRepoInfo; /**提交哈希值。*/
  sha: string;
};
type ApiPullRequest = {
  /**处理人列表。*/assignees: ApiUserInfo[]; /**作者信息。*/
  author: ApiUserInfo; /**目标分支信息。*/
  base: ApiPullRef; /**阻塞原因。枚举值：`no_merge_base`,`internal_error`,`code_conflict`,`status_check`,`waiting_review`*/
  blocked_on: "no_merge_base" | "internal_error" | "code_conflict" | "status_check" | "waiting_review"; /**合并请求内容。*/
  body: string; /**评论数量。*/
  comment_count: number; /**创建时间。*/
  created_at: string; /**源分支信息。*/
  head: ApiPullRef; /**是否为WIP状态，WIP状态表示合并请求是否是草稿阶段。*/
  is_wip: boolean; /**标签列表。*/
  labels: ApiLabel[]; /**最后更新时间。*/
  last_acted_at: string; /**可合并状态。枚举值：`checking`,`mergeable`,`merging`,`merged`,`conflict`,`no-merge-base`*/
  mergeable_state: "checking" | "mergeable" | "merging" | "merged" | "conflict" | "no-merge-base"; /**合并者信息。*/
  merged_by: ApiUserInfo; /**Pulls唯一标识编号。*/
  number: string; /**仓库信息。*/
  repo: ApiRepo; /**评审数量。*/
  review_count: number; /**合并请求状态。枚举值：`open`,`closed`,`merged`*/
  state: "open" | "closed" | "merged"; /**合并请求标题。*/
  title: string; /**更新时间。*/
  updated_at: string;
};
type ApiPullRequestComment = {
  /**评论作者信息。*/author: ApiUserInfo; /**评论内容。*/
  body: string; /**创建时间。*/
  created_at: string; /**合并请求评论的唯一标识符。*/
  id: string; /**Reaction 数量列表。*/
  reactions: GitWoaComCnbMonorepoGitInternalAppGitServiceBffApiSceneReaction[]; /**最后更新时间。*/
  updated_at: string;
};
type ApiPullRequestInfo = {
  /**处理人列表。*/assignees: ApiUserInfo[]; /**作者信息。*/
  author: ApiUserInfo; /**目标分支信息。*/
  base: ApiPullRefInfo; /**阻塞原因。枚举值：`no_merge_base`,`internal_error`,`code_conflict`,`status_check`,`waiting_review`*/
  blocked_on: "no_merge_base" | "internal_error" | "code_conflict" | "status_check" | "waiting_review"; /**创建时间。*/
  created_at: string; /**源分支信息。*/
  head: ApiPullRefInfo; /**标签列表。*/
  labels: ApiLabel[]; /**最后更新时间。*/
  last_acted_at: string; /**可合并状态。枚举值：`checking`,`mergeable`,`merging`,`merged`,`conflict`,`no-merge-base`*/
  mergeable_state: "checking" | "mergeable" | "merging" | "merged" | "conflict" | "no-merge-base"; /**合并者信息。*/
  merged_by: ApiUserInfo; /**Pull唯一标识编号。*/
  number: string; /**仓库信息。*/
  repo: ApiRepoInfo; /**评审者列表。*/
  reviewers: ApiUserInfo[]; /**Pull状态。枚举值：`open`,`closed`,`merged`*/
  state: "open" | "closed" | "merged"; /**标题。*/
  title: string; /**更新时间。*/
  updated_at: string;
};
type ApiPullRequestSettings = {
  /**是否允许直接提交合并。*/allow_merge_commit_merge: boolean; /**是否允许变基合并。*/
  allow_rebase_merge: boolean; /**是否允许压缩合并。*/
  allow_squash_merge: boolean; /**是否允许自动添加仓库管理员为评审者。*/
  master_auto_as_reviewer: boolean; /**直接提交合并操作时默认生成的提交信息内容。可选值：`default`,`pull_request_title`,`pull_request_title_with_body`*/
  merge_commit_message_style: string; /**压缩合并操作时默认生成的提交信息内容。可选值：`default`,`pull_request_title`,`pull_request_title_with_body`*/
  squash_commit_message_style: string;
};
type ApiPullReview = {
  /**Review的作者信息。*/author: ApiUserInfo; /**Review的详细内容。*/
  body: string; /**Review的创建时间。*/
  created_at: string; /**Review的唯一标识符。*/
  id: string; /**Review的状态。枚举值：`approved`、`changes_requested`、`commented`、`dismissed`、`pending`等。*/
  state: "approved" | "changes_requested" | "commented" | "dismissed" | "pending"; /**Review的最后更新时间。*/
  updated_at: string;
};
type ApiPullReviewComment = {
  /**评论的作者信息。*/author: ApiUserInfo; /**评论的具体内容。*/
  body: string; /**评论所基于的提交哈希值。*/
  commit_hash: string; /**评论的创建时间。*/
  created_at: string; /**评论关联的差异块信息。*/
  diff_hunk: ApiDiffLine[]; /**评论结束行号，subject_type=line时有效。*/
  end_line: number; /**评论结束位置的代码版本侧。枚举值：`left`,`right`*/
  end_side: "left" | "right"; /**评论的唯一标识符。*/
  id: string; /**评论所在文件的路径。示例值：`src/main.go`*/
  path: string; /**Reaction 数量列表。*/
  reactions: GitWoaComCnbMonorepoGitInternalAppGitServiceBffApiSceneReaction[]; /**回复的父评论ID，如果是回复评论则不为空。*/
  reply_to_comment_id: string; /**所属Review的唯一标识符。*/
  review_id: string; /**Review的状态。枚举值：`approved`,`changes_requested`,`commented`,`dismissed`,`pending`*/
  review_state: "approved" | "changes_requested" | "commented" | "dismissed" | "pending"; /**评论起始行号，subject_type=line时有效。*/
  start_line: number; /**评论起始位置的代码版本侧。枚举值：`left`,`right`*/
  start_side: "left" | "right"; /**评论对象类型。枚举值：`line`,`file`*/
  subject_type: "line" | "file"; /**评论的最后更新时间。*/
  updated_at: string;
};
type ApiPullReviewCommentCreationForm = {
  /**评论内容。*/body: string; /**结束行号，subject_type=line时必填。*/
  end_line: number; /**评论结束位置的代码版本侧，subject_type=line时必填。可选值：`left`,`right`*/
  end_side: string; /**文件路径。示例值：`src/main.go`*/
  path: string; /**起始行号，subject_type=line时必填。*/
  start_line: number; /**评论起始位置的代码版本侧，subject_type=line时必填。可选值：`left`,`right`*/
  start_side: string; /**评论对象类型，当subject_type为file时无需指定行号和侧别字段。可选值：`line`,`file`*/
  subject_type: string;
};
type ApiPullReviewCreationForm = {
  /**Review的评审意见内容。*/body: string; /**评审中的具体评论列表。*/
  comments: ApiPullReviewCommentCreationForm[]; /**Review事件类型.如：`approve`,`comment`,`request_changes`,`pending`*/
  event: string;
};
type ApiPullReviewer = {
  /**评审状态。枚举值：`pending`,`commented`,`approved`,`changes_requested`,`dismissed`。*/review_state: "pending" | "commented" | "approved" | "changes_requested" | "dismissed"; /**评审人信息。*/
  user: ApiUserInfo;
};
type ApiPushLimitSettings = {
  /**允许单次推送最多允许更新分支和标签的个数数量。*/allow_single_push_number: number; /**是否开启单次更新分支和标签的个数限制。*/
  check_single_push_number: boolean; /**强制要求提交必须有签名。*/
  commit_must_be_signatured: boolean; /**是否仅允许负责人和管理员推送或删除标签、创建或删除版本。*/
  only_master_can_push_tag: boolean; /**推送提交到仓库，对提交作者和提交人进行检查。可选值：`any`,`registered`,`pusher`*/
  push_commit_must_be: string;
};
type ApiPutIssueLabelsForm = {
  /**Issue标签列表，最大限制为10。示例：`["标签1","标签2"]`*/labels: string[];
};
type ApiPutPullLabelsForm = {
  /**合并请求的标签列表。*/labels: string[];
};
type ApiRelease = {
  /**附件列表。*/assets: ApiReleaseAsset[]; /**作者信息。*/
  author: ApiUserInfo; /**版本描述。*/
  body: string; /**创建时间。*/
  created_at: string; /**是否为草稿版本。*/
  draft: boolean; /**版本唯一标识符。*/
  id: string; /**是否为最新版本。*/
  is_latest: boolean; /**版本标题。*/
  name: string; /**是否为预发布版本。*/
  prerelease: boolean; /**版本发布时间。*/
  published_at: string; /**标签与提交标识符。*/
  tag_commitish: string; /**标签名称。*/
  tag_name: string; /**更新时间。*/
  updated_at: string;
};
type ApiReleaseAsset = {
  /**浏览器下载URL（通过主域名，用于用户直接访问）。*/brower_download_url: string; /**附件内容类型。*/
  content_type: string; /**创建时间。*/
  created_at: string; /**下载次数。*/
  download_count: number; /**附件哈希算法。*/
  hash_algo: string; /**附件哈希值。*/
  hash_value: string; /**附件唯一标识符。*/
  id: string; /**附件名称。*/
  name: string; /**附件路径。*/
  path: string; /**附件大小（字节）。*/
  size: number; /**更新时间。*/
  updated_at: string; /**附件上传者信息。*/
  uploader: ApiUserInfo; /**API下载URL（通过API域名，用于程序化下载）。*/
  url: string;
};
type ApiRepo = {
  /**仓库的唯一标识符。*/id: string; /**仓库名称。*/
  name: string; /**仓库的路径标识符。*/
  path: string; /**仓库的Web访问地址。*/
  web_url: string;
};
type ApiRepoContribTrend = {
  /**元数据信息，包含生成分支、哈希和时间戳。*/meta: ApiMeta; /**仓库级别的周度统计数据。*/
  repo_data: ApiWeek[]; /**贡献者总数。*/
  user_total: number; /**贡献者级别的趋势数据，按提交数排序。*/
  users_data: ApiContributorTrend[]; /**统计的周总数。*/
  week_total: number; /**是否统计增删的行数，默认总提交超过10000的仓库不统计。*/
  with_line_counts: boolean;
};
type ApiRepoInfo = {
  /**仓库ID。*/id: string; /**仓库名称。*/
  name: string; /**仓库路径。*/
  path: string; /**仓库Web访问地址。*/
  web_url: string;
};
type ApiRepoProperty = {
  /**自定义属性键名（唯一）。*/key: string; /**自定义属性显示名称。*/
  name: string; /**自定义属性类型。枚举值：`string`,`date`,`number`*/
  type: "string" | "date" | "number"; /**是否可见。*/
  visible: boolean;
};
type ApiSignature = {
  /**签名时间。*/date: string; /**签名者邮箱。*/
  email: string; /**签名者姓名。*/
  name: string;
};
type ApiTag = {
  /**标签指向的commit对象详细信息。*/commit: ApiCommit; /**标签名称。*/
  name: string; /**标签目标对象哈希值。*/
  target: string; /**目标对象类型。*/
  target_type: string; /**标签的GPG签名验证信息。*/
  verification: ApiTagObjectVerification;
};
type ApiTagObjectVerification = {
  /**签名的载荷数据。*/payload: string; /**验证结果的原因描述。*/
  reason: string; /**GPG签名内容。*/
  signature: string; /**签名验证是否通过。*/
  verified: boolean; /**验证时间戳。*/
  verified_at: string;
};
type ApiTreeEntry = {
  /**对象名称（文件名或目录名）。*/name: string; /**对象在仓库中的完整路径。*/
  path: string; /**Git对象的哈希值。*/
  sha: string; /**对象类型。枚举值：`tree`,`blob`,`link`,`submodule`*/
  type: "tree" | "blob" | "link" | "submodule";
};
type ApiUserInfo = {
  /**用户头像。*/avatar: string; /**用户邮箱。*/
  email: string; /**是否冻结。*/
  freeze: boolean; /**是否是 NPC。*/
  is_npc: boolean; /**昵称。*/
  nickname: string; /**用户名。*/
  username: string;
};
type ApiUserIssue = {
  /**Issue处理人列表，最多支持8个处理人。*/assignees: ApiUserInfo[]; /**Issue创建者信息。*/
  author: ApiUserInfo; /**Issue评论数量。*/
  comment_count: number; /**Issue创建时间。*/
  created_at: string; /**Issue结束日期。*/
  ended_at: string; /**Issue是否可见。*/
  invisible: boolean; /**Issue标签列表，最多支持10个标签。*/
  labels: ApiLabel[]; /**Issue最后活动时间。*/
  last_acted_at: string; /**Issue的唯一标识编号。*/
  number: string; /**Issue优先级。枚举值：`-2P`,`-1P`,`P0`,`P1`,`P2`,`P3`*/
  priority: "-2P" | "-1P" | "P0" | "P1" | "P2" | "P3"; /**关联的仓库信息。*/
  repo: ApiRepoInfo; /**Issue开始日期。*/
  started_at: string; /**Issue状态。枚举值：`open`,`closed`*/
  state: "open" | "closed"; /**状态变更原因。枚举值：`open`,`completed`,`not_planned`,`reopened`*/
  state_reason: "open" | "completed" | "not_planned" | "reopened"; /**Issue标题，长度限制2-255字符。*/
  title: string; /**Issue最后更新时间。*/
  updated_at: string;
};
type ApiWeek = {
  /**每周增加的行数。*/a: number; /**每周的提交数量。*/
  c: number; /**每周删除的行数。*/
  d: number; /**周的时间戳。*/
  w: number;
};
type ChartDependency = {
  /**Alias usable alias to be used for the chart*/alias: string; /**A yaml path that resolves to a boolean, used for enabling/disabling charts (e.g. subchart1.enabled )*/
  condition: string; /**Enabled bool determines if chart should be loaded*/
  enabled: boolean;
  /**ImportValues holds the mapping of source values to parent key to be imported. Each item can be a
  string or pair of child/parent sublist items.*/
  "import-values": any[];
  /**Name is the name of the dependency.
  This must mach the name in the dependency's Chart.yaml.*/
  name: string;
  /**The URL to the repository.
  Appending `index.yaml` to this string should result in a URL that can be
  used to fetch the repository index.*/
  repository: string; /**Tags can be used to group charts for enabling/disabling together*/
  tags: string[];
  /**Version is the version (range) of this chart.
  A lock file will always produce a single version, while a dependency
  may contain a semantic version range.*/
  version: string;
};
type ChartMaintainer = {
  /**Email is an optional email address to contact the named maintainer*/email: string; /**Name is a user name or organization name*/
  name: string; /**URL is an optional URL to an address for the named maintainer*/
  url: string;
};
type ChartMetadata = {
  /**Annotations are additional mappings uninterpreted by Helm,
  made available for inspection by other applications.*/
  annotations: any; /**The API Version of this chart. Required.*/
  apiVersion: string; /**The version of the application enclosed inside of this chart.*/
  appVersion: string; /**The condition to check to enable chart*/
  condition: string; /**Dependencies are a list of dependencies for a chart.*/
  dependencies: ChartDependency[]; /**Whether or not this chart is deprecated*/
  deprecated: boolean; /**A one-sentence description of the chart*/
  description: string; /**The URL to a relevant project page, git repo, or contact person*/
  home: string; /**The URL to an icon file.*/
  icon: string; /**A list of string keywords*/
  keywords: string[]; /**KubeVersion is a SemVer constraint specifying the version of Kubernetes required.*/
  kubeVersion: string; /**A list of name and URL/email address combinations for the maintainer(s)*/
  maintainers: ChartMaintainer[]; /**The name of the chart. Required.*/
  name: string; /**Source is the URL to the source code of this chart*/
  sources: string[]; /**The tags to check to enable chart*/
  tags: string; /**Specifies the chart type: application or library*/
  type: string; /**A SemVer 2 conformant version string of the chart. Required.*/
  version: string;
};
type ConstantAccessRole = "Unknown" | "Guest" | "Reporter" | "Developer" | "Master" | "Owner";
type ConstantRepoDisplayModule = {
  /**仓库动态*/activity: boolean; /**仓库贡献者*/
  contributors: boolean; /**仓库版本*/
  release: boolean;
};
type ConstantRepoStatus = 0 | 1 | 2;
type ConstantSlugType = 0 | 1 | 2 | 3 | 4;
type ConstantUserType = 0 | 1 | 2 | 3 | 4;
type ConstantVisibility = "Private" | "Public" | "Secret";
type ConvertNullTime = {
  time: string; /**Valid is true if Time is not NULL*/
  valid: boolean;
};
type DieWebError$1 = {
  errcode: number;
  errmsg: string;
  errparam: any;
};
type DtoActivityCreateRepoDetail = {
  create_at: string; /**公仓转私仓或仓库被删除后为 null*/
  detail: DtoRepos4UserBase; /**activity 发生时仓库的 path，这时的 path 是可以公开的*/
  exposed_repo_path: string; /**仓库是否封禁*/
  freeze: boolean; /**仓库是否不可访问（公仓转私仓或仓库被删除后不可访问）*/
  repo_unaccessible: boolean; /**仓库可见性*/
  visibility_level: ConstantVisibility;
};
type DtoActivityDate = {
  code_review_count: number;
  code_reviews: DtoActivityRepoDetail[];
  commit_count: number;
  commits: DtoActivityRepoDetail[];
  group_count: number;
  groups: DtoActivityJoinGroupDetail[];
  issues: DtoActivityRepoDetail[];
  issues_count: number;
  private_score: number;
  pull_request_count: number;
  pull_requests: DtoActivityRepoDetail[];
  repo_count: number;
  repos: DtoActivityCreateRepoDetail[];
};
type DtoActivityJoinGroupDetail = {
  create_at: string; /**组织详情，组织被删后为 null*/
  detail: DtoOrganizationUnion; /**组织别名，组织被删除后才有值*/
  remark: string;
};
type DtoActivityRepoDetail = {
  /**公仓转私仓或仓库被删除后为 null*/detail: DtoActivitySlugDetail; /**activity 发生时仓库的 path，这时的 path 是可以公开的*/
  exposed_repo_path: string; /**仓库是否封禁*/
  freeze: boolean; /**仓库是否不可访问（公仓转私仓或仓库被删除后不可访问）*/
  repo_unaccessible: boolean;
  time: number; /**仓库可见性*/
  visibility_level: ConstantVisibility;
};
type DtoActivitySlugDetail = {
  /**完整仓库路径*/path: string;
};
type DtoAiChatCompletionsChoice = {
  /**结束原因*/finish_reason: string; /**索引*/
  index: number; /**消息*/
  message: DtoMessage;
};
type DtoAiChatCompletionsReq = {
  /**对话内容*/messages: DtoMessage[]; /**模型名称*/
  model: string; /**是否流式返回结果，部分模型可能不支持非流式*/
  stream: boolean;
};
type DtoAiChatCompletionsResult = {
  /**选择*/choices: DtoAiChatCompletionsChoice[]; /**创建时间*/
  created: number; /**ID*/
  id: string; /**模型*/
  model: string; /**对象*/
  object: string;
};
type DtoAssetRecordType = "slug_img" | "slug_file" | "repo_release" | "repo_commit" | "issue_img" | "issue_file" | "pull_img" | "pull_file" | "unknown";
type DtoAssetRecords = {
  created_at: string;
  id: string; /**来源地址，例如 release 附件的来源地址是对应的 release 页面。issue和pr文件没有。*/
  origin_path: string;
  path: string; /**资源类型，slug_img和slug_file可调用DeleteAsset接口直接删除该资源，repo_release和repo_commit则不行*/
  record_type: DtoAssetRecordType;
  referer: string;
  size_in_byte: number;
};
type DtoAssets = {
  /**资源内容类型。*/content_type: string; /**文件扩展信息。*/
  ext: any; /**文件名。*/
  name: string; /**资源路径。*/
  path: string; /**文件大小。*/
  size: number;
};
type DtoBadge = {
  /**徽章描述*/desc: string; /**徽章分组*/
  group: DtoBadgeGroup; /**徽章链接*/
  link: string; /**徽章名称*/
  name: string; /**徽章类型*/
  type: string; /**徽章URL*/
  url: string;
};
type DtoBadgeGroup = {
  /**徽章分组状态*/status: string; /**徽章分组类型*/
  type: string; /**徽章分组英文类型*/
  typeEn: string;
};
type DtoBuildCommonResult = {
  /**返回码，0 表示成功，1 表示失败*/code: number; /**描述*/
  message: string;
};
type DtoBuildLogsResult = {
  /**构建数据列表*/data: DtoLogInfo[]; /**当前仓库是否已经有构建记录，1 表示有构建记录，0 表示没有构建记录*/
  init: boolean; /**当前时间戳*/
  timestamp: number; /**总数*/
  total: number;
};
type DtoBuildPipelineInfo = {
  /**流水线开始时间*/createTime: string; /**流水线耗时，单位：ms*/
  duration: number; /**流水线 ID*/
  id: string; /**流水线标签*/
  labels: string; /**流水线状态*/
  status: string;
};
type DtoBuildResult = {
  /**构建链接*/buildLogUrl: string; /**构建信息*/
  message: string; /**构建号*/
  sn: string; /**构建是否触发成功，不代表构建结果*/
  success: boolean;
};
type DtoBuildStageResult = {
  /**stage 日志内容，数组格式，一个元素表示一行日志*/content: string[]; /**stage 耗时，单位：ms*/
  duration: number; /**stage 结束时间*/
  endTime: number; /**stage 错误信息*/
  error: string; /**stage id*/
  id: string; /**stage 名称*/
  name: string; /**stage 开始时间*/
  startTime: number; /**stage 状态:  "pending", "start", "success", "error", "cancel", "skipped"*/
  status: string;
};
type DtoBuildStatusResult = {
  /**流水线的状态*/pipelinesStatus: any; /**构建状态*/
  status: string;
};
type DtoChartPackageDetail = {
  address: string;
  desc: string;
  last_pusher: DtoLastPusher;
  package: string;
  pull_count: number;
  recent_pull_count: number;
  slug: string;
  tag_total: number;
  tags: DtoChartTag[];
};
type DtoChartTag = {
  address: string;
  digest: string;
  git_address: string;
  has_provenance: boolean;
  is_deprecated: boolean;
  last_pusher: DtoLastPusher;
  metadata: ChartMetadata;
  name: string;
  pull_count: number;
  recent_pull_count: number;
  size: number;
};
type DtoChartTagDetail = {
  address: string; /**源仓库地址*/
  git_address: string; /**HasProvenance 是否有出生证明; pypi和conan制品由于有多架构，取决于最新推送.*/
  has_provenance: boolean;
  is_deprecated: boolean;
  last_pusher: DtoLastPusher;
  metadata: ChartMetadata;
  package: string;
  pull_count: number;
  recent_pull_count: number;
  size: number;
  slug: string;
  tag: string;
};
type DtoCodeIssueSummary = {
  /**严重风险问题数量*/critical_count: number; /**严重风险问题忽略数量*/
  critical_ignore_count: number; /**是否开启源码信息扫描*/
  enable: boolean; /**高风险问题数量*/
  high_count: number; /**高风险问题忽略数量*/
  high_ignore_count: number; /**忽略的问题数量*/
  ignored: number; /**低风险问题数量*/
  low_count: number; /**低风险问题忽略数量*/
  low_ignore_count: number; /**中风险问题数量*/
  medium_count: number; /**中风险问题忽略数量*/
  medium_ignore_count: number; /**开启中问题数量*/
  open: number;
};
type DtoCodeLicenseOverview = {
  /**是否开启 License 扫描*/enable: boolean; /**高风险 License 数量*/
  high_risk_cnt: number; /**低风险 License 数量*/
  low_risk_cnt: number; /**中风险 License 数量*/
  medium_risk_cnt: number; /**未知风险 License 数量*/
  na_risk_cnt: number;
};
type DtoCodeSensitiveSummary = {
  /**是否开启代码敏感信息扫描*/enable: boolean; /**高风险问题数量*/
  high_count: number; /**高风险问题忽略数量*/
  high_ignore_count: number; /**忽略问题数量*/
  ignored: number; /**低风险问题数量*/
  low_count: number; /**低风险问题忽略数量*/
  low_ignore_count: number; /**中风险问题数量*/
  medium_count: number; /**中风险问题忽略数量*/
  medium_ignore_count: number; /**开启中问题数量*/
  open: number;
};
type DtoCodeVulOverview = {
  /**忽略的严重风险漏洞的数量*/critical_vul_ignore_cnt: number; /**打开的严重风险级别漏洞的数量*/
  critical_vul_open_cnt: number; /**是否开启代码漏洞扫描*/
  enable: boolean; /**忽略的高风险级别漏洞的数量*/
  high_vul_ignore_cnt: number; /**打开的高风险级别漏洞的数量*/
  high_vul_open_cnt: number; /**忽略问题数量*/
  ignored: number; /**忽略的低风险级别漏洞的数量*/
  low_vul_ignore_cnt: number; /**打开的低风险级别漏洞的数量*/
  low_vul_open_cnt: number; /**忽略的中风险级别漏洞的数量*/
  medium_vul_ignore_cnt: number; /**打开的中风险级别漏洞的数量*/
  medium_vul_open_cnt: number; /**开启中问题数量*/
  open: number;
};
type DtoCommonRegistryPackageDetail = {
  address: string;
  desc: string;
  last_pusher: DtoLastPusher;
  package: string;
  pull_count: number;
  recent_pull_count: number;
  slug: string;
  tag_total: number;
  tags: DtoCommonRegistryTag[];
};
type DtoCommonRegistryProvenance = {
  /**Digest 制品摘要.*/digest: string; /**GitAddress git仓库地址.*/
  git_address: string; /**GitCommit git提交记录.*/
  git_commit: string; /**LastPusher 最后推送人.*/
  last_pusher: DtoLastPusher; /**Package 制品名.*/
  package: string; /**RegistryAddress 制品库地址.*/
  registry_address: string; /**SN 流水线构建唯一标识.*/
  sn: string; /**Tag 制品标签名.*/
  tag: string;
};
type DtoCommonRegistryTag = {
  desc: string;
  digest: string;
  has_provenance: boolean;
  last_pusher: DtoLastPusher;
  name: string;
  pull_count: number;
  recent_pull_count: number;
  size: number;
  status: string;
};
type DtoCommonRegistryTagDetail = {
  address: string;
  dependencies: DtoDependency[];
  desc: string;
  files: DtoFile[]; /**HasProvenance 是否有出生证明; pypi和conan制品由于有多架构，取决于最新推送.*/
  has_provenance: boolean;
  last_pusher: DtoLastPusher;
  metadata: DtoMetaData;
  package: string;
  pull_count: number;
  recent_pull_count: number;
  size: number;
  slug: string;
  status: string;
  tag: string;
};
type DtoConanMetaData = {
  author: string; /**conan 的 package 列表*/
  conan_packages: DtoConanPackage[]; /**conan recipe 的 revision, conan 制品专用字段*/
  conan_recipe_revision: string;
  conan_reference: string;
  home_page: string;
  license_url: string;
  package_name: string;
  package_tag: string;
  package_type: string;
  readme: string;
  repository_url: string;
};
type DtoConanPackage = {
  arch: string;
  build_type: string;
  compiler: any;
  options: any;
  os: string;
  package_id: string;
  package_revision: string;
  requires: string[];
};
type DtoConanProvenance = {
  /**LastPusher 最后推送人.*/last_pusher: DtoLastPusher; /**Package 制品名.*/
  package: string; /**RegistryAddress 制品库地址.*/
  registry_address: string;
  sources: DtoConanProvenanceSource[]; /**Tag 制品标签名.*/
  tag: string;
};
type DtoConanProvenanceSource = {
  /**Digest 制品摘要.*/digest: string; /**GitAddress git仓库地址.*/
  git_address: string; /**GitCommit git提交记录.*/
  git_commit: string;
  package_id: string;
  package_revision: string; /**SN 流水线构建唯一标识.*/
  sn: string;
};
type DtoConanRegistryTagDetail = {
  address: string;
  dependencies: DtoDependency[];
  desc: string;
  files: DtoFile[]; /**HasProvenance 是否有出生证明; pypi和conan制品由于有多架构，取决于最新推送.*/
  has_provenance: boolean;
  last_pusher: DtoLastPusher;
  metadata: DtoConanMetaData;
  package: string;
  pull_count: number;
  recent_pull_count: number;
  size: number;
  slug: string;
  status: string;
  tag: string;
};
type DtoContainerAnnotation = {
  revision: string;
  sn: string;
  version: string;
};
type DtoContainerImage = {
  arch: string;
  digest: string;
  layers: DtoContainerImageLayer[];
  os: string;
  size: number;
};
type DtoContainerImageLayer = {
  instruction: string;
  size: number;
};
type DtoContainerPackageDetail = {
  address: string;
  desc: string;
  last_pusher: DtoLastPusher;
  package: string;
  pull_count: number;
  recent_pull_count: number;
  slug: string;
  tag_total: number;
  tags: DtoContainerTag[];
};
type DtoContainerProvenance = {
  /**Digest 制品摘要.*/digest: string; /**GitAddress git仓库地址.*/
  git_address: string; /**GitCommit git提交记录.*/
  git_commit: string;
  images: DtoContainerImage[]; /**LastPusher 最后推送人.*/
  last_pusher: DtoLastPusher; /**Package 制品名.*/
  package: string; /**RegistryAddress 制品库地址.*/
  registry_address: string; /**SN 流水线构建唯一标识.*/
  sn: string; /**Tag 制品标签名.*/
  tag: string;
};
type DtoContainerTag = {
  address: string;
  annotations: DtoContainerAnnotation;
  git_address: string;
  has_provenance: boolean;
  images: DtoContainerImage[];
  last_pusher: DtoLastPusher;
  name: string;
  pull_count: number;
  recent_pull_count: number;
  type: string;
};
type DtoContainerTagDetail = {
  address: string;
  annotations: DtoContainerAnnotation; /**源仓库地址*/
  git_address: string; /**HasProvenance 是否有出生证明; pypi和conan制品由于有多架构，取决于最新推送.*/
  has_provenance: boolean;
  image: DtoContainerImage;
  last_pusher: DtoLastPusher; /**返回的结果是否和提供的架构匹配*/
  matches_requested_arch: boolean;
  options: DtoContainerImage[];
  package: string;
  pull_count: number;
  recent_pull_count: number;
  slug: string;
  tag: string;
  type: string;
};
type DtoCreateGroupReq = {
  /**BindDomain 根组织绑定的域名*/bind_domain: string;
  description: string;
  path: string;
  remark: string;
};
type DtoCreateMissionReq = {
  description: string;
  name: string;
  repos: string[];
  visibility: "public" | "private";
};
type DtoCreateRepoReq = {
  description: string;
  license: string;
  name: string;
  visibility: "public" | "private" | "secret";
};
type DtoDependency = {
  artifact: string;
  framework_name: string;
  name: string;
};
type DtoDockerModelConfig = {
  architecture: string; /**Format the packaging format of the model file(s), currently the only supported value is gguf.*/
  format: string; /**FormatVersion the version of the format*/
  format_version: string;
  gguf: DtoGguf;
  parameters: string;
  quantization: string;
  size: string;
};
type DtoDockerModelDescriptor = {
  created: string;
};
type DtoDockerModelPackageDetail = {
  address: string;
  desc: string;
  last_pusher: DtoLastPusher;
  package: string;
  pull_count: number;
  recent_pull_count: number;
  slug: string;
  tag_total: number;
  tags: DtoDockerModelTag[];
};
type DtoDockerModelProvenance = {
  /**Digest 制品摘要.*/digest: string; /**GitAddress git仓库地址.*/
  git_address: string; /**GitCommit git提交记录.*/
  git_commit: string; /**LastPusher 最后推送人.*/
  last_pusher: DtoLastPusher; /**Package 制品名.*/
  package: string; /**RegistryAddress 制品库地址.*/
  registry_address: string; /**SN 流水线构建唯一标识.*/
  sn: string; /**Tag 制品标签名.*/
  tag: string;
};
type DtoDockerModelTag = {
  address: string;
  config: DtoDockerModelConfig;
  descriptor: DtoDockerModelDescriptor;
  git_address: string;
  has_provenance: boolean;
  last_pusher: DtoLastPusher;
  name: string;
  pull_count: number;
  recent_pull_count: number;
  size: number;
};
type DtoDockerModelTagDetail = {
  address: string;
  config: DtoDockerModelConfig;
  descriptor: DtoDockerModelDescriptor; /**源仓库地址*/
  git_address: string; /**HasProvenance 是否有出生证明; pypi和conan制品由于有多架构，取决于最新推送.*/
  has_provenance: boolean;
  last_pusher: DtoLastPusher;
  package: string;
  pull_count: number;
  recent_pull_count: number;
  size: number;
  slug: string;
  tag: string;
};
type DtoDocumentStatistics = {
  count: number;
  size: number;
};
type DtoEmbeddingModel = {
  dimension: number;
  name: string;
};
type DtoEmbeddingModels = {
  dimension: number;
  name: string;
};
type DtoFile = {
  name: string;
  size: number;
};
type DtoForks = {
  created_at: string;
  fork_count: number;
  freeze: boolean;
  nickname: string;
  path: string;
  user_freeze: boolean;
  user_lock: boolean;
  username: string;
};
type DtoGguf = any;
type DtoGetBadgeReq = {
  /**分支名，例如：main。不传则为默认分支，获取默认分支最新徽章。传了分支名，则获取该分支最新提交记录对应的徽章。*/branch: string;
};
type DtoGetBadgeResult = {
  /**徽章颜色*/color: string; /**徽章左侧显示内容*/
  label: string; /**徽章链接*/
  link: string; /**徽章链接列表*/
  links: string[]; /**徽章右侧显示内容*/
  message: string;
};
type DtoGetRankResult = {
  rank_list: DtoRankDetailWithIncr[];
  updated_at: string;
};
type DtoGroupSettingReq = {
  /**组织限制指定邮箱认证才能加入*/email_verification: string[]; /**组织保护开关，0 - 关闭，1 - 打开*/
  group_protection: number; /**是否对外隐藏组织成员，0 - 否, 1 - 是*/
  hide_members: number; /**是否对外隐藏子组织，0 - 否, 1 - 是*/
  hide_sub_groups: number; /**是否对外显示私有仓库水印，0 - 否, 1 - 是*/
  show_private_repo_watermark: number; /**SettingValue 组织设置值，多个选项，用逗号拼接。可选值来自 SettingNamesArray 的值，e.g. disable_organization_readme,cloud_native_dev_only*/
  values: string;
};
type DtoHelmProvenance = {
  /**Digest 制品摘要.*/digest: string; /**GitAddress git仓库地址.*/
  git_address: string; /**GitCommit git提交记录.*/
  git_commit: string; /**LastPusher 最后推送人.*/
  last_pusher: DtoLastPusher; /**Package 制品名.*/
  package: string; /**RegistryAddress 制品库地址.*/
  registry_address: string; /**SN 流水线构建唯一标识.*/
  sn: string; /**Tag 制品标签名.*/
  tag: string;
};
type DtoInheritMembersUser = {
  access_level: ConstantAccessRole;
  avatar: string;
  created_at: string;
  email: string;
  email_verification: string;
  freeze: boolean;
  id: string;
  inviter: DtoUsers;
  join_time: string;
  locked: boolean;
  member_channel: MemberChannelTypeTarget;
  nickname: string;
  self_member: boolean;
  type: ConstantUserType;
  username: string; /**认证类型*/
  verified: number; /**认证过期时间*/
  verified_expire_in: string;
};
type DtoIssueConfig = {
  /**逗号分隔的排除标签字符串*/exclude_labels: string; /**逗号分隔的标签字符串，如 "bug,feature"*/
  labels: string; /**"open", "closed"*/
  state: string;
};
type DtoKnowledgeBaseInfoRes = {
  embedding_model: DtoEmbeddingModels;
  exclude: string;
  id: string;
  include: string;
  issue_last_sync_time: string;
  issue_sync_enabled: boolean;
  last_commit_sha: string;
  metadata: DtoKnowledgeBaseMetadata;
  statistics: DtoDocumentStatistics;
};
type DtoKnowledgeBaseMetadata = {
  issue: DtoIssueConfig;
  processing: DtoProcessingConfig;
  version: string;
};
type DtoLastPusher = {
  is_frozen: boolean;
  is_lock: boolean;
  name: string;
  nickname: string;
  push_at: string;
};
type DtoListBadgeReq = any;
type DtoListBadgeResult = {
  /**徽章列表*/badges: DtoBadge[];
};
type DtoListForks = {
  fork_tree_count: number;
  forks: DtoForks[];
};
type DtoListInheritMembers = {
  inherit_path: string;
  total: number;
  users: DtoInheritMembersUser[];
};
type DtoLogInfo = {
  /**构建日志 url*/buildLogUrl: string; /**提交日志 title*/
  commitTitle: string; /**构建开始时间*/
  createTime: string; /**构建耗时，单位：ms*/
  duration: number; /**事件名*/
  event: string; /**事件 url*/
  eventUrl: string; /**构建用户是否被冻结*/
  freeze: boolean; /**组织名*/
  groupName: string; /**流水线标签*/
  labels: string; /**构建用户昵称*/
  nickName: string; /**失败的子流水线个数*/
  pipelineFailCount: number; /**成功的子流水线个数*/
  pipelineSuccessCount: number; /**子流水线个数*/
  pipelineTotalCount: number; /**该构建下的流水线列表*/
  pipelines: DtoBuildPipelineInfo[]; /**commitid*/
  sha: string; /**仓库路径*/
  slug: string; /**构建号*/
  sn: string; /**源分支名*/
  sourceRef: string; /**源仓库路径*/
  sourceSlug: string; /**构建状态*/
  status: string; /**目标分支名*/
  targetRef: string; /**构建 title*/
  title: string; /**用户名*/
  userName: string;
};
type DtoMemberAccessLevel = {
  access_level: ConstantAccessRole;
  path: string;
};
type DtoMemberAccessLevelInSlugUnion = {
  access_level: ConstantAccessRole;
  inherit: boolean;
  read_privilege: boolean;
  write_privilege: boolean;
};
type DtoMessage = {
  /**内容*/content: string; /**角色，可选值：user、assistant*/
  role: string;
};
type DtoMetaData = {
  author: string;
  home_page: string;
  license_url: string;
  package_name: string;
  package_tag: string;
  package_type: string;
  readme: string;
  repository_url: string;
};
type DtoMetadataCondition = {
  /**运算符: "is", "is not", "contains", "not contains", "starts with", "ends with", "is empty", "is not empty"*/comparison_operator: string; /**字段名称: "position", "path", "type"*/
  name: string; /**比较值（"is empty" 和 "is not empty" 时忽略此字段）*/
  value: string;
};
type DtoMetadataFilteringConditions = {
  conditions: DtoMetadataCondition[]; /**"and" 或 "or"，默认 "and"*/
  logical_operator: string;
};
type DtoMissionPostViewReq = {
  /**视图唯一标识列表，按此顺序排序*/ids: string[];
};
type DtoMissionView = {
  id: string;
  name: string;
  type: DtoMissionViewType;
};
type DtoMissionViewConfig = {
  /**字段配置*/fields: DtoMissionViewFieldConfig[]; /**分组信息*/
  group: DtoMissionViewGroup; /**视图唯一标识*/
  id: string; /**筛选条件*/
  selectors: DtoMissionViewSelector[]; /**排序条件*/
  sorts: DtoMissionViewSort[]; /**视图类型*/
  type: DtoMissionViewType;
};
type DtoMissionViewFieldConfig = {
  field: string;
  width: number;
};
type DtoMissionViewGroup = {
  customOrders: DtoMissionViewGroupCustom;
  customVisible: DtoMissionViewGroupCustom;
  expendedList: any[];
  field: string;
  order: DtoMissionViewSortOrder;
};
type DtoMissionViewGroupCustom = {
  field: string;
  value: any[];
};
type DtoMissionViewSelector = {
  field: string;
  operator: DtoOperatorType;
  value: string[];
};
type DtoMissionViewSort = {
  field: string;
  order: DtoMissionViewSortOrder;
};
type DtoMissionViewSortOrder = "asc" | "desc";
type DtoMissionViewType = "table" | "board" | "gantt";
type DtoMissions4User = {
  access: ConstantAccessRole;
  created_at: string;
  description: string;
  freeze: boolean;
  id: string;
  name: string;
  path: string;
  pinned: boolean;
  pinned_time: string;
  star_time: string;
  stared: boolean;
  updated_at: string;
  visibility_level: ConstantVisibility;
};
type DtoOperatorType = "equal" | "equals" | "not_equals" | "contains" | "contains_all" | "not_contains" | "empty" | "not_empty" | "before" | "after" | "time_selector";
type DtoOrganizationAccess = {
  /**AccessRole 用户在当前资源的最大权限*/access_role: ConstantAccessRole;
  all_member_count: number; /**下面所有层级子组织*/
  all_sub_group_count: number; /**下面所有层级子任务*/
  all_sub_mission_count: number;
  all_sub_registry_count: number; /**下面所有层级子仓库*/
  all_sub_repo_count: number;
  created_at: string;
  description: string;
  domain: string;
  email: string;
  follow_count: number;
  freeze: boolean;
  has_sub_group: boolean;
  id: string;
  member_count: number;
  name: string;
  path: string;
  pinned: boolean;
  pinned_time: string;
  readme_repo_path: string;
  remark: string;
  site: string; /**下一级子组织数量*/
  sub_group_count: number;
  sub_mission_count: number;
  sub_registry_count: number; /**下一级子仓库*/
  sub_repo_count: number;
  updated_at: string;
  wechat_mp: string;
};
type DtoOrganizationSettingWithParent = {
  /**上级group设置了hide_members为1，则下级都不能显示*/can_show_members: boolean; /**上级group设置了hide_sub_groups为1，则下级都不能显示*/
  can_show_sub_groups: boolean;
  can_show_watermark: boolean;
  email_verification: string[];
  group_protection: number; /**是否对外隐藏组织成员，0 - 否, 1 - 是*/
  hide_members: number; /**是否对外隐藏子组织，0 - 否, 1 - 是*/
  hide_sub_groups: number;
  root_email_verification: string[];
  root_group_protection: boolean;
  root_values: OrganizationSettingValue;
  show_private_repo_watermark: number;
  values: OrganizationSettingValue;
};
type DtoOrganizationUnion = {
  all_member_count: number; /**下面所有层级子组织*/
  all_sub_group_count: number; /**下面所有层级子任务*/
  all_sub_mission_count: number;
  all_sub_registry_count: number; /**下面所有层级子仓库*/
  all_sub_repo_count: number;
  created_at: string;
  description: string;
  domain: string;
  email: string;
  follow_count: number;
  freeze: boolean;
  has_sub_group: boolean;
  id: string;
  member_count: number;
  name: string;
  path: string;
  pinned: boolean;
  pinned_time: string;
  readme_repo_path: string;
  remark: string;
  site: string; /**下一级子组织数量*/
  sub_group_count: number;
  sub_mission_count: number;
  sub_registry_count: number; /**下一级子仓库*/
  sub_repo_count: number;
  updated_at: string;
  wechat_mp: string;
};
type DtoOutsideCollaboratorInRepo = {
  access_level: ConstantAccessRole;
  avatar: string;
  created_at: string;
  email: string;
  freeze: boolean;
  id: string;
  inviter: DtoUsers;
  join_time: string;
  locked: boolean;
  nickname: string;
  type: ConstantUserType;
  username: string; /**认证类型*/
  verified: number; /**认证过期时间*/
  verified_expire_in: string;
};
type DtoPackage = {
  count: number;
  description: string;
  is_dir: boolean;
  labels: string[];
  last_artifact_name: string;
  last_pusher: DtoLastPusher;
  name: string;
  package: string;
  package_type: DtoPackageType;
  pull_count: number;
  recent_pull_count: number;
};
type DtoPackageDetail = {
  cargo: DtoCommonRegistryPackageDetail;
  composer: DtoCommonRegistryPackageDetail;
  conan: DtoCommonRegistryPackageDetail;
  docker: DtoContainerPackageDetail;
  dockermodel: DtoDockerModelPackageDetail;
  generic: DtoCommonRegistryPackageDetail;
  helm: DtoChartPackageDetail;
  maven: DtoCommonRegistryPackageDetail;
  npm: DtoCommonRegistryPackageDetail;
  nuget: DtoCommonRegistryPackageDetail;
  ohpm: DtoCommonRegistryPackageDetail;
  pypi: DtoCommonRegistryPackageDetail;
};
type DtoPackageType = "all" | "docker" | "helm" | "docker-model" | "dockermodel" | "npm" | "maven" | "ohpm" | "pypi" | "composer" | "nuget" | "conan" | "cargo" | "generic";
type DtoProcessingConfig = {
  chunk_overlap: number;
  chunk_size: number;
  text_separator: string;
};
type DtoProvenance = {
  cargo: DtoCommonRegistryProvenance;
  composer: DtoCommonRegistryProvenance;
  conan: DtoConanProvenance;
  docker: DtoContainerProvenance;
  dockermodel: DtoDockerModelProvenance;
  generic: DtoCommonRegistryProvenance;
  helm: DtoHelmProvenance;
  maven: DtoCommonRegistryProvenance;
  npm: DtoCommonRegistryProvenance;
  nuget: DtoCommonRegistryProvenance;
  ohpm: DtoCommonRegistryProvenance;
  pypi: DtoPypiProvenance;
};
type DtoPyPiMetaData = {
  author: string;
  home_page: string;
  license_url: string;
  minimum_stability: string;
  package_name: string;
  package_tag: string;
  package_type: string;
  readme: string;
  repository_url: string;
};
type DtoPyPiRegistryTagDetail = {
  address: string;
  dependencies: DtoDependency[];
  desc: string;
  files: DtoFile[]; /**HasProvenance 是否有出生证明; pypi和conan制品由于有多架构，取决于最新推送.*/
  has_provenance: boolean;
  last_pusher: DtoLastPusher;
  metadata: DtoPyPiMetaData;
  package: string;
  pull_count: number;
  recent_pull_count: number;
  size: number;
  slug: string;
  status: string;
  tag: string;
};
type DtoPypiProvenance = {
  /**LastPusher 最后推送人.*/last_pusher: DtoLastPusher; /**Package 制品名.*/
  package: string; /**RegistryAddress 制品库地址.*/
  registry_address: string;
  sources: DtoPypiProvenanceSource[]; /**Tag 制品标签名.*/
  tag: string;
};
type DtoPypiProvenanceSource = {
  /**Digest 制品摘要.*/digest: string;
  file_name: string; /**GitAddress git仓库地址.*/
  git_address: string; /**GitCommit git提交记录.*/
  git_commit: string; /**SN 流水线构建唯一标识.*/
  sn: string;
};
type DtoQueryKnowledgeBaseReq = {
  /**元数据过滤条件*/metadata_filtering_conditions: DtoMetadataFilteringConditions; /**查询语句*/
  query: string; /**分数阈值*/
  score_threshold: number; /**返回结果的数量*/
  top_k: number;
};
type DtoQueryKnowledgeBaseRes = {
  chunk: string;
  metadata: any;
  score: number;
};
type DtoRankDetailWithIncr = {
  created_at: string;
  description: string;
  display_module: ConstantRepoDisplayModule;
  flags: FlagsRepo;
  fork_count: number; /**预留*/
  forked_from_repo: DtoSlugs;
  freeze: boolean;
  id: string;
  increase_fork: number;
  increase_star: number; /**仓库程序语言，预留*/
  language: string; /**仓库语言*/
  languages: DtoRepoLanguage; /**最新代码更新人姓名*/
  last_update_nickname: string; /**最新代码更新人账户名*/
  last_update_username: string; /**最新代码更新时间*/
  last_updated_at: ConvertNullTime;
  license: string;
  mark_count: number;
  name: string;
  npc_builded_count: number;
  npc_created_pull_count: number;
  npc_merged_pull_count: number; /**开启的issue数*/
  open_issue_count: number; /**开启的pull request数*/
  open_pull_request_count: number; /**完整仓库路径*/
  path: string; /**第二语言*/
  second_languages: DtoRepoLanguage;
  site: string;
  star_count: number;
  stared: boolean;
  status: ConstantRepoStatus;
  tags: {
    name: string;
  }[];
  topics: string;
  updated_at: string;
  visibility_level: ConstantVisibility;
  web_url: string;
  weight_score: number;
};
type DtoRankLanguageList = {
  date: string;
  language: string[];
  rank_type: string;
};
type DtoRegistry4User = {
  access: ConstantAccessRole;
  artifact_policy: "all" | "snapshot" | "release";
  created_at: string;
  description: string;
  freeze: boolean;
  id: string;
  kind: string;
  last_push_time: string;
  last_push_user: DtoUsers;
  name: string;
  overwrite_policy: "forbid" | "allow";
  path: string;
  pinned: boolean;
  pinned_time: string;
  pkg_count: number;
  star_time: string;
  stared: boolean;
  updated_at: string;
  used_size: number;
  visibility_level: ConstantVisibility;
};
type DtoRepoLanguage = {
  color: string;
  language: string;
};
type DtoRepoPatch = {
  description: string;
  license: string;
  site: string;
  topics: string[];
};
type DtoRepoSecurityOverview = {
  code_issue: DtoCodeIssueSummary;
  code_license: DtoCodeLicenseOverview;
  code_sensitive: DtoCodeSensitiveSummary;
  code_vulnerability: DtoCodeVulOverview;
  risk_cnt: DtoRepoSecurityRiskCnt;
};
type DtoRepoSecurityRiskCnt = {
  /**是否开启源码扫描*/code_issue_enable: boolean; /**源码扫描风险数量 (严重+高风险）*/
  code_issue_risk_cnt: number; /**是否开启代码 License 扫描*/
  code_license_enable: boolean; /**License风险数量 (高风险）*/
  code_license_risk_cnt: number; /**是否开启代码敏感信息扫描*/
  code_sensitive_enable: boolean; /**敏感信息风险数量（高风险）*/
  code_sensitive_risk_cnt: number; /**是否开启代码漏洞扫描*/
  code_vulnerability_enable: boolean; /**代码漏洞风险数量（严重+高风险）*/
  code_vulnerability_risk_cnt: number; /**是否开启安全模块*/
  enable: boolean; /**总计数*/
  total: number;
};
type DtoRepoStarUsers = {
  my_follow_count: number;
  total: number;
  users: DtoStarUser[];
};
type DtoRepos4User = {
  access: ConstantAccessRole;
  created_at: string;
  description: string;
  display_module: ConstantRepoDisplayModule;
  flags: FlagsRepo;
  fork_count: number; /**预留*/
  forked_from_repo: DtoSlugs;
  freeze: boolean;
  id: string; /**仓库程序语言，预留*/
  language: string; /**仓库语言*/
  languages: DtoRepoLanguage; /**最新代码更新人姓名*/
  last_update_nickname: string; /**最新代码更新人账户名*/
  last_update_username: string; /**最新代码更新时间*/
  last_updated_at: ConvertNullTime;
  license: string;
  mark_count: number;
  name: string;
  npc_builded_count: number;
  npc_created_pull_count: number;
  npc_merged_pull_count: number; /**开启的issue数*/
  open_issue_count: number; /**开启的pull request数*/
  open_pull_request_count: number; /**完整仓库路径*/
  path: string;
  pinned: boolean;
  pinned_time: string; /**第二语言*/
  second_languages: DtoRepoLanguage;
  site: string;
  star_count: number;
  star_time: string;
  stared: boolean;
  status: ConstantRepoStatus;
  tags: {
    name: string;
  }[];
  topics: string;
  updated_at: string;
  visibility_level: ConstantVisibility;
  web_url: string;
};
type DtoRepos4UserBase = {
  created_at: string;
  description: string;
  display_module: ConstantRepoDisplayModule;
  flags: FlagsRepo;
  fork_count: number; /**预留*/
  forked_from_repo: DtoSlugs;
  freeze: boolean;
  id: string; /**仓库程序语言，预留*/
  language: string; /**仓库语言*/
  languages: DtoRepoLanguage; /**最新代码更新人姓名*/
  last_update_nickname: string; /**最新代码更新人账户名*/
  last_update_username: string; /**最新代码更新时间*/
  last_updated_at: ConvertNullTime;
  license: string;
  mark_count: number;
  name: string;
  npc_builded_count: number;
  npc_created_pull_count: number;
  npc_merged_pull_count: number; /**开启的issue数*/
  open_issue_count: number; /**开启的pull request数*/
  open_pull_request_count: number; /**完整仓库路径*/
  path: string; /**第二语言*/
  second_languages: DtoRepoLanguage;
  site: string;
  star_count: number;
  status: ConstantRepoStatus;
  tags: {
    name: string;
  }[];
  topics: string;
  updated_at: string;
  visibility_level: ConstantVisibility;
  web_url: string;
};
type DtoSearchNpcRes = {
  /**NPC 头像*/avatar: string; /**NPC 触发的构建数量*/
  built_count: number; /**NPC 名称*/
  name: string; /**NPC 创建的 PR 数量*/
  pull_request_created_count: number; /**NPC 合并的 PR 数量*/
  pull_request_merged_count: number; /**检索匹配分数*/
  score: number; /**NPC 口号*/
  slogan: string; /**NPC 所属仓库的全路径*/
  slug: string;
};
type DtoSlugs = {
  created_at: string;
  freeze: boolean;
  path: string;
  resource_id: number;
  resource_type: ConstantSlugType;
  root_freeze: boolean;
  root_id: number;
  updated_at: string;
};
type DtoSpecialAmount = {
  /**云原生构建cpu核时*/compute_build_corehour: number;
  compute_build_desc: string; /**过期时间时为 null 时永久有效*/
  compute_build_expire: string; /**云原生构建gpu核时*/
  compute_build_gpu_corehour: number;
  compute_build_gpu_desc: string; /**过期时间时为 null 时永久有效*/
  compute_build_gpu_expire: string; /**云原生开发cpu核时*/
  compute_develop_corehour: number;
  compute_develop_desc: string; /**过期时间时为 null 时永久有效*/
  compute_develop_expire: string; /**云原生开发gpu核时*/
  compute_develop_gpu_corehour: number;
  compute_develop_gpu_desc: string; /**过期时间时为 null 时永久有效*/
  compute_develop_gpu_expire: string; /**模型调用量的 Credit*/
  credit: number;
  credit_desc: string; /**过期时间时为 null 时永久有效*/
  credit_expire: string;
  storage_git_desc: string; /**过期时间时为 null 时永久有效*/
  storage_git_expire: string; /**git存储空间*/
  storage_git_gib: number;
  storage_object_desc: string; /**过期时间时为 null 时永久有效*/
  storage_object_expire: string; /**对象存储空间*/
  storage_object_gib: number;
};
type DtoStarUser = {
  avatar: string;
  created_at: string;
  email: string;
  freeze: boolean;
  id: string;
  is_follow: boolean;
  locked: boolean;
  nickname: string;
  stared_at: string;
  type: ConstantUserType;
  username: string; /**认证类型*/
  verified: number; /**认证过期时间*/
  verified_expire_in: string;
};
type DtoStartBuildReq = {
  /**触发分支，默认为主分支*/branch: string; /**指定配置文件内容，yaml 格式*/
  config: string; /**环境变量，对象格式*/
  env: any; /**事件名，必须是 api_trigger 或以 api_trigger_ 开头，默认为 `api_trigger`*/
  event: string; /**commit id ，优先级比 tag 高，默认为分支最新提交记录*/
  sha: string; /**是否等待构建正式触发，为false时会立刻返回 sn 和 buildLogUrl*/
  sync: string; /**触发 tag，优先级比 branch 高*/
  tag: string;
};
type DtoStartWorkspaceReq = {
  /**分支名或 tag 名，例如：main 或 v1.0.0。*/branch: string; /**Git ref，例如，refs/heads/main 或 refs/tags/v1.0.0。不传 ref 时默认基于分支启动*/
  ref: string;
};
type DtoStartWorkspaceResult = {
  /**仅新创建开发环境时返回，表示创建开发环境的流水线日志地址*/buildLogUrl: string; /**仅新创建开发环境时返回，表示创建开发环境的提示信息*/
  message: string; /**仅新创建开发环境时返回，表示创建开发环境的流水线 sn*/
  sn: string; /**如果存在开发环境，则返回 WebIDE 访问 url；如果不存在开发环境，则返回启动云原生开发的 loading 页面 url 地址*/
  url: string;
};
type DtoTagDetail = {
  cargo: DtoCommonRegistryTagDetail;
  composer: DtoCommonRegistryTagDetail;
  conan: DtoConanRegistryTagDetail;
  docker: DtoContainerTagDetail;
  dockermodel: DtoDockerModelTagDetail;
  generic: DtoCommonRegistryTagDetail;
  helm: DtoChartTagDetail;
  maven: DtoCommonRegistryTagDetail;
  npm: DtoCommonRegistryTagDetail;
  nuget: DtoCommonRegistryTagDetail;
  ohpm: DtoCommonRegistryTagDetail;
  pypi: DtoPyPiRegistryTagDetail;
};
type DtoTransferSlugReq = {
  source: string;
  target: string;
};
type DtoUpdateGroupReq = {
  description: string;
  domain: string;
  email: string;
  readme_repo_id: number;
  readme_repo_path: string;
  remark: string;
  site: string;
  wechat_mp: string;
};
type DtoUpdateMembersRequest = {
  access_level: string;
  is_outside_collaborator: boolean;
};
type DtoUpdateUserInfoPayload = {
  address: string;
  bio: string;
  company: string;
  location: string;
  name: string;
  nickname: string;
  readme_repo_id: number;
  readme_repo_path: string;
  site: string;
  wechat_mp: string;
  wechat_mp_qrcode: string;
};
type DtoUploadAssetsResponse = {
  /**资源信息。*/assets: DtoAssets; /**上传表单参数。*/
  form: any; /**后续调用 confirm 接口用的。*/
  token: string; /**上传URL地址。*/
  upload_url: string;
};
type DtoUploadBadgeReq = {
  /**徽章 key。目前允许上传的 key 包括：security/tca*/key: string; /**是否上传 latest 徽章。默认为 false：不上传 latest，仅上传 commitid 对应的徽章；true：上传 latest 和 commitid 对应的徽章*/
  latest: boolean; /**点击徽章右侧的跳转链接*/
  link: string; /**徽章右侧显示内容*/
  message: string; /**commit id*/
  sha: string; /**徽章数值，不传默认用 message 代替*/
  value: number;
};
type DtoUploadBadgeResult = {
  /**latest 对应的徽章 url 地址。如果没有传 latest: true，则该字段为空字符串*/latest_url: string; /**commitid 对应的徽章 url 地址*/
  url: string;
};
type DtoUploadRequestParams = {
  /**文件扩展信息。*/ext: any; /**文件名。*/
  name: string; /**文件大小。*/
  size: number;
};
type DtoUserEmails = {
  /**ContactEmail 用户通知邮箱*/contact_email: string; /**Email 用户git提交邮箱，是 emails 里面的某一个*/
  email: string; /**Emails 邮箱列表*/
  emails: string[]; /**系统默认邮箱*/
  system_email: string; /**系统默认邮箱是否可以通知*/
  system_email_contact: boolean;
};
type DtoUserFollowResult = {
  freeze: boolean; /**查询人是否follow了此用户*/
  is_following: boolean;
  locked: boolean;
  nickname: string;
  username: string;
};
type DtoUsers = {
  avatar: string;
  created_at: string;
  email: string;
  freeze: boolean;
  id: string;
  locked: boolean;
  nickname: string;
  type: ConstantUserType;
  username: string; /**认证类型*/
  verified: number; /**认证过期时间*/
  verified_expire_in: string;
};
type DtoUsersResult = {
  address: string; /**用户赞赏码状态，0-无赞赏码，1-有*/
  appreciate_status: number;
  avatar: string;
  bio: string;
  company: string;
  created_at: string;
  email: string;
  follow_count: number;
  follow_mission_count: number;
  follow_repo_count: number;
  follower_count: number;
  freeze: boolean;
  gender: number;
  group_count: number;
  id: string;
  identity_providers: any; /**查询人是否follow了此用户*/
  is_following: boolean;
  location: string;
  locked: boolean;
  mission_count: number;
  nickname: string;
  public_mission_count: number;
  public_registry_count: number;
  public_repo_count: number;
  readme_repo_path: string;
  registry_count: number;
  repo_count: number;
  reward_amount: number;
  reward_count: number;
  site: string;
  stars_count: number;
  type: ConstantUserType;
  username: string; /**认证类型*/
  verified: number; /**认证过期时间*/
  verified_expire_in: string;
  wechat_mp: string;
  wechat_mp_qrcode: string;
};
type DtoUsersWithAccessLevelInSlug = {
  access_level: ConstantAccessRole;
  avatar: string;
  created_at: string;
  email: string;
  email_verification: string;
  freeze: boolean;
  id: string;
  inviter: DtoUsers;
  join_time: string;
  locked: boolean;
  member_channel: MemberChannelTypeTarget;
  nickname: string;
  type: ConstantUserType;
  username: string; /**认证类型*/
  verified: number; /**认证过期时间*/
  verified_expire_in: string;
};
type DtoWorkspaceDeleteReq = {
  /**表示要删除的开发环境流水线 id，sn 和 pipelineId 二选一，优先使用 pipelineId*/pipelineId: string; /**表示要删除的开发环境流水线构建号，sn 和 pipelineId 二选一，优先使用 pipelineId*/
  sn: string;
};
type DtoWorkspaceDeleteResult = {
  /**返回码，0 表示成功，1 表示失败*/code: number; /**描述*/
  message: string;
};
type DtoWorkspaceDetailResult = {
  /**CodeBuddy 国际版客户端 remote-ssh 访问 schema 地址*/codebuddy: string; /**CodeBuddy 国内版客户端 remote-ssh 访问 schema 地址*/
  codebuddycn: string; /**Cursor 客户端 remote-ssh 访问 schema 地址*/
  cursor: string; /**jetbrains 系列 ide 的 jetbrains gateway 访问 schema 地址，环境内有安装 JetBrains 系列 ide 才会有*/
  jetbrains: any; /**选择入口页面 url*/
  jumpUrl: string; /**remote-ssh 连接地址*/
  remoteSsh: string; /**ssh 登录命令*/
  ssh: string; /**VSCode 客户端 remote-ssh 访问 schema 地址*/
  vscode: string; /**Vscode 预览版客户端 remote-ssh 访问 schema 地址*/
  "vscode-insiders": string; /**WebIDE 访问 url*/
  webide: string;
};
type DtoWorkspaceInfo = {
  /**分支名，例如：main*/branch: string; /**备份的 commit 数*/
  commit_count: number; /**开发环境创建时间，例如：2024-12-02T03:20:22.000Z*/
  create_time: string; /**开发环境持续时间，单位：ms（非实时更新）*/
  duration: number; /**备份的文件数*/
  file_count: number; /**备份的文件列表，仅前五个备份文件相对路径*/
  file_list: string; /**环境销毁时远程最新的 commit short hash*/
  latest_sha: string; /**创建环境的子流水线 id*/
  pipeline_id: string; /**备份的 stash 数*/
  remote_stash_count: number; /**仓库地址*/
  repo_url: string; /**恢复备份代码的流水线 id，如果有值表示备份代码已被恢复（重建环境时会恢复备份代码）*/
  restore_id: string; /**仓库路径，例如：groupname/reponame*/
  slug: string; /**创建开发环境的流水线 sn*/
  sn: string; /**开发环境是否支持 ssh 链接*/
  ssh: boolean; /**工作区状态，running: 开发环境已启动，closed：开发环境已关闭*/
  status: string; /**开发环境默认工作区路径*/
  workspace: string;
};
type DtoWorkspaceListResult = {
  /**是否有更多数据*/hasMore: boolean; /**云原生开发环境列表*/
  list: DtoWorkspaceInfo[]; /**分页信息*/
  pageInfo: DtoWorkspacePageInfo; /**总数*/
  total: number;
};
type DtoWorkspacePageInfo = {
  page: number;
  page_size: number;
};
type DtoWorkspaceStopReq = {
  /**表示要停止的开发环境的流水线 id，sn 和 pipelineId 二选一，优先使用 pipelineId*/pipelineId: string; /**表示要停止的开发环境流水线构建号，sn 和 pipelineId 二选一，优先使用 pipelineId*/
  sn: string;
};
type DtoWorkspaceStopResult = {
  /**表示停止的开发环境流水线日志地址*/buildLogUrl: string; /**表示操作结果提示信息*/
  message: string; /**表示停止的开发环境流水线构建号*/
  sn: string;
};
type FlagsRepo = "Unknown" | "KnowledgeBase" | "NPC" | "Skills" | "Wiki";
type GitWoaComCnbMonorepoGitInternalAppGitServiceBffApiCommitStatus = {
  /**提交状态上下文标识符。*/context: string; /**创建时间。*/
  created_at: string; /**提交状态描述信息。*/
  description: string; /**提交状态。枚举值：`pending`,`success`,`failure`,`error`,`skip`*/
  state: "pending" | "success" | "failure" | "error" | "skip"; /**提交状态详情链接。*/
  target_url: string; /**更新时间。*/
  updated_at: string;
};
type GitWoaComCnbMonorepoGitInternalAppGitServiceBffApiSceneReaction = {
  /**该表情的数量。*/count: number; /**当前用户是否已使用该 Reaction。*/
  has_reacted: boolean; /**Reaction 表情类型。*/
  reaction: string; /**最近使用该 Reaction 的用户列表。*/
  top_users: ApiUserInfo[];
};
type GitWoaComCnbMonorepoGitInternalAppVcsServiceBffApiCommitStatus = {
  /**状态检查的上下文标识符。*/context: string; /**创建时间。*/
  created_at: string; /**状态检查的描述信息。*/
  description: string; /**状态检查结果。*/
  state: string; /**状态检查的详细信息链接地址。*/
  target_url: string; /**最后更新时间。*/
  updated_at: string;
};
type GitWoaComCnbMonorepoGitInternalAppVcsServiceBffApiSceneReaction = {
  /**该表情的数量。*/count: number; /**当前用户是否已使用该 Reaction。*/
  has_reacted: boolean; /**Reaction 表情类型。*/
  reaction: string; /**最近使用该 Reaction 的用户列表。*/
  top_users: ApiUserInfo[];
};
type GitWoaComCnbMonorepoPlatformServiceApiInternalModelsArtifactoryDtoTag = {
  cargo: DtoCommonRegistryTag[];
  composer: DtoCommonRegistryTag[];
  conan: DtoCommonRegistryTag[];
  docker: DtoContainerTag[];
  dockermodel: DtoDockerModelTag[];
  generic: DtoCommonRegistryTag[];
  helm: DtoChartTag[];
  maven: DtoCommonRegistryTag[];
  npm: DtoCommonRegistryTag[];
  nuget: DtoCommonRegistryTag[];
  ohpm: DtoCommonRegistryTag[];
  package: string;
  pypi: DtoCommonRegistryTag[];
};
type MemberChannelTypeTarget = "invite" | "direct_add" | "transfer" | "admin_add";
type OpenapiCreateBranchForm = {
  /**新分支的名称。*/name: string; /**新分支的起始点。格式：`分支名称`,`提交哈希`,`标签名称`*/
  start_point: string;
};
type OpenapiHeadRef = {
  /**分支名称。*/name: string; /**分支是否是保护分支。*/
  protected: boolean;
};
type OpenapiIssuePropertiesForm = {
  /**Issue自定义属性列表。*/properties: OpenapiPropertyForm[];
};
type OpenapiPatchReleaseForm = {
  /**版本描述。*/body: string; /**是否为草稿版本。*/
  draft: boolean; /**是否设置为最新版本。可选值：`true`,`false`,`legacy`*/
  make_latest: string; /**版本标题。*/
  name: string; /**是否为预发布版本。*/
  prerelease: boolean;
};
type OpenapiPostCommitAssetUploadUrlForm = {
  /**附件名称*/asset_name: string; /**附件大小，单位为字节。 Attachment size, in bytes.*/
  size: number; /**附件存在时间，单位为天*/
  ttl: number;
};
type OpenapiPostReleaseAssetUploadUrlForm = {
  /**附件名称。*/asset_name: string; /**是否覆盖同名附件。*/
  overwrite: boolean; /**附件大小，单位为字节。*/
  size: number; /**附件存在时间，单位为天*/
  ttl: number;
};
type OpenapiPostReleaseForm = {
  /**版本描述。*/body: string; /**是否为草稿版本。*/
  draft: boolean; /**是否设置为最新版本。可选值：`true`,`false`,`legacy`*/
  make_latest: string; /**版本标题。*/
  name: string; /**是否为预发布版本。*/
  prerelease: boolean; /**标签名称。*/
  tag_name: string; /**目标提交哈希或分支名称。*/
  target_commitish: string;
};
type OpenapiPropertyForm = {
  /**Issue自定义属性键名。*/key: string; /**Issue自定义属性值。*/
  value: string;
};
type OpenapiPutCommitAnnotation = {
  /**元数据键名。*/key: string; /**元数据值。*/
  value: string;
};
type OpenapiPutCommitAnnotationsForm = {
  /**提交元数据列表。*/annotations: OpenapiPutCommitAnnotation[];
};
type OpenapiPutTagAnnotation = {
  /**标签元数据的键名。*/key: string; /**标签元数据的值。*/
  value: string;
};
type OpenapiPutTagAnnotationsForm = {
  /**设置tag元数据列表信息。*/annotations: OpenapiPutTagAnnotation[];
};
type OrganizationSettingValue = "disable_organization_readme" | "cloud_native_dev_only" | "user_root_group_branch_protection_only" | "forbid_redefine_branch_protection" | "enable_tapd_access" | "enable_show_private_mission_water_mark" | "prevent_organization_creation" | "prevent_repository_creation" | "prevent_mission_creation" | "prevent_registry_creation" | "disable_invitation" | "prevent_visibility_modification" | "prevent_resource_deletion" | "prevent_repository_archival" | "prevent_organization_transfer" | "prevent_repository_transfer" | "prevent_mission_transfer" | "prevent_registry_transfer" | "use_group_git_quota" | "use_group_git_object_limit" | "enable_add_member_only_root" | "use_root_group_git_push_limit" | "enable_add_member" | "enable_change_member_role_only_root" | "enable_other_group_npc_add_comment" | "disable_invite_auth_control";
type WebCommitAnnotation = {
  /**元数据键名。*/key: string; /**扩展元数据。*/
  meta: any; /**元数据值。*/
  value: string;
};
type WebCommitAnnotationInBatch = {
  /**提交元数据列表。*/annotations: WebCommitAnnotation[]; /**提交哈希值。*/
  commit_hash: string;
};
type WebGetCommitAnnotationsInBatchForm = {
  /**提交哈希值列表。*/commit_hashes: string[]; /**元数据键列表。*/
  keys: string[];
};
type WebTagAnnotation = {
  /**元数据键名。*/key: string; /**元数据信息，用于记录标签元数据的更新操作信息，包括操作者、操作时间、平台来源等审计信息。*/
  meta: any; /**元数据值。*/
  value: string;
};
//#endregion
//#region src/client.d.ts
type Event_GetEvents = (params: {
  repo: string;
  date: string;
}) => Promise<any>;
type Organizations_CreateOrganization = (params: {
  request: DtoCreateGroupReq;
}) => Promise<any>;
type Rank_GetRepoAnnualRank = (params?: {
  language?: string;
  flags?: "KnowledgeBase" | "NPC" | "Skills";
  year?: string;
  topN?: number;
}) => Promise<DtoGetRankResult>;
type Rank_GetRepoDailyRank = (params?: {
  language?: string;
  flags?: "KnowledgeBase" | "NPC" | "Skills";
  date?: string;
  topN?: number;
}) => Promise<DtoGetRankResult>;
type Rank_GetLanguageList = (params: {
  rankType: "daily" | "weekly" | "monthly" | "annual";
  date?: string;
}) => Promise<DtoRankLanguageList>;
type Rank_GetRepoMonthlyRank = (params?: {
  language?: string;
  flags?: "KnowledgeBase" | "NPC" | "Skills";
  month?: string;
  topN?: number;
}) => Promise<DtoGetRankResult>;
type Rank_GetRepoWeeklyRank = (params?: {
  language?: string;
  flags?: "KnowledgeBase" | "NPC" | "Skills";
  start?: string;
  topN?: number;
}) => Promise<DtoGetRankResult>;
type KnowledgeBase_SearchNpc = (params: {
  key: string;
  top_n?: number;
}) => Promise<DtoSearchNpcRes[]>;
type Search_ListPublicRepos = (params?: {
  key?: string;
  flags?: "KnowledgeBase" | "NPC" | "Skills";
  flags_match?: "intersection" | "union";
  order_by?: "created_at" | "last_updated_at" | "stars" | "forks";
  desc?: boolean;
  topN?: number;
}) => Promise<DtoRepos4UserBase[]>;
type Users_GetUserInfo = () => Promise<DtoUsersResult>;
type Users_UpdateUserInfo = (params: {
  request: DtoUpdateUserInfoPayload;
}) => Promise<any>;
type Users_AutoCompleteSource = (params?: {
  source_type?: "Group" | "Repo" | "RootGroup";
  page?: number;
  page_size?: number;
  search?: string;
  access?: "Guest" | "Reporter" | "Developer" | "Master" | "Owner";
  order_by?: "created_at" | "slug_path";
  desc?: boolean;
}) => Promise<string[]>;
type Users_ListEmail = () => Promise<DtoUserEmails>;
type Users_ListGPGKeys = (params?: {
  page?: number;
  page_size?: number;
  keyword?: string;
}) => Promise<any | DieWebError$1>;
type Organizations_ListTopGroups = (params?: {
  page?: number;
  page_size?: number;
  search?: string;
  role?: "Guest" | "Reporter" | "Developer" | "Master" | "Owner";
}) => Promise<DtoOrganizationAccess[]>;
type Organizations_ListGroups = (params: {
  slug: string;
  page?: number;
  page_size?: number;
  access?: number;
}) => Promise<DtoOrganizationAccess[]>;
type Issues_ListUserIssues = (params?: {
  page?: number;
  page_size?: number;
  filter?: string;
  state?: string;
  priority?: string;
  labels?: string;
  labels_operator?: string;
  updated_time_begin?: string;
  updated_time_end?: string;
  close_time_begin?: string;
  close_time_end?: string;
  order_by?: string;
}) => Promise<ApiUserIssue[] | DieWebError$1>;
type Repositories_GetRepos = (params?: {
  page?: number;
  page_size?: number;
  search?: string;
  filter_type?: "private" | "public" | "secret";
  role?: "Guest" | "Reporter" | "Developer" | "Master" | "Owner";
  flags?: "KnowledgeBase" | "NPC" | "Skills";
  flags_match?: "intersection" | "union";
  status?: "active" | "archived";
  order_by?: "created_at" | "last_updated_at" | "stars" | "slug_path" | "forks";
  desc?: boolean;
}) => Promise<DtoRepos4User[]>;
type Starring_GetUserAllStaredRepos = (params?: {
  page?: number;
  page_size?: number;
  search?: string;
  flags?: "KnowledgeBase" | "NPC" | "Skills";
  flags_match?: "intersection" | "union";
  status?: "active" | "archived";
  desc?: boolean;
  order_by?: "created_at" | "last_updated_at" | "stared_time" | "stars" | "forks";
}) => Promise<DtoRepos4User[]>;
type Users_GetUserInfoByName = (params: {
  username: string;
}) => Promise<DtoUsersResult>;
type Activities_GetUserActivitiesByDate = (params: {
  username: string;
  date?: string;
}) => Promise<DtoActivityDate>;
type Followers_GetFollowersByUserID = (params: {
  username: string;
  page?: number;
  page_size?: number;
}) => Promise<DtoUserFollowResult[]>;
type Followers_GetFollowingByUserID = (params: {
  username: string;
  page?: number;
  page_size?: number;
}) => Promise<DtoUserFollowResult[]>;
type Organizations_GetGroupsByUserID = (params: {
  username: string;
  search?: string;
  page?: number;
  page_size?: number;
}) => Promise<DtoOrganizationUnion>;
type Repositories_GetPinnedRepoByID = (params: {
  username: string;
}) => Promise<DtoRepos4User[]>;
type Activities_GetUserRepoActivityDetails = (params: {
  username: string;
  activityType: "issue" | "pull_request" | "code_review";
  slug: string;
  date: string;
}) => Promise<any[]>;
type Repositories_GetReposByUserName = (params: {
  username: string;
  search?: string;
  filter_type?: "private" | "public" | "secret";
  flags?: "KnowledgeBase" | "NPC" | "Skills";
  flags_match?: "intersection" | "union";
  status?: "active" | "archived";
  role?: "Guest" | "Reporter" | "Developer" | "Master" | "Owner";
  page?: number;
  page_size?: number;
  desc?: boolean;
  order_by?: "created_at" | "last_updated_at" | "stars" | "slug_path" | "forks";
}) => Promise<DtoRepos4User[]>;
type Starring_GetUserStaredRepos = (params: {
  username: string;
  search?: string;
  flags?: "KnowledgeBase" | "NPC" | "Skills";
  flags_match?: "intersection" | "union";
  status?: "active" | "archived";
  page?: number;
  page_size?: number;
  desc?: boolean;
  order_by?: "created_at" | "last_updated_at" | "stars" | "forks";
}) => Promise<DtoRepos4User[]>;
type Workspace_DeleteWorkspace = (params: {
  request: DtoWorkspaceDeleteReq;
}) => Promise<DtoWorkspaceDeleteResult>;
type Workspace_ListWorkspaces = (params?: {
  branch?: string;
  end?: string;
  page?: number;
  page_size?: number;
  slug?: string;
  start?: string;
  status?: string;
}) => Promise<DtoWorkspaceListResult>;
type Workspace_WorkspaceStop = (params: {
  request: DtoWorkspaceStopReq;
}) => Promise<DtoWorkspaceStopResult>;
type Organizations_GetGroup = (params: {
  group: string;
}) => Promise<DtoOrganizationAccess>;
type Organizations_UpdateOrganization = (params: {
  group: string;
  request: DtoUpdateGroupReq;
}) => Promise<any>;
type Organizations_DeleteOrganization = (params: {
  group: string;
  "x-cnb-identity-ticket"?: string;
}) => Promise<any>;
type Members_ListInheritMembersOfGroup = (params: {
  group: string;
  search?: string;
  role?: "Guest" | "Reporter" | "Developer" | "Master" | "Owner";
  page?: number;
  page_size?: number;
}) => Promise<DtoListInheritMembers[]>;
type Members_ListMembersOfGroup = (params: {
  group: string;
  page?: number;
  page_size?: number;
  role?: "Guest" | "Reporter" | "Developer" | "Master" | "Owner";
  search?: string;
}) => Promise<DtoUsersWithAccessLevelInSlug[]>;
type Members_GetMemberAccessLevelOfGroup = (params: {
  group: string;
  include_inherit?: boolean;
}) => Promise<DtoMemberAccessLevelInSlugUnion>;
type Members_ListMemberAccessLevelOfGroup = (params: {
  group: string;
  username: string;
}) => Promise<DtoMemberAccessLevel[]>;
type Members_UpdateMembersOfGroup = (params: {
  group: string;
  username: string;
  request: DtoUpdateMembersRequest;
}) => Promise<any>;
type Members_AddMembersOfGroup = (params: {
  group: string;
  username: string;
  request: DtoUpdateMembersRequest;
}) => Promise<any>;
type Members_DeleteMembersOfGroup = (params: {
  group: string;
  username: string;
}) => Promise<any>;
type Organizations_TransferGroup = (params: {
  group: string;
  request: DtoTransferSlugReq;
}) => Promise<any>;
type Organizations_UploadLogos = (params: {
  group: string;
  request: DtoUploadRequestParams;
}) => Promise<DtoUploadAssetsResponse>;
type Missions_DeleteMission = (params: {
  mission: string;
  "x-cnb-identity-ticket"?: string;
}) => Promise<any>;
type Members_AddMembersOfMission = (params: {
  mission: string;
  username: string;
  request: DtoUpdateMembersRequest;
}) => Promise<any>;
type Missions_GetMissionViewConfig = (params: {
  mission: string;
  id: string;
}) => Promise<DtoMissionViewConfig>;
type Missions_PostMissionViewConfig = (params: {
  mission: string;
  request: DtoMissionViewConfig;
}) => Promise<any>;
type Missions_GetMissionViewList = (params: {
  mission: string;
}) => Promise<DtoMissionView[]>;
type Missions_PutMissionViewList = (params: {
  mission: string;
  request: DtoMissionView;
}) => Promise<any>;
type Missions_PostMissionViewList = (params: {
  mission: string;
  request: DtoMissionPostViewReq;
}) => Promise<any>;
type Missions_SetMissionVisibility = (params: {
  mission: string;
  visibility: "Private" | "Public";
}) => Promise<any>;
type Registries_DeleteRegistry = (params: {
  registry: string;
  "x-cnb-identity-ticket"?: string;
}) => Promise<any>;
type Members_AddMembersOfRegistry = (params: {
  registry: string;
  username: string;
  request: DtoUpdateMembersRequest;
}) => Promise<any>;
type Registries_SetRegistryVisibility = (params: {
  registry: string;
  visibility: "Private" | "Public";
}) => Promise<any>;
type Repositories_GetByID = (params: {
  repo: string;
}) => Promise<DtoRepos4User>;
type Repositories_DeleteRepo = (params: {
  repo: string;
  "x-cnb-identity-ticket"?: string;
}) => Promise<any>;
type Repositories_UpdateRepo = (params: {
  repo: string;
  request: DtoRepoPatch;
}) => Promise<any>;
type AI_AiChatCompletions = (params: {
  repo: string;
  request: DtoAiChatCompletionsReq;
}) => Promise<DtoAiChatCompletionsResult | ReadableStream<Uint8Array<ArrayBufferLike>>>;
type Assets_DeleteAsset = (params: {
  repo: string;
  assetID: number;
}) => Promise<any | DieWebError$1>;
type Badge_GetBadge = (params: {
  repo: string;
  sha: string;
  badge: string;
  request: DtoGetBadgeReq;
}) => Promise<DtoGetBadgeResult>;
type Badge_ListBadge = (params: {
  repo: string;
  request: DtoListBadgeReq;
}) => Promise<DtoListBadgeResult>;
type Badge_UploadBadge = (params: {
  repo: string;
  request: DtoUploadBadgeReq;
}) => Promise<DtoUploadBadgeResult>;
type Build_BuildCrontabSync = (params: {
  repo: string;
  branch: string;
}) => Promise<DtoBuildCommonResult>;
type Build_GetBuildLogs = (params: {
  repo: string;
  createTime?: string;
  endTime?: string;
  event?: string;
  page?: number;
  page_size?: number;
  sha?: string;
  sn?: string;
  sourceRef?: string;
  status?: string;
  targetRef?: string;
  userId?: string;
  userName?: string;
}) => Promise<DtoBuildLogsResult>;
type Build_GetBuildStage = (params: {
  repo: string;
  sn: string;
  pipelineId: string;
  stageId: string;
}) => Promise<DtoBuildStageResult>;
type Build_BuildLogsDelete = (params: {
  repo: string;
  sn: string;
}) => Promise<DtoBuildCommonResult>;
type Build_BuildRunnerDownloadLog = (params: {
  repo: string;
  pipelineId: string;
}) => Promise<any | DieWebError$1>;
type Build_StartBuild = (params: {
  repo: string;
  request: DtoStartBuildReq;
}) => Promise<DtoBuildResult>;
type Build_GetBuildStatus = (params: {
  repo: string;
  sn: string;
}) => Promise<DtoBuildStatusResult>;
type Build_StopBuild = (params: {
  repo: string;
  sn: string;
}) => Promise<DtoBuildResult>;
type Git_GetCommitAssets = (params: {
  repo: string;
  commit_id: string;
  filename: string;
  share?: boolean;
}) => Promise<any>;
type Issues_GetIssueFiles = (params: {
  repo: string;
  file_path: string;
}) => Promise<any>;
type Pulls_GetPrFiles = (params: {
  repo: string;
  file_path: string;
}) => Promise<any>;
type Assets_GetFiles = (params: {
  repo: string;
  filePath: string;
}) => Promise<any>;
type Pulls_DeleteRepoFiles = (params: {
  repo: string;
  filePath: string;
}) => Promise<any>;
type Repositories_ListForksRepos = (params: {
  repo: string;
  start_from_root?: boolean;
  page?: number;
  page_size?: number;
}) => Promise<DtoListForks>;
type Git_GetArchiveCommitChangedFiles = (params: {
  repo: string;
  sha1: string;
}) => Promise<any | DieWebError$1>;
type Git_GetArchiveCompareChangedFiles = (params: {
  repo: string;
  base_head: string;
}) => Promise<any | DieWebError$1>;
type Git_GetArchive = (params: {
  repo: string;
  ref_with_path: string;
}) => Promise<any | DieWebError$1>;
type Git_CreateBlob = (params: {
  repo: string;
  post_blob_form: ApiPostBlobForm;
}) => Promise<any | DieWebError$1>;
type Git_CreateBranchLock = (params: {
  repo: string;
  branch: string;
}) => Promise<any | DieWebError$1>;
type Git_DeleteBranchLock = (params: {
  repo: string;
  branch: string;
}) => Promise<any | DieWebError$1>;
type Git_ListBranches = (params: {
  repo: string;
  page?: number;
  page_size?: number;
}) => Promise<ApiBranch[] | DieWebError$1>;
type Git_CreateBranch = (params: {
  repo: string;
  create_branch_form: OpenapiCreateBranchForm;
}) => Promise<any | DieWebError$1>;
type Git_GetBranch = (params: {
  repo: string;
  branch: string;
}) => Promise<ApiBranchDetail | DieWebError$1>;
type Git_DeleteBranch = (params: {
  repo: string;
  branch: string;
}) => Promise<any | DieWebError$1>;
type Git_GetCommitAnnotationsInBatch = (params: {
  repo: string;
  get_commit_annotations_form: WebGetCommitAnnotationsInBatchForm;
}) => Promise<WebCommitAnnotationInBatch[] | DieWebError$1>;
type Git_GetCommitAnnotations = (params: {
  repo: string;
  sha: string;
}) => Promise<WebCommitAnnotation[] | DieWebError$1>;
type Git_PutCommitAnnotations = (params: {
  repo: string;
  sha: string;
  put_commit_annotations_form: OpenapiPutCommitAnnotationsForm;
}) => Promise<any | DieWebError$1>;
type Git_DeleteCommitAnnotation = (params: {
  repo: string;
  sha: string;
  key: string;
}) => Promise<any | DieWebError$1>;
type Git_GetCommitAssetsBySha = (params: {
  repo: string;
  sha1: string;
}) => Promise<ApiCommitAsset[] | DieWebError$1>;
type Git_PostCommitAssetUploadConfirmation = (params: {
  repo: string;
  sha1: string;
  upload_token: string;
  asset_path: string;
  ttl?: number;
}) => Promise<any | DieWebError$1>;
type Git_PostCommitAssetUploadURL = (params: {
  repo: string;
  sha1: string;
  create_commit_asset_upload_url_form: OpenapiPostCommitAssetUploadUrlForm;
}) => Promise<any | DieWebError$1>;
type Git_DeleteCommitAsset = (params: {
  repo: string;
  sha1: string;
  asset_id: string;
}) => Promise<any | DieWebError$1>;
type Git_GetCommitStatuses = (params: {
  repo: string;
  commitish: string;
}) => Promise<GitWoaComCnbMonorepoGitInternalAppGitServiceBffApiCommitStatus[] | DieWebError$1>;
type Git_ListCommits = (params: {
  repo: string;
  sha?: string;
  author?: string;
  committer?: string;
  since?: string;
  until?: string;
  page?: number;
  page_size?: number;
}) => Promise<ApiCommit[] | DieWebError$1>;
type Git_GetCommit = (params: {
  repo: string;
  ref: string;
}) => Promise<ApiCommit | DieWebError$1>;
type Git_GetCompareCommits = (params: {
  repo: string;
  base_head: string;
}) => Promise<ApiCompareResponse | DieWebError$1>;
type Git_GetContentWithoutPath = (params: {
  repo: string;
  ref?: string;
}) => Promise<ApiContent | DieWebError$1>;
type Git_GetContent = (params: {
  repo: string;
  file_path: string;
  ref?: string;
}) => Promise<ApiContent | DieWebError$1>;
type Git_GetHead = (params: {
  repo: string;
}) => Promise<OpenapiHeadRef | DieWebError$1>;
type Git_GetRaw = (params: {
  repo: string;
  ref_with_path: string;
  max_in_byte?: number;
}) => Promise<string | DieWebError$1>;
type Git_DeleteTagAnnotation = (params: {
  repo: string;
  tag_with_key: string;
}) => Promise<any | DieWebError$1>;
type Git_GetTagAnnotations = (params: {
  repo: string;
  tag: string;
}) => Promise<WebTagAnnotation[] | DieWebError$1>;
type Git_PutTagAnnotations = (params: {
  repo: string;
  tag: string;
  put_tag_annotations_form: OpenapiPutTagAnnotationsForm;
}) => Promise<any | DieWebError$1>;
type Git_ListTags = (params: {
  repo: string;
  page?: number;
  page_size?: number;
}) => Promise<ApiTag[] | DieWebError$1>;
type Git_CreateTag = (params: {
  repo: string;
  post_tag_form: ApiPostTagFrom;
}) => Promise<any | DieWebError$1>;
type Git_GetTag = (params: {
  repo: string;
  tag: string;
}) => Promise<ApiTag | DieWebError$1>;
type Git_DeleteTag = (params: {
  repo: string;
  tag: string;
}) => Promise<any | DieWebError$1>;
type Issues_GetIssueImgs = (params: {
  repo: string;
  img_path: string;
}) => Promise<any>;
type Pulls_GetPrImgs = (params: {
  repo: string;
  img_path: string;
}) => Promise<any>;
type Assets_GetImgs = (params: {
  repo: string;
  imgPath: string;
}) => Promise<any>;
type Pulls_DeleteRepoImgs = (params: {
  repo: string;
  imgPath: string;
}) => Promise<any>;
type Members_ListInheritMembersOfRepo = (params: {
  repo: string;
  search?: string;
  role?: "Guest" | "Reporter" | "Developer" | "Master" | "Owner";
  page?: number;
  page_size?: number;
}) => Promise<DtoListInheritMembers[]>;
type Issues_ListIssues = (params: {
  repo: string;
  page?: number;
  page_size?: number;
  state?: string;
  keyword?: string;
  priority?: string;
  labels?: string;
  labels_operator?: string;
  authors?: string;
  assignees?: string;
  updated_time_begin?: string;
  updated_time_end?: string;
  close_time_begin?: string;
  close_time_end?: string;
  order_by?: string;
}) => Promise<ApiIssue[] | DieWebError$1>;
type Issues_CreateIssue = (params: {
  repo: string;
  post_issue_form: ApiPostIssueForm;
}) => Promise<any | DieWebError$1>;
type Issues_GetIssue = (params: {
  repo: string;
  number: number;
}) => Promise<ApiIssueDetail | DieWebError$1>;
type Issues_UpdateIssue = (params: {
  repo: string;
  number: number;
  patch_issue_form: ApiPatchIssueForm;
}) => Promise<ApiIssueDetail | DieWebError$1>;
type Issues_ListIssueActivities = (params: {
  repo: string;
  number: number;
  page?: number;
  page_size?: number;
}) => Promise<ApiIssueActivity[] | DieWebError$1>;
type Issues_ListIssueActivitiesLatest = (params: {
  repo: string;
  number: number;
  id: number;
}) => Promise<ApiIssueActivity[] | DieWebError$1>;
type Issues_ListIssueAssignees = (params: {
  repo: string;
  number: string;
}) => Promise<ApiUserInfo[] | DieWebError$1>;
type Issues_PostIssueAssignees = (params: {
  repo: string;
  number: string;
  post_issue_assignees_form: ApiPostIssueAssigneesForm;
}) => Promise<any | DieWebError$1>;
type Issues_DeleteIssueAssignees = (params: {
  repo: string;
  number: string;
  delete_issue_assignees_form: ApiDeleteIssueAssigneesForm;
}) => Promise<ApiIssueDetail | DieWebError$1>;
type Issues_PatchIssueAssignees = (params: {
  repo: string;
  number: string;
  patch_issue_assignees_form: ApiPatchIssueAssigneesForm;
}) => Promise<ApiIssueDetail | DieWebError$1>;
type Issues_CanUserBeAssignedToIssue = (params: {
  repo: string;
  number: string;
  assignee: string;
}) => Promise<any | DieWebError$1>;
type Issues_PostIssueCommentFileAssetUploadURL = (params: {
  repo: string;
  number: number;
  post_issue_upload_url_form: ApiPostIssueAssetUploadUrlForm;
}) => Promise<any | DieWebError$1>;
type Issues_PostIssueCommentImageAssetUploadURL = (params: {
  repo: string;
  number: number;
  post_issue_upload_url_form: ApiPostIssueAssetUploadUrlForm;
}) => Promise<any | DieWebError$1>;
type Issues_ListIssueComments = (params: {
  repo: string;
  number: number;
  sort?: string;
  page?: number;
  page_size?: number;
}) => Promise<ApiIssueComment[] | DieWebError$1>;
type Issues_PostIssueComment = (params: {
  repo: string;
  number: number;
  post_issue_comment_form: ApiPostIssueCommentForm;
}) => Promise<any | DieWebError$1>;
type Issues_GetIssueComment = (params: {
  repo: string;
  number: number;
  comment_id: number;
}) => Promise<ApiIssueComment | DieWebError$1>;
type Issues_PatchIssueComment = (params: {
  repo: string;
  number: number;
  comment_id: number;
  patch_issue_comment_form: ApiPatchIssueCommentForm;
}) => Promise<ApiIssueComment | DieWebError$1>;
type Issues_ListIssueLabels = (params: {
  repo: string;
  number: number;
  page?: number;
  page_size?: number;
}) => Promise<ApiLabel[] | DieWebError$1>;
type Issues_PutIssueLabels = (params: {
  repo: string;
  number: number;
  put_issue_labels_form: ApiPutIssueLabelsForm;
}) => Promise<ApiLabel | DieWebError$1>;
type Issues_PostIssueLabels = (params: {
  repo: string;
  number: number;
  post_issue_labels_form: ApiPostIssueLabelsForm;
}) => Promise<ApiLabel | DieWebError$1>;
type Issues_DeleteIssueLabels = (params: {
  repo: string;
  number: number;
}) => Promise<any | DieWebError$1>;
type Issues_DeleteIssueLabel = (params: {
  repo: string;
  number: number;
  name: string;
}) => Promise<ApiLabel | DieWebError$1>;
type Issues_GetIssueProperties = (params: {
  repo: string;
  number: number;
}) => Promise<ApiIssueProperty[] | DieWebError$1>;
type Issues_UpdateIssueProperties = (params: {
  repo: string;
  number: number;
  issue_properties_form: OpenapiIssuePropertiesForm;
}) => Promise<ApiIssuePropertyUpdateResult | DieWebError$1>;
type KnowledgeBase_GetKnowledgeBaseInfo = (params: {
  repo: string;
}) => Promise<DtoKnowledgeBaseInfoRes>;
type KnowledgeBase_DeleteKnowledgeBase = (params: {
  repo: string;
}) => Promise<any>;
type KnowledgeBase_QueryKnowledgeBase = (params: {
  repo: string;
  query: DtoQueryKnowledgeBaseReq;
}) => Promise<DtoQueryKnowledgeBaseRes[]>;
type KnowledgeBase_GetModels = (params: {
  repo: string;
}) => Promise<DtoEmbeddingModel[]>;
type RepoLabels_ListLabels = (params: {
  repo: string;
  page?: number;
  page_size?: number;
  keyword?: string;
}) => Promise<ApiLabel[] | DieWebError$1>;
type RepoLabels_PostLabel = (params: {
  repo: string;
  post_label_form: ApiPostLabelForm;
}) => Promise<any | DieWebError$1>;
type RepoLabels_DeleteLabel = (params: {
  repo: string;
  name: string;
}) => Promise<any | DieWebError$1>;
type RepoLabels_PatchLabel = (params: {
  repo: string;
  name: string;
  patch_label_form: ApiPatchLabelForm;
}) => Promise<ApiLabel | DieWebError$1>;
type Members_ListMembersOfRepo = (params: {
  repo: string;
  page?: number;
  page_size?: number;
  role?: "Guest" | "Reporter" | "Developer" | "Master" | "Owner";
  search?: string;
}) => Promise<DtoUsersWithAccessLevelInSlug[]>;
type Members_GetMemberAccessLevelOfRepo = (params: {
  repo: string;
  include_inherit?: boolean;
}) => Promise<DtoMemberAccessLevelInSlugUnion>;
type Members_ListMemberAccessLevelOfRepo = (params: {
  repo: string;
  username: string;
}) => Promise<DtoMemberAccessLevel[]>;
type Members_UpdateMembersOfRepo = (params: {
  repo: string;
  username: string;
  request: DtoUpdateMembersRequest;
}) => Promise<any>;
type Members_AddMembersOfRepo = (params: {
  repo: string;
  username: string;
  request: DtoUpdateMembersRequest;
}) => Promise<any>;
type Members_DeleteMembersOfRepo = (params: {
  repo: string;
  username: string;
}) => Promise<any>;
type Issues_ListRepoVisibleProperties = (params: {
  repo: string;
}) => Promise<ApiRepoProperty[] | DieWebError$1>;
type Issues_ListRepoInvisibleProperties = (params: {
  repo: string;
  page?: number;
  page_size?: number;
  keyword?: string;
}) => Promise<ApiRepoProperty[] | DieWebError$1>;
type Pulls_ListPullsByNumbers = (params: {
  repo: string;
  n: number[];
}) => Promise<ApiPullRequestInfo[] | DieWebError$1>;
type Pulls_ListPulls = (params: {
  repo: string;
  page?: number;
  page_size?: number;
  state?: string;
  authors?: string;
  reviewers?: string;
  reviewers_operator?: string;
  assignees?: string;
  assignees_operator?: string;
  labels?: string;
  labels_operator?: string;
  base_ref?: string;
  updated_time_begin?: string;
  updated_time_end?: string;
  order_by?: string;
}) => Promise<ApiPullRequest[] | DieWebError$1>;
type Pulls_PostPull = (params: {
  repo: string;
  post_pull_form: ApiPullCreationForm;
}) => Promise<any | DieWebError$1>;
type Pulls_GetPull = (params: {
  repo: string;
  number: string;
}) => Promise<ApiPull | DieWebError$1>;
type Pulls_PatchPull = (params: {
  repo: string;
  number: string;
  update_pull_request_form: ApiPatchPullRequest;
}) => Promise<ApiPull | DieWebError$1>;
type Pulls_ListPullAssignees = (params: {
  repo: string;
  number: string;
}) => Promise<ApiUserInfo[] | DieWebError$1>;
type Pulls_PostPullAssignees = (params: {
  repo: string;
  number: string;
  post_pull_assignees_form: ApiPostPullAssigneesForm;
}) => Promise<any | DieWebError$1>;
type Pulls_DeletePullAssignees = (params: {
  repo: string;
  number: string;
  delete_pull_assignees_form: ApiDeletePullAssigneesForm;
}) => Promise<ApiPull | DieWebError$1>;
type Pulls_CanUserBeAssignedToPull = (params: {
  repo: string;
  number: string;
  assignee: string;
}) => Promise<any | DieWebError$1>;
type Pulls_ListPullComments = (params: {
  repo: string;
  number: string;
  page?: number;
  page_size?: number;
}) => Promise<ApiPullRequestComment[] | DieWebError$1>;
type Pulls_PostPullComment = (params: {
  repo: string;
  number: string;
  post_pull_comment_form: ApiPullCommentCreationForm;
}) => Promise<any | DieWebError$1>;
type Pulls_GetPullComment = (params: {
  repo: string;
  number: string;
  comment_id: number;
}) => Promise<ApiPullRequestComment | DieWebError$1>;
type Pulls_PatchPullComment = (params: {
  repo: string;
  number: string;
  comment_id: number;
  patch_pull_comment_form: ApiPatchPullCommentForm;
}) => Promise<ApiPullRequestComment | DieWebError$1>;
type Pulls_ListPullCommitStatuses = (params: {
  repo: string;
  number: number;
}) => Promise<ApiCommitStatuses | DieWebError$1>;
type Pulls_ListPullCommits = (params: {
  repo: string;
  number: string;
  page?: number;
  page_size?: number;
}) => Promise<ApiCommit[] | DieWebError$1>;
type Pulls_ListPullFiles = (params: {
  repo: string;
  number: string;
}) => Promise<ApiPullFile[] | DieWebError$1>;
type Pulls_ListPullLabels = (params: {
  repo: string;
  number: number;
  page?: number;
  page_size?: number;
}) => Promise<ApiLabel[] | DieWebError$1>;
type Pulls_PutPullLabels = (params: {
  repo: string;
  number: string;
  put_pull_labels_form: ApiPutPullLabelsForm;
}) => Promise<ApiLabel | DieWebError$1>;
type Pulls_PostPullLabels = (params: {
  repo: string;
  number: string;
  post_pull_labels_form: ApiPostPullLabelsForm;
}) => Promise<ApiLabel | DieWebError$1>;
type Pulls_DeletePullLabels = (params: {
  repo: string;
  number: string;
}) => Promise<any | DieWebError$1>;
type Pulls_DeletePullLabel = (params: {
  repo: string;
  number: string;
  name: string;
}) => Promise<ApiLabel | DieWebError$1>;
type Pulls_MergePull = (params: {
  repo: string;
  number: string;
  merge_pull_request_form: ApiMergePullRequest;
}) => Promise<ApiMergePullResponse | DieWebError$1>;
type Pulls_ListPullReviews = (params: {
  repo: string;
  number: string;
  page?: number;
  page_size?: number;
}) => Promise<ApiPullReview[] | DieWebError$1>;
type Pulls_PostPullReview = (params: {
  repo: string;
  number: string;
  post_pull_review_form: ApiPullReviewCreationForm;
}) => Promise<any | DieWebError$1>;
type Pulls_ListPullReviewComments = (params: {
  repo: string;
  number: number;
  review_id: number;
  page?: number;
  page_size?: number;
}) => Promise<ApiPullReviewComment[] | DieWebError$1>;
type Pulls_PostPullRequestReviewReply = (params: {
  repo: string;
  number: number;
  review_id: number;
  post_pull_request_review_reply_form: ApiPostPullRequestReviewReplyForm;
}) => Promise<any | DieWebError$1>;
type Releases_ListReleases = (params: {
  repo: string;
  page?: number;
  page_size?: number;
}) => Promise<ApiRelease[] | DieWebError$1>;
type Releases_PostRelease = (params: {
  repo: string;
  create_release_form: OpenapiPostReleaseForm;
}) => Promise<any | DieWebError$1>;
type Releases_GetReleasesAsset = (params: {
  repo: string;
  tag: string;
  filename: string;
  share?: boolean;
}) => Promise<any>;
type Releases_GetLatestRelease = (params: {
  repo: string;
}) => Promise<ApiRelease | DieWebError$1>;
type Releases_GetReleaseByTag = (params: {
  repo: string;
  tag: string;
}) => Promise<ApiRelease | DieWebError$1>;
type Releases_GetReleaseByID = (params: {
  repo: string;
  release_id: string;
}) => Promise<ApiRelease | DieWebError$1>;
type Releases_DeleteRelease = (params: {
  repo: string;
  release_id: string;
}) => Promise<any | DieWebError$1>;
type Releases_PatchRelease = (params: {
  repo: string;
  release_id: string;
  patch_release_form: OpenapiPatchReleaseForm;
}) => Promise<any | DieWebError$1>;
type Releases_PostReleaseAssetUploadConfirmation = (params: {
  repo: string;
  release_id: string;
  upload_token: string;
  asset_path: string;
  ttl?: number;
}) => Promise<any | DieWebError$1>;
type Releases_PostReleaseAssetUploadURL = (params: {
  repo: string;
  release_id: string;
  create_release_asset_upload_url_form: OpenapiPostReleaseAssetUploadUrlForm;
}) => Promise<any | DieWebError$1>;
type Releases_GetReleaseAsset = (params: {
  repo: string;
  release_id: string;
  asset_id: string;
}) => Promise<ApiReleaseAsset | DieWebError$1>;
type Releases_DeleteReleaseAsset = (params: {
  repo: string;
  release_id: string;
  asset_id: string;
}) => Promise<any | DieWebError$1>;
type Security_GetRepoSecurityOverview = (params: {
  repo: string;
  types?: string;
  tab?: string;
}) => Promise<DtoRepoSecurityOverview | DieWebError$1>;
type GitSettings_ListBranchProtections = (params: {
  repo: string;
}) => Promise<ApiBranchProtection[] | DieWebError$1>;
type GitSettings_PostBranchProtection = (params: {
  repo: string;
  branch_protection_form: ApiBranchProtection;
}) => Promise<any | DieWebError$1>;
type GitSettings_GetBranchProtection = (params: {
  repo: string;
  id: string;
}) => Promise<ApiBranchProtection | DieWebError$1>;
type GitSettings_DeleteBranchProtection = (params: {
  repo: string;
  id: string;
}) => Promise<any | DieWebError$1>;
type GitSettings_PatchBranchProtection = (params: {
  repo: string;
  id: string;
  branch_protection_form: ApiBranchProtection;
}) => Promise<any | DieWebError$1>;
type GitSettings_GetPipelineSettings = (params: {
  repo: string;
}) => Promise<ApiPipelineSettings | DieWebError$1>;
type GitSettings_PutPipelineSettings = (params: {
  repo: string;
  pipeline_form: ApiPipelineSettings;
}) => Promise<any | DieWebError$1>;
type GitSettings_GetPullRequestSettings = (params: {
  repo: string;
}) => Promise<ApiPullRequestSettings | DieWebError$1>;
type GitSettings_PutPullRequestSettings = (params: {
  repo: string;
  pull_request_form: ApiPullRequestSettings;
}) => Promise<any | DieWebError$1>;
type GitSettings_GetPushLimitSettings = (params: {
  repo: string;
}) => Promise<ApiPushLimitSettings | DieWebError$1>;
type GitSettings_PutPushLimitSettings = (params: {
  repo: string;
  push_limit_form: ApiPushLimitSettings;
}) => Promise<any | DieWebError$1>;
type Repositories_SetRepoVisibility = (params: {
  repo: string;
  visibility: "Private" | "Public" | "Secret";
}) => Promise<any>;
type Activities_TopContributors = (params: {
  repo: string;
  top?: number;
}) => Promise<DtoUsersResult[]>;
type Repositories_TransferRepo = (params: {
  repo: string;
  request: DtoTransferSlugReq;
}) => Promise<any>;
type Pulls_UploadFiles = (params: {
  repo: string;
  request: DtoUploadRequestParams;
}) => Promise<DtoUploadAssetsResponse>;
type Pulls_UploadImgs = (params: {
  repo: string;
  request: DtoUploadRequestParams;
}) => Promise<DtoUploadAssetsResponse>;
type Workspace_GetWorkspaceDetail = (params: {
  repo: string;
  sn: string;
}) => Promise<DtoWorkspaceDetailResult>;
type Workspace_StartWorkspace = (params: {
  repo: string;
  request: DtoStartWorkspaceReq;
}) => Promise<DtoStartWorkspaceResult>;
type Charge_GetSpecialAmount = (params: {
  slug: string;
}) => Promise<DtoSpecialAmount>;
type RepoCodeIssue_ListCodeIssueOpenAPI = (params: {
  slug: string;
  issue_rule?: string;
  risk_level?: "info" | "warning" | "error" | "fatal" | "all";
  page?: number;
  page_size?: number;
}) => Promise<ApiCodeIssueListData | DieWebError$1>;
type RepoCodeIssue_GetCodeIssueDetailOpenAPI = (params: {
  slug: string;
  record_id: number;
}) => Promise<ApiCodeIssueDetail | DieWebError$1>;
type RepoContributor_GetRepoContributorTrend = (params: {
  slug: string;
  limit?: number;
  exclude_external_users?: boolean;
}) => Promise<ApiRepoContribTrend | DieWebError$1>;
type Git_GetPresignedLFSDownloadLink = (params: {
  slug: string;
  oid: string;
  name: string;
}) => Promise<any | DieWebError$1>;
type Assets_ListAssets = (params: {
  slug: string;
  page?: number;
  page_size?: number;
}) => Promise<DtoAssetRecords[]>;
type Members_ListAllMembers = (params: {
  slug: string;
  page?: number;
  page_size?: number;
  role?: "Guest" | "Reporter" | "Developer" | "Master" | "Owner";
  search?: string;
  names?: string;
  order_by?: "created_at" | "stars" | "follower";
  desc?: boolean;
}) => Promise<DtoUsersWithAccessLevelInSlug[]>;
type Missions_GetGroupSubMissions = (params: {
  slug: string;
  page?: number;
  page_size?: number;
  filter_type?: "private" | "public";
  order_by?: "created_at" | "name";
  desc?: boolean;
  descendant?: "all" | "sub" | "grand";
  search?: string;
}) => Promise<DtoMissions4User[]>;
type Missions_CreateMission = (params: {
  slug: string;
  request: DtoCreateMissionReq;
}) => Promise<any>;
type Members_ListOutsideCollaborators = (params: {
  slug: string;
  page?: number;
  page_size?: number;
  role?: "Guest" | "Reporter" | "Developer" | "Master";
  search?: string;
}) => Promise<DtoOutsideCollaboratorInRepo[]>;
type Members_UpdateOutsideCollaborators = (params: {
  slug: string;
  username: string;
  role: "Guest" | "Reporter" | "Developer";
}) => Promise<any>;
type Members_DeleteOutsideCollaborators = (params: {
  slug: string;
  username: string;
}) => Promise<any>;
type Registries_ListPackages = (params: {
  slug: string;
  type: "all" | "docker" | "helm" | "dockermodel" | "maven" | "npm" | "ohpm" | "pypi" | "nuget" | "composer" | "conan" | "cargo";
  page?: number;
  page_size?: number;
  ordering?: "pull_count" | "last_push_at" | "name_ascend" | "name_descend";
  name?: string;
}) => Promise<DtoPackage[] | DieWebError$1>;
type Registries_GetPackage = (params: {
  slug: string;
  type: "docker" | "helm" | "dockermodel" | "maven" | "npm" | "ohpm" | "pypi" | "nuget" | "composer" | "conan" | "cargo";
  name: string;
}) => Promise<DtoPackageDetail>;
type Registries_DeletePackage = (params: {
  slug: string;
  type: "docker" | "helm" | "dockermodel" | "maven" | "npm" | "ohpm" | "pypi" | "nuget" | "composer" | "conan" | "cargo";
  name: string;
}) => Promise<any>;
type Registries_GetPackageTagDetail = (params: {
  slug: string;
  type: "docker" | "helm" | "dockermodel" | "maven" | "npm" | "ohpm" | "pypi" | "nuget" | "composer" | "conan" | "cargo";
  name: string;
  tag: string;
  sha256?: string;
  arch?: string;
}) => Promise<DtoTagDetail>;
type Registries_DeletePackageTag = (params: {
  slug: string;
  type: "docker" | "helm" | "dockermodel" | "maven" | "npm" | "ohpm" | "pypi" | "nuget" | "composer" | "conan" | "cargo";
  name: string;
  tag: string;
}) => Promise<any>;
type Registries_GetPackageTagProvenance = (params: {
  slug: string;
  type: "docker" | "helm" | "dockermodel" | "maven" | "npm" | "ohpm" | "pypi" | "nuget" | "composer" | "conan" | "cargo" | "generic";
  name: string;
  tag: string;
}) => Promise<DtoProvenance>;
type Registries_ListPackageTags = (params: {
  slug: string;
  type: "docker" | "helm" | "dockermodel" | "maven" | "npm" | "ohpm" | "pypi" | "nuget" | "composer" | "conan" | "cargo";
  name: string;
  page?: number;
  page_size?: number;
  ordering?: "pull_count" | "last_push_at";
  tag_name?: string;
}) => Promise<GitWoaComCnbMonorepoPlatformServiceApiInternalModelsArtifactoryDtoTag>;
type Repositories_GetPinnedRepoByGroup = (params: {
  slug: string;
}) => Promise<DtoRepos4UserBase[]>;
type Repositories_SetPinnedRepoByGroup = (params: {
  slug: string;
  request: string[];
}) => Promise<DtoRepos4UserBase[]>;
type Registries_GetGroupSubRegistries = (params: {
  slug: string;
  page?: number;
  page_size?: number;
  registry_type?: "npm" | "maven" | "ohpm";
  filter_type?: "private" | "public";
  order_by?: "created_at" | "name";
  desc?: boolean;
  descendant?: "all" | "sub" | "grand";
  search?: string;
}) => Promise<DtoRegistry4User[]>;
type Repositories_GetGroupSubRepos = (params: {
  slug: string;
  page?: number;
  page_size?: number;
  filter_type?: "private" | "public" | "secret";
  flags?: "KnowledgeBase" | "NPC" | "Skills";
  flags_match?: "intersection" | "union";
  status?: "active" | "archived";
  order_by?: "created_at" | "last_updated_at" | "stars" | "slug_path" | "forks";
  desc?: boolean;
  descendant?: "all" | "sub" | "grand";
  search?: string;
}) => Promise<DtoRepos4User[]>;
type Repositories_CreateRepo = (params: {
  slug: string;
  request: DtoCreateRepoReq;
}) => Promise<any>;
type Organizations_GetGroupSetting = (params: {
  slug: string;
}) => Promise<DtoOrganizationSettingWithParent>;
type Organizations_UpdateGroupSetting = (params: {
  slug: string;
  request: DtoGroupSettingReq;
}) => Promise<any>;
type Repositories_ArchiveRepo = (params: {
  slug: string;
}) => Promise<any>;
type Repositories_UnArchiveRepo = (params: {
  slug: string;
}) => Promise<any>;
type Starring_ListStarUsers = (params: {
  slug: string;
  filter_type: "all" | "followed";
  page?: number;
  page_size?: number;
}) => Promise<DtoRepoStarUsers>;
type Organizations_ListSubgroups = (params: {
  slug: string;
  search?: string;
  page?: number;
  page_size?: number;
}) => Promise<DtoOrganizationUnion[]>;
interface Client {
  events: {
    repo: {
      /***
       * 获取仓库动态预签名地址，并返回内容。Get events pre-signed URL and return content.
       *
       * undefined
       *
       * /events/{repo}/-/{date}
       */
      get: Event_GetEvents;
    };
  };
  groups: {
    /***
     * 创建新组织。Create new organization.
     *
     * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
     * group-manage:rw
     *
     * /groups
     */
    post: Organizations_CreateOrganization;
  };
  ranks: {
    repo: {
      annual: {
        /***
         * 获取公仓年榜
         *
         * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
         * repo-basic-info:r
         *
         * /ranks/repo/annual
         */
        get: Rank_GetRepoAnnualRank;
      };
      daily: {
        /***
         * 获取公仓日榜
         *
         * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
         * repo-basic-info:r
         *
         * /ranks/repo/daily
         */
        get: Rank_GetRepoDailyRank;
      };
      languageList: {
        /***
         * 获取排行榜语言
         *
         * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
         * repo-basic-info:r
         *
         * /ranks/repo/language-list
         */
        get: Rank_GetLanguageList;
      };
      monthly: {
        /***
         * 获取公仓月榜
         *
         * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
         * repo-basic-info:r
         *
         * /ranks/repo/monthly
         */
        get: Rank_GetRepoMonthlyRank;
      };
      weekly: {
        /***
         * 获取公仓周榜
         *
         * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
         * repo-basic-info:r
         *
         * /ranks/repo/weekly
         */
        get: Rank_GetRepoWeeklyRank;
      };
    };
  };
  search: {
    npc: {
      /***
       * 全局语义搜索 NPC 角色
       *
       * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
       * repo-basic-info:r,repo-code:r
       *
       * /search/npc
       */
      list: KnowledgeBase_SearchNpc;
    };
    publicRepos: {
      /***
       * Search resource with the key
       *
       * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
       * repo-base-info:r
       *
       * /search/public-repos
       */
      list: Search_ListPublicRepos;
    };
  };
  user: {
    /***
     * 获取指定用户的详情信息。Get detailed information for a specified user.
     *
     * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
     * account-profile:r
     *
     * /user
     */
    get: Users_GetUserInfo;
    /***
     * 更新指定用户的详情信息。Updates the specified user's profile information.
     *
     * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
     * account-profile:rw
     *
     * /user
     */
    post: Users_UpdateUserInfo;
    autocompleteSource: {
      /***
       * 查询当前用户用户拥有指定权限的所有资源列表。List resources that the current user has specified permissions for.
       *
       * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
       * account-engage:r
       *
       * /user/autocomplete_source
       */
      list: Users_AutoCompleteSource;
    };
    emails: {
      /***
       * 获取用户邮箱列表
       *
       * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
       * account-email:r
       *
       * /user/emails
       */
      get: Users_ListEmail;
    };
    gpgKeys: {
      /***
       * 获取用户 GPG keys 列表。List GPG Keys.
       *
       * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
       * account-profile:r
       *
       * /user/gpg-keys
       */
      get: Users_ListGPGKeys;
    };
    groups: {
      /***
       * 获取当前用户拥有权限的顶层组织列表。Get top-level organizations list that the current user has access to.
       *
       * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
       * account-engage:r
       *
       * /user/groups
       */
      list: Organizations_ListTopGroups;
      /***
       * 查询当前用户在指定组织下拥有指定权限的子组织列表。Get the list of sub-organizations that the current user has access to in the specified organization.
       *
       * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
       * account-engage:r
       *
       * /user/groups/{slug}
       */
      listByGroup: Organizations_ListGroups;
    };
    issues: {
      /***
       * 查询当前用户相关的 Issues。List issues for the authenticated user across all repositories.
       *
       * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
       * repo-issue:r
       *
       * /user/issues
       */
      list: Issues_ListUserIssues;
    };
    repos: {
      /***
       * 获取当前用户拥有指定权限及其以上权限的仓库。List repositories owned by the current user with the specified permissions or higher.
       *
       * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
       * account-engage:r
       *
       * /user/repos
       */
      list: Repositories_GetRepos;
    };
    staredRepos: {
      /***
       * 获取当前用户 star 的仓库列表。List all stared repositories.
       *
       * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
       * account-engage:r
       *
       * /user/stared-repos
       */
      list: Starring_GetUserAllStaredRepos;
    };
  };
  users: {
    /***
     * 获取指定用户的详情信息。Get detailed information for a specified user.
     *
     * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
     * account-profile:r
     *
     * /users/{username}
     */
    get: Users_GetUserInfoByName;
    activities: {
      /***
       * 获取个人动态活跃详情汇总。Get user activities by date.
       *
       * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
       * account-engage:r
       *
       * /users/{username}/activities
       */
      get: Activities_GetUserActivitiesByDate;
    };
    followers: {
      /***
       * 获取指定用户的粉丝列表。Get the followers list of specified user.
       *
       * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
       * account-engage:r
       *
       * /users/{username}/followers
       */
      list: Followers_GetFollowersByUserID;
    };
    following: {
      /***
       * 获取指定用户的关注人列表。Get the list of users that the specified user is following.
       *
       * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
       * account-engage:r
       *
       * /users/{username}/following
       */
      list: Followers_GetFollowingByUserID;
    };
    groups: {
      /***
       * 获取指定用户拥有权限的顶层组织列表。 Get a list of top-level organizations that the specified user has permissions to access.
       *
       * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
       * account-engage:r
       *
       * /users/{username}/groups
       */
      get: Organizations_GetGroupsByUserID;
    };
    pinnedRepos: {
      /***
       * 获取指定用户的用户仓库墙。 Get a list of repositories that the specified user has pinned.
       *
       * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
       * account-engage:r
       *
       * /users/{username}/pinned-repos
       */
      list: Repositories_GetPinnedRepoByID;
    };
    repoActivities: {
      /***
       * 个人仓库动态详情列表。List of personal repository activity details.
       *
       * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
       * account-engage:r
       *
       * /users/{username}/repo-activities/{activityType}
       */
      list: Activities_GetUserRepoActivityDetails;
    };
    repos: {
      /***
       * 获取指定用户有指定以上权限并且客人态可见的仓库。List repositories where the specified user has the specified permission level or higher and are visible to guests.
       *
       * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
       * account-engage:r
       *
       * /users/{username}/repos
       */
      list: Repositories_GetReposByUserName;
    };
    staredRepos: {
      /***
       * 获取指定用户的 star 仓库列表。Get the list of repositories starred by the specified user.
       *
       * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
       * account-engage:r
       *
       * /users/{username}/stared-repos
       */
      list: Starring_GetUserStaredRepos;
    };
  };
  workspace: {
    delete: {
      /***
       * 删除我的云原生开发环境。Delete my workspace.
       *
       * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
       * account-engage:rw
       *
       * /workspace/delete
       */
      post: Workspace_DeleteWorkspace;
    };
    list: {
      /***
       * 获取我的云原生开发环境列表。List my workspaces.
       *
       * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
       * account-engage:r
       *
       * /workspace/list
       */
      get: Workspace_ListWorkspaces;
    };
    stop: {
      /***
       * 停止/关闭我的云原生开发环境。Stop/close my workspace.
       *
       * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
       * account-engage:rw
       *
       * /workspace/stop
       */
      post: Workspace_WorkspaceStop;
    };
  };
  group: {
    /***
     * 获取指定组织信息。Get information for the specified organization.
     *
     * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
     * group-resource:r
     *
     * /{group}
     */
    get: Organizations_GetGroup;
    /***
     * 更新组织信息, 可更新的内容为: 组织描述, 组织展示名称, 组织网站, 组织联系邮箱。Updates organization information including: description, display name, website URL and contact email.
     *
     * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
     * group-manage:rw
     *
     * /{group}
     */
    put: Organizations_UpdateOrganization;
    /***
     * 删除指定组织。Delete the specified organization.
     *
     * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
     * group-delete:rw
     *
     * /{group}
     */
    delete: Organizations_DeleteOrganization;
    inheritMembers: {
      /***
       * 获取指定组织的继承成员。List inherited members within specified organization
       *
       * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
       * group-manage:r
       *
       * /{group}/-/inherit-members
       */
      list: Members_ListInheritMembersOfGroup;
    };
    members: {
      /***
       * 获取指定组织内的所有直接成员。List all direct members within specified organization.
       *
       * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
       * group-manage:r
       *
       * /{group}/-/members
       */
      list: Members_ListMembersOfGroup;
      accessLevel: {
        /***
         * 获取指定组织内, 访问成员在当前层级内的权限信息。Get permission information for accessing members at current level.
         *
         * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
         * group-manage:r
         *
         * /{group}/-/members/access-level
         */
        get: Members_GetMemberAccessLevelOfGroup;
        /***
         * 获取指定组织内指定成员的权限信息, 结果按组织层级来展示, 包含上层组织的权限继承信息。Get specified member's permissions with organizational hierarchy.
         *
         * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
         * group-manage:r
         *
         * /{group}/-/members/{username}/access-level
         */
        list: Members_ListMemberAccessLevelOfGroup;
      };
      /***
       * 更新指定组织的直接成员权限信息。Update permission information for direct members in specified organization.
       *
       * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
       * group-manage:rw
       *
       * /{group}/-/members/{username}
       */
      put: Members_UpdateMembersOfGroup;
      /***
       * 添加成员。Add members.
       *
       * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
       * group-manage:rw
       *
       * /{group}/-/members/{username}
       */
      post: Members_AddMembersOfGroup;
      /***
       * 删除指定组织的直接成员。Remove direct members from specified organization.
       *
       * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
       * group-manage:rw
       *
       * /{group}/-/members/{username}
       */
      delete: Members_DeleteMembersOfGroup;
    };
    transfer: {
      /***
       * 转移组织。Transfer an organization.
       *
       * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
       * group-manage:rw
       *
       * /{group}/-/transfer
       */
      post: Organizations_TransferGroup;
    };
    upload: {
      logos: {
        /***
         * 发起一个上传 logo 的请求，返回上传文件的url，请使用 put 发起流式上传。Initiate a request to upload logo,returns upload URL.Use PUT to initiate a stream upload.
         *
         * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
         * group-manage:rw
         *
         * /{group}/-/upload/logos
         */
        post: Organizations_UploadLogos;
      };
    };
  };
  mission: {
    /***
     * 删除指定任务集。Delete the specified mission.
     *
     * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
     * mission-delete:rw
     *
     * /{mission}
     */
    delete: Missions_DeleteMission;
    members: {
      /***
       * 添加成员。Add members.
       *
       * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
       * mission-manage:rw
       *
       * /{mission}/-/members/{username}
       */
      post: Members_AddMembersOfMission;
    };
    mission: {
      view: {
        /***
         * 查询任务集视图配置信息。Get mission view config.
         *
         * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
         * mission-manage:r
         *
         * /{mission}/-/mission/view
         */
        get: Missions_GetMissionViewConfig;
        /***
         * 设置任务集视图配置信息。Set mission view config.
         *
         * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
         * mission-manage:rw
         *
         * /{mission}/-/mission/view
         */
        post: Missions_PostMissionViewConfig;
      };
      viewList: {
        /***
         * 获取任务集视图列表。Get view list of a mission.
         *
         * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
         * mission-manage:r
         *
         * /{mission}/-/mission/view-list
         */
        list: Missions_GetMissionViewList;
        /***
         * 添加、修改任务集视图。Update a mission view or add a new one.
         *
         * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
         * mission-manage:rw
         *
         * /{mission}/-/mission/view-list
         */
        put: Missions_PutMissionViewList;
        /***
         * 排序任务集视图。Sort mission view list.
         *
         * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
         * mission-manage:rw
         *
         * /{mission}/-/mission/view-list
         */
        post: Missions_PostMissionViewList;
      };
    };
    settings: {
      setVisibility: {
        /***
         * 改变任务集可见性。Update the visibility of a mission.
         *
         * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
         * mission-manage:rw
         *
         * /{mission}/-/settings/set_visibility
         */
        post: Missions_SetMissionVisibility;
      };
    };
  };
  registry: {
    /***
     * 删除制品库。Delete the registry.
     *
     * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
     * registry-delete:rw
     *
     * /{registry}
     */
    delete: Registries_DeleteRegistry;
    members: {
      /***
       * 添加成员。Add members.
       *
       * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
       * registry-manage:rw
       *
       * /{registry}/-/members/{username}
       */
      post: Members_AddMembersOfRegistry;
    };
    settings: {
      setVisibility: {
        /***
         * 改变制品仓库可见性。Update visibility of registry.
         *
         * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
         * registry-manage:rw
         *
         * /{registry}/-/settings/set_visibility
         */
        post: Registries_SetRegistryVisibility;
      };
    };
  };
  repo: {
    /***
     * 获取指定仓库信息。Get information for the specified repository.
     *
     * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
     * repo-basic-info:r
     *
     * /{repo}
     */
    get: Repositories_GetByID;
    /***
     * 删除指定仓库。Delete the specified repository.
     *
     * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
     * repo-delete:rw
     *
     * /{repo}
     */
    delete: Repositories_DeleteRepo;
    /***
     * 更新仓库信息, 可更新的内容为: 仓库简介, 仓库站点, 仓库主题, 开源许可证。updates repository details including description, website URL,topics and license type.
     *
     * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
     * repo-manage:rw
     *
     * /{repo}
     */
    patch: Repositories_UpdateRepo;
    ai: {
      chat: {
        completions: {
          /***
           * AI 对话。调用者需有代码写权限（CNB_TOKEN 仅需读权限，部署令牌不检查读写权限）。AI chat completions. Requires caller to have repo write permission.
           *
           * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
           * repo-code:r
           *
           * /{repo}/-/ai/chat/completions
           */
          post: AI_AiChatCompletions;
        };
      };
    };
    assets: {
      /***
       * 通过 asset 记录 id 删除一个 asset
       *
       * 通过 asset 记录 id 删除一个 asset，release和commit附件不能通过该接口删除
       * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
       * repo-manage:rw
       *
       * /{repo}/-/assets/{assetID}
       */
      delete: Assets_DeleteAsset;
    };
    badge: {
      git: {
        /***
         * 获取徽章 svg 或 JSON 数据。Get badge svg or JSON data.
         *
         * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
         * repo-commit-status:r
         *
         * /{repo}/-/badge/git/{sha}/{badge}
         */
        get: Badge_GetBadge;
      };
      list: {
        /***
         * 获取徽章列表数据。List badge data
         *
         * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
         * repo-commit-status:r
         *
         * /{repo}/-/badge/list
         */
        get: Badge_ListBadge;
      };
      upload: {
        /***
         * 上传徽章数据。Upload badge data
         *
         * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
         * repo-commit-status:rw
         *
         * /{repo}/-/badge/upload
         */
        post: Badge_UploadBadge;
      };
    };
    build: {
      crontab: {
        sync: {
          /***
           * 同步仓库分支下的定时任务。 Synchronize the content under the repository branch.
           *
           * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
           * repo-cnb-trigger:rw
           *
           * /{repo}/-/build/crontab/sync/{branch}
           */
          post: Build_BuildCrontabSync;
        };
      };
      logs: {
        /***
         * 查询流水线构建列表。List pipeline builds.
         *
         * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
         * repo-cnb-trigger:r
         *
         * /{repo}/-/build/logs
         */
        get: Build_GetBuildLogs;
        stage: {
          /***
           * 查询流水线Stage详情。Get pipeline build stage detail.
           *
           * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
           * repo-cnb-trigger:r
           *
           * /{repo}/-/build/logs/stage/{sn}/{pipelineId}/{stageId}
           */
          get: Build_GetBuildStage;
        };
        /***
         * 删除流水线日志内容。Delete pipeline logs content.
         *
         * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
         * repo-cnb-trigger:rw
         *
         * /{repo}/-/build/logs/{sn}
         */
        delete: Build_BuildLogsDelete;
      };
      runner: {
        download: {
          log: {
            /***
             * 流水线runner日志下载。Pipeline runner log download.
             *
             * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
             * repo-cnb-trigger:r
             *
             * /{repo}/-/build/runner/download/log/{pipelineId}
             */
            get: Build_BuildRunnerDownloadLog;
          };
        };
      };
      start: {
        /***
         * 开始一个构建。Start a build.
         *
         * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
         * repo-cnb-trigger:rw
         *
         * /{repo}/-/build/start
         */
        post: Build_StartBuild;
      };
      status: {
        /***
         * 查询流水线构建状态。Get pipeline build status.
         *
         * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
         * repo-cnb-trigger:r
         *
         * /{repo}/-/build/status/{sn}
         */
        get: Build_GetBuildStatus;
      };
      stop: {
        /***
         * 停止一个构建。 Stop a build.
         *
         * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
         * repo-cnb-trigger:rw
         *
         * /{repo}/-/build/stop/{sn}
         */
        post: Build_StopBuild;
      };
    };
    commitAssets: {
      download: {
        /***
         * 发起一个获取 commits 附件的请求， 302到有一定效期的下载地址。Get a request to fetch a commit assets and returns 302 redirect to the assets URL with specific valid time.
         *
         * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
         * repo-contents:r
         *
         * /{repo}/-/commit-assets/download/{commit_id}/{filename}
         */
        get: Git_GetCommitAssets;
      };
    };
    files: {
      issues: {
        /***
         * 获取 Issue 文件，返回文件二进制内容。Request to retrieve file of issues, returns binary content.
         *
         * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
         * repo-issue:r
         *
         * /{repo}/-/files/issues/{file_path}
         */
        get: Issues_GetIssueFiles;
      };
      pulls: {
        /***
         * 获取合并请求文件，返回文件二进制内容。Request to retrieve file of pull requests, returns binary content.
         *
         * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
         * repo-pr:r
         *
         * /{repo}/-/files/pulls/{file_path}
         */
        get: Pulls_GetPrFiles;
      };
      /***
       * 获取 issue 文件或合并请求文件的请求，返回文件二进制内容。Request to retrieve file of issues and pull requests, returns binary content.
       *
       * 当前接口只能获取到跟 issue 和合并请求无关联的文件，有关联的文件请使用 GetIssueFiles 和 GetPrFiles 接口。另外，后续版本该接口可能将被移出 Assets 分类
       * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
       * repo-contents:r
       *
       * /{repo}/-/files/{filePath}
       */
      get: Assets_GetFiles;
      /***
       * 删除 UploadFiles 上传的附件
       *
       * 删除 UploadFiles 上传的附件
       * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
       * repo-manage:rw
       *
       * /{repo}/-/files/{filePath}
       */
      delete: Pulls_DeleteRepoFiles;
    };
    forks: {
      /***
       * 获取指定仓库的 fork 列表。Get fork list for specified repository.
       *
       * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
       * repo-base-info:r
       *
       * /{repo}/-/forks
       */
      get: Repositories_ListForksRepos;
    };
    git: {
      archiveCommitChangedFiles: {
        /***
         * 打包下载 commit 变更文件。Download archive of changed files for a commit.
         *
         * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
         * repo-code:r
         *
         * /{repo}/-/git/archive-commit-changed-files/{sha1}
         */
        get: Git_GetArchiveCommitChangedFiles;
      };
      archiveCompareChangedFiles: {
        /***
         * 打包下载两次 ref 之间的变更文件。Download archive of changed files for a compare.
         *
         * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
         * repo-code:r
         *
         * /{repo}/-/git/archive-compare-changed-files/{base_head}
         */
        get: Git_GetArchiveCompareChangedFiles;
      };
      archive: {
        /***
         * 下载仓库内容
         *
         * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
         * repo-code:r
         *
         * /{repo}/-/git/archive/{ref_with_path}
         */
        get: Git_GetArchive;
      };
      blobs: {
        /***
         * 创建一个 blob。Create a blob.
         *
         * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
         * repo-code:rw
         *
         * /{repo}/-/git/blobs
         */
        post: Git_CreateBlob;
      };
      branchLocks: {
        /***
         * 锁定分支
         *
         * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
         * repo-code:rw
         *
         * /{repo}/-/git/branch-locks/{branch}
         */
        post: Git_CreateBranchLock;
        /***
         * 解除锁定分支
         *
         * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
         * repo-code:rw
         *
         * /{repo}/-/git/branch-locks/{branch}
         */
        delete: Git_DeleteBranchLock;
      };
      branches: {
        /***
         * 查询分支列表。List branches.
         *
         * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
         * repo-code:r
         *
         * /{repo}/-/git/branches
         */
        list: Git_ListBranches;
        /***
         * 创建新分支。Create a new branch based on a start point.
         *
         * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
         * repo-code:rw
         *
         * /{repo}/-/git/branches
         */
        post: Git_CreateBranch;
        /***
         * 查询指定分支。Get a branch.
         *
         * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
         * repo-code:r
         *
         * /{repo}/-/git/branches/{branch}
         */
        get: Git_GetBranch;
        /***
         * 删除指定分支。Delete the specified branch.
         *
         * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
         * repo-code:rw
         *
         * /{repo}/-/git/branches/{branch}
         */
        delete: Git_DeleteBranch;
      };
      commitAnnotationsInBatch: {
        /***
         * 查询指定 commit 的元数据。Get commit annotations in batch.
         *
         * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
         * repo-code:r
         *
         * /{repo}/-/git/commit-annotations-in-batch
         */
        post: Git_GetCommitAnnotationsInBatch;
      };
      commitAnnotations: {
        /***
         * 查询指定 commit 的元数据。Get commit annotations.
         *
         * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
         * repo-code:r
         *
         * /{repo}/-/git/commit-annotations/{sha}
         */
        list: Git_GetCommitAnnotations;
        /***
         * 设定指定 commit 的元数据。Put commit annotations.
         *
         * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
         * repo-code:rw
         *
         * /{repo}/-/git/commit-annotations/{sha}
         */
        put: Git_PutCommitAnnotations;
        /***
         * 删除指定 commit 的元数据。Delete commit annotation.
         *
         * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
         * repo-code:rw
         *
         * /{repo}/-/git/commit-annotations/{sha}/{key}
         */
        delete: Git_DeleteCommitAnnotation;
      };
      commitAssets: {
        /***
         * 查询指定 commit 的附件。List commit assets.
         *
         * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
         * repo-code:r
         *
         * /{repo}/-/git/commit-assets/{sha1}
         */
        list: Git_GetCommitAssetsBySha;
        assetUploadConfirmation: {
          /***
           * 确认 commit 附件上传完成。Confirm commit asset upload.
           *
           * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
           * repo-code:rw
           *
           * /{repo}/-/git/commit-assets/{sha1}/asset-upload-confirmation/{upload_token}/{asset_path}
           */
          post: Git_PostCommitAssetUploadConfirmation;
        };
        assetUploadUrl: {
          /***
           * 新增一个 commit 附件。Create a commit asset.
           *
           * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
           * repo-code:rw
           *
           * /{repo}/-/git/commit-assets/{sha1}/asset-upload-url
           */
          post: Git_PostCommitAssetUploadURL;
        };
        /***
         * 删除指定 commit 的附件。Delete commit asset.
         *
         * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
         * repo-code:rw
         *
         * /{repo}/-/git/commit-assets/{sha1}/{asset_id}
         */
        delete: Git_DeleteCommitAsset;
      };
      commitStatuses: {
        /***
         * 查询指定 commit 的提交状态。List commit check statuses.
         *
         * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
         * repo-code:r
         *
         * /{repo}/-/git/commit-statuses/{commitish}
         */
        list: Git_GetCommitStatuses;
      };
      commits: {
        /***
         * 查询 commit 列表。List commits.
         *
         * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
         * repo-code:r
         *
         * /{repo}/-/git/commits
         */
        list: Git_ListCommits;
        /***
         * 查询指定 commit。Get a commit.
         *
         * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
         * repo-code:r
         *
         * /{repo}/-/git/commits/{ref}
         */
        get: Git_GetCommit;
      };
      compare: {
        /***
         * 比较两个提交、分支或标签之间差异的接口。Compare two commits, branches, or tags.
         *
         * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
         * repo-code:r
         *
         * /{repo}/-/git/compare/{base_head}
         */
        get: Git_GetCompareCommits;
      };
      contents: {
        /***
         * 查询仓库文件和目录内容。List repository files and directories.
         *
         * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
         * repo-code:r
         *
         * /{repo}/-/git/contents
         */
        getWithoutPath: Git_GetContentWithoutPath;
        /***
         * 查询仓库文件列表或文件。List repository files or file.
         *
         * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
         * repo-code:r
         *
         * /{repo}/-/git/contents/{file_path}
         */
        get: Git_GetContent;
      };
      head: {
        /***
         * 获取仓库默认分支。Get the default branch of the repository.
         *
         * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
         * repo-code:r
         *
         * /{repo}/-/git/head
         */
        get: Git_GetHead;
      };
      raw: {
        /***
         * 获得仓库指定文件内容
         *
         * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
         * repo-code:r
         *
         * /{repo}/-/git/raw/{ref_with_path}
         */
        get: Git_GetRaw;
      };
      tagAnnotations: {
        /***
         * 删除指定 tag 的元数据。Delete the metadata of the specified tag.
         *
         * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
         * repo-contents:rw
         *
         * /{repo}/-/git/tag-annotations/{tag_with_key}
         */
        delete: Git_DeleteTagAnnotation;
        /***
         * 查询指定 tag 的元数据。Query the metadata of the specified tag.
         *
         * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
         * repo-contents:r
         *
         * /{repo}/-/git/tag-annotations/{tag}
         */
        list: Git_GetTagAnnotations;
        /***
         * 设定指定 tag 的元数据。Set the metadata of the specified tag.
         *
         * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
         * repo-contents:rw
         *
         * /{repo}/-/git/tag-annotations/{tag}
         */
        put: Git_PutTagAnnotations;
      };
      tags: {
        /***
         * 查询 tag 列表。List tags.
         *
         * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
         * repo-contents:r
         *
         * /{repo}/-/git/tags
         */
        list: Git_ListTags;
        /***
         * 创建一个 tag。Create a tag.
         *
         * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
         * repo-code:rw
         *
         * /{repo}/-/git/tags
         */
        post: Git_CreateTag;
        /***
         * 查询指定 tag。Get a tag.
         *
         * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
         * repo-contents:r
         *
         * /{repo}/-/git/tags/{tag}
         */
        get: Git_GetTag;
        /***
         * 删除指定 tag。Delete the specified tag.
         *
         * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
         * repo-contents:rw
         *
         * /{repo}/-/git/tags/{tag}
         */
        delete: Git_DeleteTag;
      };
    };
    imgs: {
      issues: {
        /***
         * 获取 Issue 图片，返回图片二进制内容。Request to retrieve image of issues, returns binary content.
         *
         * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
         * repo-issue:r
         *
         * /{repo}/-/imgs/issues/{img_path}
         */
        get: Issues_GetIssueImgs;
      };
      pulls: {
        /***
         * 获取合并请求图片，返回图片二进制内容。Request to retrieve image of pull requests, returns binary content.
         *
         * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
         * repo-pr:r
         *
         * /{repo}/-/imgs/pulls/{img_path}
         */
        get: Pulls_GetPrImgs;
      };
      /***
       * 获取 issue 图片或合并请求图片的请求，返回图片二进制内容。Request to retrieve image of issues and pull requests, returns binary content.
       *
       * 当前接口只能获取到跟 issue 和合并请求无关联的图片，有关联的图片请使用 GetIssueImgs 和 GetPrImgs 接口。另外，后续版本该接口可能将被移出 Assets 分类
       * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
       * repo-contents:r
       *
       * /{repo}/-/imgs/{imgPath}
       */
      get: Assets_GetImgs;
      /***
       * 删除 UploadImgs 上传的图片
       *
       * 删除 UploadImgs 上传的图片
       * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
       * repo-manage:rw
       *
       * /{repo}/-/imgs/{imgPath}
       */
      delete: Pulls_DeleteRepoImgs;
    };
    inheritMembers: {
      /***
       * 获取指定仓库内的继承成员。List inherited members within specified repository。
       *
       * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
       * repo-manage:r
       *
       * /{repo}/-/inherit-members
       */
      list: Members_ListInheritMembersOfRepo;
    };
    issues: {
      /***
       * 查询仓库的 Issues。List issues.
       *
       * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
       * repo-issue:r
       *
       * /{repo}/-/issues
       */
      list: Issues_ListIssues;
      /***
       * 创建一个 Issue。Create an issue.
       *
       * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
       * repo-issue:rw
       *
       * /{repo}/-/issues
       */
      post: Issues_CreateIssue;
      /***
       * 查询指定的 Issues。Get an issue.
       *
       * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
       * repo-issue:r
       *
       * /{repo}/-/issues/{number}
       */
      get: Issues_GetIssue;
      /***
       * 更新一个 Issue。Update an issue.
       *
       * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
       * repo-issue:rw
       *
       * /{repo}/-/issues/{number}
       */
      patch: Issues_UpdateIssue;
      activities: {
        /***
         * 查询指定 Issue 的 Timeline Activity
         *
         * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
         * repo-issue:r
         *
         * /{repo}/-/issues/{number}/activities
         */
        list: Issues_ListIssueActivities;
        latest: {
          /***
           * 查询某一动态之后的 Issue Activity
           *
           * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
           * repo-issue:r
           *
           * /{repo}/-/issues/{number}/activities/latest/{id}
           */
          list: Issues_ListIssueActivitiesLatest;
        };
      };
      assignees: {
        /***
         * 查询指定 issue 的处理人。 List repository issue assignees.
         *
         * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
         * repo-issue:r
         *
         * /{repo}/-/issues/{number}/assignees
         */
        list: Issues_ListIssueAssignees;
        /***
         * 添加处理人到指定的 issue。  Adds up to assignees to a issue, Users already assigned to an issue are not replaced.
         *
         * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
         * repo-issue:rw
         *
         * /{repo}/-/issues/{number}/assignees
         */
        post: Issues_PostIssueAssignees;
        /***
         * 删除 issue 中的处理人。 Removes one or more assignees from an issue.
         *
         * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
         * repo-issue:rw
         *
         * /{repo}/-/issues/{number}/assignees
         */
        delete: Issues_DeleteIssueAssignees;
        /***
         * 更新 issue 中的处理人。 Updates the assignees of an issue.
         *
         * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
         * repo-issue:rw
         *
         * /{repo}/-/issues/{number}/assignees
         */
        patch: Issues_PatchIssueAssignees;
        /***
         * 检查用户是否可以被添加到 issue 的处理人中。 Checks if a user can be assigned to an issue.
         *
         * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
         * repo-issue:r
         *
         * /{repo}/-/issues/{number}/assignees/{assignee}
         */
        get: Issues_CanUserBeAssignedToIssue;
      };
      commentFileAssetUploadUrl: {
        /***
         * 创建一个 Issue 评论的文件上传 url。请使用 put 发起流式上传到 upload_url 地址。上传完成后将 asset_link 添加到创建评论请求的 body 中。 Create a file upload URL for an Issue comment. Please use put to initiate a stream upload to the upload_url address. After uploading, add the asset_link to the body of the create comment request.
         *
         * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
         * repo-notes:rw
         *
         * /{repo}/-/issues/{number}/comment-file-asset-upload-url
         */
        post: Issues_PostIssueCommentFileAssetUploadURL;
      };
      commentImageAssetUploadUrl: {
        /***
         * 创建一个 Issue 评论的图片上传 url。请使用 put 发起流式上传到 upload_url 地址。上传完成后将 asset_link 添加到创建评论请求的 body 中。Create an image upload URL for an Issue comment. Please use put to initiate a stream upload to the upload_url address. After uploading, add the asset_link to the body of the create comment request.
         *
         * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
         * repo-notes:rw
         *
         * /{repo}/-/issues/{number}/comment-image-asset-upload-url
         */
        post: Issues_PostIssueCommentImageAssetUploadURL;
      };
      comments: {
        /***
         * 查询仓库的 issue 评论列表。List repository issue comments.
         *
         * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
         * repo-notes:r
         *
         * /{repo}/-/issues/{number}/comments
         */
        list: Issues_ListIssueComments;
        /***
         * 创建一个 issue 评论。Create an issue comment.
         *
         * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
         * repo-notes:rw
         *
         * /{repo}/-/issues/{number}/comments
         */
        post: Issues_PostIssueComment;
        /***
         * 获取指定 issue 评论。Get an issue comment.
         *
         * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
         * repo-notes:r
         *
         * /{repo}/-/issues/{number}/comments/{comment_id}
         */
        get: Issues_GetIssueComment;
        /***
         * 修改一个 issue 评论。Update an issue comment.
         *
         * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
         * repo-notes:rw
         *
         * /{repo}/-/issues/{number}/comments/{comment_id}
         */
        patch: Issues_PatchIssueComment;
      };
      labels: {
        /***
         * 查询 issue 的标签列表。List labels for an issue.
         *
         * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
         * repo-issue:r
         *
         * /{repo}/-/issues/{number}/labels
         */
        list: Issues_ListIssueLabels;
        /***
         * 设置 issue 标签。 Set the new labels for an issue.
         *
         * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
         * repo-issue:rw
         *
         * /{repo}/-/issues/{number}/labels
         */
        put: Issues_PutIssueLabels;
        /***
         * 新增 issue 标签。Add labels to an issue.
         *
         * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
         * repo-issue:rw
         *
         * /{repo}/-/issues/{number}/labels
         */
        post: Issues_PostIssueLabels;
        /***
         * 清空 issue 标签。Remove all labels from an issue.
         *
         * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
         * repo-issue:rw
         *
         * /{repo}/-/issues/{number}/labels
         */
        delete: Issues_DeleteIssueLabels;
        /***
         * 删除 issue 标签。Remove a label from an issue.
         *
         * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
         * repo-issue:rw
         *
         * /{repo}/-/issues/{number}/labels/{name}
         */
        deleteByName: Issues_DeleteIssueLabel;
      };
      property: {
        /***
         * 查询指定Issue的自定义属性列表。Get issue custom properties.
         *
         * 返回该Issue已设置的所有自定义属性及其值。
         * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
         * repo-issue:r
         *
         * /{repo}/-/issues/{number}/property
         */
        list: Issues_GetIssueProperties;
        /***
         * 批量更新Issue自定义属性值
         *
         * 为指定Issue批量更新多个自定义属性的值，要求属性 key 必须已存在，允许部分失败
         * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
         * repo-issue:rw
         *
         * /{repo}/-/issues/{number}/property
         */
        patch: Issues_UpdateIssueProperties;
      };
    };
    knowledge: {
      base: {
        /***
         * 获取知识库信息
         *
         * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
         * repo-code:r
         *
         * /{repo}/-/knowledge/base
         */
        get: KnowledgeBase_GetKnowledgeBaseInfo;
        /***
         * 删除知识库
         *
         * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
         * repo-code:rw
         *
         * /{repo}/-/knowledge/base
         */
        delete: KnowledgeBase_DeleteKnowledgeBase;
        query: {
          /***
           * 查询知识库，使用文档：https://docs.cnb.cool/zh/ai/knowledge-base.html
           *
           * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
           * repo-code:r
           *
           * /{repo}/-/knowledge/base/query
           */
          post: KnowledgeBase_QueryKnowledgeBase;
        };
      };
      embedding: {
        models: {
          /***
           * 获取当前支持的 Embedding 模型列表
           *
           * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
           * repo-code:r
           *
           * /{repo}/-/knowledge/embedding/models
           */
          list: KnowledgeBase_GetModels;
        };
      };
    };
    labels: {
      /***
       * 查询仓库的标签列表。List repository labels.
       *
       * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
       * repo-notes:r
       *
       * /{repo}/-/labels
       */
      list: RepoLabels_ListLabels;
      /***
       * 创建一个 标签。Create a label.
       *
       * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
       * repo-notes:rw
       *
       * /{repo}/-/labels
       */
      post: RepoLabels_PostLabel;
      /***
       * 删除指定的仓库标签。Delete the specified repository label.
       *
       * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
       * repo-notes:rw
       *
       * /{repo}/-/labels/{name}
       */
      delete: RepoLabels_DeleteLabel;
      /***
       * 更新标签信息。Update label information.
       *
       * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
       * repo-notes:rw
       *
       * /{repo}/-/labels/{name}
       */
      patch: RepoLabels_PatchLabel;
    };
    members: {
      /***
       * 获取指定仓库内的所有直接成员。List all direct members within specified repository.
       *
       * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
       * repo-manage:r
       *
       * /{repo}/-/members
       */
      list: Members_ListMembersOfRepo;
      accessLevel: {
        /***
         * 获取指定仓库内, 访问成员在当前层级内的权限信息。Get permission information for accessing members at current level.
         *
         * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
         * repo-manage:r
         *
         * /{repo}/-/members/access-level
         */
        get: Members_GetMemberAccessLevelOfRepo;
        /***
         * 获取指定仓库内指定成员的权限信息, 结果按组织层级来展示, 包含上层组织的权限继承信息。Get specified member's permissions with organizational hierarchy.
         *
         * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
         * repo-manage:r
         *
         * /{repo}/-/members/{username}/access-level
         */
        list: Members_ListMemberAccessLevelOfRepo;
      };
      /***
       * 更新指定仓库内的直接成员权限信息。Update permission information for direct members in specified repository.
       *
       * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
       * repo-manage:rw
       *
       * /{repo}/-/members/{username}
       */
      put: Members_UpdateMembersOfRepo;
      /***
       * 添加成员。Add members.
       *
       * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
       * repo-manage:rw
       *
       * /{repo}/-/members/{username}
       */
      post: Members_AddMembersOfRepo;
      /***
       * 删除指定仓库的直接成员。Remove direct members from specified repository.
       *
       * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
       * repo-manage:rw
       *
       * /{repo}/-/members/{username}
       */
      delete: Members_DeleteMembersOfRepo;
    };
    property: {
      /***
       * 查询仓库可见的自定义属性列表。List repository visible custom properties.
       *
       * 返回该仓库中已设置为可见的自定义属性定义信息（key、显示名称、类型等）。
       * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
       * repo-issue:r
       *
       * /{repo}/-/property
       */
      list: Issues_ListRepoVisibleProperties;
      invisible: {
        /***
         * 查询仓库不可见的自定义属性列表。List repository invisible custom properties.
         *
         * 分页获取该仓库中已设置为不可见的自定义属性定义信息（key、显示名称、类型），支持关键字搜索。
         * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
         * repo-issue:r
         *
         * /{repo}/-/property/invisible
         */
        list: Issues_ListRepoInvisibleProperties;
      };
    };
    pullInBatch: {
      /***
       * 根据 number 列表查询合并请求列表。List pull requests by numbers.
       *
       * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
       * repo-pr:r
       *
       * /{repo}/-/pull-in-batch
       */
      list: Pulls_ListPullsByNumbers;
    };
    pulls: {
      /***
       * 查询合并请求列表。List pull requests.
       *
       * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
       * repo-pr:r
       *
       * /{repo}/-/pulls
       */
      list: Pulls_ListPulls;
      /***
       * 新增一个合并请求。Create a pull request.
       *
       * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
       * repo-pr:rw
       *
       * /{repo}/-/pulls
       */
      post: Pulls_PostPull;
      /***
       * 查询指定合并请求。Get a pull request.
       *
       * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
       * repo-pr:r
       *
       * /{repo}/-/pulls/{number}
       */
      get: Pulls_GetPull;
      /***
       * 更新一个合并请求。Update a pull request.
       *
       * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
       * repo-pr:rw
       *
       * /{repo}/-/pulls/{number}
       */
      patch: Pulls_PatchPull;
      assignees: {
        /***
         * 查询指定合并请求的处理人。List repository pull request assignees.
         *
         * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
         * repo-pr:r
         *
         * /{repo}/-/pulls/{number}/assignees
         */
        list: Pulls_ListPullAssignees;
        /***
         * 添加处理人到指定的合并请求。 Adds up to assignees to a pull request. Users already assigned to an issue are not replaced.
         *
         * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
         * repo-pr:rw
         *
         * /{repo}/-/pulls/{number}/assignees
         */
        post: Pulls_PostPullAssignees;
        /***
         * 删除合并请求中的处理人 Removes one or more assignees from a pull request.
         *
         * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
         * repo-pr:rw
         *
         * /{repo}/-/pulls/{number}/assignees
         */
        delete: Pulls_DeletePullAssignees;
        /***
         * 检查用户是否可以被添加到合并请求的处理人中。 Checks if a user can be assigned to a pull request.
         *
         * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
         * repo-pr:r
         *
         * /{repo}/-/pulls/{number}/assignees/{assignee}
         */
        get: Pulls_CanUserBeAssignedToPull;
      };
      comments: {
        /***
         * 查询合并请求评论列表。List pull comments requests.
         *
         * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
         * repo-notes:r
         *
         * /{repo}/-/pulls/{number}/comments
         */
        list: Pulls_ListPullComments;
        /***
         * 新增一个合并请求评论。Create a pull comment.
         *
         * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
         * repo-notes:rw
         *
         * /{repo}/-/pulls/{number}/comments
         */
        post: Pulls_PostPullComment;
        /***
         * 获取一个合并请求评论。Get a pull comment.
         *
         * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
         * repo-notes:r
         *
         * /{repo}/-/pulls/{number}/comments/{comment_id}
         */
        get: Pulls_GetPullComment;
        /***
         * 更新一个合并请求评论。Update a pull comment.
         *
         * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
         * repo-notes:rw
         *
         * /{repo}/-/pulls/{number}/comments/{comment_id}
         */
        patch: Pulls_PatchPullComment;
      };
      commitStatuses: {
        /***
         * 查询 Pull Request 的状态检查
         *
         * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
         * repo-pr:r
         *
         * /{repo}/-/pulls/{number}/commit-statuses
         */
        get: Pulls_ListPullCommitStatuses;
      };
      commits: {
        /***
         * 查询指定合并请求的提交列表。Lists the commits in a specified pull request.
         *
         * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
         * repo-pr:r
         *
         * /{repo}/-/pulls/{number}/commits
         */
        list: Pulls_ListPullCommits;
      };
      files: {
        /***
         * 查询指定合并请求的文件列表。Lists the files in a specified pull request.
         *
         * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
         * repo-pr:r
         *
         * /{repo}/-/pulls/{number}/files
         */
        list: Pulls_ListPullFiles;
      };
      labels: {
        /***
         * 查询指定合并请求的标签列表。List labels for a pull.
         *
         * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
         * repo-pr:r
         *
         * /{repo}/-/pulls/{number}/labels
         */
        list: Pulls_ListPullLabels;
        /***
         * 设置合并请求标签。Set the new labels for a pull.
         *
         * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
         * repo-pr:rw
         *
         * /{repo}/-/pulls/{number}/labels
         */
        put: Pulls_PutPullLabels;
        /***
         * 新增合并请求标签。Add labels to a pull.
         *
         * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
         * repo-pr:rw
         *
         * /{repo}/-/pulls/{number}/labels
         */
        post: Pulls_PostPullLabels;
        /***
         * 清空合并请求标签。Remove all labels from a pull.
         *
         * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
         * repo-pr:rw
         *
         * /{repo}/-/pulls/{number}/labels
         */
        delete: Pulls_DeletePullLabels;
        /***
         * 删除合并请求标签。Remove a label from a pull.
         *
         * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
         * repo-pr:rw
         *
         * /{repo}/-/pulls/{number}/labels/{name}
         */
        deleteByName: Pulls_DeletePullLabel;
      };
      merge: {
        /***
         * 合并一个合并请求。Merge a pull request.
         *
         * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
         * repo-pr:rw
         *
         * /{repo}/-/pulls/{number}/merge
         */
        put: Pulls_MergePull;
      };
      reviews: {
        /***
         * 查询特定合并请求的评审列表。List pull reviews.
         *
         * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
         * repo-notes:r
         *
         * /{repo}/-/pulls/{number}/reviews
         */
        list: Pulls_ListPullReviews;
        /***
         * 新增一次合并请求评审。Create a pull review.
         *
         * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
         * repo-notes:rw
         *
         * /{repo}/-/pulls/{number}/reviews
         */
        post: Pulls_PostPullReview;
        comments: {
          /***
           * 查询指定合并请求评审评论列表。List pull review comments.
           *
           * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
           * repo-notes:r
           *
           * /{repo}/-/pulls/{number}/reviews/{review_id}/comments
           */
          list: Pulls_ListPullReviewComments;
        };
        replies: {
          /***
           * 回复一个 review 评审
           *
           * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
           * repo-notes:rw
           *
           * /{repo}/-/pulls/{number}/reviews/{review_id}/replies
           */
          post: Pulls_PostPullRequestReviewReply;
        };
      };
    };
    releases: {
      /***
       * 查询 release 列表。List releases.
       *
       * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
       * repo-code:r
       *
       * /{repo}/-/releases
       */
      list: Releases_ListReleases;
      /***
       * 新增一个 release。Create a release.
       *
       * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
       * repo-code:rw
       *
       * /{repo}/-/releases
       */
      post: Releases_PostRelease;
      download: {
        /***
         * 发起一个获取 release 附件的请求， 302到有一定效期的下载地址。Get a request to fetch a release assets and returns 302 redirect to the assets URL with specific valid time.
         *
         * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
         * repo-contents:r
         *
         * /{repo}/-/releases/download/{tag}/{filename}
         */
        get: Releases_GetReleasesAsset;
      };
      latest: {
        /***
         * 查询最新的 release。Query the latest release.
         *
         * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
         * repo-code:r
         *
         * /{repo}/-/releases/latest
         */
        get: Releases_GetLatestRelease;
      };
      tags: {
        /***
         * 通过 tag 查询指定 release,包含附件信息。Get a release by tag, include assets information.
         *
         * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
         * repo-code:r
         *
         * /{repo}/-/releases/tags/{tag}
         */
        get: Releases_GetReleaseByTag;
      };
      /***
       * 根据 id	查询指定 release, 包含附件信息。Get a release by id, include assets information.
       *
       * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
       * repo-code:r
       *
       * /{repo}/-/releases/{release_id}
       */
      get: Releases_GetReleaseByID;
      /***
       * 删除指定的 release。Delete a release.
       *
       * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
       * repo-code:rw
       *
       * /{repo}/-/releases/{release_id}
       */
      delete: Releases_DeleteRelease;
      /***
       * 更新 release。Update a release.
       *
       * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
       * repo-code:rw
       *
       * /{repo}/-/releases/{release_id}
       */
      patch: Releases_PatchRelease;
      assetUploadConfirmation: {
        /***
         * 确认  release 附件上传完成。Confirm release asset upload.
         *
         * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
         * repo-code:rw
         *
         * /{repo}/-/releases/{release_id}/asset-upload-confirmation/{upload_token}/{asset_path}
         */
        post: Releases_PostReleaseAssetUploadConfirmation;
      };
      assetUploadUrl: {
        /***
         * 新增一个 release 附件。Create a release asset.
         *
         * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
         * repo-code:rw
         *
         * /{repo}/-/releases/{release_id}/asset-upload-url
         */
        post: Releases_PostReleaseAssetUploadURL;
      };
      assets: {
        /***
         * 查询指定的 release 附件 the specified release asset.
         *
         * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
         * repo-code:r
         *
         * /{repo}/-/releases/{release_id}/assets/{asset_id}
         */
        get: Releases_GetReleaseAsset;
        /***
         * 删除指定的 release 附件 the specified release asset.
         *
         * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
         * repo-code:rw
         *
         * /{repo}/-/releases/{release_id}/assets/{asset_id}
         */
        delete: Releases_DeleteReleaseAsset;
      };
    };
    security: {
      overview: {
        /***
         * 查询仓库安全模块概览数据。Query the security overview data of a repository
         *
         * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
         * repo-security:r
         *
         * /{repo}/-/security/overview
         */
        get: Security_GetRepoSecurityOverview;
      };
    };
    settings: {
      branchProtections: {
        /***
         * 查询仓库保护分支规则列表。List branch protection rules.
         *
         * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
         * repo-manage:r
         *
         * /{repo}/-/settings/branch-protections
         */
        list: GitSettings_ListBranchProtections;
        /***
         * 新增仓库保护分支规则。Create branch protection rule.
         *
         * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
         * repo-manage:rw
         *
         * /{repo}/-/settings/branch-protections
         */
        post: GitSettings_PostBranchProtection;
        /***
         * 查询仓库保护分支规则。Get branch protection rule.
         *
         * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
         * repo-manage:r
         *
         * /{repo}/-/settings/branch-protections/{id}
         */
        get: GitSettings_GetBranchProtection;
        /***
         * 删除仓库保护分支规则。 Delete branch protection rule.
         *
         * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
         * repo-manage:rw
         *
         * /{repo}/-/settings/branch-protections/{id}
         */
        delete: GitSettings_DeleteBranchProtection;
        /***
         * 更新仓库保护分支规则。Update branch protection rule.
         *
         * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
         * repo-manage:rw
         *
         * /{repo}/-/settings/branch-protections/{id}
         */
        patch: GitSettings_PatchBranchProtection;
      };
      cloudNativeBuild: {
        /***
         * 查询仓库云原生构建设置。List pipeline settings.
         *
         * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
         * repo-manage:r
         *
         * /{repo}/-/settings/cloud-native-build
         */
        get: GitSettings_GetPipelineSettings;
        /***
         * 更新仓库云原生构建设置。Update pipeline settings.
         *
         * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
         * repo-manage:rw
         *
         * /{repo}/-/settings/cloud-native-build
         */
        put: GitSettings_PutPipelineSettings;
      };
      pullRequest: {
        /***
         * 查询仓库合并请求设置。List pull request settings.
         *
         * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
         * repo-manage:r
         *
         * /{repo}/-/settings/pull-request
         */
        get: GitSettings_GetPullRequestSettings;
        /***
         * 更新仓库合并请求设置。Set pull request settings.
         *
         * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
         * repo-manage:rw
         *
         * /{repo}/-/settings/pull-request
         */
        put: GitSettings_PutPullRequestSettings;
      };
      pushLimit: {
        /***
         * 查询仓库推送设置。List push limit settings.
         *
         * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
         * repo-manage:r
         *
         * /{repo}/-/settings/push-limit
         */
        get: GitSettings_GetPushLimitSettings;
        /***
         * 设置仓库推送设置。Set push limit settings.
         *
         * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
         * repo-manage:rw
         *
         * /{repo}/-/settings/push-limit
         */
        put: GitSettings_PutPushLimitSettings;
      };
      setVisibility: {
        /***
         * 改变仓库可见性。Update visibility of repository.
         *
         * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
         * repo-manage:rw
         *
         * /{repo}/-/settings/set_visibility
         */
        post: Repositories_SetRepoVisibility;
      };
    };
    topActivityUsers: {
      /***
       * 获取仓库 top 活跃用户。List the top active users
       *
       * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
       * repo-base-info:r
       *
       * /{repo}/-/top-activity-users
       */
      list: Activities_TopContributors;
    };
    transfer: {
      /***
       * 转移仓库。Transfer a repository.
       *
       * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
       * repo-manage:rw,repo-code:rw
       *
       * /{repo}/-/transfer
       */
      post: Repositories_TransferRepo;
    };
    upload: {
      files: {
        /***
         * 发起一个上传 files 的请求，返回上传文件的url，请使用 put 发起流式上传。Initiate a request to upload files,returns upload URL.Use PUT to initiate a stream upload.
         *
         * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
         * repo-notes:rw
         *
         * /{repo}/-/upload/files
         */
        post: Pulls_UploadFiles;
      };
      imgs: {
        /***
         * 发起一个上传 imgs 的请求，返回上传文件的url，请使用 put 发起流式上传。Initiate a request to upload images,returns upload URL.Use PUT to initiate a stream upload.
         *
         * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
         * repo-contents:rw
         *
         * /{repo}/-/upload/imgs
         */
        post: Pulls_UploadImgs;
      };
    };
    workspace: {
      detail: {
        /***
         * 根据流水线sn查询云原生开发访问地址。Query cloud-native development access address by pipeline SN.
         *
         * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
         * repo-cnb-detail:r
         *
         * /{repo}/-/workspace/detail/{sn}
         */
        get: Workspace_GetWorkspaceDetail;
      };
      start: {
        /***
         * 启动云原生开发环境，已存在环境则直接打开，否则重新创建开发环境。Start cloud-native dev. Opens existing env or creates a new one.
         *
         * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
         * repo-cnb-trigger:rw
         *
         * /{repo}/-/workspace/start
         */
        post: Workspace_StartWorkspace;
      };
    };
  };
  slug: {
    charge: {
      specialAmount: {
        /***
         * 查看特权额度
         *
         * 查看根组织的特权额度，需要根组织的 master 以上权限才可以查看
         * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
         * group-resource:r
         *
         * /{slug}/-/charge/special-amount
         */
        get: Charge_GetSpecialAmount;
      };
    };
    code: {
      issues: {
        /***
         * 获取源码扫描问题列表
         *
         * 获取指定仓库的源码扫描问题列表，支持按问题规则和严重程度筛选
         * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
         * repo-code:r
         *
         * /{slug}/-/code/issues
         */
        list: RepoCodeIssue_ListCodeIssueOpenAPI;
        /***
         * 获取源码扫描问题详情
         *
         * 根据问题记录ID获取源码扫描问题的详细信息，包括问题位置、责任人、规则描述等
         * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
         * repo-code:r
         *
         * /{slug}/-/code/issues/{record_id}
         */
        get: RepoCodeIssue_GetCodeIssueDetailOpenAPI;
      };
    };
    contributor: {
      trend: {
        /***
         * 查询仓库贡献者前 100 名的详细趋势数据。Query detailed trend data for top 100 contributors of the repository.
         *
         * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
         * repo-code:r
         *
         * /{slug}/-/contributor/trend
         */
        get: RepoContributor_GetRepoContributorTrend;
      };
    };
    lfs: {
      /***
       * 获取 git lfs 文件下载链接
       *
       * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
       * repo-code:r
       *
       * /{slug}/-/lfs/{oid}
       */
      get: Git_GetPresignedLFSDownloadLink;
    };
    listAssets: {
      /***
       * 仓库的 asset 记录列表
       *
       * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
       * repo-manage:r
       *
       * /{slug}/-/list-assets
       */
      list: Assets_ListAssets;
    };
    listMembers: {
      /***
       * 获取指定仓库内的有效成员列表，包含继承成员。List active members in specified repository including inherited members.
       *
       * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
       * repo-manage:r
       *
       * /{slug}/-/list-members
       */
      list: Members_ListAllMembers;
    };
    missions: {
      /***
       * 查询组织下面用户有权限查看到的任务集。Query all missions that the user has permission to see under the specific organization.
       *
       * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
       * group-resource:r
       *
       * /{slug}/-/missions
       */
      list: Missions_GetGroupSubMissions;
      /***
       * 创建任务集。Create a mission.
       *
       * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
       * group-resource:rw
       *
       * /{slug}/-/missions
       */
      post: Missions_CreateMission;
    };
    outsideCollaborators: {
      /***
       * 获取指定仓库内的外部贡献者。List external contributors in specified repository.
       *
       * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
       * repo-manage:r
       *
       * /{slug}/-/outside-collaborators
       */
      list: Members_ListOutsideCollaborators;
      /***
       * 更新指定仓库的外部贡献者权限信息。 Update permission information for external contributors in specified repository.
       *
       * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
       * repo-manage:rw
       *
       * /{slug}/-/outside-collaborators/{username}
       */
      put: Members_UpdateOutsideCollaborators;
      /***
       * 删除指定仓库的外部贡献者。Removes external contributors from specified repository.
       *
       * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
       * repo-manage:rw
       *
       * /{slug}/-/outside-collaborators/{username}
       */
      delete: Members_DeleteOutsideCollaborators;
    };
    packages: {
      /***
       * 查询制品列表。 List all packages.
       *
       * 制品首页
       * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
       * registry-package:r
       *
       * /{slug}/-/packages
       */
      list: Registries_ListPackages;
      /***
       * 获取指定制品的详细信息。 Get the package detail.
       *
       * 制品详情页
       * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
       * registry-package:r
       *
       * /{slug}/-/packages/{type}/{name}
       */
      get: Registries_GetPackage;
      /***
       * 删除制品。 Delete the specific package.
       *
       * 制品详情页-删除制品
       * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
       * registry-package-delete:rw
       *
       * /{slug}/-/packages/{type}/{name}
       */
      delete: Registries_DeletePackage;
      name: {
        tag: {
          /***
           * 获取制品标签详情。 Get the specific tag under specific package.
           *
           * 制品详情页-版本详情
           * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
           * registry-package:r
           *
           * /{slug}/-/packages/{type}/{name}/-/tag/{tag}
           */
          get: Registries_GetPackageTagDetail;
          /***
           * 删除制品标签。 Delete the specific tag under specific package
           *
           * 制品详情页-版本详情-删除标签
           * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
           * registry-package-delete:rw
           *
           * /{slug}/-/packages/{type}/{name}/-/tag/{tag}
           */
          delete: Registries_DeletePackageTag;
          provenance: {
            /***
             * 获取制品标签的出生证明。 Get the specific tag provenance under specific package.
             *
             * 制品详情页-版本详情-出生证明
             * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
             * registry-package:r
             *
             * /{slug}/-/packages/{type}/{name}/-/tag/{tag}/provenance
             */
            get: Registries_GetPackageTagProvenance;
          };
        };
        tags: {
          /***
           * 查询制品标签列表。 List all tags under specific package.
           *
           * 制品详情页-版本列表
           * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
           * registry-package:r
           *
           * /{slug}/-/packages/{type}/{name}/-/tags
           */
          get: Registries_ListPackageTags;
        };
      };
    };
    pinnedRepos: {
      /***
       * 获取指定组织的仓库墙列表。List the pinned repositories of a group.
       *
       * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
       * group-manage:r
       *
       * /{slug}/-/pinned-repos
       */
      list: Repositories_GetPinnedRepoByGroup;
      /***
       * 更新指定组织仓库墙。Update the pinned repositories of a group.
       *
       * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
       * group-manage:rw
       *
       * /{slug}/-/pinned-repos
       */
      put: Repositories_SetPinnedRepoByGroup;
    };
    registries: {
      /***
       * 查询组织下面用户有权限查看到的制品仓库。Query all registries that the user has permission to see under specific organization.
       *
       * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
       * group-resource:r
       *
       * /{slug}/-/registries
       */
      list: Registries_GetGroupSubRegistries;
    };
    repos: {
      /***
       * 查询组织下访问用户有权限查看到仓库。List the repositories that the user has access to.
       *
       * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
       * group-resource:r
       *
       * /{slug}/-/repos
       */
      list: Repositories_GetGroupSubRepos;
      /***
       * 创建仓库。Create repositories.
       *
       * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
       * group-resource:rw
       *
       * /{slug}/-/repos
       */
      post: Repositories_CreateRepo;
    };
    settings: {
      /***
       * 获取指定组织的配置详情。Get the configuration details for the specified organization.
       *
       * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
       * group-manage:r
       *
       * /{slug}/-/settings
       */
      get: Organizations_GetGroupSetting;
      /***
       * 更新指定组织的配置。Updates the configuration for the specified organization.
       *
       * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
       * group-manage:rw
       *
       * /{slug}/-/settings
       */
      put: Organizations_UpdateGroupSetting;
      archive: {
        /***
         * 仓库归档。Archive a repository.
         *
         * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
         * repo-manage:rw,repo-code:rw
         *
         * /{slug}/-/settings/archive
         */
        post: Repositories_ArchiveRepo;
      };
      unarchive: {
        /***
         * 解除仓库归档。Unarchive a repository.
         *
         * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
         * repo-manage:rw,repo-code:rw
         *
         * /{slug}/-/settings/unarchive
         */
        post: Repositories_UnArchiveRepo;
      };
    };
    stars: {
      /***
       * 获取指定仓库的star用户列表。Get the list of users who starred the specified repository.
       *
       * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
       * repo-basic-info:r
       *
       * /{slug}/-/stars
       */
      get: Starring_ListStarUsers;
    };
    subGroups: {
      /***
       * 获取指定组织下的子组织列表。Get the list of sub-organizations under the specified organization.
       *
       * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
       * group-resource:r
       *
       * /{slug}/-/sub-groups
       */
      list: Organizations_ListSubgroups;
    };
  };
  Event: {
    GetEvents: Event_GetEvents;
  };
  Organizations: {
    CreateOrganization: Organizations_CreateOrganization;
    ListTopGroups: Organizations_ListTopGroups;
    ListGroups: Organizations_ListGroups;
    GetGroupsByUserID: Organizations_GetGroupsByUserID;
    GetGroup: Organizations_GetGroup;
    UpdateOrganization: Organizations_UpdateOrganization;
    DeleteOrganization: Organizations_DeleteOrganization;
    TransferGroup: Organizations_TransferGroup;
    UploadLogos: Organizations_UploadLogos;
    GetGroupSetting: Organizations_GetGroupSetting;
    UpdateGroupSetting: Organizations_UpdateGroupSetting;
    ListSubgroups: Organizations_ListSubgroups;
  };
  Rank: {
    GetRepoAnnualRank: Rank_GetRepoAnnualRank;
    GetRepoDailyRank: Rank_GetRepoDailyRank;
    GetLanguageList: Rank_GetLanguageList;
    GetRepoMonthlyRank: Rank_GetRepoMonthlyRank;
    GetRepoWeeklyRank: Rank_GetRepoWeeklyRank;
  };
  KnowledgeBase: {
    SearchNpc: KnowledgeBase_SearchNpc;
    GetKnowledgeBaseInfo: KnowledgeBase_GetKnowledgeBaseInfo;
    DeleteKnowledgeBase: KnowledgeBase_DeleteKnowledgeBase;
    QueryKnowledgeBase: KnowledgeBase_QueryKnowledgeBase;
    GetModels: KnowledgeBase_GetModels;
  };
  Search: {
    ListPublicRepos: Search_ListPublicRepos;
  };
  Users: {
    GetUserInfo: Users_GetUserInfo;
    UpdateUserInfo: Users_UpdateUserInfo;
    AutoCompleteSource: Users_AutoCompleteSource;
    ListEmail: Users_ListEmail;
    ListGPGKeys: Users_ListGPGKeys;
    GetUserInfoByName: Users_GetUserInfoByName;
  };
  Issues: {
    ListUserIssues: Issues_ListUserIssues;
    GetIssueFiles: Issues_GetIssueFiles;
    GetIssueImgs: Issues_GetIssueImgs;
    ListIssues: Issues_ListIssues;
    CreateIssue: Issues_CreateIssue;
    GetIssue: Issues_GetIssue;
    UpdateIssue: Issues_UpdateIssue;
    ListIssueActivities: Issues_ListIssueActivities;
    ListIssueActivitiesLatest: Issues_ListIssueActivitiesLatest;
    ListIssueAssignees: Issues_ListIssueAssignees;
    PostIssueAssignees: Issues_PostIssueAssignees;
    DeleteIssueAssignees: Issues_DeleteIssueAssignees;
    PatchIssueAssignees: Issues_PatchIssueAssignees;
    CanUserBeAssignedToIssue: Issues_CanUserBeAssignedToIssue;
    PostIssueCommentFileAssetUploadURL: Issues_PostIssueCommentFileAssetUploadURL;
    PostIssueCommentImageAssetUploadURL: Issues_PostIssueCommentImageAssetUploadURL;
    ListIssueComments: Issues_ListIssueComments;
    PostIssueComment: Issues_PostIssueComment;
    GetIssueComment: Issues_GetIssueComment;
    PatchIssueComment: Issues_PatchIssueComment;
    ListIssueLabels: Issues_ListIssueLabels;
    PutIssueLabels: Issues_PutIssueLabels;
    PostIssueLabels: Issues_PostIssueLabels;
    DeleteIssueLabels: Issues_DeleteIssueLabels;
    DeleteIssueLabel: Issues_DeleteIssueLabel;
    GetIssueProperties: Issues_GetIssueProperties;
    UpdateIssueProperties: Issues_UpdateIssueProperties;
    ListRepoVisibleProperties: Issues_ListRepoVisibleProperties;
    ListRepoInvisibleProperties: Issues_ListRepoInvisibleProperties;
  };
  Repositories: {
    GetRepos: Repositories_GetRepos;
    GetPinnedRepoByID: Repositories_GetPinnedRepoByID;
    GetReposByUserName: Repositories_GetReposByUserName;
    GetByID: Repositories_GetByID;
    DeleteRepo: Repositories_DeleteRepo;
    UpdateRepo: Repositories_UpdateRepo;
    ListForksRepos: Repositories_ListForksRepos;
    SetRepoVisibility: Repositories_SetRepoVisibility;
    TransferRepo: Repositories_TransferRepo;
    GetPinnedRepoByGroup: Repositories_GetPinnedRepoByGroup;
    SetPinnedRepoByGroup: Repositories_SetPinnedRepoByGroup;
    GetGroupSubRepos: Repositories_GetGroupSubRepos;
    CreateRepo: Repositories_CreateRepo;
    ArchiveRepo: Repositories_ArchiveRepo;
    UnArchiveRepo: Repositories_UnArchiveRepo;
  };
  Starring: {
    GetUserAllStaredRepos: Starring_GetUserAllStaredRepos;
    GetUserStaredRepos: Starring_GetUserStaredRepos;
    ListStarUsers: Starring_ListStarUsers;
  };
  Activities: {
    GetUserActivitiesByDate: Activities_GetUserActivitiesByDate;
    GetUserRepoActivityDetails: Activities_GetUserRepoActivityDetails;
    TopContributors: Activities_TopContributors;
  };
  Followers: {
    GetFollowersByUserID: Followers_GetFollowersByUserID;
    GetFollowingByUserID: Followers_GetFollowingByUserID;
  };
  Workspace: {
    DeleteWorkspace: Workspace_DeleteWorkspace;
    ListWorkspaces: Workspace_ListWorkspaces;
    WorkspaceStop: Workspace_WorkspaceStop;
    GetWorkspaceDetail: Workspace_GetWorkspaceDetail;
    StartWorkspace: Workspace_StartWorkspace;
  };
  Members: {
    ListInheritMembersOfGroup: Members_ListInheritMembersOfGroup;
    ListMembersOfGroup: Members_ListMembersOfGroup;
    GetMemberAccessLevelOfGroup: Members_GetMemberAccessLevelOfGroup;
    ListMemberAccessLevelOfGroup: Members_ListMemberAccessLevelOfGroup;
    UpdateMembersOfGroup: Members_UpdateMembersOfGroup;
    AddMembersOfGroup: Members_AddMembersOfGroup;
    DeleteMembersOfGroup: Members_DeleteMembersOfGroup;
    AddMembersOfMission: Members_AddMembersOfMission;
    AddMembersOfRegistry: Members_AddMembersOfRegistry;
    ListInheritMembersOfRepo: Members_ListInheritMembersOfRepo;
    ListMembersOfRepo: Members_ListMembersOfRepo;
    GetMemberAccessLevelOfRepo: Members_GetMemberAccessLevelOfRepo;
    ListMemberAccessLevelOfRepo: Members_ListMemberAccessLevelOfRepo;
    UpdateMembersOfRepo: Members_UpdateMembersOfRepo;
    AddMembersOfRepo: Members_AddMembersOfRepo;
    DeleteMembersOfRepo: Members_DeleteMembersOfRepo;
    ListAllMembers: Members_ListAllMembers;
    ListOutsideCollaborators: Members_ListOutsideCollaborators;
    UpdateOutsideCollaborators: Members_UpdateOutsideCollaborators;
    DeleteOutsideCollaborators: Members_DeleteOutsideCollaborators;
  };
  Missions: {
    DeleteMission: Missions_DeleteMission;
    GetMissionViewConfig: Missions_GetMissionViewConfig;
    PostMissionViewConfig: Missions_PostMissionViewConfig;
    GetMissionViewList: Missions_GetMissionViewList;
    PutMissionViewList: Missions_PutMissionViewList;
    PostMissionViewList: Missions_PostMissionViewList;
    SetMissionVisibility: Missions_SetMissionVisibility;
    GetGroupSubMissions: Missions_GetGroupSubMissions;
    CreateMission: Missions_CreateMission;
  };
  Registries: {
    DeleteRegistry: Registries_DeleteRegistry;
    SetRegistryVisibility: Registries_SetRegistryVisibility;
    ListPackages: Registries_ListPackages;
    GetPackage: Registries_GetPackage;
    DeletePackage: Registries_DeletePackage;
    GetPackageTagDetail: Registries_GetPackageTagDetail;
    DeletePackageTag: Registries_DeletePackageTag;
    GetPackageTagProvenance: Registries_GetPackageTagProvenance;
    ListPackageTags: Registries_ListPackageTags;
    GetGroupSubRegistries: Registries_GetGroupSubRegistries;
  };
  AI: {
    AiChatCompletions: AI_AiChatCompletions;
  };
  Assets: {
    DeleteAsset: Assets_DeleteAsset;
    GetFiles: Assets_GetFiles;
    GetImgs: Assets_GetImgs;
    ListAssets: Assets_ListAssets;
  };
  Badge: {
    GetBadge: Badge_GetBadge;
    ListBadge: Badge_ListBadge;
    UploadBadge: Badge_UploadBadge;
  };
  Build: {
    BuildCrontabSync: Build_BuildCrontabSync;
    GetBuildLogs: Build_GetBuildLogs;
    GetBuildStage: Build_GetBuildStage;
    BuildLogsDelete: Build_BuildLogsDelete;
    BuildRunnerDownloadLog: Build_BuildRunnerDownloadLog;
    StartBuild: Build_StartBuild;
    GetBuildStatus: Build_GetBuildStatus;
    StopBuild: Build_StopBuild;
  };
  Git: {
    GetCommitAssets: Git_GetCommitAssets;
    GetArchiveCommitChangedFiles: Git_GetArchiveCommitChangedFiles;
    GetArchiveCompareChangedFiles: Git_GetArchiveCompareChangedFiles;
    GetArchive: Git_GetArchive;
    CreateBlob: Git_CreateBlob;
    CreateBranchLock: Git_CreateBranchLock;
    DeleteBranchLock: Git_DeleteBranchLock;
    ListBranches: Git_ListBranches;
    CreateBranch: Git_CreateBranch;
    GetBranch: Git_GetBranch;
    DeleteBranch: Git_DeleteBranch;
    GetCommitAnnotationsInBatch: Git_GetCommitAnnotationsInBatch;
    GetCommitAnnotations: Git_GetCommitAnnotations;
    PutCommitAnnotations: Git_PutCommitAnnotations;
    DeleteCommitAnnotation: Git_DeleteCommitAnnotation;
    GetCommitAssetsBySha: Git_GetCommitAssetsBySha;
    PostCommitAssetUploadConfirmation: Git_PostCommitAssetUploadConfirmation;
    PostCommitAssetUploadURL: Git_PostCommitAssetUploadURL;
    DeleteCommitAsset: Git_DeleteCommitAsset;
    GetCommitStatuses: Git_GetCommitStatuses;
    ListCommits: Git_ListCommits;
    GetCommit: Git_GetCommit;
    GetCompareCommits: Git_GetCompareCommits;
    GetContentWithoutPath: Git_GetContentWithoutPath;
    GetContent: Git_GetContent;
    GetHead: Git_GetHead;
    GetRaw: Git_GetRaw;
    DeleteTagAnnotation: Git_DeleteTagAnnotation;
    GetTagAnnotations: Git_GetTagAnnotations;
    PutTagAnnotations: Git_PutTagAnnotations;
    ListTags: Git_ListTags;
    CreateTag: Git_CreateTag;
    GetTag: Git_GetTag;
    DeleteTag: Git_DeleteTag;
    GetPresignedLFSDownloadLink: Git_GetPresignedLFSDownloadLink;
  };
  Pulls: {
    GetPrFiles: Pulls_GetPrFiles;
    DeleteRepoFiles: Pulls_DeleteRepoFiles;
    GetPrImgs: Pulls_GetPrImgs;
    DeleteRepoImgs: Pulls_DeleteRepoImgs;
    ListPullsByNumbers: Pulls_ListPullsByNumbers;
    ListPulls: Pulls_ListPulls;
    PostPull: Pulls_PostPull;
    GetPull: Pulls_GetPull;
    PatchPull: Pulls_PatchPull;
    ListPullAssignees: Pulls_ListPullAssignees;
    PostPullAssignees: Pulls_PostPullAssignees;
    DeletePullAssignees: Pulls_DeletePullAssignees;
    CanUserBeAssignedToPull: Pulls_CanUserBeAssignedToPull;
    ListPullComments: Pulls_ListPullComments;
    PostPullComment: Pulls_PostPullComment;
    GetPullComment: Pulls_GetPullComment;
    PatchPullComment: Pulls_PatchPullComment;
    ListPullCommitStatuses: Pulls_ListPullCommitStatuses;
    ListPullCommits: Pulls_ListPullCommits;
    ListPullFiles: Pulls_ListPullFiles;
    ListPullLabels: Pulls_ListPullLabels;
    PutPullLabels: Pulls_PutPullLabels;
    PostPullLabels: Pulls_PostPullLabels;
    DeletePullLabels: Pulls_DeletePullLabels;
    DeletePullLabel: Pulls_DeletePullLabel;
    MergePull: Pulls_MergePull;
    ListPullReviews: Pulls_ListPullReviews;
    PostPullReview: Pulls_PostPullReview;
    ListPullReviewComments: Pulls_ListPullReviewComments;
    PostPullRequestReviewReply: Pulls_PostPullRequestReviewReply;
    UploadFiles: Pulls_UploadFiles;
    UploadImgs: Pulls_UploadImgs;
  };
  RepoLabels: {
    ListLabels: RepoLabels_ListLabels;
    PostLabel: RepoLabels_PostLabel;
    DeleteLabel: RepoLabels_DeleteLabel;
    PatchLabel: RepoLabels_PatchLabel;
  };
  Releases: {
    ListReleases: Releases_ListReleases;
    PostRelease: Releases_PostRelease;
    GetReleasesAsset: Releases_GetReleasesAsset;
    GetLatestRelease: Releases_GetLatestRelease;
    GetReleaseByTag: Releases_GetReleaseByTag;
    GetReleaseByID: Releases_GetReleaseByID;
    DeleteRelease: Releases_DeleteRelease;
    PatchRelease: Releases_PatchRelease;
    PostReleaseAssetUploadConfirmation: Releases_PostReleaseAssetUploadConfirmation;
    PostReleaseAssetUploadURL: Releases_PostReleaseAssetUploadURL;
    GetReleaseAsset: Releases_GetReleaseAsset;
    DeleteReleaseAsset: Releases_DeleteReleaseAsset;
  };
  Security: {
    GetRepoSecurityOverview: Security_GetRepoSecurityOverview;
  };
  GitSettings: {
    ListBranchProtections: GitSettings_ListBranchProtections;
    PostBranchProtection: GitSettings_PostBranchProtection;
    GetBranchProtection: GitSettings_GetBranchProtection;
    DeleteBranchProtection: GitSettings_DeleteBranchProtection;
    PatchBranchProtection: GitSettings_PatchBranchProtection;
    GetPipelineSettings: GitSettings_GetPipelineSettings;
    PutPipelineSettings: GitSettings_PutPipelineSettings;
    GetPullRequestSettings: GitSettings_GetPullRequestSettings;
    PutPullRequestSettings: GitSettings_PutPullRequestSettings;
    GetPushLimitSettings: GitSettings_GetPushLimitSettings;
    PutPushLimitSettings: GitSettings_PutPushLimitSettings;
  };
  Charge: {
    GetSpecialAmount: Charge_GetSpecialAmount;
  };
  RepoCodeIssue: {
    ListCodeIssueOpenAPI: RepoCodeIssue_ListCodeIssueOpenAPI;
    GetCodeIssueDetailOpenAPI: RepoCodeIssue_GetCodeIssueDetailOpenAPI;
  };
  RepoContributor: {
    GetRepoContributorTrend: RepoContributor_GetRepoContributorTrend;
  };
}
//#endregion
//#region src/index.d.ts
declare const getClient: (baseUrl: string, token: string) => Client;
interface DieWebError {
  errcode: number;
  errmsg: string;
  errparam: any;
}
declare function isDieWebError(data: unknown): data is DieWebError;
//#endregion
export { DieWebError, getClient, isDieWebError };