chore: regenerate openapi and api client
Reflect the protection and comment contract changes. Payload shapes are unchanged for existing endpoints, so the generated client only picks up the whitelist purpose description and drops the now unused CommitStatusState enum.
ZhenYi committed
This change is very large, so some diffs are not shown. Clone the repository to see the full change.
Modified packages/apiclient/branch-protection/add-branch-whitelist.schemas.ts packages/apiclient/branch-protection/add-branch-whitelist.schemas.ts +3 −0 View packages/apiclient/branch-protection/add-branch-whitelist.schemas.ts
@@ -91,6 +91,9 @@
9191 *
9292 * OpenAPI spec version: 1.0
9393 */
94/**
95 * 白名单用途。与 KenShell 的 `purpose` 一一对应。
96 */
9497export type WhitelistKind = "Push" | "Merge" | "Approval";
9598export interface AddBranchWhitelistCmd {
9699 /** @nullable */
Modified packages/apiclient/branch-protection/list-branch-whitelists.schemas.ts packages/apiclient/branch-protection/list-branch-whitelists.schemas.ts +3 −0 View packages/apiclient/branch-protection/list-branch-whitelists.schemas.ts
@@ -91,6 +91,9 @@
9191 *
9292 * OpenAPI spec version: 1.0
9393 */
94/**
95 * 白名单用途。与 KenShell 的 `purpose` 一一对应。
96 */
9497export type WhitelistKind = "Push" | "Merge" | "Approval";
9598export interface UserDto {
9699 avatar_url: string;
Modified packages/apiclient/index.schemas.ts packages/apiclient/index.schemas.ts +3 −1 View packages/apiclient/index.schemas.ts
@@ -107,6 +107,9 @@
107107 status: string;
108108}
109109
110/**
111 * 白名单用途。与 KenShell 的 `purpose` 一一对应。
112 */
110113export type WhitelistKind = "Push" | "Merge" | "Approval";
111114export interface AddBranchWhitelistCmd {
112115 /** @nullable */
@@ -604,7 +607,6 @@
604607 updated_at?: string | null;
605608}
606609
607export type CommitStatusState = "Pending" | "Success" | "Failure" | "Error";
608610export interface CommitSyncResponse {
609611 repo_id: string;
610612 sha: string;
Modified openapi.json openapi.json View openapi.json
Diff too large to display.