@coderabbitai/bitbucket
    Preparing search index...

    Interface operations

    interface operations {
        accept: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { mirroringRequestId: string };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            baseUrl?: string;
                            enabled?: boolean;
                            id?: string;
                            lastSeenDate?: string;
                            mirrorType?: "FARM"
                            | "SINGLE";
                            name?: string;
                            productVersion?: string;
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "409": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        add: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { commitId: string; projectKey: string; repositorySlug: string };
                query?: undefined;
            };
            requestBody?: {
                content: {
                    "*/*": {
                        buildNumber?: string;
                        description?: string;
                        duration?: number;
                        key: string;
                        lastUpdated?: number;
                        name?: string;
                        parent?: string;
                        ref?: string;
                        state: "FAILED"
                        | "INPROGRESS"
                        | "SUCCESSFUL"
                        | "UNKNOWN"
                        | "CANCELLED";
                        testResults?: {
                            failed?: number;
                            skipped?: number;
                            successful?: number;
                        };
                        url: string;
                    };
                };
            };
            responses: {
                "204": {
                    content?: undefined;
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        addAnnotations: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: {
                    commitId: string;
                    key: string;
                    projectKey: string;
                    repositorySlug: string;
                };
                query?: undefined;
            };
            requestBody?: {
                content: {
                    "application/json": {
                        annotations?: readonly {
                            externalId?: string;
                            line?: number;
                            link?: string;
                            message: string;
                            path?: string;
                            severity: string;
                            type?: string;
                        }[];
                    };
                };
            };
            responses: {
                "204": {
                    content?: undefined;
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        addBuildStatus: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { commitId: string };
                query?: undefined;
            };
            requestBody?: {
                content: {
                    "application/json": {
                        buildNumber?: string;
                        createdDate?: number;
                        description?: string;
                        duration?: number;
                        key?: string;
                        name?: string;
                        parent?: string;
                        ref?: string;
                        state?: | "FAILED"
                        | "INPROGRESS"
                        | "SUCCESSFUL"
                        | "UNKNOWN"
                        | "CANCELLED";
                        testResults?: {
                            failed?: number;
                            skipped?: number;
                            successful?: number;
                        };
                        updatedDate?: number;
                        url?: string;
                    };
                };
            };
            responses: {
                "204": {
                    content?: undefined;
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        addDefaultTask: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string };
                query?: undefined;
            };
            requestBody: {
                content: {
                    "application/json": {
                        description?: string;
                        sourceMatcher?: {
                            displayId?: string;
                            id?: string;
                            type?: {
                                id?: | "BRANCH"
                                | "ANY_REF"
                                | "MODEL_BRANCH"
                                | "MODEL_CATEGORY"
                                | "PATTERN";
                                name?: string;
                            };
                        };
                        targetMatcher?: {
                            displayId?: string;
                            id?: string;
                            type?: {
                                id?: | "BRANCH"
                                | "ANY_REF"
                                | "MODEL_BRANCH"
                                | "MODEL_CATEGORY"
                                | "PATTERN";
                                name?: string;
                            };
                        };
                    };
                };
            };
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            description?: string;
                            html?: string;
                            id?: number;
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        addDefaultTask_1: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string; repositorySlug: string };
                query?: undefined;
            };
            requestBody: {
                content: {
                    "application/json": {
                        description?: string;
                        sourceMatcher?: {
                            displayId?: string;
                            id?: string;
                            type?: {
                                id?: | "BRANCH"
                                | "ANY_REF"
                                | "MODEL_BRANCH"
                                | "MODEL_CATEGORY"
                                | "PATTERN";
                                name?: string;
                            };
                        };
                        targetMatcher?: {
                            displayId?: string;
                            id?: string;
                            type?: {
                                id?: | "BRANCH"
                                | "ANY_REF"
                                | "MODEL_BRANCH"
                                | "MODEL_CATEGORY"
                                | "PATTERN";
                                name?: string;
                            };
                        };
                    };
                };
            };
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            description?: string;
                            html?: string;
                            id?: number;
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        addExemptRepo: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "204": {
                    content?: undefined;
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "409": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        addForProject: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string };
                query?: undefined;
            };
            requestBody?: {
                content: {
                    "application/json": {
                        key?: {
                            algorithmType?: string;
                            bitLength?: number;
                            createdDate?: string;
                            expiryDays?: number;
                            fingerprint?: string;
                            id?: number;
                            label?: string;
                            lastAuthenticated?: string;
                            text?: string;
                        };
                        permission?: | "ADMIN"
                        | "LICENSED_USER"
                        | "PROJECT_ADMIN"
                        | "PROJECT_CREATE"
                        | "PROJECT_READ"
                        | "PROJECT_VIEW"
                        | "PROJECT_WRITE"
                        | "REPO_ADMIN"
                        | "REPO_CREATE"
                        | "REPO_READ"
                        | "REPO_WRITE"
                        | "SYS_ADMIN"
                        | "USER_ADMIN";
                        project?: {
                            avatar?: string;
                            avatarUrl?: string;
                            description?: string;
                            id?: number;
                            key: string;
                            links?: Record<string, unknown>;
                            name?: string;
                            public?: boolean;
                            scope?: string;
                            type?: "NORMAL" | "PERSONAL";
                        };
                        repository?: {
                            archived?: boolean;
                            defaultBranch?: string;
                            description?: string;
                            forkable?: boolean;
                            hierarchyId?: string;
                            id?: number;
                            links?: Record<string, unknown>;
                            name?: string;
                            origin?: {
                                archived?: boolean;
                                defaultBranch?: string;
                                description?: string;
                                forkable?: boolean;
                                hierarchyId?: string;
                                id?: number;
                                links?: Record<(...), (...)>;
                                name?: string;
                                partition?: number;
                                project?: {
                                    avatar?: ...;
                                    avatarUrl?: ...;
                                    description?: ...;
                                    id?: ...;
                                    key: ...;
                                    links?: ...;
                                    name?: ...;
                                    public?: ...;
                                    scope?: ...;
                                    type?: ...;
                                };
                                public?: boolean;
                                relatedLinks?: Record<(...), (...)>;
                                scmId?: string;
                                scope?: string;
                                slug?: string;
                                state?:
                                    | "AVAILABLE"
                                    | "INITIALISATION_FAILED"
                                    | "INITIALISING"
                                    | "OFFLINE";
                                statusMessage?: string;
                            };
                            partition?: number;
                            project?: {
                                avatar?: string;
                                avatarUrl?: string;
                                description?: string;
                                id?: number;
                                key: string;
                                links?: Record<(...), (...)>;
                                name?: string;
                                public?: boolean;
                                scope?: string;
                                type?: "NORMAL" | "PERSONAL";
                            };
                            public?: boolean;
                            relatedLinks?: Record<string, unknown>;
                            scmId?: string;
                            scope?: string;
                            slug?: string;
                            state?:
                                | "AVAILABLE"
                                | "INITIALISATION_FAILED"
                                | "INITIALISING"
                                | "OFFLINE";
                            statusMessage?: string;
                        };
                    };
                };
            };
            responses: {
                "201": {
                    content: {
                        "application/json": {
                            key?: {
                                algorithmType?: string;
                                bitLength?: number;
                                createdDate?: string;
                                expiryDays?: number;
                                fingerprint?: string;
                                id?: number;
                                label?: string;
                                lastAuthenticated?: string;
                                text?: string;
                            };
                            permission?: | "ADMIN"
                            | "LICENSED_USER"
                            | "PROJECT_ADMIN"
                            | "PROJECT_CREATE"
                            | "PROJECT_READ"
                            | "PROJECT_VIEW"
                            | "PROJECT_WRITE"
                            | "REPO_ADMIN"
                            | "REPO_CREATE"
                            | "REPO_READ"
                            | "REPO_WRITE"
                            | "SYS_ADMIN"
                            | "USER_ADMIN";
                            project?: {
                                avatar?: string;
                                avatarUrl?: string;
                                description?: string;
                                id?: number;
                                key: string;
                                links?: Record<string, unknown>;
                                name?: string;
                                public?: boolean;
                                scope?: string;
                                type?: "NORMAL" | "PERSONAL";
                            };
                            repository?: {
                                archived?: boolean;
                                defaultBranch?: string;
                                description?: string;
                                forkable?: boolean;
                                hierarchyId?: string;
                                id?: number;
                                links?: Record<string, unknown>;
                                name?: string;
                                origin?: {
                                    archived?: boolean;
                                    defaultBranch?: string;
                                    description?: string;
                                    forkable?: boolean;
                                    hierarchyId?: string;
                                    id?: number;
                                    links?: Record<(...), (...)>;
                                    name?: string;
                                    partition?: number;
                                    project?: {
                                        avatar?: ...;
                                        avatarUrl?: ...;
                                        description?: ...;
                                        id?: ...;
                                        key: ...;
                                        links?: ...;
                                        name?: ...;
                                        public?: ...;
                                        scope?: ...;
                                        type?: ...;
                                    };
                                    public?: boolean;
                                    relatedLinks?: Record<(...), (...)>;
                                    scmId?: string;
                                    scope?: string;
                                    slug?: string;
                                    state?:
                                        | "AVAILABLE"
                                        | "INITIALISATION_FAILED"
                                        | "INITIALISING"
                                        | "OFFLINE";
                                    statusMessage?: string;
                                };
                                partition?: number;
                                project?: {
                                    avatar?: string;
                                    avatarUrl?: string;
                                    description?: string;
                                    id?: number;
                                    key: string;
                                    links?: Record<(...), (...)>;
                                    name?: string;
                                    public?: boolean;
                                    scope?: string;
                                    type?: "NORMAL" | "PERSONAL";
                                };
                                public?: boolean;
                                relatedLinks?: Record<string, unknown>;
                                scmId?: string;
                                scope?: string;
                                slug?: string;
                                state?:
                                    | "AVAILABLE"
                                    | "INITIALISATION_FAILED"
                                    | "INITIALISING"
                                    | "OFFLINE";
                                statusMessage?: string;
                            };
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        addForRepository: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string; repositorySlug: string };
                query?: undefined;
            };
            requestBody?: {
                content: {
                    "application/json": {
                        key?: {
                            algorithmType?: string;
                            bitLength?: number;
                            createdDate?: string;
                            expiryDays?: number;
                            fingerprint?: string;
                            id?: number;
                            label?: string;
                            lastAuthenticated?: string;
                            text?: string;
                        };
                        permission?: | "ADMIN"
                        | "LICENSED_USER"
                        | "PROJECT_ADMIN"
                        | "PROJECT_CREATE"
                        | "PROJECT_READ"
                        | "PROJECT_VIEW"
                        | "PROJECT_WRITE"
                        | "REPO_ADMIN"
                        | "REPO_CREATE"
                        | "REPO_READ"
                        | "REPO_WRITE"
                        | "SYS_ADMIN"
                        | "USER_ADMIN";
                        project?: {
                            avatar?: string;
                            avatarUrl?: string;
                            description?: string;
                            id?: number;
                            key: string;
                            links?: Record<string, unknown>;
                            name?: string;
                            public?: boolean;
                            scope?: string;
                            type?: "NORMAL" | "PERSONAL";
                        };
                        repository?: {
                            archived?: boolean;
                            defaultBranch?: string;
                            description?: string;
                            forkable?: boolean;
                            hierarchyId?: string;
                            id?: number;
                            links?: Record<string, unknown>;
                            name?: string;
                            origin?: {
                                archived?: boolean;
                                defaultBranch?: string;
                                description?: string;
                                forkable?: boolean;
                                hierarchyId?: string;
                                id?: number;
                                links?: Record<(...), (...)>;
                                name?: string;
                                partition?: number;
                                project?: {
                                    avatar?: ...;
                                    avatarUrl?: ...;
                                    description?: ...;
                                    id?: ...;
                                    key: ...;
                                    links?: ...;
                                    name?: ...;
                                    public?: ...;
                                    scope?: ...;
                                    type?: ...;
                                };
                                public?: boolean;
                                relatedLinks?: Record<(...), (...)>;
                                scmId?: string;
                                scope?: string;
                                slug?: string;
                                state?:
                                    | "AVAILABLE"
                                    | "INITIALISATION_FAILED"
                                    | "INITIALISING"
                                    | "OFFLINE";
                                statusMessage?: string;
                            };
                            partition?: number;
                            project?: {
                                avatar?: string;
                                avatarUrl?: string;
                                description?: string;
                                id?: number;
                                key: string;
                                links?: Record<(...), (...)>;
                                name?: string;
                                public?: boolean;
                                scope?: string;
                                type?: "NORMAL" | "PERSONAL";
                            };
                            public?: boolean;
                            relatedLinks?: Record<string, unknown>;
                            scmId?: string;
                            scope?: string;
                            slug?: string;
                            state?:
                                | "AVAILABLE"
                                | "INITIALISATION_FAILED"
                                | "INITIALISING"
                                | "OFFLINE";
                            statusMessage?: string;
                        };
                    };
                };
            };
            responses: {
                "201": {
                    content: {
                        "application/json": {
                            key?: {
                                algorithmType?: string;
                                bitLength?: number;
                                createdDate?: string;
                                expiryDays?: number;
                                fingerprint?: string;
                                id?: number;
                                label?: string;
                                lastAuthenticated?: string;
                                text?: string;
                            };
                            permission?: | "ADMIN"
                            | "LICENSED_USER"
                            | "PROJECT_ADMIN"
                            | "PROJECT_CREATE"
                            | "PROJECT_READ"
                            | "PROJECT_VIEW"
                            | "PROJECT_WRITE"
                            | "REPO_ADMIN"
                            | "REPO_CREATE"
                            | "REPO_READ"
                            | "REPO_WRITE"
                            | "SYS_ADMIN"
                            | "USER_ADMIN";
                            project?: {
                                avatar?: string;
                                avatarUrl?: string;
                                description?: string;
                                id?: number;
                                key: string;
                                links?: Record<string, unknown>;
                                name?: string;
                                public?: boolean;
                                scope?: string;
                                type?: "NORMAL" | "PERSONAL";
                            };
                            repository?: {
                                archived?: boolean;
                                defaultBranch?: string;
                                description?: string;
                                forkable?: boolean;
                                hierarchyId?: string;
                                id?: number;
                                links?: Record<string, unknown>;
                                name?: string;
                                origin?: {
                                    archived?: boolean;
                                    defaultBranch?: string;
                                    description?: string;
                                    forkable?: boolean;
                                    hierarchyId?: string;
                                    id?: number;
                                    links?: Record<(...), (...)>;
                                    name?: string;
                                    partition?: number;
                                    project?: {
                                        avatar?: ...;
                                        avatarUrl?: ...;
                                        description?: ...;
                                        id?: ...;
                                        key: ...;
                                        links?: ...;
                                        name?: ...;
                                        public?: ...;
                                        scope?: ...;
                                        type?: ...;
                                    };
                                    public?: boolean;
                                    relatedLinks?: Record<(...), (...)>;
                                    scmId?: string;
                                    scope?: string;
                                    slug?: string;
                                    state?:
                                        | "AVAILABLE"
                                        | "INITIALISATION_FAILED"
                                        | "INITIALISING"
                                        | "OFFLINE";
                                    statusMessage?: string;
                                };
                                partition?: number;
                                project?: {
                                    avatar?: string;
                                    avatarUrl?: string;
                                    description?: string;
                                    id?: number;
                                    key: string;
                                    links?: Record<(...), (...)>;
                                    name?: string;
                                    public?: boolean;
                                    scope?: string;
                                    type?: "NORMAL" | "PERSONAL";
                                };
                                public?: boolean;
                                relatedLinks?: Record<string, unknown>;
                                scmId?: string;
                                scope?: string;
                                slug?: string;
                                state?:
                                    | "AVAILABLE"
                                    | "INITIALISATION_FAILED"
                                    | "INITIALISING"
                                    | "OFFLINE";
                                statusMessage?: string;
                            };
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        addGroupToUser: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: undefined;
            };
            requestBody?: {
                content: {
                    "application/json": { context?: string; itemName?: string };
                };
            };
            responses: {
                "200": {
                    content: { "application/json": unknown };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "403": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        addKey: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: { user?: string };
            };
            requestBody?: {
                content: {
                    "application/json": {
                        emailAddress?: string;
                        expiryDate?: number;
                        fingerprint?: string;
                        id?: string;
                        subKeys?: readonly { expiryDate?: string; fingerprint?: string }[];
                        text?: string;
                    };
                };
            };
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            emailAddress?: string;
                            expiryDate?: number;
                            fingerprint?: string;
                            id?: string;
                            subKeys?: readonly { expiryDate?: string; fingerprint?: string }[];
                            text?: string;
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        addLabel: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string; repositorySlug: string };
                query?: undefined;
            };
            requestBody?: { content: { "application/json": { name?: string } } };
            responses: {
                "200": {
                    content: { "application/json": { name?: string } };
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        addSshKey: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: { user?: string };
            };
            requestBody?: {
                content: {
                    "application/json": {
                        algorithmType?: string;
                        bitLength?: number;
                        createdDate?: string;
                        expiryDays?: number;
                        fingerprint?: string;
                        id?: number;
                        label?: string;
                        lastAuthenticated?: string;
                        text?: string;
                    };
                };
            };
            responses: {
                "201": {
                    content: {
                        "application/json": {
                            algorithmType?: string;
                            bitLength?: number;
                            createdDate?: string;
                            expiryDays?: number;
                            fingerprint?: string;
                            id?: number;
                            label?: string;
                            lastAuthenticated?: string;
                            text?: string;
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "409": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        addUsersToGroup: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: undefined;
            };
            requestBody?: {
                content: {
                    "application/json": { group?: string; users: readonly string[] };
                };
            };
            responses: {
                "200": {
                    content: { "application/json": unknown };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "403": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        addUserToGroup: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: undefined;
            };
            requestBody?: {
                content: {
                    "application/json": { context?: string; itemName?: string };
                };
            };
            responses: {
                "200": {
                    content: { "application/json": unknown };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "403": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        addUserToGroups: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: undefined;
            };
            requestBody?: {
                content: {
                    "application/json": { groups: readonly string[]; user?: string };
                };
            };
            responses: {
                "200": {
                    content: { "application/json": unknown };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "403": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        analyticsSettings: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            canCollectAnalytics?: boolean;
                            serverTime?: number;
                            supportEntitlementNumber?: string;
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        applySuggestion: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: {
                    commentId: string;
                    projectKey: string;
                    pullRequestId: string;
                    repositorySlug: string;
                };
                query?: undefined;
            };
            requestBody?: {
                content: {
                    "application/json": {
                        commentVersion?: { asInt?: number; present?: boolean };
                        commitMessage?: string;
                        pullRequestVersion?: { asInt?: number; present?: boolean };
                        suggestionIndex?: { asInt?: number; present?: boolean };
                    };
                };
            };
            responses: {
                "204": {
                    content?: undefined;
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "409": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        approve: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: {
                    projectKey: string;
                    pullRequestId: string;
                    repositorySlug: string;
                };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            approved?: boolean;
                            lastReviewedCommit?: string;
                            role?: "PARTICIPANT"
                            | "REVIEWER"
                            | "AUTHOR";
                            status?: "APPROVED" | "NEEDS_WORK" | "UNAPPROVED";
                            user?: {
                                active?: boolean;
                                avatarUrl?: string;
                                displayName?: string;
                                emailAddress?: string;
                                id?: number;
                                links?: Record<string, unknown>;
                                name?: string;
                                slug?: string;
                                type?: "NORMAL" | "SERVICE";
                            };
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "409": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        assignParticipantRole: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: {
                    projectKey: string;
                    pullRequestId: string;
                    repositorySlug: string;
                };
                query?: undefined;
            };
            requestBody: {
                content: {
                    "application/json": {
                        role?: "PARTICIPANT"
                        | "REVIEWER"
                        | "AUTHOR";
                        user?: {
                            active?: boolean;
                            avatarUrl?: string;
                            displayName?: string;
                            emailAddress?: string;
                            id?: number;
                            links?: Record<string, unknown>;
                            name?: string;
                            slug?: string;
                            type?: "NORMAL" | "SERVICE";
                        };
                    };
                };
            };
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            approved?: boolean;
                            lastReviewedCommit?: string;
                            role?: "PARTICIPANT"
                            | "REVIEWER"
                            | "AUTHOR";
                            status?: "APPROVED" | "NEEDS_WORK" | "UNAPPROVED";
                            user?: {
                                active?: boolean;
                                avatarUrl?: string;
                                displayName?: string;
                                emailAddress?: string;
                                id?: number;
                                links?: Record<string, unknown>;
                                name?: string;
                                slug?: string;
                                type?: "NORMAL" | "SERVICE";
                            };
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "409": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        authenticate: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: undefined;
            };
            requestBody?: {
                content: {
                    "application/json": {
                        credentials: | { token: string }
                        | { algorithm?: string; publicKey: string; username?: string }
                        | { password: string; username: string };
                        repositoryId?: number;
                    };
                };
            };
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            active?: boolean;
                            avatarUrl?: string;
                            displayName?: string;
                            effectivePermissions?: Record<string, unknown>;
                            emailAddress?: string;
                            id?: number;
                            links?: Record<string, unknown>;
                            name?: string;
                            slug?: string;
                            type?: "NORMAL" | "SERVICE";
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        bulkAddExemptRepositories: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: undefined;
            };
            requestBody?: {
                content: { "*/*": readonly { projectKey?: string; slug?: string }[] };
            };
            responses: {
                "204": {
                    content?: undefined;
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "409": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        bulkAddExemptRepositories_1: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: undefined;
            };
            requestBody?: {
                content: { "*/*": readonly { projectKey?: string; slug?: string }[] };
            };
            responses: {
                "204": {
                    content?: undefined;
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        cancelAutoMerge: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: {
                    projectKey: string;
                    pullRequestId: string;
                    repositorySlug: string;
                };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "204": {
                    content?: undefined;
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "409": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        cancelExportJob: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { jobId: string };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "204": {
                    content?: undefined;
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "409": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        cancelImportJob: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { jobId: string };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "204": {
                    content?: undefined;
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "409": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        cancelMeshMigrationJob: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { jobId: string };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "204": {
                    content?: undefined;
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "409": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        canMerge: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: {
                    projectKey: string;
                    pullRequestId: string;
                    repositorySlug: string;
                };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            conflicted?: boolean;
                            outcome?: "UNKNOWN"
                            | "CLEAN"
                            | "CONFLICTED";
                            vetoes?: readonly {
                                detailedMessage?: string;
                                summaryMessage?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "409": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        canRebase: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: {
                    projectKey: string;
                    pullRequestId: string;
                    repositorySlug: string;
                };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            vetoes?: readonly {
                                detailedMessage?: string;
                                summaryMessage?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        clearDefaultBranch: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "204": {
                    content?: undefined;
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        clearSenderAddress: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "204": {
                    content?: undefined;
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        clearUserCaptchaChallenge: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query: { name: string };
            };
            requestBody?: undefined;
            responses: {
                "204": {
                    content?: undefined;
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "403": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        connectivity: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            reports?: readonly {
                                node?: {
                                    id?: (...)
                                    | (...);
                                    name?: (...) | (...);
                                    type?: (...) | (...) | (...);
                                };
                                summaries?: readonly { node?: ...; summary?: ... }[];
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        create: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string; repositorySlug: string };
                query?: undefined;
            };
            requestBody?: {
                content: {
                    "application/json": {
                        closed?: boolean;
                        closedDate?: number;
                        createdDate?: number;
                        description?: string;
                        descriptionAsHtml?: string;
                        draft?: boolean;
                        fromRef?: {
                            displayId?: string;
                            id?: string;
                            latestCommit?: string;
                            repository?: {
                                archived?: boolean;
                                defaultBranch?: string;
                                description?: string;
                                forkable?: boolean;
                                hierarchyId?: string;
                                id?: number;
                                links?: Record<(...), (...)>;
                                name?: string;
                                origin?: {
                                    archived?: ...;
                                    defaultBranch?: ...;
                                    description?: ...;
                                    forkable?: ...;
                                    hierarchyId?: ...;
                                    id?: ...;
                                    links?: ...;
                                    name?: ...;
                                    partition?: ...;
                                    project?: ...;
                                    public?: ...;
                                    relatedLinks?: ...;
                                    scmId?: ...;
                                    scope?: ...;
                                    slug?: ...;
                                    state?: ...;
                                    statusMessage?: ...;
                                };
                                partition?: number;
                                project?: {
                                    avatar?: ...;
                                    avatarUrl?: ...;
                                    description?: ...;
                                    id?: ...;
                                    key: ...;
                                    links?: ...;
                                    name?: ...;
                                    public?: ...;
                                    scope?: ...;
                                    type?: ...;
                                };
                                public?: boolean;
                                relatedLinks?: Record<(...), (...)>;
                                scmId?: string;
                                scope?: string;
                                slug?: string;
                                state?:
                                    | "AVAILABLE"
                                    | "INITIALISATION_FAILED"
                                    | "INITIALISING"
                                    | "OFFLINE";
                                statusMessage?: string;
                            };
                            type?: "BRANCH"
                            | "TAG";
                        };
                        htmlDescription?: string;
                        id?: number;
                        links?: Record<string, unknown>;
                        locked?: boolean;
                        open?: boolean;
                        participants?: readonly {
                            approved?: boolean;
                            lastReviewedCommit?: string;
                            role?: "PARTICIPANT" | "REVIEWER" | "AUTHOR";
                            status?: "APPROVED" | "NEEDS_WORK" | "UNAPPROVED";
                            user?: {
                                active?: (...) | (...) | (...);
                                avatarUrl?: (...) | (...);
                                displayName?: (...) | (...);
                                emailAddress?: (...) | (...);
                                id?: (...) | (...);
                                links?: (...) | (...);
                                name?: (...) | (...);
                                slug?: (...) | (...);
                                type?: (...) | (...) | (...);
                            };
                        }[];
                        reviewers?: readonly {
                            approved?: boolean;
                            lastReviewedCommit?: string;
                            role?: "PARTICIPANT"
                            | "REVIEWER"
                            | "AUTHOR";
                            status?: "APPROVED" | "NEEDS_WORK" | "UNAPPROVED";
                            user?: {
                                active?: (...) | (...) | (...);
                                avatarUrl?: (...) | (...);
                                displayName?: (...) | (...);
                                emailAddress?: (...) | (...);
                                id?: (...) | (...);
                                links?: (...) | (...);
                                name?: (...) | (...);
                                slug?: (...) | (...);
                                type?: (...) | (...) | (...);
                            };
                        }[];
                        state?: "DECLINED"
                        | "MERGED"
                        | "OPEN";
                        title?: string;
                        toRef?: {
                            displayId?: string;
                            id?: string;
                            latestCommit?: string;
                            repository?: {
                                archived?: boolean;
                                defaultBranch?: string;
                                description?: string;
                                forkable?: boolean;
                                hierarchyId?: string;
                                id?: number;
                                links?: Record<(...), (...)>;
                                name?: string;
                                origin?: {
                                    archived?: ...;
                                    defaultBranch?: ...;
                                    description?: ...;
                                    forkable?: ...;
                                    hierarchyId?: ...;
                                    id?: ...;
                                    links?: ...;
                                    name?: ...;
                                    partition?: ...;
                                    project?: ...;
                                    public?: ...;
                                    relatedLinks?: ...;
                                    scmId?: ...;
                                    scope?: ...;
                                    slug?: ...;
                                    state?: ...;
                                    statusMessage?: ...;
                                };
                                partition?: number;
                                project?: {
                                    avatar?: ...;
                                    avatarUrl?: ...;
                                    description?: ...;
                                    id?: ...;
                                    key: ...;
                                    links?: ...;
                                    name?: ...;
                                    public?: ...;
                                    scope?: ...;
                                    type?: ...;
                                };
                                public?: boolean;
                                relatedLinks?: Record<(...), (...)>;
                                scmId?: string;
                                scope?: string;
                                slug?: string;
                                state?:
                                    | "AVAILABLE"
                                    | "INITIALISATION_FAILED"
                                    | "INITIALISING"
                                    | "OFFLINE";
                                statusMessage?: string;
                            };
                            type?: "BRANCH"
                            | "TAG";
                        };
                        updatedDate?: number;
                        version?: number;
                    };
                };
            };
            responses: {
                "201": {
                    content: {
                        "application/json": {
                            closed?: boolean;
                            closedDate?: number;
                            createdDate?: number;
                            description?: string;
                            descriptionAsHtml?: string;
                            draft?: boolean;
                            fromRef?: {
                                displayId?: string;
                                id?: string;
                                latestCommit?: string;
                                repository?: {
                                    archived?: boolean;
                                    defaultBranch?: string;
                                    description?: string;
                                    forkable?: boolean;
                                    hierarchyId?: string;
                                    id?: number;
                                    links?: Record<(...), (...)>;
                                    name?: string;
                                    origin?: {
                                        archived?: ...;
                                        defaultBranch?: ...;
                                        description?: ...;
                                        forkable?: ...;
                                        hierarchyId?: ...;
                                        id?: ...;
                                        links?: ...;
                                        name?: ...;
                                        partition?: ...;
                                        project?: ...;
                                        public?: ...;
                                        relatedLinks?: ...;
                                        scmId?: ...;
                                        scope?: ...;
                                        slug?: ...;
                                        state?: ...;
                                        statusMessage?: ...;
                                    };
                                    partition?: number;
                                    project?: {
                                        avatar?: ...;
                                        avatarUrl?: ...;
                                        description?: ...;
                                        id?: ...;
                                        key: ...;
                                        links?: ...;
                                        name?: ...;
                                        public?: ...;
                                        scope?: ...;
                                        type?: ...;
                                    };
                                    public?: boolean;
                                    relatedLinks?: Record<(...), (...)>;
                                    scmId?: string;
                                    scope?: string;
                                    slug?: string;
                                    state?:
                                        | "AVAILABLE"
                                        | "INITIALISATION_FAILED"
                                        | "INITIALISING"
                                        | "OFFLINE";
                                    statusMessage?: string;
                                };
                                type?: "BRANCH"
                                | "TAG";
                            };
                            htmlDescription?: string;
                            id?: number;
                            links?: Record<string, unknown>;
                            locked?: boolean;
                            open?: boolean;
                            participants?: readonly {
                                approved?: boolean;
                                lastReviewedCommit?: string;
                                role?: "PARTICIPANT" | "REVIEWER" | "AUTHOR";
                                status?: "APPROVED" | "NEEDS_WORK" | "UNAPPROVED";
                                user?: {
                                    active?: (...) | (...) | (...);
                                    avatarUrl?: (...) | (...);
                                    displayName?: (...) | (...);
                                    emailAddress?: (...) | (...);
                                    id?: (...) | (...);
                                    links?: (...) | (...);
                                    name?: (...) | (...);
                                    slug?: (...) | (...);
                                    type?: (...) | (...) | (...);
                                };
                            }[];
                            reviewers?: readonly {
                                approved?: boolean;
                                lastReviewedCommit?: string;
                                role?: "PARTICIPANT"
                                | "REVIEWER"
                                | "AUTHOR";
                                status?: "APPROVED" | "NEEDS_WORK" | "UNAPPROVED";
                                user?: {
                                    active?: (...) | (...) | (...);
                                    avatarUrl?: (...) | (...);
                                    displayName?: (...) | (...);
                                    emailAddress?: (...) | (...);
                                    id?: (...) | (...);
                                    links?: (...) | (...);
                                    name?: (...) | (...);
                                    slug?: (...) | (...);
                                    type?: (...) | (...) | (...);
                                };
                            }[];
                            state?: "DECLINED"
                            | "MERGED"
                            | "OPEN";
                            title?: string;
                            toRef?: {
                                displayId?: string;
                                id?: string;
                                latestCommit?: string;
                                repository?: {
                                    archived?: boolean;
                                    defaultBranch?: string;
                                    description?: string;
                                    forkable?: boolean;
                                    hierarchyId?: string;
                                    id?: number;
                                    links?: Record<(...), (...)>;
                                    name?: string;
                                    origin?: {
                                        archived?: ...;
                                        defaultBranch?: ...;
                                        description?: ...;
                                        forkable?: ...;
                                        hierarchyId?: ...;
                                        id?: ...;
                                        links?: ...;
                                        name?: ...;
                                        partition?: ...;
                                        project?: ...;
                                        public?: ...;
                                        relatedLinks?: ...;
                                        scmId?: ...;
                                        scope?: ...;
                                        slug?: ...;
                                        state?: ...;
                                        statusMessage?: ...;
                                    };
                                    partition?: number;
                                    project?: {
                                        avatar?: ...;
                                        avatarUrl?: ...;
                                        description?: ...;
                                        id?: ...;
                                        key: ...;
                                        links?: ...;
                                        name?: ...;
                                        public?: ...;
                                        scope?: ...;
                                        type?: ...;
                                    };
                                    public?: boolean;
                                    relatedLinks?: Record<(...), (...)>;
                                    scmId?: string;
                                    scope?: string;
                                    slug?: string;
                                    state?:
                                        | "AVAILABLE"
                                        | "INITIALISATION_FAILED"
                                        | "INITIALISING"
                                        | "OFFLINE";
                                    statusMessage?: string;
                                };
                                type?: "BRANCH"
                                | "TAG";
                            };
                            updatedDate?: number;
                            version?: number;
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "409": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        create_1: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string };
                query?: undefined;
            };
            requestBody?: {
                content: {
                    "application/json": {
                        avatarUrl?: string;
                        description?: string;
                        id?: number;
                        name?: string;
                        scope?: {
                            resourceId?: number;
                            type?: "GLOBAL"
                            | "PROJECT"
                            | "REPOSITORY";
                        };
                        users?: readonly {
                            active?: boolean;
                            displayName?: string;
                            emailAddress?: string;
                            id?: number;
                            name?: string;
                            slug?: string;
                            type?: "NORMAL"
                            | "SERVICE";
                        }[];
                    };
                };
            };
            responses: {
                "201": {
                    content: {
                        "application/json": {
                            avatarUrl?: string;
                            description?: string;
                            id?: number;
                            name?: string;
                            scope?: {
                                resourceId?: number;
                                type?: "GLOBAL"
                                | "PROJECT"
                                | "REPOSITORY";
                            };
                            users?: readonly {
                                active?: boolean;
                                displayName?: string;
                                emailAddress?: string;
                                id?: number;
                                name?: string;
                                slug?: string;
                                type?: "NORMAL"
                                | "SERVICE";
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "409": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        create_2: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string; repositorySlug: string };
                query?: undefined;
            };
            requestBody?: {
                content: {
                    "application/json": {
                        avatarUrl?: string;
                        description?: string;
                        id?: number;
                        name?: string;
                        scope?: {
                            resourceId?: number;
                            type?: "GLOBAL"
                            | "PROJECT"
                            | "REPOSITORY";
                        };
                        users?: readonly {
                            active?: boolean;
                            displayName?: string;
                            emailAddress?: string;
                            id?: number;
                            name?: string;
                            slug?: string;
                            type?: "NORMAL"
                            | "SERVICE";
                        }[];
                    };
                };
            };
            responses: {
                "201": {
                    content: {
                        "application/json": {
                            avatarUrl?: string;
                            description?: string;
                            id?: number;
                            name?: string;
                            scope?: {
                                resourceId?: number;
                                type?: "GLOBAL"
                                | "PROJECT"
                                | "REPOSITORY";
                            };
                            users?: readonly {
                                active?: boolean;
                                displayName?: string;
                                emailAddress?: string;
                                id?: number;
                                name?: string;
                                slug?: string;
                                type?: "NORMAL"
                                | "SERVICE";
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "409": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        create_3: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string };
                query?: undefined;
            };
            requestBody: {
                content: {
                    "application/json": {
                        componentKey?: string;
                        featureKey: string;
                        namespace: string;
                    };
                };
            };
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            componentKey?: string;
                            featureKey?: string;
                            namespace?: string;
                            processedState?: | "FAILED"
                            | "IN_PROGRESS"
                            | "PROCESSED"
                            | "UNPROCESSED";
                            project?: {
                                avatar?: string;
                                avatarUrl?: string;
                                description?: string;
                                id?: number;
                                key: string;
                                links?: Record<string, unknown>;
                                name?: string;
                                public?: boolean;
                                scope?: string;
                                type?: "NORMAL" | "PERSONAL";
                            };
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "409": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        createAccessToken: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string };
                query?: undefined;
            };
            requestBody?: {
                content: {
                    "application/json": {
                        expiryDays?: number;
                        name?: string;
                        permissions?: readonly string[];
                    };
                };
            };
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            createdDate?: string;
                            id?: string;
                            name?: string;
                            token?: string;
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        createAccessToken_1: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string; repositorySlug: string };
                query?: undefined;
            };
            requestBody?: {
                content: {
                    "application/json": {
                        expiryDays?: number;
                        name?: string;
                        permissions?: readonly string[];
                    };
                };
            };
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            createdDate?: string;
                            id?: string;
                            name?: string;
                            token?: string;
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        createAccessToken_2: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { userSlug: string };
                query?: undefined;
            };
            requestBody?: {
                content: {
                    "application/json": {
                        expiryDays?: number;
                        name?: string;
                        permissions?: readonly string[];
                    };
                };
            };
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            createdDate?: string;
                            id?: string;
                            name?: string;
                            token?: string;
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        createAllowlistRule: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string };
                query?: undefined;
            };
            requestBody: {
                content: {
                    "*/*": { lineRegex?: string; name?: string; pathRegex?: string };
                };
            };
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            id?: number;
                            lineRegex?: string;
                            name?: string;
                            pathRegex?: string;
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        createAllowlistRule_1: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string; repositorySlug: string };
                query?: undefined;
            };
            requestBody: {
                content: {
                    "*/*": { lineRegex?: string; name?: string; pathRegex?: string };
                };
            };
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            id?: number;
                            lineRegex?: string;
                            name?: string;
                            pathRegex?: string;
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        createBranch: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string; repositorySlug: string };
                query?: undefined;
            };
            requestBody: {
                content: {
                    "application/json": { name?: string; startPoint?: string };
                };
            };
            responses: {
                "201": {
                    content: {
                        "application/json": {
                            default?: boolean;
                            displayId?: string;
                            id?: string;
                            latestChangeset?: string;
                            latestCommit?: string;
                            type?: unknown;
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "409": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        createBranchForRepository: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string; repositorySlug: string };
                query?: undefined;
            };
            requestBody?: {
                content: {
                    "application/json": {
                        message?: string;
                        name?: string;
                        startPoint?: string;
                    };
                };
            };
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            default?: boolean;
                            displayId?: string;
                            id?: string;
                            latestChangeset?: string;
                            latestCommit?: string;
                            type?: unknown;
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        createCertificate: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: undefined;
            };
            requestBody: {
                content: { "multipart/form-data": { certificate?: string } };
            };
            responses: {
                "201": {
                    content: {
                        "application/json": { fingerprint?: string; id?: number };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        createComment: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { commitId: string; projectKey: string; repositorySlug: string };
                query?: { since?: string };
            };
            requestBody?: {
                content: {
                    "application/json": {
                        anchor?: {
                            diffType?: "COMMIT"
                            | "EFFECTIVE"
                            | "RANGE";
                            fileType?: "FROM" | "TO";
                            fromHash?: string;
                            line?: number;
                            lineType?: "ADDED" | "CONTEXT" | "REMOVED";
                            multilineMarker?: {
                                startLine?: number;
                                startLineType: "ADDED" | "CONTEXT" | "REMOVED";
                            };
                            path?: {
                                components?: readonly (...)[];
                                extension?: string;
                                name?: string;
                                parent?: string;
                            };
                            pullRequest?: {
                                closed?: boolean;
                                closedDate?: number;
                                createdDate?: number;
                                description?: string;
                                descriptionAsHtml?: string;
                                draft?: boolean;
                                fromRef?: {
                                    displayId?: ...;
                                    id?: ...;
                                    latestCommit?: ...;
                                    repository?: ...;
                                    type?: ...;
                                };
                                htmlDescription?: string;
                                id?: number;
                                links?: Record<(...), (...)>;
                                locked?: boolean;
                                open?: boolean;
                                participants?: readonly (...)[];
                                reviewers?: readonly (...)[];
                                state?: "DECLINED" | "MERGED" | "OPEN";
                                title?: string;
                                toRef?: {
                                    displayId?: ...;
                                    id?: ...;
                                    latestCommit?: ...;
                                    repository?: ...;
                                    type?: ...;
                                };
                                updatedDate?: number;
                                version?: number;
                            };
                            srcPath?: {
                                components?: readonly (...)[];
                                extension?: string;
                                name?: string;
                                parent?: string;
                            };
                            toHash?: string;
                        };
                        anchored?: boolean;
                        author?: {
                            active?: boolean;
                            avatarUrl?: string;
                            displayName?: string;
                            emailAddress?: string;
                            id?: number;
                            links?: Record<string, unknown>;
                            name?: string;
                            slug?: string;
                            type?: "NORMAL" | "SERVICE";
                        };
                        comments?: readonly (
                            { readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineType?: "ADDED" | "CONTEXT" | "REMOVED"; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }
                        )[];
                        createdDate?: number;
                        html?: string;
                        id?: number;
                        parent?: {
                            anchor?: {
                                diffType?: "COMMIT"
                                | "EFFECTIVE"
                                | "RANGE";
                                fileType?: "FROM" | "TO";
                                fromHash?: string;
                                line?: number;
                                lineType?: "ADDED" | "CONTEXT" | "REMOVED";
                                multilineMarker?: { startLine?: ...; startLineType: ... };
                                path?: {
                                    components?: ...;
                                    extension?: ...;
                                    name?: ...;
                                    parent?: ...;
                                };
                                pullRequest?: {
                                    closed?: ...;
                                    closedDate?: ...;
                                    createdDate?: ...;
                                    description?: ...;
                                    descriptionAsHtml?: ...;
                                    draft?: ...;
                                    fromRef?: ...;
                                    htmlDescription?: ...;
                                    id?: ...;
                                    links?: ...;
                                    locked?: ...;
                                    open?: ...;
                                    participants?: ...;
                                    reviewers?: ...;
                                    state?: ...;
                                    title?: ...;
                                    toRef?: ...;
                                    updatedDate?: ...;
                                    version?: ...;
                                };
                                srcPath?: {
                                    components?: ...;
                                    extension?: ...;
                                    name?: ...;
                                    parent?: ...;
                                };
                                toHash?: string;
                            };
                            anchored?: boolean;
                            author?: {
                                active?: boolean;
                                avatarUrl?: string;
                                displayName?: string;
                                emailAddress?: string;
                                id?: number;
                                links?: Record<(...), (...)>;
                                name?: string;
                                slug?: string;
                                type?: "NORMAL" | "SERVICE";
                            };
                            comments?: readonly (
                                { readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineType?: "ADDED" | "CONTEXT" | "REMOVED"; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }
                            )[];
                            createdDate?: number;
                            html?: string;
                            id?: number;
                            pending?: boolean;
                            properties?: Record<string, unknown>;
                            reply?: boolean;
                            resolvedDate?: number;
                            resolver?: {
                                active?: boolean;
                                avatarUrl?: string;
                                displayName?: string;
                                emailAddress?: string;
                                id?: number;
                                links?: Record<(...), (...)>;
                                name?: string;
                                slug?: string;
                                type?: "NORMAL" | "SERVICE";
                            };
                            severity?: string;
                            state?: string;
                            text?: string;
                            threadResolved?: boolean;
                            threadResolvedDate?: number;
                            threadResolver?: {
                                active?: boolean;
                                avatarUrl?: string;
                                displayName?: string;
                                emailAddress?: string;
                                id?: number;
                                links?: Record<(...), (...)>;
                                name?: string;
                                slug?: string;
                                type?: "NORMAL" | "SERVICE";
                            };
                            updatedDate?: number;
                            version?: number;
                        };
                        pending?: boolean;
                        properties?: Record<string, unknown>;
                        reply?: boolean;
                        resolvedDate?: number;
                        resolver?: {
                            active?: boolean;
                            avatarUrl?: string;
                            displayName?: string;
                            emailAddress?: string;
                            id?: number;
                            links?: Record<string, unknown>;
                            name?: string;
                            slug?: string;
                            type?: "NORMAL" | "SERVICE";
                        };
                        severity?: string;
                        state?: string;
                        text?: string;
                        threadResolved?: boolean;
                        threadResolvedDate?: number;
                        threadResolver?: {
                            active?: boolean;
                            avatarUrl?: string;
                            displayName?: string;
                            emailAddress?: string;
                            id?: number;
                            links?: Record<string, unknown>;
                            name?: string;
                            slug?: string;
                            type?: "NORMAL" | "SERVICE";
                        };
                        updatedDate?: number;
                        version?: number;
                    };
                };
            };
            responses: {
                "201": {
                    content: {
                        "application/json": {
                            anchor?: {
                                diffType?: "COMMIT"
                                | "EFFECTIVE"
                                | "RANGE";
                                fileType?: "FROM" | "TO";
                                fromHash?: string;
                                line?: number;
                                lineType?: "ADDED" | "CONTEXT" | "REMOVED";
                                multilineMarker?: {
                                    startLine?: number;
                                    startLineType: "ADDED" | "CONTEXT" | "REMOVED";
                                };
                                path?: {
                                    components?: readonly (...)[];
                                    extension?: string;
                                    name?: string;
                                    parent?: string;
                                };
                                pullRequest?: {
                                    closed?: boolean;
                                    closedDate?: number;
                                    createdDate?: number;
                                    description?: string;
                                    descriptionAsHtml?: string;
                                    draft?: boolean;
                                    fromRef?: {
                                        displayId?: ...;
                                        id?: ...;
                                        latestCommit?: ...;
                                        repository?: ...;
                                        type?: ...;
                                    };
                                    htmlDescription?: string;
                                    id?: number;
                                    links?: Record<(...), (...)>;
                                    locked?: boolean;
                                    open?: boolean;
                                    participants?: readonly (...)[];
                                    reviewers?: readonly (...)[];
                                    state?: "DECLINED" | "MERGED" | "OPEN";
                                    title?: string;
                                    toRef?: {
                                        displayId?: ...;
                                        id?: ...;
                                        latestCommit?: ...;
                                        repository?: ...;
                                        type?: ...;
                                    };
                                    updatedDate?: number;
                                    version?: number;
                                };
                                srcPath?: {
                                    components?: readonly (...)[];
                                    extension?: string;
                                    name?: string;
                                    parent?: string;
                                };
                                toHash?: string;
                            };
                            anchored?: boolean;
                            author?: {
                                active?: boolean;
                                avatarUrl?: string;
                                displayName?: string;
                                emailAddress?: string;
                                id?: number;
                                links?: Record<string, unknown>;
                                name?: string;
                                slug?: string;
                                type?: "NORMAL" | "SERVICE";
                            };
                            comments?: readonly (
                                { readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineType?: "ADDED" | "CONTEXT" | "REMOVED"; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }
                            )[];
                            createdDate?: number;
                            html?: string;
                            id?: number;
                            parent?: {
                                anchor?: {
                                    diffType?: "COMMIT"
                                    | "EFFECTIVE"
                                    | "RANGE";
                                    fileType?: "FROM" | "TO";
                                    fromHash?: string;
                                    line?: number;
                                    lineType?: "ADDED" | "CONTEXT" | "REMOVED";
                                    multilineMarker?: { startLine?: ...; startLineType: ... };
                                    path?: {
                                        components?: ...;
                                        extension?: ...;
                                        name?: ...;
                                        parent?: ...;
                                    };
                                    pullRequest?: {
                                        closed?: ...;
                                        closedDate?: ...;
                                        createdDate?: ...;
                                        description?: ...;
                                        descriptionAsHtml?: ...;
                                        draft?: ...;
                                        fromRef?: ...;
                                        htmlDescription?: ...;
                                        id?: ...;
                                        links?: ...;
                                        locked?: ...;
                                        open?: ...;
                                        participants?: ...;
                                        reviewers?: ...;
                                        state?: ...;
                                        title?: ...;
                                        toRef?: ...;
                                        updatedDate?: ...;
                                        version?: ...;
                                    };
                                    srcPath?: {
                                        components?: ...;
                                        extension?: ...;
                                        name?: ...;
                                        parent?: ...;
                                    };
                                    toHash?: string;
                                };
                                anchored?: boolean;
                                author?: {
                                    active?: boolean;
                                    avatarUrl?: string;
                                    displayName?: string;
                                    emailAddress?: string;
                                    id?: number;
                                    links?: Record<(...), (...)>;
                                    name?: string;
                                    slug?: string;
                                    type?: "NORMAL" | "SERVICE";
                                };
                                comments?: readonly (
                                    { readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineType?: "ADDED" | "CONTEXT" | "REMOVED"; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }
                                )[];
                                createdDate?: number;
                                html?: string;
                                id?: number;
                                pending?: boolean;
                                properties?: Record<string, unknown>;
                                reply?: boolean;
                                resolvedDate?: number;
                                resolver?: {
                                    active?: boolean;
                                    avatarUrl?: string;
                                    displayName?: string;
                                    emailAddress?: string;
                                    id?: number;
                                    links?: Record<(...), (...)>;
                                    name?: string;
                                    slug?: string;
                                    type?: "NORMAL" | "SERVICE";
                                };
                                severity?: string;
                                state?: string;
                                text?: string;
                                threadResolved?: boolean;
                                threadResolvedDate?: number;
                                threadResolver?: {
                                    active?: boolean;
                                    avatarUrl?: string;
                                    displayName?: string;
                                    emailAddress?: string;
                                    id?: number;
                                    links?: Record<(...), (...)>;
                                    name?: string;
                                    slug?: string;
                                    type?: "NORMAL" | "SERVICE";
                                };
                                updatedDate?: number;
                                version?: number;
                            };
                            pending?: boolean;
                            properties?: Record<string, unknown>;
                            reply?: boolean;
                            resolvedDate?: number;
                            resolver?: {
                                active?: boolean;
                                avatarUrl?: string;
                                displayName?: string;
                                emailAddress?: string;
                                id?: number;
                                links?: Record<string, unknown>;
                                name?: string;
                                slug?: string;
                                type?: "NORMAL" | "SERVICE";
                            };
                            severity?: string;
                            state?: string;
                            text?: string;
                            threadResolved?: boolean;
                            threadResolvedDate?: number;
                            threadResolver?: {
                                active?: boolean;
                                avatarUrl?: string;
                                displayName?: string;
                                emailAddress?: string;
                                id?: number;
                                links?: Record<string, unknown>;
                                name?: string;
                                slug?: string;
                                type?: "NORMAL" | "SERVICE";
                            };
                            updatedDate?: number;
                            version?: number;
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "409": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        createComment_1: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: {
                    projectKey: string;
                    pullRequestId: string;
                    repositorySlug: string;
                };
                query?: undefined;
            };
            requestBody?: {
                content: {
                    "application/json": {
                        anchor?: {
                            diffType?: "COMMIT"
                            | "EFFECTIVE"
                            | "RANGE";
                            fileType?: "FROM" | "TO";
                            fromHash?: string;
                            line?: number;
                            lineType?: "ADDED" | "CONTEXT" | "REMOVED";
                            multilineMarker?: {
                                startLine?: number;
                                startLineType: "ADDED" | "CONTEXT" | "REMOVED";
                            };
                            path?: {
                                components?: readonly (...)[];
                                extension?: string;
                                name?: string;
                                parent?: string;
                            };
                            pullRequest?: {
                                closed?: boolean;
                                closedDate?: number;
                                createdDate?: number;
                                description?: string;
                                descriptionAsHtml?: string;
                                draft?: boolean;
                                fromRef?: {
                                    displayId?: ...;
                                    id?: ...;
                                    latestCommit?: ...;
                                    repository?: ...;
                                    type?: ...;
                                };
                                htmlDescription?: string;
                                id?: number;
                                links?: Record<(...), (...)>;
                                locked?: boolean;
                                open?: boolean;
                                participants?: readonly (...)[];
                                reviewers?: readonly (...)[];
                                state?: "DECLINED" | "MERGED" | "OPEN";
                                title?: string;
                                toRef?: {
                                    displayId?: ...;
                                    id?: ...;
                                    latestCommit?: ...;
                                    repository?: ...;
                                    type?: ...;
                                };
                                updatedDate?: number;
                                version?: number;
                            };
                            srcPath?: {
                                components?: readonly (...)[];
                                extension?: string;
                                name?: string;
                                parent?: string;
                            };
                            toHash?: string;
                        };
                        anchored?: boolean;
                        author?: {
                            active?: boolean;
                            avatarUrl?: string;
                            displayName?: string;
                            emailAddress?: string;
                            id?: number;
                            links?: Record<string, unknown>;
                            name?: string;
                            slug?: string;
                            type?: "NORMAL" | "SERVICE";
                        };
                        comments?: readonly (
                            { readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineType?: "ADDED" | "CONTEXT" | "REMOVED"; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }
                        )[];
                        createdDate?: number;
                        html?: string;
                        id?: number;
                        parent?: {
                            anchor?: {
                                diffType?: "COMMIT"
                                | "EFFECTIVE"
                                | "RANGE";
                                fileType?: "FROM" | "TO";
                                fromHash?: string;
                                line?: number;
                                lineType?: "ADDED" | "CONTEXT" | "REMOVED";
                                multilineMarker?: { startLine?: ...; startLineType: ... };
                                path?: {
                                    components?: ...;
                                    extension?: ...;
                                    name?: ...;
                                    parent?: ...;
                                };
                                pullRequest?: {
                                    closed?: ...;
                                    closedDate?: ...;
                                    createdDate?: ...;
                                    description?: ...;
                                    descriptionAsHtml?: ...;
                                    draft?: ...;
                                    fromRef?: ...;
                                    htmlDescription?: ...;
                                    id?: ...;
                                    links?: ...;
                                    locked?: ...;
                                    open?: ...;
                                    participants?: ...;
                                    reviewers?: ...;
                                    state?: ...;
                                    title?: ...;
                                    toRef?: ...;
                                    updatedDate?: ...;
                                    version?: ...;
                                };
                                srcPath?: {
                                    components?: ...;
                                    extension?: ...;
                                    name?: ...;
                                    parent?: ...;
                                };
                                toHash?: string;
                            };
                            anchored?: boolean;
                            author?: {
                                active?: boolean;
                                avatarUrl?: string;
                                displayName?: string;
                                emailAddress?: string;
                                id?: number;
                                links?: Record<(...), (...)>;
                                name?: string;
                                slug?: string;
                                type?: "NORMAL" | "SERVICE";
                            };
                            comments?: readonly (
                                { readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineType?: "ADDED" | "CONTEXT" | "REMOVED"; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }
                            )[];
                            createdDate?: number;
                            html?: string;
                            id?: number;
                            pending?: boolean;
                            properties?: Record<string, unknown>;
                            reply?: boolean;
                            resolvedDate?: number;
                            resolver?: {
                                active?: boolean;
                                avatarUrl?: string;
                                displayName?: string;
                                emailAddress?: string;
                                id?: number;
                                links?: Record<(...), (...)>;
                                name?: string;
                                slug?: string;
                                type?: "NORMAL" | "SERVICE";
                            };
                            severity?: string;
                            state?: string;
                            text?: string;
                            threadResolved?: boolean;
                            threadResolvedDate?: number;
                            threadResolver?: {
                                active?: boolean;
                                avatarUrl?: string;
                                displayName?: string;
                                emailAddress?: string;
                                id?: number;
                                links?: Record<(...), (...)>;
                                name?: string;
                                slug?: string;
                                type?: "NORMAL" | "SERVICE";
                            };
                            updatedDate?: number;
                            version?: number;
                        };
                        pending?: boolean;
                        properties?: Record<string, unknown>;
                        reply?: boolean;
                        resolvedDate?: number;
                        resolver?: {
                            active?: boolean;
                            avatarUrl?: string;
                            displayName?: string;
                            emailAddress?: string;
                            id?: number;
                            links?: Record<string, unknown>;
                            name?: string;
                            slug?: string;
                            type?: "NORMAL" | "SERVICE";
                        };
                        severity?: string;
                        state?: string;
                        text?: string;
                        threadResolved?: boolean;
                        threadResolvedDate?: number;
                        threadResolver?: {
                            active?: boolean;
                            avatarUrl?: string;
                            displayName?: string;
                            emailAddress?: string;
                            id?: number;
                            links?: Record<string, unknown>;
                            name?: string;
                            slug?: string;
                            type?: "NORMAL" | "SERVICE";
                        };
                        updatedDate?: number;
                        version?: number;
                    };
                };
            };
            responses: {
                "201": {
                    content: {
                        "application/json": {
                            anchor?: {
                                diffType?: "COMMIT"
                                | "EFFECTIVE"
                                | "RANGE";
                                fileType?: "FROM" | "TO";
                                fromHash?: string;
                                line?: number;
                                lineType?: "ADDED" | "CONTEXT" | "REMOVED";
                                multilineMarker?: {
                                    startLine?: number;
                                    startLineType: "ADDED" | "CONTEXT" | "REMOVED";
                                };
                                path?: {
                                    components?: readonly (...)[];
                                    extension?: string;
                                    name?: string;
                                    parent?: string;
                                };
                                pullRequest?: {
                                    closed?: boolean;
                                    closedDate?: number;
                                    createdDate?: number;
                                    description?: string;
                                    descriptionAsHtml?: string;
                                    draft?: boolean;
                                    fromRef?: {
                                        displayId?: ...;
                                        id?: ...;
                                        latestCommit?: ...;
                                        repository?: ...;
                                        type?: ...;
                                    };
                                    htmlDescription?: string;
                                    id?: number;
                                    links?: Record<(...), (...)>;
                                    locked?: boolean;
                                    open?: boolean;
                                    participants?: readonly (...)[];
                                    reviewers?: readonly (...)[];
                                    state?: "DECLINED" | "MERGED" | "OPEN";
                                    title?: string;
                                    toRef?: {
                                        displayId?: ...;
                                        id?: ...;
                                        latestCommit?: ...;
                                        repository?: ...;
                                        type?: ...;
                                    };
                                    updatedDate?: number;
                                    version?: number;
                                };
                                srcPath?: {
                                    components?: readonly (...)[];
                                    extension?: string;
                                    name?: string;
                                    parent?: string;
                                };
                                toHash?: string;
                            };
                            anchored?: boolean;
                            author?: {
                                active?: boolean;
                                avatarUrl?: string;
                                displayName?: string;
                                emailAddress?: string;
                                id?: number;
                                links?: Record<string, unknown>;
                                name?: string;
                                slug?: string;
                                type?: "NORMAL" | "SERVICE";
                            };
                            comments?: readonly (
                                { readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineType?: "ADDED" | "CONTEXT" | "REMOVED"; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }
                            )[];
                            createdDate?: number;
                            html?: string;
                            id?: number;
                            parent?: {
                                anchor?: {
                                    diffType?: "COMMIT"
                                    | "EFFECTIVE"
                                    | "RANGE";
                                    fileType?: "FROM" | "TO";
                                    fromHash?: string;
                                    line?: number;
                                    lineType?: "ADDED" | "CONTEXT" | "REMOVED";
                                    multilineMarker?: { startLine?: ...; startLineType: ... };
                                    path?: {
                                        components?: ...;
                                        extension?: ...;
                                        name?: ...;
                                        parent?: ...;
                                    };
                                    pullRequest?: {
                                        closed?: ...;
                                        closedDate?: ...;
                                        createdDate?: ...;
                                        description?: ...;
                                        descriptionAsHtml?: ...;
                                        draft?: ...;
                                        fromRef?: ...;
                                        htmlDescription?: ...;
                                        id?: ...;
                                        links?: ...;
                                        locked?: ...;
                                        open?: ...;
                                        participants?: ...;
                                        reviewers?: ...;
                                        state?: ...;
                                        title?: ...;
                                        toRef?: ...;
                                        updatedDate?: ...;
                                        version?: ...;
                                    };
                                    srcPath?: {
                                        components?: ...;
                                        extension?: ...;
                                        name?: ...;
                                        parent?: ...;
                                    };
                                    toHash?: string;
                                };
                                anchored?: boolean;
                                author?: {
                                    active?: boolean;
                                    avatarUrl?: string;
                                    displayName?: string;
                                    emailAddress?: string;
                                    id?: number;
                                    links?: Record<(...), (...)>;
                                    name?: string;
                                    slug?: string;
                                    type?: "NORMAL" | "SERVICE";
                                };
                                comments?: readonly (
                                    { readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineType?: "ADDED" | "CONTEXT" | "REMOVED"; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }
                                )[];
                                createdDate?: number;
                                html?: string;
                                id?: number;
                                pending?: boolean;
                                properties?: Record<string, unknown>;
                                reply?: boolean;
                                resolvedDate?: number;
                                resolver?: {
                                    active?: boolean;
                                    avatarUrl?: string;
                                    displayName?: string;
                                    emailAddress?: string;
                                    id?: number;
                                    links?: Record<(...), (...)>;
                                    name?: string;
                                    slug?: string;
                                    type?: "NORMAL" | "SERVICE";
                                };
                                severity?: string;
                                state?: string;
                                text?: string;
                                threadResolved?: boolean;
                                threadResolvedDate?: number;
                                threadResolver?: {
                                    active?: boolean;
                                    avatarUrl?: string;
                                    displayName?: string;
                                    emailAddress?: string;
                                    id?: number;
                                    links?: Record<(...), (...)>;
                                    name?: string;
                                    slug?: string;
                                    type?: "NORMAL" | "SERVICE";
                                };
                                updatedDate?: number;
                                version?: number;
                            };
                            pending?: boolean;
                            properties?: Record<string, unknown>;
                            reply?: boolean;
                            resolvedDate?: number;
                            resolver?: {
                                active?: boolean;
                                avatarUrl?: string;
                                displayName?: string;
                                emailAddress?: string;
                                id?: number;
                                links?: Record<string, unknown>;
                                name?: string;
                                slug?: string;
                                type?: "NORMAL" | "SERVICE";
                            };
                            severity?: string;
                            state?: string;
                            text?: string;
                            threadResolved?: boolean;
                            threadResolvedDate?: number;
                            threadResolver?: {
                                active?: boolean;
                                avatarUrl?: string;
                                displayName?: string;
                                emailAddress?: string;
                                id?: number;
                                links?: Record<string, unknown>;
                                name?: string;
                                slug?: string;
                                type?: "NORMAL" | "SERVICE";
                            };
                            updatedDate?: number;
                            version?: number;
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "409": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        createComment_2: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: {
                    projectKey: string;
                    pullRequestId: string;
                    repositorySlug: string;
                };
                query?: undefined;
            };
            requestBody?: {
                content: {
                    "application/json": {
                        anchor?: {
                            diffType?: "COMMIT"
                            | "EFFECTIVE"
                            | "RANGE";
                            fileType?: "FROM" | "TO";
                            fromHash?: string;
                            line?: number;
                            lineType?: "ADDED" | "CONTEXT" | "REMOVED";
                            multilineMarker?: {
                                startLine?: number;
                                startLineType: "ADDED" | "CONTEXT" | "REMOVED";
                            };
                            path?: {
                                components?: readonly (...)[];
                                extension?: string;
                                name?: string;
                                parent?: string;
                            };
                            pullRequest?: {
                                closed?: boolean;
                                closedDate?: number;
                                createdDate?: number;
                                description?: string;
                                descriptionAsHtml?: string;
                                draft?: boolean;
                                fromRef?: {
                                    displayId?: ...;
                                    id?: ...;
                                    latestCommit?: ...;
                                    repository?: ...;
                                    type?: ...;
                                };
                                htmlDescription?: string;
                                id?: number;
                                links?: Record<(...), (...)>;
                                locked?: boolean;
                                open?: boolean;
                                participants?: readonly (...)[];
                                reviewers?: readonly (...)[];
                                state?: "DECLINED" | "MERGED" | "OPEN";
                                title?: string;
                                toRef?: {
                                    displayId?: ...;
                                    id?: ...;
                                    latestCommit?: ...;
                                    repository?: ...;
                                    type?: ...;
                                };
                                updatedDate?: number;
                                version?: number;
                            };
                            srcPath?: {
                                components?: readonly (...)[];
                                extension?: string;
                                name?: string;
                                parent?: string;
                            };
                            toHash?: string;
                        };
                        anchored?: boolean;
                        author?: {
                            active?: boolean;
                            avatarUrl?: string;
                            displayName?: string;
                            emailAddress?: string;
                            id?: number;
                            links?: Record<string, unknown>;
                            name?: string;
                            slug?: string;
                            type?: "NORMAL" | "SERVICE";
                        };
                        comments?: readonly (
                            { readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineType?: "ADDED" | "CONTEXT" | "REMOVED"; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }
                        )[];
                        createdDate?: number;
                        html?: string;
                        id?: number;
                        parent?: {
                            anchor?: {
                                diffType?: "COMMIT"
                                | "EFFECTIVE"
                                | "RANGE";
                                fileType?: "FROM" | "TO";
                                fromHash?: string;
                                line?: number;
                                lineType?: "ADDED" | "CONTEXT" | "REMOVED";
                                multilineMarker?: { startLine?: ...; startLineType: ... };
                                path?: {
                                    components?: ...;
                                    extension?: ...;
                                    name?: ...;
                                    parent?: ...;
                                };
                                pullRequest?: {
                                    closed?: ...;
                                    closedDate?: ...;
                                    createdDate?: ...;
                                    description?: ...;
                                    descriptionAsHtml?: ...;
                                    draft?: ...;
                                    fromRef?: ...;
                                    htmlDescription?: ...;
                                    id?: ...;
                                    links?: ...;
                                    locked?: ...;
                                    open?: ...;
                                    participants?: ...;
                                    reviewers?: ...;
                                    state?: ...;
                                    title?: ...;
                                    toRef?: ...;
                                    updatedDate?: ...;
                                    version?: ...;
                                };
                                srcPath?: {
                                    components?: ...;
                                    extension?: ...;
                                    name?: ...;
                                    parent?: ...;
                                };
                                toHash?: string;
                            };
                            anchored?: boolean;
                            author?: {
                                active?: boolean;
                                avatarUrl?: string;
                                displayName?: string;
                                emailAddress?: string;
                                id?: number;
                                links?: Record<(...), (...)>;
                                name?: string;
                                slug?: string;
                                type?: "NORMAL" | "SERVICE";
                            };
                            comments?: readonly (
                                { readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineType?: "ADDED" | "CONTEXT" | "REMOVED"; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }
                            )[];
                            createdDate?: number;
                            html?: string;
                            id?: number;
                            pending?: boolean;
                            properties?: Record<string, unknown>;
                            reply?: boolean;
                            resolvedDate?: number;
                            resolver?: {
                                active?: boolean;
                                avatarUrl?: string;
                                displayName?: string;
                                emailAddress?: string;
                                id?: number;
                                links?: Record<(...), (...)>;
                                name?: string;
                                slug?: string;
                                type?: "NORMAL" | "SERVICE";
                            };
                            severity?: string;
                            state?: string;
                            text?: string;
                            threadResolved?: boolean;
                            threadResolvedDate?: number;
                            threadResolver?: {
                                active?: boolean;
                                avatarUrl?: string;
                                displayName?: string;
                                emailAddress?: string;
                                id?: number;
                                links?: Record<(...), (...)>;
                                name?: string;
                                slug?: string;
                                type?: "NORMAL" | "SERVICE";
                            };
                            updatedDate?: number;
                            version?: number;
                        };
                        pending?: boolean;
                        properties?: Record<string, unknown>;
                        reply?: boolean;
                        resolvedDate?: number;
                        resolver?: {
                            active?: boolean;
                            avatarUrl?: string;
                            displayName?: string;
                            emailAddress?: string;
                            id?: number;
                            links?: Record<string, unknown>;
                            name?: string;
                            slug?: string;
                            type?: "NORMAL" | "SERVICE";
                        };
                        severity?: string;
                        state?: string;
                        text?: string;
                        threadResolved?: boolean;
                        threadResolvedDate?: number;
                        threadResolver?: {
                            active?: boolean;
                            avatarUrl?: string;
                            displayName?: string;
                            emailAddress?: string;
                            id?: number;
                            links?: Record<string, unknown>;
                            name?: string;
                            slug?: string;
                            type?: "NORMAL" | "SERVICE";
                        };
                        updatedDate?: number;
                        version?: number;
                    };
                };
            };
            responses: {
                "201": {
                    content: {
                        "application/json": {
                            anchor?: {
                                diffType?: "COMMIT"
                                | "EFFECTIVE"
                                | "RANGE";
                                fileType?: "FROM" | "TO";
                                fromHash?: string;
                                line?: number;
                                lineType?: "ADDED" | "CONTEXT" | "REMOVED";
                                multilineMarker?: {
                                    startLine?: number;
                                    startLineType: "ADDED" | "CONTEXT" | "REMOVED";
                                };
                                path?: {
                                    components?: readonly (...)[];
                                    extension?: string;
                                    name?: string;
                                    parent?: string;
                                };
                                pullRequest?: {
                                    closed?: boolean;
                                    closedDate?: number;
                                    createdDate?: number;
                                    description?: string;
                                    descriptionAsHtml?: string;
                                    draft?: boolean;
                                    fromRef?: {
                                        displayId?: ...;
                                        id?: ...;
                                        latestCommit?: ...;
                                        repository?: ...;
                                        type?: ...;
                                    };
                                    htmlDescription?: string;
                                    id?: number;
                                    links?: Record<(...), (...)>;
                                    locked?: boolean;
                                    open?: boolean;
                                    participants?: readonly (...)[];
                                    reviewers?: readonly (...)[];
                                    state?: "DECLINED" | "MERGED" | "OPEN";
                                    title?: string;
                                    toRef?: {
                                        displayId?: ...;
                                        id?: ...;
                                        latestCommit?: ...;
                                        repository?: ...;
                                        type?: ...;
                                    };
                                    updatedDate?: number;
                                    version?: number;
                                };
                                srcPath?: {
                                    components?: readonly (...)[];
                                    extension?: string;
                                    name?: string;
                                    parent?: string;
                                };
                                toHash?: string;
                            };
                            anchored?: boolean;
                            author?: {
                                active?: boolean;
                                avatarUrl?: string;
                                displayName?: string;
                                emailAddress?: string;
                                id?: number;
                                links?: Record<string, unknown>;
                                name?: string;
                                slug?: string;
                                type?: "NORMAL" | "SERVICE";
                            };
                            comments?: readonly (
                                { readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineType?: "ADDED" | "CONTEXT" | "REMOVED"; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }
                            )[];
                            createdDate?: number;
                            html?: string;
                            id?: number;
                            parent?: {
                                anchor?: {
                                    diffType?: "COMMIT"
                                    | "EFFECTIVE"
                                    | "RANGE";
                                    fileType?: "FROM" | "TO";
                                    fromHash?: string;
                                    line?: number;
                                    lineType?: "ADDED" | "CONTEXT" | "REMOVED";
                                    multilineMarker?: { startLine?: ...; startLineType: ... };
                                    path?: {
                                        components?: ...;
                                        extension?: ...;
                                        name?: ...;
                                        parent?: ...;
                                    };
                                    pullRequest?: {
                                        closed?: ...;
                                        closedDate?: ...;
                                        createdDate?: ...;
                                        description?: ...;
                                        descriptionAsHtml?: ...;
                                        draft?: ...;
                                        fromRef?: ...;
                                        htmlDescription?: ...;
                                        id?: ...;
                                        links?: ...;
                                        locked?: ...;
                                        open?: ...;
                                        participants?: ...;
                                        reviewers?: ...;
                                        state?: ...;
                                        title?: ...;
                                        toRef?: ...;
                                        updatedDate?: ...;
                                        version?: ...;
                                    };
                                    srcPath?: {
                                        components?: ...;
                                        extension?: ...;
                                        name?: ...;
                                        parent?: ...;
                                    };
                                    toHash?: string;
                                };
                                anchored?: boolean;
                                author?: {
                                    active?: boolean;
                                    avatarUrl?: string;
                                    displayName?: string;
                                    emailAddress?: string;
                                    id?: number;
                                    links?: Record<(...), (...)>;
                                    name?: string;
                                    slug?: string;
                                    type?: "NORMAL" | "SERVICE";
                                };
                                comments?: readonly (
                                    { readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineType?: "ADDED" | "CONTEXT" | "REMOVED"; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }
                                )[];
                                createdDate?: number;
                                html?: string;
                                id?: number;
                                pending?: boolean;
                                properties?: Record<string, unknown>;
                                reply?: boolean;
                                resolvedDate?: number;
                                resolver?: {
                                    active?: boolean;
                                    avatarUrl?: string;
                                    displayName?: string;
                                    emailAddress?: string;
                                    id?: number;
                                    links?: Record<(...), (...)>;
                                    name?: string;
                                    slug?: string;
                                    type?: "NORMAL" | "SERVICE";
                                };
                                severity?: string;
                                state?: string;
                                text?: string;
                                threadResolved?: boolean;
                                threadResolvedDate?: number;
                                threadResolver?: {
                                    active?: boolean;
                                    avatarUrl?: string;
                                    displayName?: string;
                                    emailAddress?: string;
                                    id?: number;
                                    links?: Record<(...), (...)>;
                                    name?: string;
                                    slug?: string;
                                    type?: "NORMAL" | "SERVICE";
                                };
                                updatedDate?: number;
                                version?: number;
                            };
                            pending?: boolean;
                            properties?: Record<string, unknown>;
                            reply?: boolean;
                            resolvedDate?: number;
                            resolver?: {
                                active?: boolean;
                                avatarUrl?: string;
                                displayName?: string;
                                emailAddress?: string;
                                id?: number;
                                links?: Record<string, unknown>;
                                name?: string;
                                slug?: string;
                                type?: "NORMAL" | "SERVICE";
                            };
                            severity?: string;
                            state?: string;
                            text?: string;
                            threadResolved?: boolean;
                            threadResolvedDate?: number;
                            threadResolver?: {
                                active?: boolean;
                                avatarUrl?: string;
                                displayName?: string;
                                emailAddress?: string;
                                id?: number;
                                links?: Record<string, unknown>;
                                name?: string;
                                slug?: string;
                                type?: "NORMAL" | "SERVICE";
                            };
                            updatedDate?: number;
                            version?: number;
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "409": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        createGroup: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query: { name: string };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": { deletable?: boolean; name?: string };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "409": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        createHookScript: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: undefined;
            };
            requestBody?: {
                content: {
                    "multipart/form-data": {
                        content?: string;
                        description?: string;
                        name?: string;
                        type?: string;
                    };
                };
            };
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            createdDate?: string;
                            description?: string;
                            id?: number;
                            name?: string;
                            pluginKey?: string;
                            type?: "POST"
                            | "PRE";
                            updatedDate?: string;
                            version?: number;
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        createIssue: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { commentId: string };
                query?: { applicationId?: string };
            };
            requestBody?: { content: { "application/json": string } };
            responses: {
                "200": {
                    content: {
                        "application/json": { commentId?: number; issueKey?: string };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        createOrUpdateDeployment: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { commitId: string; projectKey: string; repositorySlug: string };
                query?: undefined;
            };
            requestBody?: {
                content: {
                    "*/*": {
                        deploymentSequenceNumber: number;
                        description: string;
                        displayName: string;
                        environment: {
                            displayName?: string;
                            key?: string;
                            type?: string;
                            url?: string;
                        };
                        key: string;
                        lastUpdated?: number;
                        state: | "FAILED"
                        | "SUCCESSFUL"
                        | "IN_PROGRESS"
                        | "PENDING"
                        | "UNKNOWN"
                        | "CANCELLED"
                        | "ROLLED_BACK";
                        url: string;
                    };
                };
            };
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            deploymentSequenceNumber?: number;
                            description?: string;
                            displayName?: string;
                            environment?: {
                                displayName: string;
                                key: string;
                                type?: string;
                                url?: string;
                            };
                            fromCommit?: { displayId?: string; id?: string };
                            key?: string;
                            lastUpdated?: number;
                            repository?: {
                                archived?: boolean;
                                defaultBranch?: string;
                                description?: string;
                                forkable?: boolean;
                                hierarchyId?: string;
                                id?: number;
                                links?: Record<string, unknown>;
                                name?: string;
                                origin?: {
                                    archived?: boolean;
                                    defaultBranch?: string;
                                    description?: string;
                                    forkable?: boolean;
                                    hierarchyId?: string;
                                    id?: number;
                                    links?: Record<(...), (...)>;
                                    name?: string;
                                    partition?: number;
                                    project?: {
                                        avatar?: ...;
                                        avatarUrl?: ...;
                                        description?: ...;
                                        id?: ...;
                                        key: ...;
                                        links?: ...;
                                        name?: ...;
                                        public?: ...;
                                        scope?: ...;
                                        type?: ...;
                                    };
                                    public?: boolean;
                                    relatedLinks?: Record<(...), (...)>;
                                    scmId?: string;
                                    scope?: string;
                                    slug?: string;
                                    state?:
                                        | "AVAILABLE"
                                        | "INITIALISATION_FAILED"
                                        | "INITIALISING"
                                        | "OFFLINE";
                                    statusMessage?: string;
                                };
                                partition?: number;
                                project?: {
                                    avatar?: string;
                                    avatarUrl?: string;
                                    description?: string;
                                    id?: number;
                                    key: string;
                                    links?: Record<(...), (...)>;
                                    name?: string;
                                    public?: boolean;
                                    scope?: string;
                                    type?: "NORMAL" | "PERSONAL";
                                };
                                public?: boolean;
                                relatedLinks?: Record<string, unknown>;
                                scmId?: string;
                                scope?: string;
                                slug?: string;
                                state?:
                                    | "AVAILABLE"
                                    | "INITIALISATION_FAILED"
                                    | "INITIALISING"
                                    | "OFFLINE";
                                statusMessage?: string;
                            };
                            state?: | "FAILED"
                            | "SUCCESSFUL"
                            | "IN_PROGRESS"
                            | "PENDING"
                            | "UNKNOWN"
                            | "CANCELLED"
                            | "ROLLED_BACK";
                            toCommit?: { displayId?: string; id?: string };
                            url?: string;
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        createProject: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: undefined;
            };
            requestBody?: {
                content: {
                    "application/json": {
                        avatar?: string;
                        avatarUrl?: string;
                        description?: string;
                        id?: number;
                        key?: string;
                        links?: Record<string, unknown>;
                        name?: string;
                        public?: boolean;
                        scope?: string;
                        type?: "NORMAL" | "PERSONAL";
                    };
                };
            };
            responses: {
                "201": {
                    content: {
                        "application/json": {
                            avatar?: string;
                            avatarUrl?: string;
                            description?: string;
                            id?: number;
                            key?: string;
                            links?: Record<string, unknown>;
                            name?: string;
                            public?: boolean;
                            scope?: string;
                            type?: "NORMAL" | "PERSONAL";
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "409": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        createPullRequestCondition: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string };
                query?: undefined;
            };
            requestBody?: {
                content: {
                    "application/json": {
                        requiredApprovals?: number;
                        reviewers?: readonly {
                            active?: boolean;
                            avatarUrl?: string;
                            displayName?: string;
                            emailAddress?: string;
                            id?: number;
                            links?: Record<string, unknown>;
                            name?: string;
                            slug?: string;
                            type?: "NORMAL" | "SERVICE";
                        }[];
                        sourceMatcher?: {
                            displayId?: string;
                            id?: string;
                            type?: {
                                id?: | "BRANCH"
                                | "ANY_REF"
                                | "MODEL_BRANCH"
                                | "MODEL_CATEGORY"
                                | "PATTERN";
                                name?: string;
                            };
                        };
                        targetMatcher?: {
                            displayId?: string;
                            id?: string;
                            type?: {
                                id?: | "BRANCH"
                                | "ANY_REF"
                                | "MODEL_BRANCH"
                                | "MODEL_CATEGORY"
                                | "PATTERN";
                                name?: string;
                            };
                        };
                    };
                };
            };
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            id?: number;
                            requiredApprovals?: number;
                            reviewers?: readonly {
                                active?: boolean;
                                avatarUrl?: string;
                                displayName?: string;
                                emailAddress?: string;
                                id?: number;
                                links?: Record<string, unknown>;
                                name?: string;
                                slug?: string;
                                type?: "NORMAL" | "SERVICE";
                            }[];
                            scope?: {
                                resourceId?: number;
                                type?: "GLOBAL"
                                | "PROJECT"
                                | "REPOSITORY";
                            };
                            sourceRefMatcher?: {
                                displayId?: string;
                                id?: string;
                                type?: {
                                    id?: | "BRANCH"
                                    | "ANY_REF"
                                    | "MODEL_BRANCH"
                                    | "MODEL_CATEGORY"
                                    | "PATTERN";
                                    name?: string;
                                };
                            };
                            targetRefMatcher?: {
                                displayId?: string;
                                id?: string;
                                type?: {
                                    id?: | "BRANCH"
                                    | "ANY_REF"
                                    | "MODEL_BRANCH"
                                    | "MODEL_CATEGORY"
                                    | "PATTERN";
                                    name?: string;
                                };
                            };
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        createPullRequestCondition_1: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string; repositorySlug: string };
                query?: undefined;
            };
            requestBody?: {
                content: {
                    "application/json": {
                        requiredApprovals?: number;
                        reviewers?: readonly {
                            active?: boolean;
                            avatarUrl?: string;
                            displayName?: string;
                            emailAddress?: string;
                            id?: number;
                            links?: Record<string, unknown>;
                            name?: string;
                            slug?: string;
                            type?: "NORMAL" | "SERVICE";
                        }[];
                        sourceMatcher?: {
                            displayId?: string;
                            id?: string;
                            type?: {
                                id?: | "BRANCH"
                                | "ANY_REF"
                                | "MODEL_BRANCH"
                                | "MODEL_CATEGORY"
                                | "PATTERN";
                                name?: string;
                            };
                        };
                        targetMatcher?: {
                            displayId?: string;
                            id?: string;
                            type?: {
                                id?: | "BRANCH"
                                | "ANY_REF"
                                | "MODEL_BRANCH"
                                | "MODEL_CATEGORY"
                                | "PATTERN";
                                name?: string;
                            };
                        };
                    };
                };
            };
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            id?: number;
                            requiredApprovals?: number;
                            reviewers?: readonly {
                                active?: boolean;
                                avatarUrl?: string;
                                displayName?: string;
                                emailAddress?: string;
                                id?: number;
                                links?: Record<string, unknown>;
                                name?: string;
                                slug?: string;
                                type?: "NORMAL" | "SERVICE";
                            }[];
                            scope?: {
                                resourceId?: number;
                                type?: "GLOBAL"
                                | "PROJECT"
                                | "REPOSITORY";
                            };
                            sourceRefMatcher?: {
                                displayId?: string;
                                id?: string;
                                type?: {
                                    id?: | "BRANCH"
                                    | "ANY_REF"
                                    | "MODEL_BRANCH"
                                    | "MODEL_CATEGORY"
                                    | "PATTERN";
                                    name?: string;
                                };
                            };
                            targetRefMatcher?: {
                                displayId?: string;
                                id?: string;
                                type?: {
                                    id?: | "BRANCH"
                                    | "ANY_REF"
                                    | "MODEL_BRANCH"
                                    | "MODEL_CATEGORY"
                                    | "PATTERN";
                                    name?: string;
                                };
                            };
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        createRepository: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string };
                query?: undefined;
            };
            requestBody?: {
                content: {
                    "application/json": {
                        archived?: boolean;
                        defaultBranch?: string;
                        description?: string;
                        forkable?: boolean;
                        hierarchyId?: string;
                        id?: number;
                        links?: Record<string, unknown>;
                        name?: string;
                        origin?: {
                            archived?: boolean;
                            defaultBranch?: string;
                            description?: string;
                            forkable?: boolean;
                            hierarchyId?: string;
                            id?: number;
                            links?: Record<string, unknown>;
                            name?: string;
                            partition?: number;
                            project?: {
                                avatar?: string;
                                avatarUrl?: string;
                                description?: string;
                                id?: number;
                                key: string;
                                links?: Record<(...), (...)>;
                                name?: string;
                                public?: boolean;
                                scope?: string;
                                type?: "NORMAL" | "PERSONAL";
                            };
                            public?: boolean;
                            relatedLinks?: Record<string, unknown>;
                            scmId?: string;
                            scope?: string;
                            slug?: string;
                            state?:
                                | "AVAILABLE"
                                | "INITIALISATION_FAILED"
                                | "INITIALISING"
                                | "OFFLINE";
                            statusMessage?: string;
                        };
                        partition?: number;
                        project?: {
                            avatar?: string;
                            avatarUrl?: string;
                            description?: string;
                            id?: number;
                            key: string;
                            links?: Record<string, unknown>;
                            name?: string;
                            public?: boolean;
                            scope?: string;
                            type?: "NORMAL" | "PERSONAL";
                        };
                        public?: boolean;
                        relatedLinks?: Record<string, unknown>;
                        scmId?: string;
                        scope?: string;
                        slug?: string;
                        state?:
                            | "AVAILABLE"
                            | "INITIALISATION_FAILED"
                            | "INITIALISING"
                            | "OFFLINE";
                        statusMessage?: string;
                    };
                };
            };
            responses: {
                "201": {
                    content: {
                        "application/json": {
                            archived?: boolean;
                            defaultBranch?: string;
                            description?: string;
                            forkable?: boolean;
                            hierarchyId?: string;
                            id?: number;
                            links?: Record<string, unknown>;
                            name?: string;
                            origin?: {
                                archived?: boolean;
                                defaultBranch?: string;
                                description?: string;
                                forkable?: boolean;
                                hierarchyId?: string;
                                id?: number;
                                links?: Record<string, unknown>;
                                name?: string;
                                partition?: number;
                                project?: {
                                    avatar?: string;
                                    avatarUrl?: string;
                                    description?: string;
                                    id?: number;
                                    key: string;
                                    links?: Record<(...), (...)>;
                                    name?: string;
                                    public?: boolean;
                                    scope?: string;
                                    type?: "NORMAL" | "PERSONAL";
                                };
                                public?: boolean;
                                relatedLinks?: Record<string, unknown>;
                                scmId?: string;
                                scope?: string;
                                slug?: string;
                                state?:
                                    | "AVAILABLE"
                                    | "INITIALISATION_FAILED"
                                    | "INITIALISING"
                                    | "OFFLINE";
                                statusMessage?: string;
                            };
                            partition?: number;
                            project?: {
                                avatar?: string;
                                avatarUrl?: string;
                                description?: string;
                                id?: number;
                                key: string;
                                links?: Record<string, unknown>;
                                name?: string;
                                public?: boolean;
                                scope?: string;
                                type?: "NORMAL" | "PERSONAL";
                            };
                            public?: boolean;
                            relatedLinks?: Record<string, unknown>;
                            scmId?: string;
                            scope?: string;
                            slug?: string;
                            state?:
                                | "AVAILABLE"
                                | "INITIALISATION_FAILED"
                                | "INITIALISING"
                                | "OFFLINE";
                            statusMessage?: string;
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "409": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        createRequiredBuildsMergeCheck: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string; repositorySlug: string };
                query?: undefined;
            };
            requestBody?: {
                content: {
                    "*/*": {
                        buildParentKeys: readonly string[];
                        exemptRefMatcher?: {
                            displayId?: string;
                            id?: string;
                            type?: {
                                id?: | "BRANCH"
                                | "ANY_REF"
                                | "MODEL_BRANCH"
                                | "MODEL_CATEGORY"
                                | "PATTERN";
                                name?: string;
                            };
                        };
                        refMatcher: {
                            displayId?: string;
                            id?: string;
                            type?: {
                                id?: | "BRANCH"
                                | "ANY_REF"
                                | "MODEL_BRANCH"
                                | "MODEL_CATEGORY"
                                | "PATTERN";
                                name?: string;
                            };
                        };
                    };
                };
            };
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            buildParentKeys?: readonly string[];
                            exemptRefMatcher?: {
                                displayId?: string;
                                id?: string;
                                type?: {
                                    id?: | "BRANCH"
                                    | "ANY_REF"
                                    | "MODEL_BRANCH"
                                    | "MODEL_CATEGORY"
                                    | "PATTERN";
                                    name?: string;
                                };
                            };
                            id?: number;
                            refMatcher?: {
                                displayId?: string;
                                id?: string;
                                type?: {
                                    id?: | "BRANCH"
                                    | "ANY_REF"
                                    | "MODEL_BRANCH"
                                    | "MODEL_CATEGORY"
                                    | "PATTERN";
                                    name?: string;
                                };
                            };
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        createRestrictions: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string };
                query?: undefined;
            };
            requestBody?: {
                content: {
                    "application/vnd.atl.bitbucket.bulk+json": readonly {
                        accessKeyIds?: readonly number[];
                        accessKeys?: readonly {
                            key?: {
                                algorithmType?: ...;
                                bitLength?: ...;
                                createdDate?: ...;
                                expiryDays?: ...;
                                fingerprint?: ...;
                                id?: ...;
                                label?: ...;
                                lastAuthenticated?: ...;
                                text?: ...;
                            };
                            permission?: | "ADMIN"
                            | "LICENSED_USER"
                            | "PROJECT_ADMIN"
                            | "PROJECT_CREATE"
                            | "PROJECT_READ"
                            | "PROJECT_VIEW"
                            | "PROJECT_WRITE"
                            | "REPO_ADMIN"
                            | "REPO_CREATE"
                            | "REPO_READ"
                            | "REPO_WRITE"
                            | "SYS_ADMIN"
                            | "USER_ADMIN";
                            project?: {
                                avatar?: ...;
                                avatarUrl?: ...;
                                description?: ...;
                                id?: ...;
                                key: ...;
                                links?: ...;
                                name?: ...;
                                public?: ...;
                                scope?: ...;
                                type?: ...;
                            };
                            repository?: {
                                archived?: ...;
                                defaultBranch?: ...;
                                description?: ...;
                                forkable?: ...;
                                hierarchyId?: ...;
                                id?: ...;
                                links?: ...;
                                name?: ...;
                                origin?: ...;
                                partition?: ...;
                                project?: ...;
                                public?: ...;
                                relatedLinks?: ...;
                                scmId?: ...;
                                scope?: ...;
                                slug?: ...;
                                state?: ...;
                                statusMessage?: ...;
                            };
                        }[];
                        groupNames?: readonly string[];
                        groups?: readonly string[];
                        id?: number;
                        matcher?: {
                            displayId?: string;
                            id?: string;
                            type?: {
                                id?: (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...);
                                name?: (...) | (...);
                            };
                        };
                        scope?: {
                            resourceId?: number;
                            type?: "GLOBAL"
                            | "PROJECT"
                            | "REPOSITORY";
                        };
                        type?: string;
                        users?: readonly {
                            active?: boolean;
                            avatarUrl?: string;
                            displayName?: string;
                            emailAddress?: string;
                            id?: number;
                            links?: Record<(...), (...)>;
                            name?: string;
                            slug?: string;
                            type?: "NORMAL" | "SERVICE";
                        }[];
                        userSlugs?: readonly string[];
                    }[];
                };
            };
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            accessKeys?: readonly {
                                key?: {
                                    algorithmType?: (...)
                                    | (...);
                                    bitLength?: (...) | (...);
                                    createdDate?: (...) | (...);
                                    expiryDays?: (...) | (...);
                                    fingerprint?: (...) | (...);
                                    id?: (...) | (...);
                                    label?: (...) | (...);
                                    lastAuthenticated?: (...) | (...);
                                    text?: (...) | (...);
                                };
                                permission?: | "ADMIN"
                                | "LICENSED_USER"
                                | "PROJECT_ADMIN"
                                | "PROJECT_CREATE"
                                | "PROJECT_READ"
                                | "PROJECT_VIEW"
                                | "PROJECT_WRITE"
                                | "REPO_ADMIN"
                                | "REPO_CREATE"
                                | "REPO_READ"
                                | "REPO_WRITE"
                                | "SYS_ADMIN"
                                | "USER_ADMIN";
                                project?: {
                                    avatar?: (...)
                                    | (...);
                                    avatarUrl?: (...) | (...);
                                    description?: (...) | (...);
                                    id?: (...) | (...);
                                    key: string;
                                    links?: (...) | (...);
                                    name?: (...) | (...);
                                    public?: (...) | (...) | (...);
                                    scope?: (...) | (...);
                                    type?: (...) | (...) | (...);
                                };
                                repository?: {
                                    archived?: (...)
                                    | (...)
                                    | (...);
                                    defaultBranch?: (...) | (...);
                                    description?: (...) | (...);
                                    forkable?: (...) | (...) | (...);
                                    hierarchyId?: (...) | (...);
                                    id?: (...) | (...);
                                    links?: (...) | (...);
                                    name?: (...) | (...);
                                    origin?: (...) | (...);
                                    partition?: (...) | (...);
                                    project?: (...) | (...);
                                    public?: (...) | (...) | (...);
                                    relatedLinks?: (...) | (...);
                                    scmId?: (...) | (...);
                                    scope?: (...) | (...);
                                    slug?: (...) | (...);
                                    state?: (...) | (...) | (...) | (...) | (...);
                                    statusMessage?: (...) | (...);
                                };
                            }[];
                            groups?: readonly string[];
                            id?: number;
                            matcher?: {
                                displayId?: string;
                                id?: string;
                                type?: {
                                    id?: | "BRANCH"
                                    | "ANY_REF"
                                    | "MODEL_BRANCH"
                                    | "MODEL_CATEGORY"
                                    | "PATTERN";
                                    name?: string;
                                };
                            };
                            scope?: {
                                resourceId?: number;
                                type?: "GLOBAL"
                                | "PROJECT"
                                | "REPOSITORY";
                            };
                            type?: string;
                            users?: readonly {
                                active?: boolean;
                                avatarUrl?: string;
                                displayName?: string;
                                emailAddress?: string;
                                id?: number;
                                links?: Record<string, unknown>;
                                name?: string;
                                slug?: string;
                                type?: "NORMAL" | "SERVICE";
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        createRestrictions_1: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string; repositorySlug: string };
                query?: undefined;
            };
            requestBody?: {
                content: {
                    "application/vnd.atl.bitbucket.bulk+json": readonly {
                        accessKeyIds?: readonly number[];
                        accessKeys?: readonly {
                            key?: {
                                algorithmType?: ...;
                                bitLength?: ...;
                                createdDate?: ...;
                                expiryDays?: ...;
                                fingerprint?: ...;
                                id?: ...;
                                label?: ...;
                                lastAuthenticated?: ...;
                                text?: ...;
                            };
                            permission?: | "ADMIN"
                            | "LICENSED_USER"
                            | "PROJECT_ADMIN"
                            | "PROJECT_CREATE"
                            | "PROJECT_READ"
                            | "PROJECT_VIEW"
                            | "PROJECT_WRITE"
                            | "REPO_ADMIN"
                            | "REPO_CREATE"
                            | "REPO_READ"
                            | "REPO_WRITE"
                            | "SYS_ADMIN"
                            | "USER_ADMIN";
                            project?: {
                                avatar?: ...;
                                avatarUrl?: ...;
                                description?: ...;
                                id?: ...;
                                key: ...;
                                links?: ...;
                                name?: ...;
                                public?: ...;
                                scope?: ...;
                                type?: ...;
                            };
                            repository?: {
                                archived?: ...;
                                defaultBranch?: ...;
                                description?: ...;
                                forkable?: ...;
                                hierarchyId?: ...;
                                id?: ...;
                                links?: ...;
                                name?: ...;
                                origin?: ...;
                                partition?: ...;
                                project?: ...;
                                public?: ...;
                                relatedLinks?: ...;
                                scmId?: ...;
                                scope?: ...;
                                slug?: ...;
                                state?: ...;
                                statusMessage?: ...;
                            };
                        }[];
                        groupNames?: readonly string[];
                        groups?: readonly string[];
                        id?: number;
                        matcher?: {
                            displayId?: string;
                            id?: string;
                            type?: {
                                id?: (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...);
                                name?: (...) | (...);
                            };
                        };
                        scope?: {
                            resourceId?: number;
                            type?: "GLOBAL"
                            | "PROJECT"
                            | "REPOSITORY";
                        };
                        type?: string;
                        users?: readonly {
                            active?: boolean;
                            avatarUrl?: string;
                            displayName?: string;
                            emailAddress?: string;
                            id?: number;
                            links?: Record<(...), (...)>;
                            name?: string;
                            slug?: string;
                            type?: "NORMAL" | "SERVICE";
                        }[];
                        userSlugs?: readonly string[];
                    }[];
                };
            };
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            accessKeys?: readonly {
                                key?: {
                                    algorithmType?: (...)
                                    | (...);
                                    bitLength?: (...) | (...);
                                    createdDate?: (...) | (...);
                                    expiryDays?: (...) | (...);
                                    fingerprint?: (...) | (...);
                                    id?: (...) | (...);
                                    label?: (...) | (...);
                                    lastAuthenticated?: (...) | (...);
                                    text?: (...) | (...);
                                };
                                permission?: | "ADMIN"
                                | "LICENSED_USER"
                                | "PROJECT_ADMIN"
                                | "PROJECT_CREATE"
                                | "PROJECT_READ"
                                | "PROJECT_VIEW"
                                | "PROJECT_WRITE"
                                | "REPO_ADMIN"
                                | "REPO_CREATE"
                                | "REPO_READ"
                                | "REPO_WRITE"
                                | "SYS_ADMIN"
                                | "USER_ADMIN";
                                project?: {
                                    avatar?: (...)
                                    | (...);
                                    avatarUrl?: (...) | (...);
                                    description?: (...) | (...);
                                    id?: (...) | (...);
                                    key: string;
                                    links?: (...) | (...);
                                    name?: (...) | (...);
                                    public?: (...) | (...) | (...);
                                    scope?: (...) | (...);
                                    type?: (...) | (...) | (...);
                                };
                                repository?: {
                                    archived?: (...)
                                    | (...)
                                    | (...);
                                    defaultBranch?: (...) | (...);
                                    description?: (...) | (...);
                                    forkable?: (...) | (...) | (...);
                                    hierarchyId?: (...) | (...);
                                    id?: (...) | (...);
                                    links?: (...) | (...);
                                    name?: (...) | (...);
                                    origin?: (...) | (...);
                                    partition?: (...) | (...);
                                    project?: (...) | (...);
                                    public?: (...) | (...) | (...);
                                    relatedLinks?: (...) | (...);
                                    scmId?: (...) | (...);
                                    scope?: (...) | (...);
                                    slug?: (...) | (...);
                                    state?: (...) | (...) | (...) | (...) | (...);
                                    statusMessage?: (...) | (...);
                                };
                            }[];
                            groups?: readonly string[];
                            id?: number;
                            matcher?: {
                                displayId?: string;
                                id?: string;
                                type?: {
                                    id?: | "BRANCH"
                                    | "ANY_REF"
                                    | "MODEL_BRANCH"
                                    | "MODEL_CATEGORY"
                                    | "PATTERN";
                                    name?: string;
                                };
                            };
                            scope?: {
                                resourceId?: number;
                                type?: "GLOBAL"
                                | "PROJECT"
                                | "REPOSITORY";
                            };
                            type?: string;
                            users?: readonly {
                                active?: boolean;
                                avatarUrl?: string;
                                displayName?: string;
                                emailAddress?: string;
                                id?: number;
                                links?: Record<string, unknown>;
                                name?: string;
                                slug?: string;
                                type?: "NORMAL" | "SERVICE";
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        createRule: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string };
                query?: undefined;
            };
            requestBody: {
                content: {
                    "*/*": { lineRegex?: string; name?: string; pathRegex?: string };
                };
            };
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            id?: number;
                            lineRegex?: string;
                            name?: string;
                            pathRegex?: string;
                            scope?: {
                                resourceId?: number;
                                type?: "GLOBAL"
                                | "PROJECT"
                                | "REPOSITORY";
                            };
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        createRule_1: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string; repositorySlug: string };
                query?: undefined;
            };
            requestBody: {
                content: {
                    "*/*": { lineRegex?: string; name?: string; pathRegex?: string };
                };
            };
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            id?: number;
                            lineRegex?: string;
                            name?: string;
                            pathRegex?: string;
                            scope?: {
                                resourceId?: number;
                                type?: "GLOBAL"
                                | "PROJECT"
                                | "REPOSITORY";
                            };
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        createRule_2: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: undefined;
            };
            requestBody: {
                content: {
                    "*/*": { lineRegex?: string; name?: string; pathRegex?: string };
                };
            };
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            id?: number;
                            lineRegex?: string;
                            name?: string;
                            pathRegex?: string;
                            scope?: {
                                resourceId?: number;
                                type?: "GLOBAL"
                                | "PROJECT"
                                | "REPOSITORY";
                            };
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        createTag: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string; repositorySlug: string };
                query?: undefined;
            };
            requestBody?: {
                content: {
                    "application/json": {
                        force?: boolean;
                        message?: string;
                        name?: string;
                        startPoint?: string;
                        type?: "ANNOTATED"
                        | "LIGHTWEIGHT";
                    };
                };
            };
            responses: {
                "201": {
                    content: {
                        "application/json": {
                            displayId?: string;
                            hash?: string;
                            id?: string;
                            latestChangeset?: string;
                            latestCommit?: string;
                            type?: "BRANCH"
                            | "TAG";
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        createTagForRepository: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string; repositorySlug: string };
                query?: undefined;
            };
            requestBody?: {
                content: {
                    "application/json": {
                        message?: string;
                        name?: string;
                        startPoint?: string;
                    };
                };
            };
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            displayId?: string;
                            hash?: string;
                            id?: string;
                            latestChangeset?: string;
                            latestCommit?: string;
                            type?: "BRANCH"
                            | "TAG";
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        createUser: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query: {
                    addToDefaultGroup?: boolean;
                    displayName: string;
                    emailAddress: string;
                    name: string;
                    notify?: boolean;
                    password?: string;
                };
            };
            requestBody?: undefined;
            responses: {
                "204": {
                    content?: undefined;
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "403": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "409": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        createWebhook: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string };
                query?: undefined;
            };
            requestBody?: {
                content: {
                    "application/json": {
                        active?: boolean;
                        configuration?: Record<string, unknown>;
                        credentials?: { password?: string; username?: string };
                        events?: readonly string[];
                        name?: string;
                        scopeType?: string;
                        sslVerificationRequired?: boolean;
                        statistics?: Record<string, unknown>;
                        url?: string;
                    };
                };
            };
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            active?: boolean;
                            configuration?: Record<string, unknown>;
                            credentials?: { password?: string; username?: string };
                            events?: readonly string[];
                            name?: string;
                            scopeType?: string;
                            sslVerificationRequired?: boolean;
                            statistics?: Record<string, unknown>;
                            url?: string;
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        createWebhook_1: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string; repositorySlug: string };
                query?: undefined;
            };
            requestBody?: {
                content: {
                    "application/json": {
                        active?: boolean;
                        configuration?: Record<string, unknown>;
                        credentials?: { password?: string; username?: string };
                        events?: readonly string[];
                        name?: string;
                        scopeType?: string;
                        sslVerificationRequired?: boolean;
                        statistics?: Record<string, unknown>;
                        url?: string;
                    };
                };
            };
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            active?: boolean;
                            configuration?: Record<string, unknown>;
                            credentials?: { password?: string; username?: string };
                            events?: readonly string[];
                            name?: string;
                            scopeType?: string;
                            sslVerificationRequired?: boolean;
                            statistics?: Record<string, unknown>;
                            url?: string;
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        decline: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: {
                    projectKey: string;
                    pullRequestId: string;
                    repositorySlug: string;
                };
                query?: { version?: string };
            };
            requestBody?: {
                content: {
                    "application/json": { comment?: string; version?: number };
                };
            };
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            closed?: boolean;
                            closedDate?: number;
                            createdDate?: number;
                            description?: string;
                            descriptionAsHtml?: string;
                            draft?: boolean;
                            fromRef?: {
                                displayId?: string;
                                id?: string;
                                latestCommit?: string;
                                repository?: {
                                    archived?: boolean;
                                    defaultBranch?: string;
                                    description?: string;
                                    forkable?: boolean;
                                    hierarchyId?: string;
                                    id?: number;
                                    links?: Record<(...), (...)>;
                                    name?: string;
                                    origin?: {
                                        archived?: ...;
                                        defaultBranch?: ...;
                                        description?: ...;
                                        forkable?: ...;
                                        hierarchyId?: ...;
                                        id?: ...;
                                        links?: ...;
                                        name?: ...;
                                        partition?: ...;
                                        project?: ...;
                                        public?: ...;
                                        relatedLinks?: ...;
                                        scmId?: ...;
                                        scope?: ...;
                                        slug?: ...;
                                        state?: ...;
                                        statusMessage?: ...;
                                    };
                                    partition?: number;
                                    project?: {
                                        avatar?: ...;
                                        avatarUrl?: ...;
                                        description?: ...;
                                        id?: ...;
                                        key: ...;
                                        links?: ...;
                                        name?: ...;
                                        public?: ...;
                                        scope?: ...;
                                        type?: ...;
                                    };
                                    public?: boolean;
                                    relatedLinks?: Record<(...), (...)>;
                                    scmId?: string;
                                    scope?: string;
                                    slug?: string;
                                    state?:
                                        | "AVAILABLE"
                                        | "INITIALISATION_FAILED"
                                        | "INITIALISING"
                                        | "OFFLINE";
                                    statusMessage?: string;
                                };
                                type?: "BRANCH"
                                | "TAG";
                            };
                            htmlDescription?: string;
                            id?: number;
                            links?: Record<string, unknown>;
                            locked?: boolean;
                            open?: boolean;
                            participants?: readonly {
                                approved?: boolean;
                                lastReviewedCommit?: string;
                                role?: "PARTICIPANT" | "REVIEWER" | "AUTHOR";
                                status?: "APPROVED" | "NEEDS_WORK" | "UNAPPROVED";
                                user?: {
                                    active?: (...) | (...) | (...);
                                    avatarUrl?: (...) | (...);
                                    displayName?: (...) | (...);
                                    emailAddress?: (...) | (...);
                                    id?: (...) | (...);
                                    links?: (...) | (...);
                                    name?: (...) | (...);
                                    slug?: (...) | (...);
                                    type?: (...) | (...) | (...);
                                };
                            }[];
                            reviewers?: readonly {
                                approved?: boolean;
                                lastReviewedCommit?: string;
                                role?: "PARTICIPANT"
                                | "REVIEWER"
                                | "AUTHOR";
                                status?: "APPROVED" | "NEEDS_WORK" | "UNAPPROVED";
                                user?: {
                                    active?: (...) | (...) | (...);
                                    avatarUrl?: (...) | (...);
                                    displayName?: (...) | (...);
                                    emailAddress?: (...) | (...);
                                    id?: (...) | (...);
                                    links?: (...) | (...);
                                    name?: (...) | (...);
                                    slug?: (...) | (...);
                                    type?: (...) | (...) | (...);
                                };
                            }[];
                            state?: "DECLINED"
                            | "MERGED"
                            | "OPEN";
                            title?: string;
                            toRef?: {
                                displayId?: string;
                                id?: string;
                                latestCommit?: string;
                                repository?: {
                                    archived?: boolean;
                                    defaultBranch?: string;
                                    description?: string;
                                    forkable?: boolean;
                                    hierarchyId?: string;
                                    id?: number;
                                    links?: Record<(...), (...)>;
                                    name?: string;
                                    origin?: {
                                        archived?: ...;
                                        defaultBranch?: ...;
                                        description?: ...;
                                        forkable?: ...;
                                        hierarchyId?: ...;
                                        id?: ...;
                                        links?: ...;
                                        name?: ...;
                                        partition?: ...;
                                        project?: ...;
                                        public?: ...;
                                        relatedLinks?: ...;
                                        scmId?: ...;
                                        scope?: ...;
                                        slug?: ...;
                                        state?: ...;
                                        statusMessage?: ...;
                                    };
                                    partition?: number;
                                    project?: {
                                        avatar?: ...;
                                        avatarUrl?: ...;
                                        description?: ...;
                                        id?: ...;
                                        key: ...;
                                        links?: ...;
                                        name?: ...;
                                        public?: ...;
                                        scope?: ...;
                                        type?: ...;
                                    };
                                    public?: boolean;
                                    relatedLinks?: Record<(...), (...)>;
                                    scmId?: string;
                                    scope?: string;
                                    slug?: string;
                                    state?:
                                        | "AVAILABLE"
                                        | "INITIALISATION_FAILED"
                                        | "INITIALISING"
                                        | "OFFLINE";
                                    statusMessage?: string;
                                };
                                type?: "BRANCH"
                                | "TAG";
                            };
                            updatedDate?: number;
                            version?: number;
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "409": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        delete: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { commitId: string; projectKey: string; repositorySlug: string };
                query?: { key?: string };
            };
            requestBody?: undefined;
            responses: {
                "204": {
                    content?: undefined;
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        delete_1: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { commitId: string; projectKey: string; repositorySlug: string };
                query?: {
                    deploymentSequenceNumber?: string;
                    environmentKey?: string;
                    key?: string;
                };
            };
            requestBody?: undefined;
            responses: {
                "204": {
                    content?: undefined;
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        delete_2: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { id: number };
                query?: { force?: boolean };
            };
            requestBody?: undefined;
            responses: {
                default: {
                    content: { "application/json;charset=UTF-8": unknown };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        delete_3: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: {
                    projectKey: string;
                    pullRequestId: string;
                    repositorySlug: string;
                };
                query?: undefined;
            };
            requestBody?: { content: { "application/json": { version?: number } } };
            responses: {
                "204": {
                    content?: undefined;
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "409": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        delete_4: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "204": {
                    content?: undefined;
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        delete_5: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string; repositorySlug: string };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "204": {
                    content?: undefined;
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "403": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        delete_6: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { id: string; projectKey: string };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "204": {
                    content?: undefined;
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        delete_7: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { id: string; projectKey: string; repositorySlug: string };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "204": {
                    content?: undefined;
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        delete_8: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { userSlug: string };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "204": {
                    content?: undefined;
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        delete_9: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string };
                query: { componentKey?: string; featureKey: string; namespace: string };
            };
            requestBody?: undefined;
            responses: {
                "204": {
                    content?: undefined;
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        deleteACodeInsightsReport: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: {
                    commitId: string;
                    key: string;
                    projectKey: string;
                    repositorySlug: string;
                };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "204": {
                    content?: undefined;
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        deleteAllDefaultTasks: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "204": {
                    content?: undefined;
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        deleteAllDefaultTasks_1: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string; repositorySlug: string };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "204": {
                    content?: undefined;
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        deleteAllowlistRule: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { id: string; projectKey: string };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "204": {
                    content?: undefined;
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        deleteAllowlistRule_1: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { id: string; projectKey: string; repositorySlug: string };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "204": {
                    content?: undefined;
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        deleteAnnotations: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: {
                    commitId: string;
                    key: string;
                    projectKey: string;
                    repositorySlug: string;
                };
                query?: { externalId?: string };
            };
            requestBody?: undefined;
            responses: {
                "204": {
                    content?: undefined;
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        deleteAttachment: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: {
                    attachmentId: string;
                    projectKey: string;
                    repositorySlug: string;
                };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "204": {
                    content?: undefined;
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        deleteAttachmentMetadata: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: {
                    attachmentId: string;
                    projectKey: string;
                    repositorySlug: string;
                };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "204": {
                    content?: undefined;
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        deleteAutoDeclineSettings: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "204": {
                    content?: undefined;
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        deleteAutoDeclineSettings_1: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string; repositorySlug: string };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "204": {
                    content?: undefined;
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        deleteAvatar: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { userSlug: string };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: { "application/json": { href?: string; name?: string } };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        deleteBanner: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "204": {
                    content?: undefined;
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        deleteBranch: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string; repositorySlug: string };
                query?: undefined;
            };
            requestBody?: {
                content: {
                    "application/json": {
                        dryRun?: boolean;
                        endPoint?: string;
                        name?: string;
                    };
                };
            };
            responses: {
                "204": {
                    content?: undefined;
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        deleteById: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string; tokenId: string };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "204": {
                    content?: undefined;
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        deleteById_1: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string; repositorySlug: string; tokenId: string };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "204": {
                    content?: undefined;
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        deleteById_2: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { tokenId: string; userSlug: string };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "204": {
                    content?: undefined;
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        deleteCertificate: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { id: string };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "204": {
                    content: {
                        "application/json": { fingerprint?: string; id?: number };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        deleteComment: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: {
                    commentId: string;
                    commitId: string;
                    projectKey: string;
                    repositorySlug: string;
                };
                query?: { version?: string };
            };
            requestBody?: undefined;
            responses: {
                "204": {
                    content?: undefined;
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "409": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        deleteComment_1: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: {
                    commentId: string;
                    projectKey: string;
                    pullRequestId: string;
                    repositorySlug: string;
                };
                query?: { version?: string };
            };
            requestBody?: undefined;
            responses: {
                "204": {
                    content?: undefined;
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "409": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        deleteComment_2: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: {
                    commentId: string;
                    projectKey: string;
                    pullRequestId: string;
                    repositorySlug: string;
                };
                query?: { version?: string };
            };
            requestBody?: undefined;
            responses: {
                "204": {
                    content?: undefined;
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "409": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        deleteDefaultTask: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string; taskId: string };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "204": {
                    content?: undefined;
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        deleteDefaultTask_1: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string; repositorySlug: string; taskId: string };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "204": {
                    content?: undefined;
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        deleteExemptRepo: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "204": {
                    content?: undefined;
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        deleteForUser: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: { user?: string };
            };
            requestBody?: undefined;
            responses: {
                "204": {
                    content?: undefined;
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        deleteGroup: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query: { name: string };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": { deletable?: boolean; name?: string };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "403": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "409": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        deleteHookScript: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { scriptId: string };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "204": {
                    content?: undefined;
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        deleteKey: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { fingerprintOrId: string };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "204": {
                    content?: undefined;
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        deleteMailConfig: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "204": {
                    content?: undefined;
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        deleteMirroringRequest: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { mirroringRequestId: string };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "204": {
                    content?: undefined;
                    headers: Readonly<Record<string, unknown>>;
                };
                "409": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        deletePreferredMirrorId: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "204": {
                    content?: undefined;
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        deleteProject: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "204": {
                    content?: undefined;
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "409": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        deletePullRequestCondition: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { id: string; projectKey: string };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "204": {
                    content?: undefined;
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        deletePullRequestCondition_1: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { id: number; projectKey: string; repositorySlug: string };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "204": {
                    content?: undefined;
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        deleteRepository: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string; repositorySlug: string };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "202": {
                    content: { "application/json": unknown };
                    headers: Readonly<Record<string, unknown>>;
                };
                "204": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        deleteRepositoryHook: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { hookKey: string; projectKey: string; repositorySlug: string };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "204": {
                    content?: undefined;
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        deleteRequiredBuildsMergeCheck: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { id: number; projectKey: string; repositorySlug: string };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "204": {
                    content?: undefined;
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        deleteRestriction: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { id: string; projectKey: string };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "204": {
                    content?: undefined;
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        deleteRestriction_1: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { id: string; projectKey: string; repositorySlug: string };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "204": {
                    content?: undefined;
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        deleteRule: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { id: string; projectKey: string };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "204": {
                    content?: undefined;
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        deleteRule_1: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { id: string; projectKey: string; repositorySlug: string };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "204": {
                    content?: undefined;
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        deleteRule_2: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { id: string };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "204": {
                    content?: undefined;
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        deleteSshKey: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { keyId: string };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "204": {
                    content?: undefined;
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        deleteSshKeys: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: { user?: string; userName?: string };
            };
            requestBody?: undefined;
            responses: {
                "204": {
                    content?: undefined;
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        deleteTag: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { name: string; projectKey: string; repositorySlug: string };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "204": {
                    content?: undefined;
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        deleteUser: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query: { name: string };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            active?: boolean;
                            avatarUrl?: string;
                            deletable?: boolean;
                            directoryName?: string;
                            displayName?: string;
                            emailAddress?: string;
                            id?: number;
                            lastAuthenticationTimestamp?: number;
                            links?: Record<string, unknown>;
                            mutableDetails?: boolean;
                            mutableGroups?: boolean;
                            name?: string;
                            slug?: string;
                            type?: "NORMAL" | "SERVICE";
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "403": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "409": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        deleteWebhook: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string; webhookId: string };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "204": {
                    content?: undefined;
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        deleteWebhook_1: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string; repositorySlug: string; webhookId: string };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "204": {
                    content?: undefined;
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        disableHook: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { hookKey: string; projectKey: string };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            configured?: boolean;
                            details?: {
                                configFormKey?: string;
                                description?: string;
                                key?: string;
                                name?: string;
                                supportedScopes?: readonly ("GLOBAL" | "PROJECT" | "REPOSITORY")[];
                                type?: "POST_RECEIVE" | "PRE_PULL_REQUEST_MERGE" | "PRE_RECEIVE";
                                version?: string;
                            };
                            enabled?: boolean;
                            scope?: {
                                resourceId?: number;
                                type?: "GLOBAL"
                                | "PROJECT"
                                | "REPOSITORY";
                            };
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        disableHook_1: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { hookKey: string; projectKey: string; repositorySlug: string };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            configured?: boolean;
                            details?: {
                                configFormKey?: string;
                                description?: string;
                                key?: string;
                                name?: string;
                                supportedScopes?: readonly ("GLOBAL" | "PROJECT" | "REPOSITORY")[];
                                type?: "POST_RECEIVE" | "PRE_PULL_REQUEST_MERGE" | "PRE_RECEIVE";
                                version?: string;
                            };
                            enabled?: boolean;
                            scope?: {
                                resourceId?: number;
                                type?: "GLOBAL"
                                | "PROJECT"
                                | "REPOSITORY";
                            };
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        discardReview: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: {
                    projectKey: string;
                    pullRequestId: string;
                    repositorySlug: string;
                };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "204": {
                    content?: undefined;
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        dismissRetentionConfigReviewNotification: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: { "application/json": unknown };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        editAllowlistRule: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { id: string; projectKey: string };
                query?: undefined;
            };
            requestBody: {
                content: {
                    "*/*": { lineRegex?: string; name?: string; pathRegex?: string };
                };
            };
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            id?: number;
                            lineRegex?: string;
                            name?: string;
                            pathRegex?: string;
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        editAllowlistRule_1: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { id: string; projectKey: string; repositorySlug: string };
                query?: undefined;
            };
            requestBody: {
                content: {
                    "*/*": { lineRegex?: string; name?: string; pathRegex?: string };
                };
            };
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            id?: number;
                            lineRegex?: string;
                            name?: string;
                            pathRegex?: string;
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        editFile: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { path: string; projectKey: string; repositorySlug: string };
                query?: undefined;
            };
            requestBody?: {
                content: {
                    "multipart/form-data": {
                        branch?: string;
                        content?: string;
                        message?: string;
                        sourceBranch?: string;
                        sourceCommitId?: string;
                    };
                };
            };
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            author?: {
                                avatarUrl?: string;
                                emailAddress?: string;
                                name?: string;
                            };
                            authorTimestamp?: number;
                            committer?: {
                                avatarUrl?: string;
                                emailAddress?: string;
                                name?: string;
                            };
                            committerTimestamp?: number;
                            displayId?: string;
                            id?: string;
                            message?: string;
                            parents?: readonly { displayId?: string; id?: string }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "403": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "409": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        editRule: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { id: string; projectKey: string };
                query?: undefined;
            };
            requestBody: {
                content: {
                    "*/*": { lineRegex?: string; name?: string; pathRegex?: string };
                };
            };
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            id?: number;
                            lineRegex?: string;
                            name?: string;
                            pathRegex?: string;
                            scope?: {
                                resourceId?: number;
                                type?: "GLOBAL"
                                | "PROJECT"
                                | "REPOSITORY";
                            };
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        editRule_1: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { id: string; projectKey: string; repositorySlug: string };
                query?: undefined;
            };
            requestBody: {
                content: {
                    "*/*": { lineRegex?: string; name?: string; pathRegex?: string };
                };
            };
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            id?: number;
                            lineRegex?: string;
                            name?: string;
                            pathRegex?: string;
                            scope?: {
                                resourceId?: number;
                                type?: "GLOBAL"
                                | "PROJECT"
                                | "REPOSITORY";
                            };
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        editRule_2: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { id: string };
                query?: undefined;
            };
            requestBody: {
                content: {
                    "*/*": { lineRegex?: string; name?: string; pathRegex?: string };
                };
            };
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            id?: number;
                            lineRegex?: string;
                            name?: string;
                            pathRegex?: string;
                            scope?: {
                                resourceId?: number;
                                type?: "GLOBAL"
                                | "PROJECT"
                                | "REPOSITORY";
                            };
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        enableHook: {
            parameters: {
                cookie?: undefined;
                header?: { "Content-Length"?: number };
                path: { hookKey: string; projectKey: string };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            configured?: boolean;
                            details?: {
                                configFormKey?: string;
                                description?: string;
                                key?: string;
                                name?: string;
                                supportedScopes?: readonly ("GLOBAL" | "PROJECT" | "REPOSITORY")[];
                                type?: "POST_RECEIVE" | "PRE_PULL_REQUEST_MERGE" | "PRE_RECEIVE";
                                version?: string;
                            };
                            enabled?: boolean;
                            scope?: {
                                resourceId?: number;
                                type?: "GLOBAL"
                                | "PROJECT"
                                | "REPOSITORY";
                            };
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        enableHook_1: {
            parameters: {
                cookie?: undefined;
                header?: { "Content-Length"?: string };
                path: { hookKey: string; projectKey: string; repositorySlug: string };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            configured?: boolean;
                            details?: {
                                configFormKey?: string;
                                description?: string;
                                key?: string;
                                name?: string;
                                supportedScopes?: readonly ("GLOBAL" | "PROJECT" | "REPOSITORY")[];
                                type?: "POST_RECEIVE" | "PRE_PULL_REQUEST_MERGE" | "PRE_RECEIVE";
                                version?: string;
                            };
                            enabled?: boolean;
                            scope?: {
                                resourceId?: number;
                                type?: "GLOBAL"
                                | "PROJECT"
                                | "REPOSITORY";
                            };
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        endRollingUpgrade: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            rollingUpgradeEnabled?: boolean;
                            version?: string;
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        eraseUser: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query: { name: string };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: { "application/json": { newIdentifier?: string } };
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "409": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        findBranches: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string; repositorySlug: string };
                query?: { filterText?: string; limit?: number; start?: number };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            isLastPage?: boolean;
                            limit?: number;
                            nextPageStart?: number;
                            size?: number;
                            start?: number;
                            values?: readonly {
                                displayId?: string;
                                id?: string;
                                type?: "BRANCH"
                                | "TAG";
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        findByCommit: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { commitId: string; projectKey: string; repositorySlug: string };
                query?: { limit?: number; start?: number };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            isLastPage?: boolean;
                            limit?: number;
                            nextPageStart?: number;
                            size?: number;
                            start?: number;
                            values?: readonly {
                                displayId?: string;
                                id?: string;
                                type?: "BRANCH"
                                | "TAG";
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "500": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        findExemptReposByProject: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: {
                    limit?: number;
                    order?: "NAME_ASC"
                    | "NAME_DESC";
                    start?: number;
                };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            isLastPage?: boolean;
                            limit?: number;
                            nextPageStart?: number;
                            size?: number;
                            start?: number;
                            values?: readonly {
                                archived?: boolean;
                                defaultBranch?: string;
                                description?: string;
                                forkable?: boolean;
                                hierarchyId?: string;
                                id?: number;
                                links?: Record<string, unknown>;
                                name?: string;
                                origin?: {
                                    archived?: (...) | (...) | (...);
                                    defaultBranch?: (...) | (...);
                                    description?: (...) | (...);
                                    forkable?: (...) | (...) | (...);
                                    hierarchyId?: (...) | (...);
                                    id?: (...) | (...);
                                    links?: (...) | (...);
                                    name?: (...) | (...);
                                    partition?: (...) | (...);
                                    project?: (...) | (...);
                                    public?: (...) | (...) | (...);
                                    relatedLinks?: (...) | (...);
                                    scmId?: (...) | (...);
                                    scope?: (...) | (...);
                                    slug?: (...) | (...);
                                    state?: (...) | (...) | (...) | (...) | (...);
                                    statusMessage?: (...) | (...);
                                };
                                partition?: number;
                                project?: {
                                    avatar?: (...)
                                    | (...);
                                    avatarUrl?: (...) | (...);
                                    description?: (...) | (...);
                                    id?: (...) | (...);
                                    key: string;
                                    links?: (...) | (...);
                                    name?: (...) | (...);
                                    public?: (...) | (...) | (...);
                                    scope?: (...) | (...);
                                    type?: (...) | (...) | (...);
                                };
                                public?: boolean;
                                relatedLinks?: Record<string, unknown>;
                                scmId?: string;
                                scope?: string;
                                slug?: string;
                                state?:
                                    | "AVAILABLE"
                                    | "INITIALISATION_FAILED"
                                    | "INITIALISING"
                                    | "OFFLINE";
                                statusMessage?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        findExemptReposByScope: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: {
                    limit?: number;
                    order?: "NAME_ASC"
                    | "NAME_DESC";
                    start?: number;
                };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            isLastPage?: boolean;
                            limit?: number;
                            nextPageStart?: number;
                            size?: number;
                            start?: number;
                            values?: readonly {
                                archived?: boolean;
                                defaultBranch?: string;
                                description?: string;
                                forkable?: boolean;
                                hierarchyId?: string;
                                id?: number;
                                links?: Record<string, unknown>;
                                name?: string;
                                origin?: {
                                    archived?: (...) | (...) | (...);
                                    defaultBranch?: (...) | (...);
                                    description?: (...) | (...);
                                    forkable?: (...) | (...) | (...);
                                    hierarchyId?: (...) | (...);
                                    id?: (...) | (...);
                                    links?: (...) | (...);
                                    name?: (...) | (...);
                                    partition?: (...) | (...);
                                    project?: (...) | (...);
                                    public?: (...) | (...) | (...);
                                    relatedLinks?: (...) | (...);
                                    scmId?: (...) | (...);
                                    scope?: (...) | (...);
                                    slug?: (...) | (...);
                                    state?: (...) | (...) | (...) | (...) | (...);
                                    statusMessage?: (...) | (...);
                                };
                                partition?: number;
                                project?: {
                                    avatar?: (...)
                                    | (...);
                                    avatarUrl?: (...) | (...);
                                    description?: (...) | (...);
                                    id?: (...) | (...);
                                    key: string;
                                    links?: (...) | (...);
                                    name?: (...) | (...);
                                    public?: (...) | (...) | (...);
                                    scope?: (...) | (...);
                                    type?: (...) | (...) | (...);
                                };
                                public?: boolean;
                                relatedLinks?: Record<string, unknown>;
                                scmId?: string;
                                scope?: string;
                                slug?: string;
                                state?:
                                    | "AVAILABLE"
                                    | "INITIALISATION_FAILED"
                                    | "INITIALISING"
                                    | "OFFLINE";
                                statusMessage?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        findGroupsForUser: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query: {
                    context: string;
                    filter?: string;
                    limit?: number;
                    start?: number;
                };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            isLastPage?: boolean;
                            limit?: number;
                            nextPageStart?: number;
                            size?: number;
                            start?: number;
                            values?: readonly {
                                active?: boolean;
                                avatarUrl?: string;
                                deletable?: boolean;
                                directoryName?: string;
                                displayName?: string;
                                emailAddress?: string;
                                id?: number;
                                lastAuthenticationTimestamp?: number;
                                links?: Record<string, unknown>;
                                mutableDetails?: boolean;
                                mutableGroups?: boolean;
                                name?: string;
                                slug?: string;
                                type?: "NORMAL" | "SERVICE";
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        findOtherGroupsForUser: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query: {
                    context: string;
                    filter?: string;
                    limit?: number;
                    start?: number;
                };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            isLastPage?: boolean;
                            limit?: number;
                            nextPageStart?: number;
                            size?: number;
                            start?: number;
                            values?: readonly { deletable?: boolean; name?: string }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        findUsersInGroup: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query: {
                    context: string;
                    filter?: string;
                    limit?: number;
                    start?: number;
                };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            isLastPage?: boolean;
                            limit?: number;
                            nextPageStart?: number;
                            size?: number;
                            start?: number;
                            values?: readonly {
                                active?: boolean;
                                avatarUrl?: string;
                                deletable?: boolean;
                                directoryName?: string;
                                displayName?: string;
                                emailAddress?: string;
                                id?: number;
                                lastAuthenticationTimestamp?: number;
                                links?: Record<string, unknown>;
                                mutableDetails?: boolean;
                                mutableGroups?: boolean;
                                name?: string;
                                slug?: string;
                                type?: "NORMAL" | "SERVICE";
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        findUsersNotInGroup: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query: {
                    context: string;
                    filter?: string;
                    limit?: number;
                    start?: number;
                };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            isLastPage?: boolean;
                            limit?: number;
                            nextPageStart?: number;
                            size?: number;
                            start?: number;
                            values?: readonly {
                                active?: boolean;
                                avatarUrl?: string;
                                deletable?: boolean;
                                directoryName?: string;
                                displayName?: string;
                                emailAddress?: string;
                                id?: number;
                                lastAuthenticationTimestamp?: number;
                                links?: Record<string, unknown>;
                                mutableDetails?: boolean;
                                mutableGroups?: boolean;
                                name?: string;
                                slug?: string;
                                type?: "NORMAL" | "SERVICE";
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        findWebhooks: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string };
                query?: { event?: string; statistics?: boolean };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: { "application/json": unknown };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        findWebhooks_1: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string; repositorySlug: string };
                query?: { event?: string; statistics?: boolean };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: { "application/json": unknown };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        finishReview: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: {
                    projectKey: string;
                    pullRequestId: string;
                    repositorySlug: string;
                };
                query?: { version?: string };
            };
            requestBody?: {
                content: {
                    "application/json": {
                        commentText?: string;
                        lastReviewedCommit?: string;
                        participantStatus?: string;
                    };
                };
            };
            responses: {
                "200": {
                    content: { "application/json": unknown };
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "409": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        forkRepository: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string; repositorySlug: string };
                query?: undefined;
            };
            requestBody?: {
                content: {
                    "application/json": {
                        archived?: boolean;
                        defaultBranch?: string;
                        description?: string;
                        forkable?: boolean;
                        hierarchyId?: string;
                        id?: number;
                        links?: Record<string, unknown>;
                        name?: string;
                        origin?: {
                            archived?: boolean;
                            defaultBranch?: string;
                            description?: string;
                            forkable?: boolean;
                            hierarchyId?: string;
                            id?: number;
                            links?: Record<string, unknown>;
                            name?: string;
                            partition?: number;
                            project?: {
                                avatar?: string;
                                avatarUrl?: string;
                                description?: string;
                                id?: number;
                                key: string;
                                links?: Record<(...), (...)>;
                                name?: string;
                                public?: boolean;
                                scope?: string;
                                type?: "NORMAL" | "PERSONAL";
                            };
                            public?: boolean;
                            relatedLinks?: Record<string, unknown>;
                            scmId?: string;
                            scope?: string;
                            slug?: string;
                            state?:
                                | "AVAILABLE"
                                | "INITIALISATION_FAILED"
                                | "INITIALISING"
                                | "OFFLINE";
                            statusMessage?: string;
                        };
                        partition?: number;
                        project?: {
                            avatar?: string;
                            avatarUrl?: string;
                            description?: string;
                            id?: number;
                            key: string;
                            links?: Record<string, unknown>;
                            name?: string;
                            public?: boolean;
                            scope?: string;
                            type?: "NORMAL" | "PERSONAL";
                        };
                        public?: boolean;
                        relatedLinks?: Record<string, unknown>;
                        scmId?: string;
                        scope?: string;
                        slug?: string;
                        state?:
                            | "AVAILABLE"
                            | "INITIALISATION_FAILED"
                            | "INITIALISING"
                            | "OFFLINE";
                        statusMessage?: string;
                    };
                };
            };
            responses: {
                "201": {
                    content: {
                        "application/json": {
                            archived?: boolean;
                            defaultBranch?: string;
                            description?: string;
                            forkable?: boolean;
                            hierarchyId?: string;
                            id?: number;
                            links?: Record<string, unknown>;
                            name?: string;
                            origin?: {
                                archived?: boolean;
                                defaultBranch?: string;
                                description?: string;
                                forkable?: boolean;
                                hierarchyId?: string;
                                id?: number;
                                links?: Record<string, unknown>;
                                name?: string;
                                partition?: number;
                                project?: {
                                    avatar?: string;
                                    avatarUrl?: string;
                                    description?: string;
                                    id?: number;
                                    key: string;
                                    links?: Record<(...), (...)>;
                                    name?: string;
                                    public?: boolean;
                                    scope?: string;
                                    type?: "NORMAL" | "PERSONAL";
                                };
                                public?: boolean;
                                relatedLinks?: Record<string, unknown>;
                                scmId?: string;
                                scope?: string;
                                slug?: string;
                                state?:
                                    | "AVAILABLE"
                                    | "INITIALISATION_FAILED"
                                    | "INITIALISING"
                                    | "OFFLINE";
                                statusMessage?: string;
                            };
                            partition?: number;
                            project?: {
                                avatar?: string;
                                avatarUrl?: string;
                                description?: string;
                                id?: number;
                                key: string;
                                links?: Record<string, unknown>;
                                name?: string;
                                public?: boolean;
                                scope?: string;
                                type?: "NORMAL" | "PERSONAL";
                            };
                            public?: boolean;
                            relatedLinks?: Record<string, unknown>;
                            scmId?: string;
                            scope?: string;
                            slug?: string;
                            state?:
                                | "AVAILABLE"
                                | "INITIALISATION_FAILED"
                                | "INITIALISING"
                                | "OFFLINE";
                            statusMessage?: string;
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        get: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { commitId: string; projectKey: string; repositorySlug: string };
                query: { key: string };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            buildNumber?: string;
                            createdDate?: number;
                            description?: string;
                            duration?: number;
                            key?: string;
                            name?: string;
                            parent?: string;
                            ref?: string;
                            state?: | "FAILED"
                            | "INPROGRESS"
                            | "SUCCESSFUL"
                            | "UNKNOWN"
                            | "CANCELLED";
                            testResults?: {
                                failed?: number;
                                skipped?: number;
                                successful?: number;
                            };
                            updatedDate?: number;
                            url?: string;
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        get_1: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { commitId: string; projectKey: string; repositorySlug: string };
                query?: {
                    deploymentSequenceNumber?: string;
                    environmentKey?: string;
                    key?: string;
                };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            deploymentSequenceNumber?: number;
                            description?: string;
                            displayName?: string;
                            environment?: {
                                displayName: string;
                                key: string;
                                type?: string;
                                url?: string;
                            };
                            fromCommit?: { displayId?: string; id?: string };
                            key?: string;
                            lastUpdated?: number;
                            repository?: {
                                archived?: boolean;
                                defaultBranch?: string;
                                description?: string;
                                forkable?: boolean;
                                hierarchyId?: string;
                                id?: number;
                                links?: Record<string, unknown>;
                                name?: string;
                                origin?: {
                                    archived?: boolean;
                                    defaultBranch?: string;
                                    description?: string;
                                    forkable?: boolean;
                                    hierarchyId?: string;
                                    id?: number;
                                    links?: Record<(...), (...)>;
                                    name?: string;
                                    partition?: number;
                                    project?: {
                                        avatar?: ...;
                                        avatarUrl?: ...;
                                        description?: ...;
                                        id?: ...;
                                        key: ...;
                                        links?: ...;
                                        name?: ...;
                                        public?: ...;
                                        scope?: ...;
                                        type?: ...;
                                    };
                                    public?: boolean;
                                    relatedLinks?: Record<(...), (...)>;
                                    scmId?: string;
                                    scope?: string;
                                    slug?: string;
                                    state?:
                                        | "AVAILABLE"
                                        | "INITIALISATION_FAILED"
                                        | "INITIALISING"
                                        | "OFFLINE";
                                    statusMessage?: string;
                                };
                                partition?: number;
                                project?: {
                                    avatar?: string;
                                    avatarUrl?: string;
                                    description?: string;
                                    id?: number;
                                    key: string;
                                    links?: Record<(...), (...)>;
                                    name?: string;
                                    public?: boolean;
                                    scope?: string;
                                    type?: "NORMAL" | "PERSONAL";
                                };
                                public?: boolean;
                                relatedLinks?: Record<string, unknown>;
                                scmId?: string;
                                scope?: string;
                                slug?: string;
                                state?:
                                    | "AVAILABLE"
                                    | "INITIALISATION_FAILED"
                                    | "INITIALISING"
                                    | "OFFLINE";
                                statusMessage?: string;
                            };
                            state?: | "FAILED"
                            | "SUCCESSFUL"
                            | "IN_PROGRESS"
                            | "PENDING"
                            | "UNKNOWN"
                            | "CANCELLED"
                            | "ROLLED_BACK";
                            toCommit?: { displayId?: string; id?: string };
                            url?: string;
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        get_2: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            creationDate?: number;
                            daysBeforeExpiry?: number;
                            expiryDate?: number;
                            gracePeriodEndDate?: number;
                            license?: string;
                            maintenanceExpiryDate?: number;
                            maximumNumberOfUsers?: number;
                            numberOfDaysBeforeExpiry?: number;
                            numberOfDaysBeforeGracePeriodExpiry?: number;
                            numberOfDaysBeforeMaintenanceExpiry?: number;
                            purchaseDate?: number;
                            serverId?: string;
                            status?: { currentNumberOfUsers?: number; serverId?: string };
                            supportEntitlementNumber?: string;
                            unlimitedNumberOfUsers?: boolean;
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        get_3: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: {
                    projectKey: string;
                    pullRequestId: string;
                    repositorySlug: string;
                };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            closed?: boolean;
                            closedDate?: number;
                            createdDate?: number;
                            description?: string;
                            descriptionAsHtml?: string;
                            draft?: boolean;
                            fromRef?: {
                                displayId?: string;
                                id?: string;
                                latestCommit?: string;
                                repository?: {
                                    archived?: boolean;
                                    defaultBranch?: string;
                                    description?: string;
                                    forkable?: boolean;
                                    hierarchyId?: string;
                                    id?: number;
                                    links?: Record<(...), (...)>;
                                    name?: string;
                                    origin?: {
                                        archived?: ...;
                                        defaultBranch?: ...;
                                        description?: ...;
                                        forkable?: ...;
                                        hierarchyId?: ...;
                                        id?: ...;
                                        links?: ...;
                                        name?: ...;
                                        partition?: ...;
                                        project?: ...;
                                        public?: ...;
                                        relatedLinks?: ...;
                                        scmId?: ...;
                                        scope?: ...;
                                        slug?: ...;
                                        state?: ...;
                                        statusMessage?: ...;
                                    };
                                    partition?: number;
                                    project?: {
                                        avatar?: ...;
                                        avatarUrl?: ...;
                                        description?: ...;
                                        id?: ...;
                                        key: ...;
                                        links?: ...;
                                        name?: ...;
                                        public?: ...;
                                        scope?: ...;
                                        type?: ...;
                                    };
                                    public?: boolean;
                                    relatedLinks?: Record<(...), (...)>;
                                    scmId?: string;
                                    scope?: string;
                                    slug?: string;
                                    state?:
                                        | "AVAILABLE"
                                        | "INITIALISATION_FAILED"
                                        | "INITIALISING"
                                        | "OFFLINE";
                                    statusMessage?: string;
                                };
                                type?: "BRANCH"
                                | "TAG";
                            };
                            htmlDescription?: string;
                            id?: number;
                            links?: Record<string, unknown>;
                            locked?: boolean;
                            open?: boolean;
                            participants?: readonly {
                                approved?: boolean;
                                lastReviewedCommit?: string;
                                role?: "PARTICIPANT" | "REVIEWER" | "AUTHOR";
                                status?: "APPROVED" | "NEEDS_WORK" | "UNAPPROVED";
                                user?: {
                                    active?: (...) | (...) | (...);
                                    avatarUrl?: (...) | (...);
                                    displayName?: (...) | (...);
                                    emailAddress?: (...) | (...);
                                    id?: (...) | (...);
                                    links?: (...) | (...);
                                    name?: (...) | (...);
                                    slug?: (...) | (...);
                                    type?: (...) | (...) | (...);
                                };
                            }[];
                            reviewers?: readonly {
                                approved?: boolean;
                                lastReviewedCommit?: string;
                                role?: "PARTICIPANT"
                                | "REVIEWER"
                                | "AUTHOR";
                                status?: "APPROVED" | "NEEDS_WORK" | "UNAPPROVED";
                                user?: {
                                    active?: (...) | (...) | (...);
                                    avatarUrl?: (...) | (...);
                                    displayName?: (...) | (...);
                                    emailAddress?: (...) | (...);
                                    id?: (...) | (...);
                                    links?: (...) | (...);
                                    name?: (...) | (...);
                                    slug?: (...) | (...);
                                    type?: (...) | (...) | (...);
                                };
                            }[];
                            state?: "DECLINED"
                            | "MERGED"
                            | "OPEN";
                            title?: string;
                            toRef?: {
                                displayId?: string;
                                id?: string;
                                latestCommit?: string;
                                repository?: {
                                    archived?: boolean;
                                    defaultBranch?: string;
                                    description?: string;
                                    forkable?: boolean;
                                    hierarchyId?: string;
                                    id?: number;
                                    links?: Record<(...), (...)>;
                                    name?: string;
                                    origin?: {
                                        archived?: ...;
                                        defaultBranch?: ...;
                                        description?: ...;
                                        forkable?: ...;
                                        hierarchyId?: ...;
                                        id?: ...;
                                        links?: ...;
                                        name?: ...;
                                        partition?: ...;
                                        project?: ...;
                                        public?: ...;
                                        relatedLinks?: ...;
                                        scmId?: ...;
                                        scope?: ...;
                                        slug?: ...;
                                        state?: ...;
                                        statusMessage?: ...;
                                    };
                                    partition?: number;
                                    project?: {
                                        avatar?: ...;
                                        avatarUrl?: ...;
                                        description?: ...;
                                        id?: ...;
                                        key: ...;
                                        links?: ...;
                                        name?: ...;
                                        public?: ...;
                                        scope?: ...;
                                        type?: ...;
                                    };
                                    public?: boolean;
                                    relatedLinks?: Record<(...), (...)>;
                                    scmId?: string;
                                    scope?: string;
                                    slug?: string;
                                    state?:
                                        | "AVAILABLE"
                                        | "INITIALISATION_FAILED"
                                        | "INITIALISING"
                                        | "OFFLINE";
                                    statusMessage?: string;
                                };
                                type?: "BRANCH"
                                | "TAG";
                            };
                            updatedDate?: number;
                            version?: number;
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        get_4: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            enabled?: boolean;
                            restrictionState?: | "NONE"
                            | "RESTRICTED_MODIFIABLE"
                            | "RESTRICTED_UNMODIFIABLE";
                            scope?: {
                                resourceId?: number;
                                type?: "GLOBAL"
                                | "PROJECT"
                                | "REPOSITORY";
                            };
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        get_5: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string; repositorySlug: string };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            enabled?: boolean;
                            restrictionState?: | "NONE"
                            | "RESTRICTED_MODIFIABLE"
                            | "RESTRICTED_UNMODIFIABLE";
                            scope?: {
                                resourceId?: number;
                                type?: "GLOBAL"
                                | "PROJECT"
                                | "REPOSITORY";
                            };
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        get_6: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { userSlug: string };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            settings?: { capacity?: number; fillRate?: number };
                            user?: {
                                active?: boolean;
                                avatarUrl?: string;
                                displayName?: string;
                                emailAddress?: string;
                                id?: number;
                                links?: Record<string, unknown>;
                                name?: string;
                                slug?: string;
                                type?: "NORMAL" | "SERVICE";
                            };
                            whitelisted?: boolean;
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        get_7: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string };
                query: { componentKey?: string; featureKey: string; namespace: string };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            componentKey?: string;
                            featureKey?: string;
                            namespace?: string;
                            processedState?: | "FAILED"
                            | "IN_PROGRESS"
                            | "PROCESSED"
                            | "UNPROCESSED";
                            project?: {
                                avatar?: string;
                                avatarUrl?: string;
                                description?: string;
                                id?: number;
                                key: string;
                                links?: Record<string, unknown>;
                                name?: string;
                                public?: boolean;
                                scope?: string;
                                type?: "NORMAL" | "PERSONAL";
                            };
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getACodeInsightsReport: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: {
                    commitId: string;
                    key: string;
                    projectKey: string;
                    repositorySlug: string;
                };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            createdDate?: number;
                            data?: readonly {
                                title?: string;
                                type?: string;
                                value?: Record<string, unknown>;
                            }[];
                            details?: string;
                            key?: string;
                            link?: string;
                            logoUrl?: string;
                            reporter?: string;
                            result?: "FAIL"
                            | "PASS";
                            title?: string;
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getActiveMeshMigrationSummary: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            endTime?: number;
                            jobId?: number;
                            maxBandwidth?: number;
                            progress?: number;
                            queue?: Record<string, unknown>;
                            startTime?: number;
                            state?: string;
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getActivities: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: {
                    projectKey: string;
                    pullRequestId: string;
                    repositorySlug: string;
                };
                query?: {
                    fromId?: string;
                    fromType?: string;
                    limit?: number;
                    start?: number;
                };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            isLastPage?: boolean;
                            limit?: number;
                            nextPageStart?: number;
                            size?: number;
                            start?: number;
                            values?: readonly {
                                action?: | "DECLINED"
                                | "MERGED"
                                | "APPROVED"
                                | "UNAPPROVED"
                                | "AUTO_MERGE_CANCELLED"
                                | "AUTO_MERGE_REQUESTED"
                                | "COMMENTED"
                                | "DELETED"
                                | "OPENED"
                                | "REOPENED"
                                | "RESCOPED"
                                | "REVIEW_COMMENTED"
                                | "REVIEW_DISCARDED"
                                | "REVIEW_FINISHED"
                                | "REVIEWED"
                                | "UPDATED";
                                createdDate?: number;
                                id?: number;
                                user?: {
                                    active?: (...)
                                    | (...)
                                    | (...);
                                    avatarUrl?: (...) | (...);
                                    displayName?: (...) | (...);
                                    emailAddress?: (...) | (...);
                                    id?: (...) | (...);
                                    links?: (...) | (...);
                                    name?: (...) | (...);
                                    slug?: (...) | (...);
                                    type?: (...) | (...) | (...);
                                };
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getAll: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string };
                query: {
                    featureKey: string;
                    limit?: number;
                    namespace: string;
                    start?: number;
                };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            isLastPage?: boolean;
                            limit?: number;
                            nextPageStart?: number;
                            size?: number;
                            start?: number;
                            values?: readonly {
                                componentKey?: string;
                                featureKey?: string;
                                namespace?: string;
                                processedState?: | "FAILED"
                                | "IN_PROGRESS"
                                | "PROCESSED"
                                | "UNPROCESSED";
                                project?: {
                                    avatar?: (...)
                                    | (...);
                                    avatarUrl?: (...) | (...);
                                    description?: (...) | (...);
                                    id?: (...) | (...);
                                    key: string;
                                    links?: (...) | (...);
                                    name?: (...) | (...);
                                    public?: (...) | (...) | (...);
                                    scope?: (...) | (...);
                                    type?: (...) | (...) | (...);
                                };
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getAllAccessTokens: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string };
                query?: { limit?: number; start?: number };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            isLastPage?: boolean;
                            limit?: number;
                            nextPageStart?: number;
                            size?: number;
                            start?: number;
                            values?: readonly { createdDate?: string; id?: string; name?: string }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getAllAccessTokens_1: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string; repositorySlug: string };
                query?: { limit?: number; start?: number };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            isLastPage?: boolean;
                            limit?: number;
                            nextPageStart?: number;
                            size?: number;
                            start?: number;
                            values?: readonly { createdDate?: string; id?: string; name?: string }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getAllAccessTokens_2: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { userSlug: string };
                query?: { limit?: number; start?: number };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            isLastPage?: boolean;
                            limit?: number;
                            nextPageStart?: number;
                            size?: number;
                            start?: number;
                            values?: readonly { createdDate?: string; id?: string; name?: string }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getAllCertificates: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": { fingerprint?: string; id?: number };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getAllContentHashes: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: { includeDefaultBranch?: "true"
                | "false" };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            archived?: boolean;
                            defaultBranch?: string;
                            description?: string;
                            forkable?: boolean;
                            hierarchyId?: string;
                            id?: number;
                            links?: Record<string, unknown>;
                            name?: string;
                            origin?: {
                                archived?: boolean;
                                defaultBranch?: string;
                                description?: string;
                                forkable?: boolean;
                                hierarchyId?: string;
                                id?: number;
                                links?: Record<string, unknown>;
                                name?: string;
                                partition?: number;
                                project?: {
                                    avatar?: string;
                                    avatarUrl?: string;
                                    description?: string;
                                    id?: number;
                                    key: string;
                                    links?: Record<(...), (...)>;
                                    name?: string;
                                    public?: boolean;
                                    scope?: string;
                                    type?: "NORMAL" | "PERSONAL";
                                };
                                public?: boolean;
                                relatedLinks?: Record<string, unknown>;
                                scmId?: string;
                                scope?: string;
                                slug?: string;
                                state?:
                                    | "AVAILABLE"
                                    | "INITIALISATION_FAILED"
                                    | "INITIALISING"
                                    | "OFFLINE";
                                statusMessage?: string;
                            };
                            partition?: number;
                            project?: {
                                avatar?: string;
                                avatarUrl?: string;
                                description?: string;
                                id?: number;
                                key: string;
                                links?: Record<string, unknown>;
                                name?: string;
                                public?: boolean;
                                scope?: string;
                                type?: "NORMAL" | "PERSONAL";
                            };
                            properties?: {
                                contentHash?: string;
                                defaultBranchId?: string;
                                metadataHash?: string;
                            };
                            public?: boolean;
                            relatedLinks?: Record<string, unknown>;
                            scmId?: string;
                            scope?: string;
                            slug?: string;
                            state?:
                                | "AVAILABLE"
                                | "INITIALISATION_FAILED"
                                | "INITIALISING"
                                | "OFFLINE";
                            statusMessage?: string;
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "409": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getAllLabelsForRepository: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string; repositorySlug: string };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: { "application/json": { name?: string } };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getAllMeshMigrationSummaries: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: { limit?: number; start?: number };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            isLastPage?: boolean;
                            limit?: number;
                            nextPageStart?: number;
                            size?: number;
                            start?: number;
                            values?: readonly {
                                endTime?: number;
                                jobId?: number;
                                maxBandwidth?: number;
                                progress?: number;
                                queue?: Record<string, unknown>;
                                startTime?: number;
                                state?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getAllowlistRule: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { id: string; projectKey: string };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            id?: number;
                            lineRegex?: string;
                            name?: string;
                            pathRegex?: string;
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getAllowlistRule_1: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { id: string; projectKey: string; repositorySlug: string };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            id?: number;
                            lineRegex?: string;
                            name?: string;
                            pathRegex?: string;
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getAllRateLimitSettings: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: { filter?: string; limit?: number; start?: number };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            isLastPage?: boolean;
                            limit?: number;
                            nextPageStart?: number;
                            size?: number;
                            start?: number;
                            values?: readonly {
                                settings?: { capacity?: (...)
                                | (...); fillRate?: (...) | (...) };
                                user?: {
                                    active?: (...) | (...) | (...);
                                    avatarUrl?: (...) | (...);
                                    displayName?: (...) | (...);
                                    emailAddress?: (...) | (...);
                                    id?: (...) | (...);
                                    links?: (...) | (...);
                                    name?: (...) | (...);
                                    slug?: (...) | (...);
                                    type?: (...) | (...) | (...);
                                };
                                whitelisted?: boolean;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getAllRegisteredMeshNodes: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            id?: string;
                            lastSeenDate?: number;
                            name?: string;
                            offline?: boolean;
                            rpcId?: string;
                            rpcUrl?: string;
                            state?: "AVAILABLE"
                            | "OFFLINE"
                            | "DELETING"
                            | "DISABLED"
                            | "DRAINING";
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getAllReposForProject: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectId: string };
                query?: {
                    includeDefaultBranch?: "true" | "false";
                    limit?: number;
                    start?: number;
                };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            isLastPage?: boolean;
                            limit?: number;
                            nextPageStart?: number;
                            size?: number;
                            start?: number;
                            values?: readonly {
                                archived?: boolean;
                                defaultBranch?: string;
                                description?: string;
                                forkable?: boolean;
                                hierarchyId?: string;
                                id?: number;
                                links?: Record<string, unknown>;
                                name?: string;
                                origin?: {
                                    archived?: (...) | (...) | (...);
                                    defaultBranch?: (...) | (...);
                                    description?: (...) | (...);
                                    forkable?: (...) | (...) | (...);
                                    hierarchyId?: (...) | (...);
                                    id?: (...) | (...);
                                    links?: (...) | (...);
                                    name?: (...) | (...);
                                    partition?: (...) | (...);
                                    project?: (...) | (...);
                                    public?: (...) | (...) | (...);
                                    relatedLinks?: (...) | (...);
                                    scmId?: (...) | (...);
                                    scope?: (...) | (...);
                                    slug?: (...) | (...);
                                    state?: (...) | (...) | (...) | (...) | (...);
                                    statusMessage?: (...) | (...);
                                };
                                partition?: number;
                                project?: {
                                    avatar?: (...)
                                    | (...);
                                    avatarUrl?: (...) | (...);
                                    description?: (...) | (...);
                                    id?: (...) | (...);
                                    key: string;
                                    links?: (...) | (...);
                                    name?: (...) | (...);
                                    public?: (...) | (...) | (...);
                                    scope?: (...) | (...);
                                    type?: (...) | (...) | (...);
                                };
                                properties?: {
                                    contentHash?: (...)
                                    | (...);
                                    defaultBranchId?: (...) | (...);
                                    metadataHash?: (...) | (...);
                                };
                                public?: boolean;
                                relatedLinks?: Record<string, unknown>;
                                scmId?: string;
                                scope?: string;
                                slug?: string;
                                state?:
                                    | "AVAILABLE"
                                    | "INITIALISATION_FAILED"
                                    | "INITIALISING"
                                    | "OFFLINE";
                                statusMessage?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "409": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getAnnotations: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: {
                    commitId: string;
                    key: string;
                    projectKey: string;
                    repositorySlug: string;
                };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            annotations?: readonly {
                                externalId?: string;
                                line?: number;
                                link?: string;
                                message?: string;
                                path?: string;
                                reportKey?: string;
                                severity?: string;
                                type?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getAnnotations_1: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { commitId: string; projectKey: string; repositorySlug: string };
                query?: {
                    externalId?: string;
                    key?: string;
                    path?: string;
                    severity?: string;
                    type?: string;
                };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            annotations?: readonly {
                                externalId?: string;
                                line?: number;
                                link?: string;
                                message?: string;
                                path?: string;
                                reportKey?: string;
                                severity?: string;
                                type?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getApplicationProperties: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            buildDate?: string;
                            buildNumber?: string;
                            displayName?: string;
                            version?: string;
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getArchive: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string; repositorySlug: string };
                query?: {
                    at?: string;
                    filename?: string;
                    format?: string;
                    path?: string;
                    prefix?: string;
                };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: { "application/json": unknown };
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getAttachment: {
            parameters: {
                cookie?: undefined;
                header?: { Range?: string; "User-Agent"?: string };
                path: {
                    attachmentId: string;
                    projectKey: string;
                    repositorySlug: string;
                };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: { "application/json": unknown };
                    headers: Readonly<Record<string, unknown>>;
                };
                "206": {
                    content: { "application/json": unknown };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getAttachmentMetadata: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: {
                    attachmentId: string;
                    projectKey: string;
                    repositorySlug: string;
                };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": { id?: number; metadata?: string; url?: string };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getAutoDeclineSettings: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            enabled?: boolean;
                            inactivityWeeks?: number;
                            scope?: {
                                resourceId?: number;
                                type?: "GLOBAL"
                                | "PROJECT"
                                | "REPOSITORY";
                            };
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getAutoDeclineSettings_1: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string; repositorySlug: string };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            enabled?: boolean;
                            inactivityWeeks?: number;
                            scope?: {
                                resourceId?: number;
                                type?: "GLOBAL"
                                | "PROJECT"
                                | "REPOSITORY";
                            };
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getAutoMergeRequest: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: {
                    projectKey: string;
                    pullRequestId: string;
                    repositorySlug: string;
                };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            autoSubject?: boolean;
                            createdDate?: number;
                            fromHash?: string;
                            message?: string;
                            strategyId?: string;
                            toRefId?: string;
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getAvatar: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { hookKey: string };
                query?: { version?: string };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: { "application/json": unknown };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getBanner: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            audience?: "ALL"
                            | "AUTHENTICATED";
                            enabled?: boolean;
                            message?: string;
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "204": {
                    content?: undefined;
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getBranches: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string; repositorySlug: string };
                query?: {
                    base?: string;
                    boostMatches?: boolean;
                    context?: string;
                    details?: boolean;
                    filterText?: string;
                    limit?: number;
                    orderBy?: "ALPHABETICAL" | "MODIFICATION";
                    start?: number;
                };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            isLastPage?: boolean;
                            limit?: number;
                            nextPageStart?: number;
                            size?: number;
                            start?: number;
                            values?: readonly {
                                default?: boolean;
                                displayId?: string;
                                id?: string;
                                latestChangeset?: string;
                                latestCommit?: string;
                                type?: unknown;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getBuildStatus: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { commitId: string };
                query?: { limit?: number; orderBy?: string; start?: number };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            isLastPage?: boolean;
                            limit?: number;
                            nextPageStart?: number;
                            size?: number;
                            start?: number;
                            values?: readonly {
                                buildNumber?: string;
                                createdDate?: number;
                                description?: string;
                                duration?: number;
                                key?: string;
                                name?: string;
                                parent?: string;
                                ref?: string;
                                state?: | "FAILED"
                                | "INPROGRESS"
                                | "SUCCESSFUL"
                                | "UNKNOWN"
                                | "CANCELLED";
                                testResults?: {
                                    failed?: (...)
                                    | (...);
                                    skipped?: (...) | (...);
                                    successful?: (...) | (...);
                                };
                                updatedDate?: number;
                                url?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getBuildStatusStats: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { commitId: string };
                query?: { includeUnique?: boolean };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            cancelled?: number;
                            failed?: number;
                            inProgress?: number;
                            successful?: number;
                            unknown?: number;
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getById: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string; tokenId: string };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            createdDate?: string;
                            id?: string;
                            name?: string;
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getById_1: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string; repositorySlug: string; tokenId: string };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            createdDate?: string;
                            id?: string;
                            name?: string;
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getById_2: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { tokenId: string; userSlug: string };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            createdDate?: string;
                            id?: string;
                            name?: string;
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getCapabilities: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: { "application/json": { buildStatus?: readonly string[] } };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getCapabilities_1: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: { "application/json": unknown };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getChanges: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { commitId: string; projectKey: string; repositorySlug: string };
                query?: {
                    limit?: number;
                    since?: string;
                    start?: number;
                    withComments?: string;
                };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            isLastPage?: boolean;
                            limit?: number;
                            nextPageStart?: number;
                            size?: number;
                            start?: number;
                            values?: readonly {
                                conflict?: {
                                    ourChange?: (...)
                                    | (...);
                                    theirChange?: (...) | (...);
                                };
                                contentId?: string;
                                executable?: boolean;
                                fromContentId?: string;
                                links?: Record<string, unknown>;
                                nodeType?: "DIRECTORY" | "FILE" | "SUBMODULE";
                                path?: {
                                    components?: (...) | (...);
                                    extension?: (...) | (...);
                                    name?: (...) | (...);
                                    parent?: (...) | (...);
                                };
                                percentUnchanged?: number;
                                srcExecutable?: boolean;
                                srcPath?: {
                                    components?: (...)
                                    | (...);
                                    extension?: (...) | (...);
                                    name?: (...) | (...);
                                    parent?: (...) | (...);
                                };
                                type?: "UNKNOWN"
                                | "DELETE"
                                | "ADD"
                                | "COPY"
                                | "MODIFY"
                                | "MOVE";
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getChanges_1: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string; repositorySlug: string };
                query?: {
                    limit?: number;
                    since?: string;
                    start?: number;
                    until?: string;
                };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            isLastPage?: boolean;
                            limit?: number;
                            nextPageStart?: number;
                            size?: number;
                            start?: number;
                            values?: readonly {
                                conflict?: {
                                    ourChange?: (...)
                                    | (...);
                                    theirChange?: (...) | (...);
                                };
                                contentId?: string;
                                executable?: boolean;
                                fromContentId?: string;
                                links?: Record<string, unknown>;
                                nodeType?: "DIRECTORY" | "FILE" | "SUBMODULE";
                                path?: {
                                    components?: (...) | (...);
                                    extension?: (...) | (...);
                                    name?: (...) | (...);
                                    parent?: (...) | (...);
                                };
                                percentUnchanged?: number;
                                srcExecutable?: boolean;
                                srcPath?: {
                                    components?: (...)
                                    | (...);
                                    extension?: (...) | (...);
                                    name?: (...) | (...);
                                    parent?: (...) | (...);
                                };
                                type?: "UNKNOWN"
                                | "DELETE"
                                | "ADD"
                                | "COPY"
                                | "MODIFY"
                                | "MOVE";
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getComment: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: {
                    commentId: string;
                    commitId: string;
                    projectKey: string;
                    repositorySlug: string;
                };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            anchor?: {
                                diffType?: "COMMIT"
                                | "EFFECTIVE"
                                | "RANGE";
                                fileType?: "FROM" | "TO";
                                fromHash?: string;
                                line?: number;
                                lineType?: "ADDED" | "CONTEXT" | "REMOVED";
                                multilineMarker?: {
                                    startLine?: number;
                                    startLineType: "ADDED" | "CONTEXT" | "REMOVED";
                                };
                                path?: {
                                    components?: readonly (...)[];
                                    extension?: string;
                                    name?: string;
                                    parent?: string;
                                };
                                pullRequest?: {
                                    closed?: boolean;
                                    closedDate?: number;
                                    createdDate?: number;
                                    description?: string;
                                    descriptionAsHtml?: string;
                                    draft?: boolean;
                                    fromRef?: {
                                        displayId?: ...;
                                        id?: ...;
                                        latestCommit?: ...;
                                        repository?: ...;
                                        type?: ...;
                                    };
                                    htmlDescription?: string;
                                    id?: number;
                                    links?: Record<(...), (...)>;
                                    locked?: boolean;
                                    open?: boolean;
                                    participants?: readonly (...)[];
                                    reviewers?: readonly (...)[];
                                    state?: "DECLINED" | "MERGED" | "OPEN";
                                    title?: string;
                                    toRef?: {
                                        displayId?: ...;
                                        id?: ...;
                                        latestCommit?: ...;
                                        repository?: ...;
                                        type?: ...;
                                    };
                                    updatedDate?: number;
                                    version?: number;
                                };
                                srcPath?: {
                                    components?: readonly (...)[];
                                    extension?: string;
                                    name?: string;
                                    parent?: string;
                                };
                                toHash?: string;
                            };
                            anchored?: boolean;
                            author?: {
                                active?: boolean;
                                avatarUrl?: string;
                                displayName?: string;
                                emailAddress?: string;
                                id?: number;
                                links?: Record<string, unknown>;
                                name?: string;
                                slug?: string;
                                type?: "NORMAL" | "SERVICE";
                            };
                            comments?: readonly (
                                { readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineType?: "ADDED" | "CONTEXT" | "REMOVED"; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }
                            )[];
                            createdDate?: number;
                            html?: string;
                            id?: number;
                            parent?: {
                                anchor?: {
                                    diffType?: "COMMIT"
                                    | "EFFECTIVE"
                                    | "RANGE";
                                    fileType?: "FROM" | "TO";
                                    fromHash?: string;
                                    line?: number;
                                    lineType?: "ADDED" | "CONTEXT" | "REMOVED";
                                    multilineMarker?: { startLine?: ...; startLineType: ... };
                                    path?: {
                                        components?: ...;
                                        extension?: ...;
                                        name?: ...;
                                        parent?: ...;
                                    };
                                    pullRequest?: {
                                        closed?: ...;
                                        closedDate?: ...;
                                        createdDate?: ...;
                                        description?: ...;
                                        descriptionAsHtml?: ...;
                                        draft?: ...;
                                        fromRef?: ...;
                                        htmlDescription?: ...;
                                        id?: ...;
                                        links?: ...;
                                        locked?: ...;
                                        open?: ...;
                                        participants?: ...;
                                        reviewers?: ...;
                                        state?: ...;
                                        title?: ...;
                                        toRef?: ...;
                                        updatedDate?: ...;
                                        version?: ...;
                                    };
                                    srcPath?: {
                                        components?: ...;
                                        extension?: ...;
                                        name?: ...;
                                        parent?: ...;
                                    };
                                    toHash?: string;
                                };
                                anchored?: boolean;
                                author?: {
                                    active?: boolean;
                                    avatarUrl?: string;
                                    displayName?: string;
                                    emailAddress?: string;
                                    id?: number;
                                    links?: Record<(...), (...)>;
                                    name?: string;
                                    slug?: string;
                                    type?: "NORMAL" | "SERVICE";
                                };
                                comments?: readonly (
                                    { readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineType?: "ADDED" | "CONTEXT" | "REMOVED"; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }
                                )[];
                                createdDate?: number;
                                html?: string;
                                id?: number;
                                pending?: boolean;
                                properties?: Record<string, unknown>;
                                reply?: boolean;
                                resolvedDate?: number;
                                resolver?: {
                                    active?: boolean;
                                    avatarUrl?: string;
                                    displayName?: string;
                                    emailAddress?: string;
                                    id?: number;
                                    links?: Record<(...), (...)>;
                                    name?: string;
                                    slug?: string;
                                    type?: "NORMAL" | "SERVICE";
                                };
                                severity?: string;
                                state?: string;
                                text?: string;
                                threadResolved?: boolean;
                                threadResolvedDate?: number;
                                threadResolver?: {
                                    active?: boolean;
                                    avatarUrl?: string;
                                    displayName?: string;
                                    emailAddress?: string;
                                    id?: number;
                                    links?: Record<(...), (...)>;
                                    name?: string;
                                    slug?: string;
                                    type?: "NORMAL" | "SERVICE";
                                };
                                updatedDate?: number;
                                version?: number;
                            };
                            pending?: boolean;
                            properties?: Record<string, unknown>;
                            reply?: boolean;
                            resolvedDate?: number;
                            resolver?: {
                                active?: boolean;
                                avatarUrl?: string;
                                displayName?: string;
                                emailAddress?: string;
                                id?: number;
                                links?: Record<string, unknown>;
                                name?: string;
                                slug?: string;
                                type?: "NORMAL" | "SERVICE";
                            };
                            severity?: string;
                            state?: string;
                            text?: string;
                            threadResolved?: boolean;
                            threadResolvedDate?: number;
                            threadResolver?: {
                                active?: boolean;
                                avatarUrl?: string;
                                displayName?: string;
                                emailAddress?: string;
                                id?: number;
                                links?: Record<string, unknown>;
                                name?: string;
                                slug?: string;
                                type?: "NORMAL" | "SERVICE";
                            };
                            updatedDate?: number;
                            version?: number;
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getComment_1: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: {
                    commentId: string;
                    projectKey: string;
                    pullRequestId: string;
                    repositorySlug: string;
                };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            anchor?: {
                                diffType?: "COMMIT"
                                | "EFFECTIVE"
                                | "RANGE";
                                fileType?: "FROM" | "TO";
                                fromHash?: string;
                                line?: number;
                                lineType?: "ADDED" | "CONTEXT" | "REMOVED";
                                multilineMarker?: {
                                    startLine?: number;
                                    startLineType: "ADDED" | "CONTEXT" | "REMOVED";
                                };
                                path?: {
                                    components?: readonly (...)[];
                                    extension?: string;
                                    name?: string;
                                    parent?: string;
                                };
                                pullRequest?: {
                                    closed?: boolean;
                                    closedDate?: number;
                                    createdDate?: number;
                                    description?: string;
                                    descriptionAsHtml?: string;
                                    draft?: boolean;
                                    fromRef?: {
                                        displayId?: ...;
                                        id?: ...;
                                        latestCommit?: ...;
                                        repository?: ...;
                                        type?: ...;
                                    };
                                    htmlDescription?: string;
                                    id?: number;
                                    links?: Record<(...), (...)>;
                                    locked?: boolean;
                                    open?: boolean;
                                    participants?: readonly (...)[];
                                    reviewers?: readonly (...)[];
                                    state?: "DECLINED" | "MERGED" | "OPEN";
                                    title?: string;
                                    toRef?: {
                                        displayId?: ...;
                                        id?: ...;
                                        latestCommit?: ...;
                                        repository?: ...;
                                        type?: ...;
                                    };
                                    updatedDate?: number;
                                    version?: number;
                                };
                                srcPath?: {
                                    components?: readonly (...)[];
                                    extension?: string;
                                    name?: string;
                                    parent?: string;
                                };
                                toHash?: string;
                            };
                            anchored?: boolean;
                            author?: {
                                active?: boolean;
                                avatarUrl?: string;
                                displayName?: string;
                                emailAddress?: string;
                                id?: number;
                                links?: Record<string, unknown>;
                                name?: string;
                                slug?: string;
                                type?: "NORMAL" | "SERVICE";
                            };
                            comments?: readonly (
                                { readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineType?: "ADDED" | "CONTEXT" | "REMOVED"; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }
                            )[];
                            createdDate?: number;
                            html?: string;
                            id?: number;
                            parent?: {
                                anchor?: {
                                    diffType?: "COMMIT"
                                    | "EFFECTIVE"
                                    | "RANGE";
                                    fileType?: "FROM" | "TO";
                                    fromHash?: string;
                                    line?: number;
                                    lineType?: "ADDED" | "CONTEXT" | "REMOVED";
                                    multilineMarker?: { startLine?: ...; startLineType: ... };
                                    path?: {
                                        components?: ...;
                                        extension?: ...;
                                        name?: ...;
                                        parent?: ...;
                                    };
                                    pullRequest?: {
                                        closed?: ...;
                                        closedDate?: ...;
                                        createdDate?: ...;
                                        description?: ...;
                                        descriptionAsHtml?: ...;
                                        draft?: ...;
                                        fromRef?: ...;
                                        htmlDescription?: ...;
                                        id?: ...;
                                        links?: ...;
                                        locked?: ...;
                                        open?: ...;
                                        participants?: ...;
                                        reviewers?: ...;
                                        state?: ...;
                                        title?: ...;
                                        toRef?: ...;
                                        updatedDate?: ...;
                                        version?: ...;
                                    };
                                    srcPath?: {
                                        components?: ...;
                                        extension?: ...;
                                        name?: ...;
                                        parent?: ...;
                                    };
                                    toHash?: string;
                                };
                                anchored?: boolean;
                                author?: {
                                    active?: boolean;
                                    avatarUrl?: string;
                                    displayName?: string;
                                    emailAddress?: string;
                                    id?: number;
                                    links?: Record<(...), (...)>;
                                    name?: string;
                                    slug?: string;
                                    type?: "NORMAL" | "SERVICE";
                                };
                                comments?: readonly (
                                    { readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineType?: "ADDED" | "CONTEXT" | "REMOVED"; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }
                                )[];
                                createdDate?: number;
                                html?: string;
                                id?: number;
                                pending?: boolean;
                                properties?: Record<string, unknown>;
                                reply?: boolean;
                                resolvedDate?: number;
                                resolver?: {
                                    active?: boolean;
                                    avatarUrl?: string;
                                    displayName?: string;
                                    emailAddress?: string;
                                    id?: number;
                                    links?: Record<(...), (...)>;
                                    name?: string;
                                    slug?: string;
                                    type?: "NORMAL" | "SERVICE";
                                };
                                severity?: string;
                                state?: string;
                                text?: string;
                                threadResolved?: boolean;
                                threadResolvedDate?: number;
                                threadResolver?: {
                                    active?: boolean;
                                    avatarUrl?: string;
                                    displayName?: string;
                                    emailAddress?: string;
                                    id?: number;
                                    links?: Record<(...), (...)>;
                                    name?: string;
                                    slug?: string;
                                    type?: "NORMAL" | "SERVICE";
                                };
                                updatedDate?: number;
                                version?: number;
                            };
                            pending?: boolean;
                            properties?: Record<string, unknown>;
                            reply?: boolean;
                            resolvedDate?: number;
                            resolver?: {
                                active?: boolean;
                                avatarUrl?: string;
                                displayName?: string;
                                emailAddress?: string;
                                id?: number;
                                links?: Record<string, unknown>;
                                name?: string;
                                slug?: string;
                                type?: "NORMAL" | "SERVICE";
                            };
                            severity?: string;
                            state?: string;
                            text?: string;
                            threadResolved?: boolean;
                            threadResolvedDate?: number;
                            threadResolver?: {
                                active?: boolean;
                                avatarUrl?: string;
                                displayName?: string;
                                emailAddress?: string;
                                id?: number;
                                links?: Record<string, unknown>;
                                name?: string;
                                slug?: string;
                                type?: "NORMAL" | "SERVICE";
                            };
                            updatedDate?: number;
                            version?: number;
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getComment_2: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: {
                    commentId: string;
                    projectKey: string;
                    pullRequestId: string;
                    repositorySlug: string;
                };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            anchor?: {
                                diffType?: "COMMIT"
                                | "EFFECTIVE"
                                | "RANGE";
                                fileType?: "FROM" | "TO";
                                fromHash?: string;
                                line?: number;
                                lineType?: "ADDED" | "CONTEXT" | "REMOVED";
                                multilineMarker?: {
                                    startLine?: number;
                                    startLineType: "ADDED" | "CONTEXT" | "REMOVED";
                                };
                                path?: {
                                    components?: readonly (...)[];
                                    extension?: string;
                                    name?: string;
                                    parent?: string;
                                };
                                pullRequest?: {
                                    closed?: boolean;
                                    closedDate?: number;
                                    createdDate?: number;
                                    description?: string;
                                    descriptionAsHtml?: string;
                                    draft?: boolean;
                                    fromRef?: {
                                        displayId?: ...;
                                        id?: ...;
                                        latestCommit?: ...;
                                        repository?: ...;
                                        type?: ...;
                                    };
                                    htmlDescription?: string;
                                    id?: number;
                                    links?: Record<(...), (...)>;
                                    locked?: boolean;
                                    open?: boolean;
                                    participants?: readonly (...)[];
                                    reviewers?: readonly (...)[];
                                    state?: "DECLINED" | "MERGED" | "OPEN";
                                    title?: string;
                                    toRef?: {
                                        displayId?: ...;
                                        id?: ...;
                                        latestCommit?: ...;
                                        repository?: ...;
                                        type?: ...;
                                    };
                                    updatedDate?: number;
                                    version?: number;
                                };
                                srcPath?: {
                                    components?: readonly (...)[];
                                    extension?: string;
                                    name?: string;
                                    parent?: string;
                                };
                                toHash?: string;
                            };
                            anchored?: boolean;
                            author?: {
                                active?: boolean;
                                avatarUrl?: string;
                                displayName?: string;
                                emailAddress?: string;
                                id?: number;
                                links?: Record<string, unknown>;
                                name?: string;
                                slug?: string;
                                type?: "NORMAL" | "SERVICE";
                            };
                            comments?: readonly (
                                { readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineType?: "ADDED" | "CONTEXT" | "REMOVED"; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }
                            )[];
                            createdDate?: number;
                            html?: string;
                            id?: number;
                            parent?: {
                                anchor?: {
                                    diffType?: "COMMIT"
                                    | "EFFECTIVE"
                                    | "RANGE";
                                    fileType?: "FROM" | "TO";
                                    fromHash?: string;
                                    line?: number;
                                    lineType?: "ADDED" | "CONTEXT" | "REMOVED";
                                    multilineMarker?: { startLine?: ...; startLineType: ... };
                                    path?: {
                                        components?: ...;
                                        extension?: ...;
                                        name?: ...;
                                        parent?: ...;
                                    };
                                    pullRequest?: {
                                        closed?: ...;
                                        closedDate?: ...;
                                        createdDate?: ...;
                                        description?: ...;
                                        descriptionAsHtml?: ...;
                                        draft?: ...;
                                        fromRef?: ...;
                                        htmlDescription?: ...;
                                        id?: ...;
                                        links?: ...;
                                        locked?: ...;
                                        open?: ...;
                                        participants?: ...;
                                        reviewers?: ...;
                                        state?: ...;
                                        title?: ...;
                                        toRef?: ...;
                                        updatedDate?: ...;
                                        version?: ...;
                                    };
                                    srcPath?: {
                                        components?: ...;
                                        extension?: ...;
                                        name?: ...;
                                        parent?: ...;
                                    };
                                    toHash?: string;
                                };
                                anchored?: boolean;
                                author?: {
                                    active?: boolean;
                                    avatarUrl?: string;
                                    displayName?: string;
                                    emailAddress?: string;
                                    id?: number;
                                    links?: Record<(...), (...)>;
                                    name?: string;
                                    slug?: string;
                                    type?: "NORMAL" | "SERVICE";
                                };
                                comments?: readonly (
                                    { readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineType?: "ADDED" | "CONTEXT" | "REMOVED"; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }
                                )[];
                                createdDate?: number;
                                html?: string;
                                id?: number;
                                pending?: boolean;
                                properties?: Record<string, unknown>;
                                reply?: boolean;
                                resolvedDate?: number;
                                resolver?: {
                                    active?: boolean;
                                    avatarUrl?: string;
                                    displayName?: string;
                                    emailAddress?: string;
                                    id?: number;
                                    links?: Record<(...), (...)>;
                                    name?: string;
                                    slug?: string;
                                    type?: "NORMAL" | "SERVICE";
                                };
                                severity?: string;
                                state?: string;
                                text?: string;
                                threadResolved?: boolean;
                                threadResolvedDate?: number;
                                threadResolver?: {
                                    active?: boolean;
                                    avatarUrl?: string;
                                    displayName?: string;
                                    emailAddress?: string;
                                    id?: number;
                                    links?: Record<(...), (...)>;
                                    name?: string;
                                    slug?: string;
                                    type?: "NORMAL" | "SERVICE";
                                };
                                updatedDate?: number;
                                version?: number;
                            };
                            pending?: boolean;
                            properties?: Record<string, unknown>;
                            reply?: boolean;
                            resolvedDate?: number;
                            resolver?: {
                                active?: boolean;
                                avatarUrl?: string;
                                displayName?: string;
                                emailAddress?: string;
                                id?: number;
                                links?: Record<string, unknown>;
                                name?: string;
                                slug?: string;
                                type?: "NORMAL" | "SERVICE";
                            };
                            severity?: string;
                            state?: string;
                            text?: string;
                            threadResolved?: boolean;
                            threadResolvedDate?: number;
                            threadResolver?: {
                                active?: boolean;
                                avatarUrl?: string;
                                displayName?: string;
                                emailAddress?: string;
                                id?: number;
                                links?: Record<string, unknown>;
                                name?: string;
                                slug?: string;
                                type?: "NORMAL" | "SERVICE";
                            };
                            updatedDate?: number;
                            version?: number;
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getComments: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { commitId: string; projectKey: string; repositorySlug: string };
                query?: { limit?: number; path?: string; since?: string; start?: number };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            isLastPage?: boolean;
                            limit?: number;
                            nextPageStart?: number;
                            size?: number;
                            start?: number;
                            values?: readonly {
                                anchor?: {
                                    diffType?: (...)
                                    | (...)
                                    | (...)
                                    | (...);
                                    fileType?: (...) | (...) | (...);
                                    fromHash?: (...) | (...);
                                    line?: (...) | (...);
                                    lineType?: (...) | (...) | (...) | (...);
                                    multilineMarker?: (...) | (...);
                                    path?: (...) | (...);
                                    pullRequest?: (...) | (...);
                                    srcPath?: (...) | (...);
                                    toHash?: (...) | (...);
                                };
                                anchored?: boolean;
                                author?: {
                                    active?: (...)
                                    | (...)
                                    | (...);
                                    avatarUrl?: (...) | (...);
                                    displayName?: (...) | (...);
                                    emailAddress?: (...) | (...);
                                    id?: (...) | (...);
                                    links?: (...) | (...);
                                    name?: (...) | (...);
                                    slug?: (...) | (...);
                                    type?: (...) | (...) | (...);
                                };
                                comments?: readonly { readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineType?: "ADDED" | "CONTEXT" | "REMOVED"; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }[]...;
                                createdDate?: number;
                                html?: string;
                                id?: number;
                                parent?: {
                                    anchor?: (...)
                                    | (...);
                                    anchored?: (...) | (...) | (...);
                                    author?: (...) | (...);
                                    comments?: readonly { readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineType?: "ADDED" | "CONTEXT" | "REMOVED"; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }[]...;
                                    createdDate?: (...) | (...);
                                    html?: (...) | (...);
                                    id?: (...) | (...);
                                    pending?: (...) | (...) | (...);
                                    properties?: (...) | (...);
                                    reply?: (...) | (...) | (...);
                                    resolvedDate?: (...) | (...);
                                    resolver?: (...) | (...);
                                    severity?: (...) | (...);
                                    state?: (...) | (...);
                                    text?: (...) | (...);
                                    threadResolved?: (...) | (...) | (...);
                                    threadResolvedDate?: (...) | (...);
                                    threadResolver?: (...) | (...);
                                    updatedDate?: (...) | (...);
                                    version?: (...) | (...);
                                };
                                pending?: boolean;
                                properties?: Record<string, unknown>;
                                reply?: boolean;
                                resolvedDate?: number;
                                resolver?: {
                                    active?: (...) | (...) | (...);
                                    avatarUrl?: (...) | (...);
                                    displayName?: (...) | (...);
                                    emailAddress?: (...) | (...);
                                    id?: (...) | (...);
                                    links?: (...) | (...);
                                    name?: (...) | (...);
                                    slug?: (...) | (...);
                                    type?: (...) | (...) | (...);
                                };
                                severity?: string;
                                state?: string;
                                text?: string;
                                threadResolved?: boolean;
                                threadResolvedDate?: number;
                                threadResolver?: {
                                    active?: (...)
                                    | (...)
                                    | (...);
                                    avatarUrl?: (...) | (...);
                                    displayName?: (...) | (...);
                                    emailAddress?: (...) | (...);
                                    id?: (...) | (...);
                                    links?: (...) | (...);
                                    name?: (...) | (...);
                                    slug?: (...) | (...);
                                    type?: (...) | (...) | (...);
                                };
                                updatedDate?: number;
                                version?: number;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getComments_1: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: {
                    projectKey: string;
                    pullRequestId: string;
                    repositorySlug: string;
                };
                query?: {
                    count?: string;
                    limit?: number;
                    start?: number;
                    state?: readonly string[];
                    states?: string;
                };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            isLastPage?: boolean;
                            limit?: number;
                            nextPageStart?: number;
                            size?: number;
                            start?: number;
                            values?: readonly {
                                anchor?: {
                                    diffType?: (...)
                                    | (...)
                                    | (...)
                                    | (...);
                                    fileType?: (...) | (...) | (...);
                                    fromHash?: (...) | (...);
                                    line?: (...) | (...);
                                    lineType?: (...) | (...) | (...) | (...);
                                    multilineMarker?: (...) | (...);
                                    path?: (...) | (...);
                                    pullRequest?: (...) | (...);
                                    srcPath?: (...) | (...);
                                    toHash?: (...) | (...);
                                };
                                anchored?: boolean;
                                author?: {
                                    active?: (...)
                                    | (...)
                                    | (...);
                                    avatarUrl?: (...) | (...);
                                    displayName?: (...) | (...);
                                    emailAddress?: (...) | (...);
                                    id?: (...) | (...);
                                    links?: (...) | (...);
                                    name?: (...) | (...);
                                    slug?: (...) | (...);
                                    type?: (...) | (...) | (...);
                                };
                                comments?: readonly { readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineType?: "ADDED" | "CONTEXT" | "REMOVED"; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }[]...;
                                createdDate?: number;
                                html?: string;
                                id?: number;
                                parent?: {
                                    anchor?: (...)
                                    | (...);
                                    anchored?: (...) | (...) | (...);
                                    author?: (...) | (...);
                                    comments?: readonly { readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineType?: "ADDED" | "CONTEXT" | "REMOVED"; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }[]...;
                                    createdDate?: (...) | (...);
                                    html?: (...) | (...);
                                    id?: (...) | (...);
                                    pending?: (...) | (...) | (...);
                                    properties?: (...) | (...);
                                    reply?: (...) | (...) | (...);
                                    resolvedDate?: (...) | (...);
                                    resolver?: (...) | (...);
                                    severity?: (...) | (...);
                                    state?: (...) | (...);
                                    text?: (...) | (...);
                                    threadResolved?: (...) | (...) | (...);
                                    threadResolvedDate?: (...) | (...);
                                    threadResolver?: (...) | (...);
                                    updatedDate?: (...) | (...);
                                    version?: (...) | (...);
                                };
                                pending?: boolean;
                                properties?: Record<string, unknown>;
                                reply?: boolean;
                                resolvedDate?: number;
                                resolver?: {
                                    active?: (...) | (...) | (...);
                                    avatarUrl?: (...) | (...);
                                    displayName?: (...) | (...);
                                    emailAddress?: (...) | (...);
                                    id?: (...) | (...);
                                    links?: (...) | (...);
                                    name?: (...) | (...);
                                    slug?: (...) | (...);
                                    type?: (...) | (...) | (...);
                                };
                                severity?: string;
                                state?: string;
                                text?: string;
                                threadResolved?: boolean;
                                threadResolvedDate?: number;
                                threadResolver?: {
                                    active?: (...)
                                    | (...)
                                    | (...);
                                    avatarUrl?: (...) | (...);
                                    displayName?: (...) | (...);
                                    emailAddress?: (...) | (...);
                                    id?: (...) | (...);
                                    links?: (...) | (...);
                                    name?: (...) | (...);
                                    slug?: (...) | (...);
                                    type?: (...) | (...) | (...);
                                };
                                updatedDate?: number;
                                version?: number;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getComments_2: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: {
                    projectKey: string;
                    pullRequestId: string;
                    repositorySlug: string;
                };
                query: {
                    anchorState?: string;
                    diffType?: readonly string[];
                    diffTypes?: string;
                    fromHash?: string;
                    limit?: number;
                    path: string;
                    start?: number;
                    state?: readonly string[];
                    states?: string;
                    toHash?: string;
                };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            isLastPage?: boolean;
                            limit?: number;
                            nextPageStart?: number;
                            size?: number;
                            start?: number;
                            values?: readonly {
                                anchor?: {
                                    diffType?: (...)
                                    | (...)
                                    | (...)
                                    | (...);
                                    fileType?: (...) | (...) | (...);
                                    fromHash?: (...) | (...);
                                    line?: (...) | (...);
                                    lineType?: (...) | (...) | (...) | (...);
                                    multilineMarker?: (...) | (...);
                                    path?: (...) | (...);
                                    pullRequest?: (...) | (...);
                                    srcPath?: (...) | (...);
                                    toHash?: (...) | (...);
                                };
                                anchored?: boolean;
                                author?: {
                                    active?: (...)
                                    | (...)
                                    | (...);
                                    avatarUrl?: (...) | (...);
                                    displayName?: (...) | (...);
                                    emailAddress?: (...) | (...);
                                    id?: (...) | (...);
                                    links?: (...) | (...);
                                    name?: (...) | (...);
                                    slug?: (...) | (...);
                                    type?: (...) | (...) | (...);
                                };
                                comments?: readonly { readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineType?: "ADDED" | "CONTEXT" | "REMOVED"; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }[]...;
                                createdDate?: number;
                                html?: string;
                                id?: number;
                                parent?: {
                                    anchor?: (...)
                                    | (...);
                                    anchored?: (...) | (...) | (...);
                                    author?: (...) | (...);
                                    comments?: readonly { readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineType?: "ADDED" | "CONTEXT" | "REMOVED"; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }[]...;
                                    createdDate?: (...) | (...);
                                    html?: (...) | (...);
                                    id?: (...) | (...);
                                    pending?: (...) | (...) | (...);
                                    properties?: (...) | (...);
                                    reply?: (...) | (...) | (...);
                                    resolvedDate?: (...) | (...);
                                    resolver?: (...) | (...);
                                    severity?: (...) | (...);
                                    state?: (...) | (...);
                                    text?: (...) | (...);
                                    threadResolved?: (...) | (...) | (...);
                                    threadResolvedDate?: (...) | (...);
                                    threadResolver?: (...) | (...);
                                    updatedDate?: (...) | (...);
                                    version?: (...) | (...);
                                };
                                pending?: boolean;
                                properties?: Record<string, unknown>;
                                reply?: boolean;
                                resolvedDate?: number;
                                resolver?: {
                                    active?: (...) | (...) | (...);
                                    avatarUrl?: (...) | (...);
                                    displayName?: (...) | (...);
                                    emailAddress?: (...) | (...);
                                    id?: (...) | (...);
                                    links?: (...) | (...);
                                    name?: (...) | (...);
                                    slug?: (...) | (...);
                                    type?: (...) | (...) | (...);
                                };
                                severity?: string;
                                state?: string;
                                text?: string;
                                threadResolved?: boolean;
                                threadResolvedDate?: number;
                                threadResolver?: {
                                    active?: (...)
                                    | (...)
                                    | (...);
                                    avatarUrl?: (...) | (...);
                                    displayName?: (...) | (...);
                                    emailAddress?: (...) | (...);
                                    id?: (...) | (...);
                                    links?: (...) | (...);
                                    name?: (...) | (...);
                                    slug?: (...) | (...);
                                    type?: (...) | (...) | (...);
                                };
                                updatedDate?: number;
                                version?: number;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getCommit: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { commitId: string; projectKey: string; repositorySlug: string };
                query?: { path?: string };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            author?: {
                                avatarUrl?: string;
                                emailAddress?: string;
                                name?: string;
                            };
                            authorTimestamp?: number;
                            committer?: {
                                avatarUrl?: string;
                                emailAddress?: string;
                                name?: string;
                            };
                            committerTimestamp?: number;
                            displayId?: string;
                            id?: string;
                            message?: string;
                            parents?: readonly { displayId?: string; id?: string }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getCommitMessageSuggestion: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: {
                    projectKey: string;
                    pullRequestId: string;
                    repositorySlug: string;
                };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: { "application/json": { body?: string; title?: string } };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getCommits: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string; repositorySlug: string };
                query?: {
                    avatarScheme?: string;
                    avatarSize?: string;
                    followRenames?: string;
                    ignoreMissing?: string;
                    limit?: number;
                    merges?: string;
                    path?: string;
                    since?: string;
                    start?: number;
                    until?: string;
                    withCounts?: string;
                };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            isLastPage?: boolean;
                            limit?: number;
                            nextPageStart?: number;
                            size?: number;
                            start?: number;
                            values?: readonly {
                                author?: {
                                    avatarUrl?: (...)
                                    | (...);
                                    emailAddress?: (...) | (...);
                                    name?: (...) | (...);
                                };
                                authorTimestamp?: number;
                                committer?: {
                                    avatarUrl?: (...)
                                    | (...);
                                    emailAddress?: (...) | (...);
                                    name?: (...) | (...);
                                };
                                committerTimestamp?: number;
                                displayId?: string;
                                id?: string;
                                message?: string;
                                parents?: readonly { displayId?: ...; id?: ... }[];
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getCommits_1: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: {
                    projectKey: string;
                    pullRequestId: string;
                    repositorySlug: string;
                };
                query?: {
                    avatarScheme?: string;
                    avatarSize?: string;
                    limit?: number;
                    start?: number;
                    withCounts?: string;
                };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            isLastPage?: boolean;
                            limit?: number;
                            nextPageStart?: number;
                            size?: number;
                            start?: number;
                            values?: readonly {
                                author?: {
                                    avatarUrl?: (...)
                                    | (...);
                                    emailAddress?: (...) | (...);
                                    name?: (...) | (...);
                                };
                                authorTimestamp?: number;
                                committer?: {
                                    avatarUrl?: (...)
                                    | (...);
                                    emailAddress?: (...) | (...);
                                    name?: (...) | (...);
                                };
                                committerTimestamp?: number;
                                displayId?: string;
                                id?: string;
                                message?: string;
                                parents?: readonly { displayId?: ...; id?: ... }[];
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getCommitsByIssueKey: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { issueKey: string };
                query?: { limit?: number; maxChanges?: string; start?: number };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            isLastPage?: boolean;
                            limit?: number;
                            nextPageStart?: number;
                            size?: number;
                            start?: number;
                            values?: readonly {
                                changes?: {
                                    isLastPage?: (...)
                                    | (...)
                                    | (...);
                                    limit?: (...) | (...);
                                    nextPageStart?: (...) | (...);
                                    size?: (...) | (...);
                                    start?: (...) | (...);
                                    values?: (...) | (...);
                                };
                                fromCommit?: { displayId?: (...)
                                | (...); id?: (...) | (...) };
                                links?: Record<string, unknown>;
                                repository?: {
                                    archived?: (...) | (...) | (...);
                                    defaultBranch?: (...) | (...);
                                    description?: (...) | (...);
                                    forkable?: (...) | (...) | (...);
                                    hierarchyId?: (...) | (...);
                                    id?: (...) | (...);
                                    links?: (...) | (...);
                                    name?: (...) | (...);
                                    origin?: (...) | (...);
                                    partition?: (...) | (...);
                                    project?: (...) | (...);
                                    public?: (...) | (...) | (...);
                                    relatedLinks?: (...) | (...);
                                    scmId?: (...) | (...);
                                    scope?: (...) | (...);
                                    slug?: (...) | (...);
                                    state?: (...) | (...) | (...) | (...) | (...);
                                    statusMessage?: (...) | (...);
                                };
                                toCommit?: {
                                    author?: (...)
                                    | (...);
                                    authorTimestamp?: (...) | (...);
                                    committer?: (...) | (...);
                                    committerTimestamp?: (...) | (...);
                                    displayId?: (...) | (...);
                                    id?: (...) | (...);
                                    message?: (...) | (...);
                                    parents?: (...) | (...);
                                };
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getConfigurations: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string };
                query?: { limit?: number; start?: number };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            isLastPage?: boolean;
                            limit?: number;
                            nextPageStart?: number;
                            size?: number;
                            start?: number;
                            values?: readonly {
                                scope?: {
                                    resourceId?: (...)
                                    | (...);
                                    type?: (...) | (...) | (...) | (...);
                                };
                                script?: {
                                    createdDate?: (...)
                                    | (...);
                                    description?: (...) | (...);
                                    id?: (...) | (...);
                                    name?: (...) | (...);
                                    pluginKey?: (...) | (...);
                                    type?: (...) | (...) | (...);
                                    updatedDate?: (...) | (...);
                                    version?: (...) | (...);
                                };
                                triggerIds?: readonly string[];
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getConfigurations_1: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string; repositorySlug: string };
                query?: { limit?: number; start?: number };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            isLastPage?: boolean;
                            limit?: number;
                            nextPageStart?: number;
                            size?: number;
                            start?: number;
                            values?: readonly {
                                scope?: {
                                    resourceId?: (...)
                                    | (...);
                                    type?: (...) | (...) | (...) | (...);
                                };
                                script?: {
                                    createdDate?: (...)
                                    | (...);
                                    description?: (...) | (...);
                                    id?: (...) | (...);
                                    name?: (...) | (...);
                                    pluginKey?: (...) | (...);
                                    type?: (...) | (...) | (...);
                                    updatedDate?: (...) | (...);
                                    version?: (...) | (...);
                                };
                                triggerIds?: readonly string[];
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getContent: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string; repositorySlug: string };
                query?: {
                    at?: string;
                    blame?: string;
                    noContent?: string;
                    size?: string;
                    type?: string;
                };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: { "application/json": unknown };
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getContent_1: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { path: string; projectKey: string; repositorySlug: string };
                query?: {
                    at?: string;
                    blame?: string;
                    noContent?: string;
                    size?: string;
                    type?: string;
                };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: { "application/json": unknown };
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getContentHashById: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { repoId: string };
                query?: { includeDefaultBranch?: boolean };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            archived?: boolean;
                            defaultBranch?: string;
                            description?: string;
                            forkable?: boolean;
                            hierarchyId?: string;
                            id?: number;
                            links?: Record<string, unknown>;
                            name?: string;
                            origin?: {
                                archived?: boolean;
                                defaultBranch?: string;
                                description?: string;
                                forkable?: boolean;
                                hierarchyId?: string;
                                id?: number;
                                links?: Record<string, unknown>;
                                name?: string;
                                partition?: number;
                                project?: {
                                    avatar?: string;
                                    avatarUrl?: string;
                                    description?: string;
                                    id?: number;
                                    key: string;
                                    links?: Record<(...), (...)>;
                                    name?: string;
                                    public?: boolean;
                                    scope?: string;
                                    type?: "NORMAL" | "PERSONAL";
                                };
                                public?: boolean;
                                relatedLinks?: Record<string, unknown>;
                                scmId?: string;
                                scope?: string;
                                slug?: string;
                                state?:
                                    | "AVAILABLE"
                                    | "INITIALISATION_FAILED"
                                    | "INITIALISING"
                                    | "OFFLINE";
                                statusMessage?: string;
                            };
                            partition?: number;
                            project?: {
                                avatar?: string;
                                avatarUrl?: string;
                                description?: string;
                                id?: number;
                                key: string;
                                links?: Record<string, unknown>;
                                name?: string;
                                public?: boolean;
                                scope?: string;
                                type?: "NORMAL" | "PERSONAL";
                            };
                            properties?: {
                                contentHash?: string;
                                defaultBranchId?: string;
                                metadataHash?: string;
                            };
                            public?: boolean;
                            relatedLinks?: Record<string, unknown>;
                            scmId?: string;
                            scope?: string;
                            slug?: string;
                            state?:
                                | "AVAILABLE"
                                | "INITIALISATION_FAILED"
                                | "INITIALISING"
                                | "OFFLINE";
                            statusMessage?: string;
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getControlPlanePublicKey: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: { "text/plain": unknown };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getDefaultBranch: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: { "application/json": unknown };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getDefaultBranch_1: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string; repositorySlug: string };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            default?: boolean;
                            displayId?: string;
                            id?: string;
                            latestChangeset?: string;
                            latestCommit?: string;
                            type?: unknown;
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "204": {
                    content?: undefined;
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getDefaultBranch_2: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string; repositorySlug: string };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            displayId?: string;
                            id?: string;
                            type?: "BRANCH"
                            | "TAG";
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getDefaultTasks: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string };
                query?: { limit?: number; markup?: string; start?: number };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            isLastPage?: boolean;
                            limit?: number;
                            nextPageStart?: number;
                            size?: number;
                            start?: number;
                            values?: readonly { description?: string; html?: string; id?: number }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getDefaultTasks_1: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string; repositorySlug: string };
                query?: { limit?: number; markup?: string; start?: number };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            isLastPage?: boolean;
                            limit?: number;
                            nextPageStart?: number;
                            size?: number;
                            start?: number;
                            values?: readonly { description?: string; html?: string; id?: number }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getDiffStatsSummary: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: {
                    commitId: string;
                    path: string;
                    projectKey: string;
                    repositorySlug: string;
                };
                query?: {
                    autoSrcPath?: string;
                    since?: string;
                    srcPath?: string;
                    whitespace?: string;
                };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: { "application/json": unknown };
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getDiffStatsSummary_1: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { path: string; projectKey: string; repositorySlug: string };
                query?: {
                    from?: string;
                    fromRepo?: string;
                    srcPath?: string;
                    to?: string;
                    whitespace?: string;
                };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            binary?: boolean;
                            destination?: {
                                components?: readonly string[];
                                extension?: string;
                                name?: string;
                                parent?: string;
                            };
                            hunks?: readonly {
                                context?: string;
                                destinationLine?: number;
                                destinationSpan?: number;
                                segments?: readonly { lines?: ...; truncated?: ...; type?: ... }[];
                                sourceLine?: number;
                                sourceSpan?: number;
                                truncated?: boolean;
                            }[];
                            lineComments?: readonly {
                                anchor?: {
                                    diffType?: (...)
                                    | (...)
                                    | (...)
                                    | (...);
                                    fileType?: (...) | (...) | (...);
                                    fromHash?: (...) | (...);
                                    line?: (...) | (...);
                                    lineType?: (...) | (...) | (...) | (...);
                                    multilineMarker?: (...) | (...);
                                    path?: (...) | (...);
                                    pullRequest?: (...) | (...);
                                    srcPath?: (...) | (...);
                                    toHash?: (...) | (...);
                                };
                                anchored?: boolean;
                                author?: {
                                    active?: (...)
                                    | (...)
                                    | (...);
                                    avatarUrl?: (...) | (...);
                                    displayName?: (...) | (...);
                                    emailAddress?: (...) | (...);
                                    id?: (...) | (...);
                                    links?: (...) | (...);
                                    name?: (...) | (...);
                                    slug?: (...) | (...);
                                    type?: (...) | (...) | (...);
                                };
                                comments?: readonly { readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineType?: "ADDED" | "CONTEXT" | "REMOVED"; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }[]...;
                                createdDate?: number;
                                html?: string;
                                id?: number;
                                parent?: {
                                    anchor?: (...)
                                    | (...);
                                    anchored?: (...) | (...) | (...);
                                    author?: (...) | (...);
                                    comments?: readonly { readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineType?: "ADDED" | "CONTEXT" | "REMOVED"; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }[]...;
                                    createdDate?: (...) | (...);
                                    html?: (...) | (...);
                                    id?: (...) | (...);
                                    pending?: (...) | (...) | (...);
                                    properties?: (...) | (...);
                                    reply?: (...) | (...) | (...);
                                    resolvedDate?: (...) | (...);
                                    resolver?: (...) | (...);
                                    severity?: (...) | (...);
                                    state?: (...) | (...);
                                    text?: (...) | (...);
                                    threadResolved?: (...) | (...) | (...);
                                    threadResolvedDate?: (...) | (...);
                                    threadResolver?: (...) | (...);
                                    updatedDate?: (...) | (...);
                                    version?: (...) | (...);
                                };
                                pending?: boolean;
                                properties?: Record<string, unknown>;
                                reply?: boolean;
                                resolvedDate?: number;
                                resolver?: {
                                    active?: (...) | (...) | (...);
                                    avatarUrl?: (...) | (...);
                                    displayName?: (...) | (...);
                                    emailAddress?: (...) | (...);
                                    id?: (...) | (...);
                                    links?: (...) | (...);
                                    name?: (...) | (...);
                                    slug?: (...) | (...);
                                    type?: (...) | (...) | (...);
                                };
                                severity?: string;
                                state?: string;
                                text?: string;
                                threadResolved?: boolean;
                                threadResolvedDate?: number;
                                threadResolver?: {
                                    active?: (...)
                                    | (...)
                                    | (...);
                                    avatarUrl?: (...) | (...);
                                    displayName?: (...) | (...);
                                    emailAddress?: (...) | (...);
                                    id?: (...) | (...);
                                    links?: (...) | (...);
                                    name?: (...) | (...);
                                    slug?: (...) | (...);
                                    type?: (...) | (...) | (...);
                                };
                                updatedDate?: number;
                                version?: number;
                            }[];
                            properties?: Record<string, unknown>;
                            source?: {
                                components?: readonly string[];
                                extension?: string;
                                name?: string;
                                parent?: string;
                            };
                            truncated?: boolean;
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getDiffStatsSummary_2: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: {
                    path: string;
                    projectKey: string;
                    pullRequestId: string;
                    repositorySlug: string;
                };
                query?: {
                    sinceId?: string;
                    srcPath?: string;
                    untilId?: string;
                    whitespace?: string;
                };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: { "application/json": unknown };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getEnhancedEntityLinkForProject: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            applicationLinkId?: string;
                            displayUrl?: string;
                            projectId?: number;
                            projectKey?: string;
                            projectName?: string;
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getExportJob: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { jobId: string };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            endDate?: number;
                            id?: number;
                            initiator?: {
                                active?: boolean;
                                avatarUrl?: string;
                                displayName?: string;
                                emailAddress?: string;
                                id?: number;
                                links?: Record<string, unknown>;
                                name?: string;
                                slug?: string;
                                type?: "NORMAL" | "SERVICE";
                            };
                            nodeId?: string;
                            progress?: { message?: string; percentage?: number };
                            startDate?: number;
                            state?:
                                | "FAILED"
                                | "COMPLETED"
                                | "RUNNING"
                                | "READY"
                                | "INITIALISING"
                                | "ABORTED"
                                | "CANCELED"
                                | "CANCELING"
                                | "FINALISING"
                                | "TIMED_OUT";
                            type?: string;
                            updatedDate?: number;
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getExportJobMessages: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { jobId: string };
                query?: {
                    limit?: number;
                    severity?: string;
                    start?: number;
                    subject?: string;
                };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            isLastPage?: boolean;
                            limit?: number;
                            nextPageStart?: number;
                            size?: number;
                            start?: number;
                            values?: readonly {
                                createdDate?: string;
                                id?: string;
                                severity?: "ERROR"
                                | "INFO"
                                | "WARN";
                                subject?: string;
                                text?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getFarmNodes: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json;charset=UTF-8": readonly {
                            address?: { address?: string; port?: number };
                            buildVersion?: string;
                            id?: string;
                            local?: boolean;
                            name?: string;
                        }[];
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json;charset=UTF-8": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getForkedRepositories: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string; repositorySlug: string };
                query?: { limit?: number; start?: number };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            isLastPage?: boolean;
                            limit?: number;
                            nextPageStart?: number;
                            size?: number;
                            start?: number;
                            values?: readonly {
                                archived?: boolean;
                                defaultBranch?: string;
                                description?: string;
                                forkable?: boolean;
                                hierarchyId?: string;
                                id?: number;
                                links?: Record<string, unknown>;
                                name?: string;
                                origin?: {
                                    archived?: (...) | (...) | (...);
                                    defaultBranch?: (...) | (...);
                                    description?: (...) | (...);
                                    forkable?: (...) | (...) | (...);
                                    hierarchyId?: (...) | (...);
                                    id?: (...) | (...);
                                    links?: (...) | (...);
                                    name?: (...) | (...);
                                    partition?: (...) | (...);
                                    project?: (...) | (...);
                                    public?: (...) | (...) | (...);
                                    relatedLinks?: (...) | (...);
                                    scmId?: (...) | (...);
                                    scope?: (...) | (...);
                                    slug?: (...) | (...);
                                    state?: (...) | (...) | (...) | (...) | (...);
                                    statusMessage?: (...) | (...);
                                };
                                partition?: number;
                                project?: {
                                    avatar?: (...)
                                    | (...);
                                    avatarUrl?: (...) | (...);
                                    description?: (...) | (...);
                                    id?: (...) | (...);
                                    key: string;
                                    links?: (...) | (...);
                                    name?: (...) | (...);
                                    public?: (...) | (...) | (...);
                                    scope?: (...) | (...);
                                    type?: (...) | (...) | (...);
                                };
                                public?: boolean;
                                relatedLinks?: Record<string, unknown>;
                                scmId?: string;
                                scope?: string;
                                slug?: string;
                                state?:
                                    | "AVAILABLE"
                                    | "INITIALISATION_FAILED"
                                    | "INITIALISING"
                                    | "OFFLINE";
                                statusMessage?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getForProject: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { keyId: string; projectKey: string };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            key?: {
                                algorithmType?: string;
                                bitLength?: number;
                                createdDate?: string;
                                expiryDays?: number;
                                fingerprint?: string;
                                id?: number;
                                label?: string;
                                lastAuthenticated?: string;
                                text?: string;
                            };
                            permission?: | "ADMIN"
                            | "LICENSED_USER"
                            | "PROJECT_ADMIN"
                            | "PROJECT_CREATE"
                            | "PROJECT_READ"
                            | "PROJECT_VIEW"
                            | "PROJECT_WRITE"
                            | "REPO_ADMIN"
                            | "REPO_CREATE"
                            | "REPO_READ"
                            | "REPO_WRITE"
                            | "SYS_ADMIN"
                            | "USER_ADMIN";
                            project?: {
                                avatar?: string;
                                avatarUrl?: string;
                                description?: string;
                                id?: number;
                                key: string;
                                links?: Record<string, unknown>;
                                name?: string;
                                public?: boolean;
                                scope?: string;
                                type?: "NORMAL" | "PERSONAL";
                            };
                            repository?: {
                                archived?: boolean;
                                defaultBranch?: string;
                                description?: string;
                                forkable?: boolean;
                                hierarchyId?: string;
                                id?: number;
                                links?: Record<string, unknown>;
                                name?: string;
                                origin?: {
                                    archived?: boolean;
                                    defaultBranch?: string;
                                    description?: string;
                                    forkable?: boolean;
                                    hierarchyId?: string;
                                    id?: number;
                                    links?: Record<(...), (...)>;
                                    name?: string;
                                    partition?: number;
                                    project?: {
                                        avatar?: ...;
                                        avatarUrl?: ...;
                                        description?: ...;
                                        id?: ...;
                                        key: ...;
                                        links?: ...;
                                        name?: ...;
                                        public?: ...;
                                        scope?: ...;
                                        type?: ...;
                                    };
                                    public?: boolean;
                                    relatedLinks?: Record<(...), (...)>;
                                    scmId?: string;
                                    scope?: string;
                                    slug?: string;
                                    state?:
                                        | "AVAILABLE"
                                        | "INITIALISATION_FAILED"
                                        | "INITIALISING"
                                        | "OFFLINE";
                                    statusMessage?: string;
                                };
                                partition?: number;
                                project?: {
                                    avatar?: string;
                                    avatarUrl?: string;
                                    description?: string;
                                    id?: number;
                                    key: string;
                                    links?: Record<(...), (...)>;
                                    name?: string;
                                    public?: boolean;
                                    scope?: string;
                                    type?: "NORMAL" | "PERSONAL";
                                };
                                public?: boolean;
                                relatedLinks?: Record<string, unknown>;
                                scmId?: string;
                                scope?: string;
                                slug?: string;
                                state?:
                                    | "AVAILABLE"
                                    | "INITIALISATION_FAILED"
                                    | "INITIALISING"
                                    | "OFFLINE";
                                statusMessage?: string;
                            };
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getForProjects: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { keyId: number };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: { "application/json": unknown };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getForRepositories: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { keyId: string };
                query?: { withRestrictions?: string };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: { "application/json": unknown };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getForRepository: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { keyId: string; projectKey: string; repositorySlug: string };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            key?: {
                                algorithmType?: string;
                                bitLength?: number;
                                createdDate?: string;
                                expiryDays?: number;
                                fingerprint?: string;
                                id?: number;
                                label?: string;
                                lastAuthenticated?: string;
                                text?: string;
                            };
                            permission?: | "ADMIN"
                            | "LICENSED_USER"
                            | "PROJECT_ADMIN"
                            | "PROJECT_CREATE"
                            | "PROJECT_READ"
                            | "PROJECT_VIEW"
                            | "PROJECT_WRITE"
                            | "REPO_ADMIN"
                            | "REPO_CREATE"
                            | "REPO_READ"
                            | "REPO_WRITE"
                            | "SYS_ADMIN"
                            | "USER_ADMIN";
                            project?: {
                                avatar?: string;
                                avatarUrl?: string;
                                description?: string;
                                id?: number;
                                key: string;
                                links?: Record<string, unknown>;
                                name?: string;
                                public?: boolean;
                                scope?: string;
                                type?: "NORMAL" | "PERSONAL";
                            };
                            repository?: {
                                archived?: boolean;
                                defaultBranch?: string;
                                description?: string;
                                forkable?: boolean;
                                hierarchyId?: string;
                                id?: number;
                                links?: Record<string, unknown>;
                                name?: string;
                                origin?: {
                                    archived?: boolean;
                                    defaultBranch?: string;
                                    description?: string;
                                    forkable?: boolean;
                                    hierarchyId?: string;
                                    id?: number;
                                    links?: Record<(...), (...)>;
                                    name?: string;
                                    partition?: number;
                                    project?: {
                                        avatar?: ...;
                                        avatarUrl?: ...;
                                        description?: ...;
                                        id?: ...;
                                        key: ...;
                                        links?: ...;
                                        name?: ...;
                                        public?: ...;
                                        scope?: ...;
                                        type?: ...;
                                    };
                                    public?: boolean;
                                    relatedLinks?: Record<(...), (...)>;
                                    scmId?: string;
                                    scope?: string;
                                    slug?: string;
                                    state?:
                                        | "AVAILABLE"
                                        | "INITIALISATION_FAILED"
                                        | "INITIALISING"
                                        | "OFFLINE";
                                    statusMessage?: string;
                                };
                                partition?: number;
                                project?: {
                                    avatar?: string;
                                    avatarUrl?: string;
                                    description?: string;
                                    id?: number;
                                    key: string;
                                    links?: Record<(...), (...)>;
                                    name?: string;
                                    public?: boolean;
                                    scope?: string;
                                    type?: "NORMAL" | "PERSONAL";
                                };
                                public?: boolean;
                                relatedLinks?: Record<string, unknown>;
                                scmId?: string;
                                scope?: string;
                                slug?: string;
                                state?:
                                    | "AVAILABLE"
                                    | "INITIALISATION_FAILED"
                                    | "INITIALISING"
                                    | "OFFLINE";
                                statusMessage?: string;
                            };
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getForRepository_1: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string; repositorySlug: string };
                query?: {
                    effective?: string;
                    filter?: string;
                    limit?: number;
                    minimumPermission?: string;
                    permission?: string;
                    start?: number;
                };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            isLastPage?: boolean;
                            limit?: number;
                            nextPageStart?: number;
                            size?: number;
                            start?: number;
                            values?: readonly {
                                key?: {
                                    algorithmType?: (...)
                                    | (...);
                                    bitLength?: (...) | (...);
                                    createdDate?: (...) | (...);
                                    expiryDays?: (...) | (...);
                                    fingerprint?: (...) | (...);
                                    id?: (...) | (...);
                                    label?: (...) | (...);
                                    lastAuthenticated?: (...) | (...);
                                    text?: (...) | (...);
                                };
                                permission?: | "ADMIN"
                                | "LICENSED_USER"
                                | "PROJECT_ADMIN"
                                | "PROJECT_CREATE"
                                | "PROJECT_READ"
                                | "PROJECT_VIEW"
                                | "PROJECT_WRITE"
                                | "REPO_ADMIN"
                                | "REPO_CREATE"
                                | "REPO_READ"
                                | "REPO_WRITE"
                                | "SYS_ADMIN"
                                | "USER_ADMIN";
                                project?: {
                                    avatar?: (...)
                                    | (...);
                                    avatarUrl?: (...) | (...);
                                    description?: (...) | (...);
                                    id?: (...) | (...);
                                    key: string;
                                    links?: (...) | (...);
                                    name?: (...) | (...);
                                    public?: (...) | (...) | (...);
                                    scope?: (...) | (...);
                                    type?: (...) | (...) | (...);
                                };
                                repository?: {
                                    archived?: (...)
                                    | (...)
                                    | (...);
                                    defaultBranch?: (...) | (...);
                                    description?: (...) | (...);
                                    forkable?: (...) | (...) | (...);
                                    hierarchyId?: (...) | (...);
                                    id?: (...) | (...);
                                    links?: (...) | (...);
                                    name?: (...) | (...);
                                    origin?: (...) | (...);
                                    partition?: (...) | (...);
                                    project?: (...) | (...);
                                    public?: (...) | (...) | (...);
                                    relatedLinks?: (...) | (...);
                                    scmId?: (...) | (...);
                                    scope?: (...) | (...);
                                    slug?: (...) | (...);
                                    state?: (...) | (...) | (...) | (...) | (...);
                                    statusMessage?: (...) | (...);
                                };
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getGlobalSettings: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            keyTypeRestrictions?: readonly {
                                algorithm?: string;
                                allowed?: boolean;
                                minKeyLength?: {
                                    asInt?: (...)
                                    | (...);
                                    present?: (...) | (...) | (...);
                                };
                            }[];
                            maxExpiryDays?: { asInt?: number; present?: boolean };
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getGroups: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: { filter?: string; limit?: number; start?: number };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            isLastPage?: boolean;
                            limit?: number;
                            nextPageStart?: number;
                            size?: number;
                            start?: number;
                            values?: readonly string[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getGroups_1: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: { filter?: string; limit?: number; start?: number };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            isLastPage?: boolean;
                            limit?: number;
                            nextPageStart?: number;
                            size?: number;
                            start?: number;
                            values?: readonly { deletable?: boolean; name?: string }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getGroupsWithAnyPermission: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: { filter?: string; limit?: number; start?: number };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            isLastPage?: boolean;
                            limit?: number;
                            nextPageStart?: number;
                            size?: number;
                            start?: number;
                            values?: readonly {
                                group?: { name?: (...)
                                | (...) };
                                permission?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getGroupsWithAnyPermission_1: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string };
                query?: { filter?: string; limit?: number; start?: number };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            isLastPage?: boolean;
                            limit?: number;
                            nextPageStart?: number;
                            size?: number;
                            start?: number;
                            values?: readonly {
                                group?: { name?: (...)
                                | (...) };
                                permission?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getGroupsWithAnyPermission_2: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string; repositorySlug: string };
                query?: { filter?: string; limit?: number; start?: number };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            isLastPage?: boolean;
                            limit?: number;
                            nextPageStart?: number;
                            size?: number;
                            start?: number;
                            values?: readonly {
                                group?: { name?: (...)
                                | (...) };
                                permission?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getGroupsWithoutAnyPermission: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: { filter?: string; limit?: number; start?: number };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            isLastPage?: boolean;
                            limit?: number;
                            nextPageStart?: number;
                            size?: number;
                            start?: number;
                            values?: readonly { deletable?: boolean; name?: string }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getGroupsWithoutAnyPermission_1: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string };
                query?: { filter?: string; limit?: number; start?: number };
            };
            requestBody?: undefined;
            responses: {
                "202": {
                    content: {
                        "application/json": {
                            isLastPage?: boolean;
                            limit?: number;
                            nextPageStart?: number;
                            size?: number;
                            start?: number;
                            values?: readonly { deletable?: boolean; name?: string }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getGroupsWithoutAnyPermission_2: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string; repositorySlug: string };
                query?: { filter?: string; limit?: number; start?: number };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            isLastPage?: boolean;
                            limit?: number;
                            nextPageStart?: number;
                            size?: number;
                            start?: number;
                            values?: readonly { deletable?: boolean; name?: string }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getHistory: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: {
                    limit?: number;
                    order?: "FREQUENCY"
                    | "NEWEST";
                    start?: number;
                };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            isLastPage?: boolean;
                            limit?: number;
                            nextPageStart?: number;
                            size?: number;
                            start?: number;
                            values?: readonly {
                                lastRejectTime?: number;
                                rejectCount?: number;
                                user?: {
                                    active?: (...)
                                    | (...)
                                    | (...);
                                    avatarUrl?: (...) | (...);
                                    displayName?: (...) | (...);
                                    emailAddress?: (...) | (...);
                                    id?: (...) | (...);
                                    links?: (...) | (...);
                                    name?: (...) | (...);
                                    slug?: (...) | (...);
                                    type?: (...) | (...) | (...);
                                };
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getHookScript: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { scriptId: string };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            createdDate?: string;
                            description?: string;
                            id?: number;
                            name?: string;
                            pluginKey?: string;
                            type?: "POST"
                            | "PRE";
                            updatedDate?: string;
                            version?: number;
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getImportJob: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { jobId: string };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            endDate?: number;
                            id?: number;
                            initiator?: {
                                active?: boolean;
                                avatarUrl?: string;
                                displayName?: string;
                                emailAddress?: string;
                                id?: number;
                                links?: Record<string, unknown>;
                                name?: string;
                                slug?: string;
                                type?: "NORMAL" | "SERVICE";
                            };
                            nodeId?: string;
                            progress?: { message?: string; percentage?: number };
                            startDate?: number;
                            state?:
                                | "FAILED"
                                | "COMPLETED"
                                | "RUNNING"
                                | "READY"
                                | "INITIALISING"
                                | "ABORTED"
                                | "CANCELED"
                                | "CANCELING"
                                | "FINALISING"
                                | "TIMED_OUT";
                            type?: string;
                            updatedDate?: number;
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getImportJobMessages: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { jobId: string };
                query?: {
                    limit?: number;
                    severity?: string;
                    start?: number;
                    subject?: string;
                };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            isLastPage?: boolean;
                            limit?: number;
                            nextPageStart?: number;
                            size?: number;
                            start?: number;
                            values?: readonly {
                                createdDate?: string;
                                id?: string;
                                severity?: "ERROR"
                                | "INFO"
                                | "WARN";
                                subject?: string;
                                text?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getInformation: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            localNode?: {
                                address?: { address?: string; port?: number };
                                buildVersion?: string;
                                id?: string;
                                local?: boolean;
                                name?: string;
                            };
                            nodes?: readonly {
                                address?: { address?: (...)
                                | (...); port?: (...) | (...) };
                                buildVersion?: string;
                                id?: string;
                                local?: boolean;
                                name?: string;
                            }[];
                            running?: boolean;
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getIssueKeysForPullRequest: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: {
                    projectKey: string;
                    pullRequestId: string;
                    repositorySlug: string;
                };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json;charset=UTF-8": readonly {
                            key?: string;
                            url?: string;
                        }[];
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getKeysForUser: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: { limit?: number; start?: number; user?: string };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            isLastPage?: boolean;
                            limit?: number;
                            nextPageStart?: number;
                            size?: number;
                            start?: number;
                            values?: readonly {
                                emailAddress?: string;
                                expiryDate?: number;
                                fingerprint?: string;
                                id?: string;
                                subKeys?: readonly { expiryDate?: ...; fingerprint?: ... }[];
                                text?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getLabel: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { labelName: string };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: { "application/json": { name?: string } };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getLabelables: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { labelName: string };
                query?: { limit?: number; start?: number; type?: string };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            isLastPage?: boolean;
                            limit?: number;
                            nextPageStart?: number;
                            size?: number;
                            start?: number;
                            values?: readonly {
                                archived?: boolean;
                                defaultBranch?: string;
                                description?: string;
                                forkable?: boolean;
                                hierarchyId?: string;
                                id?: number;
                                labelableType?: "REPOSITORY";
                                links?: Record<string, unknown>;
                                name?: string;
                                origin?: {
                                    archived?: (...) | (...) | (...);
                                    defaultBranch?: (...) | (...);
                                    description?: (...) | (...);
                                    forkable?: (...) | (...) | (...);
                                    hierarchyId?: (...) | (...);
                                    id?: (...) | (...);
                                    links?: (...) | (...);
                                    name?: (...) | (...);
                                    partition?: (...) | (...);
                                    project?: (...) | (...);
                                    public?: (...) | (...) | (...);
                                    relatedLinks?: (...) | (...);
                                    scmId?: (...) | (...);
                                    scope?: (...) | (...);
                                    slug?: (...) | (...);
                                    state?: (...) | (...) | (...) | (...) | (...);
                                    statusMessage?: (...) | (...);
                                };
                                partition?: number;
                                project?: {
                                    avatar?: (...)
                                    | (...);
                                    avatarUrl?: (...) | (...);
                                    description?: (...) | (...);
                                    id?: (...) | (...);
                                    key: string;
                                    links?: (...) | (...);
                                    name?: (...) | (...);
                                    public?: (...) | (...) | (...);
                                    scope?: (...) | (...);
                                    type?: (...) | (...) | (...);
                                };
                                public?: boolean;
                                relatedLinks?: Record<string, unknown>;
                                scmId?: string;
                                scope?: string;
                                slug?: string;
                                state?:
                                    | "AVAILABLE"
                                    | "INITIALISATION_FAILED"
                                    | "INITIALISING"
                                    | "OFFLINE";
                                statusMessage?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getLabels: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: { limit?: number; prefix?: string; start?: number };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            isLastPage?: boolean;
                            limit?: number;
                            nextPageStart?: number;
                            size?: number;
                            start?: number;
                            values?: readonly { name?: string }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getLatestInvocation: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string; webhookId: string };
                query?: { event?: string; outcome?: string };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            duration?: number;
                            event?: string;
                            eventScope?: { id?: string; type?: string };
                            finish?: number;
                            id?: number;
                            request?: Record<string, unknown>;
                            result?: Record<string, unknown>;
                            start?: number;
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getLatestInvocation_1: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string; repositorySlug: string; webhookId: string };
                query?: { event?: string; outcome?: string };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            duration?: number;
                            event?: string;
                            eventScope?: { id?: string; type?: string };
                            finish?: number;
                            id?: number;
                            request?: Record<string, unknown>;
                            result?: Record<string, unknown>;
                            start?: number;
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "204": {
                    content?: undefined;
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getLevel: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { loggerName: string };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: { "application/json": { logLevel?: string } };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getMailConfig: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            hostname?: string;
                            password?: string;
                            port?: number;
                            protocol?: "SMTP"
                            | "SMTPS";
                            requireStartTls?: boolean;
                            senderAddress?: string;
                            username?: string;
                            useStartTls?: boolean;
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getMergeBase: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { commitId: string; projectKey: string; repositorySlug: string };
                query?: { otherCommitId?: string };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            author?: {
                                avatarUrl?: string;
                                emailAddress?: string;
                                name?: string;
                            };
                            authorTimestamp?: number;
                            committer?: {
                                avatarUrl?: string;
                                emailAddress?: string;
                                name?: string;
                            };
                            committerTimestamp?: number;
                            displayId?: string;
                            id?: string;
                            message?: string;
                            parents?: readonly { displayId?: string; id?: string }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "204": {
                    content?: undefined;
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getMergeBase_1: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: {
                    projectKey: string;
                    pullRequestId: string;
                    repositorySlug: string;
                };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            author?: {
                                avatarUrl?: string;
                                emailAddress?: string;
                                name?: string;
                            };
                            authorTimestamp?: number;
                            committer?: {
                                avatarUrl?: string;
                                emailAddress?: string;
                                name?: string;
                            };
                            committerTimestamp?: number;
                            displayId?: string;
                            id?: string;
                            message?: string;
                            parents?: readonly { displayId?: string; id?: string }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "204": {
                    content?: undefined;
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getMergeConfig: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { scmId: string };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            commitMessageTemplate?: { body?: string; title?: string };
                            commitSummaries?: number;
                            defaultStrategy?: {
                                description?: string;
                                enabled?: boolean;
                                flag?: string;
                                id?: string;
                                links?: Record<string, unknown>;
                                name?: string;
                            };
                            strategies?: readonly {
                                description?: string;
                                enabled?: boolean;
                                flag?: string;
                                id?: string;
                                links?: Record<string, unknown>;
                                name?: string;
                            }[];
                            type?: string;
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getMeshMigrationJob: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { jobId: string };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: { "application/json": unknown };
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getMeshMigrationJobMessages: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { jobId: string };
                query?: {
                    limit?: number;
                    severity?: string;
                    start?: number;
                    subject?: string;
                };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            isLastPage?: boolean;
                            limit?: number;
                            nextPageStart?: number;
                            size?: number;
                            start?: number;
                            values?: readonly {
                                createdDate?: string;
                                id?: string;
                                severity?: "ERROR"
                                | "INFO"
                                | "WARN";
                                subject?: string;
                                text?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getMeshMigrationJobSummary: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { jobId: string };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            endTime?: number;
                            jobId?: number;
                            maxBandwidth?: number;
                            progress?: number;
                            queue?: Record<string, unknown>;
                            startTime?: number;
                            state?: string;
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getMirror: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { mirrorId: string };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            baseUrl?: string;
                            enabled?: boolean;
                            id?: string;
                            lastSeenDate?: string;
                            mirrorType?: "FARM"
                            | "SINGLE";
                            name?: string;
                            productVersion?: string;
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getMirroredProjects: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: { "application/json": unknown };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getMirroredRepository: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { externalRepositoryId: string };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            available?: boolean;
                            cloneUrls?: readonly { href?: string; name?: string }[];
                            lastUpdated?: string;
                            mirrorName?: string;
                            pushUrls?: readonly { href?: string; name?: string }[];
                            repositoryId?: string;
                            status?:
                                | "AVAILABLE"
                                | "ERROR_AVAILABLE"
                                | "ERROR_INITIALIZING"
                                | "INITIALIZING"
                                | "NOT_MIRRORED";
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getMirroringRequest: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { mirroringRequestId: string };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            id?: number;
                            mirrorBaseUrl?: string;
                            mirrorId?: string;
                            mirrorName?: string;
                            mirrorType?: "FARM"
                            | "SINGLE";
                            productVersion?: string;
                            state?: "ACCEPTED" | "PENDING" | "REJECTED";
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "409": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getMirrorMode: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: { "application/json": unknown };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getMirrorSettings: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            mode?: "ALL_PROJECTS"
                            | "SELECTED_PROJECTS";
                            projectIds?: readonly string[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getMultipleBuildStatusStats: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: undefined;
            };
            requestBody?: { content: { "application/json": readonly string[] } };
            responses: {
                "200": {
                    content: { "application/json": unknown };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getOutOfSyncRepositories: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: { "application/json;charset=UTF-8": string };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json;charset=UTF-8": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "409": {
                    content: {
                        "application/json;charset=UTF-8": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getPage: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string; repositorySlug: string };
                query?: {
                    at?: string;
                    direction?: string;
                    draft?: string;
                    filterText?: string;
                    limit?: number;
                    order?: string;
                    start?: number;
                    state?: string;
                    withAttributes?: string;
                    withProperties?: string;
                };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            isLastPage?: boolean;
                            limit?: number;
                            nextPageStart?: number;
                            size?: number;
                            start?: number;
                            values?: readonly {
                                closed?: boolean;
                                closedDate?: number;
                                createdDate?: number;
                                description?: string;
                                descriptionAsHtml?: string;
                                draft?: boolean;
                                fromRef?: {
                                    displayId?: (...)
                                    | (...);
                                    id?: (...) | (...);
                                    latestCommit?: (...) | (...);
                                    repository?: (...) | (...);
                                    type?: (...) | (...) | (...);
                                };
                                htmlDescription?: string;
                                id?: number;
                                links?: Record<string, unknown>;
                                locked?: boolean;
                                open?: boolean;
                                participants?: readonly {
                                    approved?: ...;
                                    lastReviewedCommit?: ...;
                                    role?: ...;
                                    status?: ...;
                                    user?: ...;
                                }[];
                                reviewers?: readonly {
                                    approved?: ...;
                                    lastReviewedCommit?: ...;
                                    role?: ...;
                                    status?: ...;
                                    user?: ...;
                                }[];
                                state?: "DECLINED"
                                | "MERGED"
                                | "OPEN";
                                title?: string;
                                toRef?: {
                                    displayId?: (...) | (...);
                                    id?: (...) | (...);
                                    latestCommit?: (...) | (...);
                                    repository?: (...) | (...);
                                    type?: (...) | (...) | (...);
                                };
                                updatedDate?: number;
                                version?: number;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getPageOfRequiredBuildsMergeChecks: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string; repositorySlug: string };
                query?: { limit?: number; start?: number };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            isLastPage?: boolean;
                            limit?: number;
                            nextPageStart?: number;
                            size?: number;
                            start?: number;
                            values?: readonly {
                                buildParentKeys?: readonly string[];
                                exemptRefMatcher?: {
                                    displayId?: (...)
                                    | (...);
                                    id?: (...) | (...);
                                    type?: (...) | (...);
                                };
                                id?: number;
                                refMatcher?: {
                                    displayId?: (...)
                                    | (...);
                                    id?: (...) | (...);
                                    type?: (...) | (...);
                                };
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getPreferredMirrorId: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            baseUrl?: string;
                            enabled?: boolean;
                            id?: string;
                            lastSeenDate?: string;
                            mirrorType?: "FARM"
                            | "SINGLE";
                            name?: string;
                            productVersion?: string;
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getProject: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            avatar?: string;
                            avatarUrl?: string;
                            description?: string;
                            id?: number;
                            key?: string;
                            links?: Record<string, unknown>;
                            name?: string;
                            public?: boolean;
                            scope?: string;
                            type?: "NORMAL" | "PERSONAL";
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getProjectAvatar: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string };
                query?: { s?: string };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: { "application/json": unknown };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getProjectById: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectId: string };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            avatar?: string;
                            avatarUrl?: string;
                            description?: string;
                            id?: number;
                            key?: string;
                            links?: Record<string, unknown>;
                            name?: string;
                            public?: boolean;
                            scope?: string;
                            type?: "NORMAL" | "PERSONAL";
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getProjects: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: {
                    limit?: number;
                    name?: string;
                    permission?: string;
                    start?: number;
                };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            isLastPage?: boolean;
                            limit?: number;
                            nextPageStart?: number;
                            size?: number;
                            start?: number;
                            values?: readonly {
                                avatar?: string;
                                avatarUrl?: string;
                                description?: string;
                                id?: number;
                                key?: string;
                                links?: Record<string, unknown>;
                                name?: string;
                                public?: boolean;
                                scope?: string;
                                type?: "NORMAL" | "PERSONAL";
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getPullRequestConditions: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": readonly {
                            id?: number;
                            requiredApprovals?: number;
                            reviewers?: readonly {
                                active?: boolean;
                                avatarUrl?: string;
                                displayName?: string;
                                emailAddress?: string;
                                id?: number;
                                links?: Record<(...), (...)>;
                                name?: string;
                                slug?: string;
                                type?: "NORMAL" | "SERVICE";
                            }[];
                            scope?: {
                                resourceId?: number;
                                type?: "GLOBAL"
                                | "PROJECT"
                                | "REPOSITORY";
                            };
                            sourceRefMatcher?: {
                                displayId?: string;
                                id?: string;
                                type?: {
                                    id?: (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...);
                                    name?: (...) | (...);
                                };
                            };
                            targetRefMatcher?: {
                                displayId?: string;
                                id?: string;
                                type?: {
                                    id?: (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...);
                                    name?: (...) | (...);
                                };
                            };
                        }[];
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getPullRequestConditions_1: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string; repositorySlug: string };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": readonly {
                            id?: number;
                            requiredApprovals?: number;
                            reviewers?: readonly {
                                active?: boolean;
                                avatarUrl?: string;
                                displayName?: string;
                                emailAddress?: string;
                                id?: number;
                                links?: Record<(...), (...)>;
                                name?: string;
                                slug?: string;
                                type?: "NORMAL" | "SERVICE";
                            }[];
                            scope?: {
                                resourceId?: number;
                                type?: "GLOBAL"
                                | "PROJECT"
                                | "REPOSITORY";
                            };
                            sourceRefMatcher?: {
                                displayId?: string;
                                id?: string;
                                type?: {
                                    id?: (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...);
                                    name?: (...) | (...);
                                };
                            };
                            targetRefMatcher?: {
                                displayId?: string;
                                id?: string;
                                type?: {
                                    id?: (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...);
                                    name?: (...) | (...);
                                };
                            };
                        }[];
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getPullRequestCount: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                default: {
                    content: { "application/json;charset=UTF-8": unknown };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getPullRequests: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { commitId: string; projectKey: string; repositorySlug: string };
                query?: { limit?: number; start?: number };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            isLastPage?: boolean;
                            limit?: number;
                            nextPageStart?: number;
                            size?: number;
                            start?: number;
                            values?: readonly {
                                closed?: boolean;
                                closedDate?: number;
                                createdDate?: number;
                                description?: string;
                                descriptionAsHtml?: string;
                                draft?: boolean;
                                fromRef?: {
                                    displayId?: (...)
                                    | (...);
                                    id?: (...) | (...);
                                    latestCommit?: (...) | (...);
                                    repository?: (...) | (...);
                                    type?: (...) | (...) | (...);
                                };
                                htmlDescription?: string;
                                id?: number;
                                links?: Record<string, unknown>;
                                locked?: boolean;
                                open?: boolean;
                                participants?: readonly {
                                    approved?: ...;
                                    lastReviewedCommit?: ...;
                                    role?: ...;
                                    status?: ...;
                                    user?: ...;
                                }[];
                                reviewers?: readonly {
                                    approved?: ...;
                                    lastReviewedCommit?: ...;
                                    role?: ...;
                                    status?: ...;
                                    user?: ...;
                                }[];
                                state?: "DECLINED"
                                | "MERGED"
                                | "OPEN";
                                title?: string;
                                toRef?: {
                                    displayId?: (...) | (...);
                                    id?: (...) | (...);
                                    latestCommit?: (...) | (...);
                                    repository?: (...) | (...);
                                    type?: (...) | (...) | (...);
                                };
                                updatedDate?: number;
                                version?: number;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getPullRequests_1: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: {
                    closedSince?: string;
                    limit?: number;
                    order?: string;
                    participantStatus?: string;
                    role?: string;
                    start?: number;
                    state?: string;
                    user?: string;
                };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            isLastPage?: boolean;
                            limit?: number;
                            nextPageStart?: number;
                            size?: number;
                            start?: number;
                            values?: readonly {
                                closed?: boolean;
                                closedDate?: number;
                                createdDate?: number;
                                description?: string;
                                descriptionAsHtml?: string;
                                draft?: boolean;
                                fromRef?: {
                                    displayId?: (...)
                                    | (...);
                                    id?: (...) | (...);
                                    latestCommit?: (...) | (...);
                                    repository?: (...) | (...);
                                    type?: (...) | (...) | (...);
                                };
                                htmlDescription?: string;
                                id?: number;
                                links?: Record<string, unknown>;
                                locked?: boolean;
                                open?: boolean;
                                participants?: readonly {
                                    approved?: ...;
                                    lastReviewedCommit?: ...;
                                    role?: ...;
                                    status?: ...;
                                    user?: ...;
                                }[];
                                reviewers?: readonly {
                                    approved?: ...;
                                    lastReviewedCommit?: ...;
                                    role?: ...;
                                    status?: ...;
                                    user?: ...;
                                }[];
                                state?: "DECLINED"
                                | "MERGED"
                                | "OPEN";
                                title?: string;
                                toRef?: {
                                    displayId?: (...) | (...);
                                    id?: (...) | (...);
                                    latestCommit?: (...) | (...);
                                    repository?: (...) | (...);
                                    type?: (...) | (...) | (...);
                                };
                                updatedDate?: number;
                                version?: number;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getPullRequests_2: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: { limit?: number; role?: string; start?: number };
            };
            requestBody?: undefined;
            responses: {
                default: {
                    content: { "application/json;charset=UTF-8": unknown };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getPullRequestSettings: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string; scmId: string };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            mergeConfig?: {
                                commitMessageTemplate?: { body?: string; title?: string };
                                commitSummaries?: number;
                                defaultStrategy?: {
                                    description?: string;
                                    enabled?: boolean;
                                    flag?: string;
                                    id?: string;
                                    links?: Record<(...), (...)>;
                                    name?: string;
                                };
                                strategies?: readonly {
                                    description?: (...)
                                    | (...);
                                    enabled?: (...) | (...) | (...);
                                    flag?: (...) | (...);
                                    id?: (...) | (...);
                                    links?: (...) | (...);
                                    name?: (...) | (...);
                                }[];
                                type?: string;
                            };
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getPullRequestSettings_1: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string; repositorySlug: string };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            mergeConfig?: {
                                commitMessageTemplate?: { body?: string; title?: string };
                                commitSummaries?: number;
                                defaultStrategy?: {
                                    description?: string;
                                    enabled?: boolean;
                                    flag?: string;
                                    id?: string;
                                    links?: Record<(...), (...)>;
                                    name?: string;
                                };
                                strategies?: readonly {
                                    description?: (...)
                                    | (...);
                                    enabled?: (...) | (...) | (...);
                                    flag?: (...) | (...);
                                    id?: (...) | (...);
                                    links?: (...) | (...);
                                    name?: (...) | (...);
                                }[];
                                type?: string;
                            };
                            requiredAllApprovers?: boolean;
                            requiredAllTasksComplete?: boolean;
                            requiredApprovers?: { count?: string; enabled?: boolean };
                            requiredApproversDeprecated?: number;
                            requiredSuccessfulBuilds?: { count?: string; enabled?: boolean };
                            requiredSuccessfulBuildsDeprecated?: number;
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getPullRequestSuggestions: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: { changesSince?: string; limit?: string };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            isLastPage?: boolean;
                            limit?: number;
                            nextPageStart?: number;
                            size?: number;
                            start?: number;
                            values?: readonly {
                                changeTme?: number;
                                fromRef?: {
                                    displayId?: (...)
                                    | (...);
                                    id?: (...) | (...);
                                    type?: (...) | (...) | (...);
                                };
                                refChange?: {
                                    fromHash?: (...)
                                    | (...);
                                    ref?: (...) | (...);
                                    refId?: (...) | (...);
                                    toHash?: (...) | (...);
                                    type?: (...) | (...) | (...) | (...);
                                };
                                repository?: {
                                    archived?: (...)
                                    | (...)
                                    | (...);
                                    defaultBranch?: (...) | (...);
                                    description?: (...) | (...);
                                    forkable?: (...) | (...) | (...);
                                    hierarchyId?: (...) | (...);
                                    id?: (...) | (...);
                                    links?: (...) | (...);
                                    name?: (...) | (...);
                                    origin?: (...) | (...);
                                    partition?: (...) | (...);
                                    project?: (...) | (...);
                                    public?: (...) | (...) | (...);
                                    relatedLinks?: (...) | (...);
                                    scmId?: (...) | (...);
                                    scope?: (...) | (...);
                                    slug?: (...) | (...);
                                    state?: (...) | (...) | (...) | (...) | (...);
                                    statusMessage?: (...) | (...);
                                };
                                toRef?: {
                                    displayId?: (...)
                                    | (...);
                                    id?: (...) | (...);
                                    type?: (...) | (...) | (...);
                                };
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getRefChangeActivity: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string; repositorySlug: string };
                query?: { limit?: number; ref?: string; start?: number };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            isLastPage?: boolean;
                            limit?: number;
                            nextPageStart?: number;
                            size?: number;
                            start?: number;
                            values?: readonly {
                                createdDate?: number;
                                id?: number;
                                refChange?: {
                                    fromHash?: (...)
                                    | (...);
                                    ref?: (...) | (...);
                                    refId?: (...) | (...);
                                    toHash?: (...) | (...);
                                    type?: (...) | (...) | (...) | (...);
                                    updatedType?: (...) | (...) | (...) | (...) | (...);
                                };
                                repository?: {
                                    archived?: (...)
                                    | (...)
                                    | (...);
                                    defaultBranch?: (...) | (...);
                                    description?: (...) | (...);
                                    forkable?: (...) | (...) | (...);
                                    hierarchyId?: (...) | (...);
                                    id?: (...) | (...);
                                    links?: (...) | (...);
                                    name?: (...) | (...);
                                    origin?: (...) | (...);
                                    partition?: (...) | (...);
                                    project?: (...) | (...);
                                    public?: (...) | (...) | (...);
                                    relatedLinks?: (...) | (...);
                                    scmId?: (...) | (...);
                                    scope?: (...) | (...);
                                    slug?: (...) | (...);
                                    state?: (...) | (...) | (...) | (...) | (...);
                                    statusMessage?: (...) | (...);
                                };
                                trigger?: string;
                                user?: {
                                    active?: (...)
                                    | (...)
                                    | (...);
                                    avatarUrl?: (...) | (...);
                                    displayName?: (...) | (...);
                                    emailAddress?: (...) | (...);
                                    id?: (...) | (...);
                                    links?: (...) | (...);
                                    name?: (...) | (...);
                                    slug?: (...) | (...);
                                    type?: (...) | (...) | (...);
                                };
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getRefChangesQueue: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json;charset=UTF-8": {
                            values?: readonly {
                                attempt?: number;
                                createdAt?: string;
                                externalRepoId?: string;
                                type?: "incremental"
                                | "snapshot";
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getRefChangesQueueCount: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: { "application/json": unknown };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getRegisteredMeshNodeById: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { id: string };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            id?: string;
                            lastSeenDate?: number;
                            name?: string;
                            offline?: boolean;
                            rpcId?: string;
                            rpcUrl?: string;
                            state?: "AVAILABLE"
                            | "OFFLINE"
                            | "DELETING"
                            | "DISABLED"
                            | "DRAINING";
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getRelatedRepositories: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string; repositorySlug: string };
                query?: { limit?: number; start?: number };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            isLastPage?: boolean;
                            limit?: number;
                            nextPageStart?: number;
                            size?: number;
                            start?: number;
                            values?: readonly {
                                archived?: boolean;
                                defaultBranch?: string;
                                description?: string;
                                forkable?: boolean;
                                hierarchyId?: string;
                                id?: number;
                                links?: Record<string, unknown>;
                                name?: string;
                                origin?: {
                                    archived?: (...) | (...) | (...);
                                    defaultBranch?: (...) | (...);
                                    description?: (...) | (...);
                                    forkable?: (...) | (...) | (...);
                                    hierarchyId?: (...) | (...);
                                    id?: (...) | (...);
                                    links?: (...) | (...);
                                    name?: (...) | (...);
                                    partition?: (...) | (...);
                                    project?: (...) | (...);
                                    public?: (...) | (...) | (...);
                                    relatedLinks?: (...) | (...);
                                    scmId?: (...) | (...);
                                    scope?: (...) | (...);
                                    slug?: (...) | (...);
                                    state?: (...) | (...) | (...) | (...) | (...);
                                    statusMessage?: (...) | (...);
                                };
                                partition?: number;
                                project?: {
                                    avatar?: (...)
                                    | (...);
                                    avatarUrl?: (...) | (...);
                                    description?: (...) | (...);
                                    id?: (...) | (...);
                                    key: string;
                                    links?: (...) | (...);
                                    name?: (...) | (...);
                                    public?: (...) | (...) | (...);
                                    scope?: (...) | (...);
                                    type?: (...) | (...) | (...);
                                };
                                public?: boolean;
                                relatedLinks?: Record<string, unknown>;
                                scmId?: string;
                                scope?: string;
                                slug?: string;
                                state?:
                                    | "AVAILABLE"
                                    | "INITIALISATION_FAILED"
                                    | "INITIALISING"
                                    | "OFFLINE";
                                statusMessage?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getReports: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { commitId: string; projectKey: string; repositorySlug: string };
                query?: { limit?: number; start?: number };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            isLastPage?: boolean;
                            limit?: number;
                            nextPageStart?: number;
                            size?: number;
                            start?: number;
                            values?: readonly {
                                createdDate?: number;
                                data?: readonly { title?: ...; type?: ...; value?: ... }[];
                                details?: string;
                                key?: string;
                                link?: string;
                                logoUrl?: string;
                                reporter?: string;
                                result?: "FAIL" | "PASS";
                                title?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getRepositories: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string };
                query?: { limit?: number; start?: number };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            isLastPage?: boolean;
                            limit?: number;
                            nextPageStart?: number;
                            size?: number;
                            start?: number;
                            values?: readonly {
                                archived?: boolean;
                                defaultBranch?: string;
                                description?: string;
                                forkable?: boolean;
                                hierarchyId?: string;
                                id?: number;
                                links?: Record<string, unknown>;
                                name?: string;
                                origin?: {
                                    archived?: (...) | (...) | (...);
                                    defaultBranch?: (...) | (...);
                                    description?: (...) | (...);
                                    forkable?: (...) | (...) | (...);
                                    hierarchyId?: (...) | (...);
                                    id?: (...) | (...);
                                    links?: (...) | (...);
                                    name?: (...) | (...);
                                    partition?: (...) | (...);
                                    project?: (...) | (...);
                                    public?: (...) | (...) | (...);
                                    relatedLinks?: (...) | (...);
                                    scmId?: (...) | (...);
                                    scope?: (...) | (...);
                                    slug?: (...) | (...);
                                    state?: (...) | (...) | (...) | (...) | (...);
                                    statusMessage?: (...) | (...);
                                };
                                partition?: number;
                                project?: {
                                    avatar?: (...)
                                    | (...);
                                    avatarUrl?: (...) | (...);
                                    description?: (...) | (...);
                                    id?: (...) | (...);
                                    key: string;
                                    links?: (...) | (...);
                                    name?: (...) | (...);
                                    public?: (...) | (...) | (...);
                                    scope?: (...) | (...);
                                    type?: (...) | (...) | (...);
                                };
                                public?: boolean;
                                relatedLinks?: Record<string, unknown>;
                                scmId?: string;
                                scope?: string;
                                slug?: string;
                                state?:
                                    | "AVAILABLE"
                                    | "INITIALISATION_FAILED"
                                    | "INITIALISING"
                                    | "OFFLINE";
                                statusMessage?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getRepositories_1: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: {
                    archived?: string;
                    limit?: number;
                    name?: string;
                    permission?: "REPO_ADMIN"
                    | "REPO_READ"
                    | "REPO_WRITE";
                    projectkey?: string;
                    projectname?: string;
                    start?: number;
                    state?:
                        | "AVAILABLE"
                        | "INITIALISATION_FAILED"
                        | "INITIALISING"
                        | "OFFLINE";
                    visibility?: "public"
                    | "private";
                };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            isLastPage?: boolean;
                            limit?: number;
                            nextPageStart?: number;
                            size?: number;
                            start?: number;
                            values?: readonly {
                                archived?: boolean;
                                defaultBranch?: string;
                                description?: string;
                                forkable?: boolean;
                                hierarchyId?: string;
                                id?: number;
                                links?: Record<string, unknown>;
                                name?: string;
                                origin?: {
                                    archived?: (...) | (...) | (...);
                                    defaultBranch?: (...) | (...);
                                    description?: (...) | (...);
                                    forkable?: (...) | (...) | (...);
                                    hierarchyId?: (...) | (...);
                                    id?: (...) | (...);
                                    links?: (...) | (...);
                                    name?: (...) | (...);
                                    partition?: (...) | (...);
                                    project?: (...) | (...);
                                    public?: (...) | (...) | (...);
                                    relatedLinks?: (...) | (...);
                                    scmId?: (...) | (...);
                                    scope?: (...) | (...);
                                    slug?: (...) | (...);
                                    state?: (...) | (...) | (...) | (...) | (...);
                                    statusMessage?: (...) | (...);
                                };
                                partition?: number;
                                project?: {
                                    avatar?: (...)
                                    | (...);
                                    avatarUrl?: (...) | (...);
                                    description?: (...) | (...);
                                    id?: (...) | (...);
                                    key: string;
                                    links?: (...) | (...);
                                    name?: (...) | (...);
                                    public?: (...) | (...) | (...);
                                    scope?: (...) | (...);
                                    type?: (...) | (...) | (...);
                                };
                                public?: boolean;
                                relatedLinks?: Record<string, unknown>;
                                scmId?: string;
                                scope?: string;
                                slug?: string;
                                state?:
                                    | "AVAILABLE"
                                    | "INITIALISATION_FAILED"
                                    | "INITIALISING"
                                    | "OFFLINE";
                                statusMessage?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getRepositoriesRecentlyAccessed: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: { limit?: number; permission?: string; start?: number };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            isLastPage?: boolean;
                            limit?: number;
                            nextPageStart?: number;
                            size?: number;
                            start?: number;
                            values?: readonly {
                                archived?: boolean;
                                defaultBranch?: string;
                                description?: string;
                                forkable?: boolean;
                                hierarchyId?: string;
                                id?: number;
                                links?: Record<string, unknown>;
                                name?: string;
                                origin?: {
                                    archived?: (...) | (...) | (...);
                                    defaultBranch?: (...) | (...);
                                    description?: (...) | (...);
                                    forkable?: (...) | (...) | (...);
                                    hierarchyId?: (...) | (...);
                                    id?: (...) | (...);
                                    links?: (...) | (...);
                                    name?: (...) | (...);
                                    partition?: (...) | (...);
                                    project?: (...) | (...);
                                    public?: (...) | (...) | (...);
                                    relatedLinks?: (...) | (...);
                                    scmId?: (...) | (...);
                                    scope?: (...) | (...);
                                    slug?: (...) | (...);
                                    state?: (...) | (...) | (...) | (...) | (...);
                                    statusMessage?: (...) | (...);
                                };
                                partition?: number;
                                project?: {
                                    avatar?: (...)
                                    | (...);
                                    avatarUrl?: (...) | (...);
                                    description?: (...) | (...);
                                    id?: (...) | (...);
                                    key: string;
                                    links?: (...) | (...);
                                    name?: (...) | (...);
                                    public?: (...) | (...) | (...);
                                    scope?: (...) | (...);
                                    type?: (...) | (...) | (...);
                                };
                                public?: boolean;
                                relatedLinks?: Record<string, unknown>;
                                scmId?: string;
                                scope?: string;
                                slug?: string;
                                state?:
                                    | "AVAILABLE"
                                    | "INITIALISATION_FAILED"
                                    | "INITIALISING"
                                    | "OFFLINE";
                                statusMessage?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getRepository: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string; repositorySlug: string };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            archived?: boolean;
                            defaultBranch?: string;
                            description?: string;
                            forkable?: boolean;
                            hierarchyId?: string;
                            id?: number;
                            links?: Record<string, unknown>;
                            name?: string;
                            origin?: {
                                archived?: boolean;
                                defaultBranch?: string;
                                description?: string;
                                forkable?: boolean;
                                hierarchyId?: string;
                                id?: number;
                                links?: Record<string, unknown>;
                                name?: string;
                                partition?: number;
                                project?: {
                                    avatar?: string;
                                    avatarUrl?: string;
                                    description?: string;
                                    id?: number;
                                    key: string;
                                    links?: Record<(...), (...)>;
                                    name?: string;
                                    public?: boolean;
                                    scope?: string;
                                    type?: "NORMAL" | "PERSONAL";
                                };
                                public?: boolean;
                                relatedLinks?: Record<string, unknown>;
                                scmId?: string;
                                scope?: string;
                                slug?: string;
                                state?:
                                    | "AVAILABLE"
                                    | "INITIALISATION_FAILED"
                                    | "INITIALISING"
                                    | "OFFLINE";
                                statusMessage?: string;
                            };
                            partition?: number;
                            project?: {
                                avatar?: string;
                                avatarUrl?: string;
                                description?: string;
                                id?: number;
                                key: string;
                                links?: Record<string, unknown>;
                                name?: string;
                                public?: boolean;
                                scope?: string;
                                type?: "NORMAL" | "PERSONAL";
                            };
                            public?: boolean;
                            relatedLinks?: Record<string, unknown>;
                            scmId?: string;
                            scope?: string;
                            slug?: string;
                            state?:
                                | "AVAILABLE"
                                | "INITIALISATION_FAILED"
                                | "INITIALISING"
                                | "OFFLINE";
                            statusMessage?: string;
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getRepositoryArchivePolicy: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            permission?: "ADMIN"
                            | "PROJECT_ADMIN"
                            | "REPO_ADMIN"
                            | "SYS_ADMIN";
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getRepositoryDeletePolicy: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            permission?: "ADMIN"
                            | "PROJECT_ADMIN"
                            | "REPO_ADMIN"
                            | "SYS_ADMIN";
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getRepositoryHook: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { hookKey: string; projectKey: string };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            configured?: boolean;
                            details?: {
                                configFormKey?: string;
                                description?: string;
                                key?: string;
                                name?: string;
                                supportedScopes?: readonly ("GLOBAL" | "PROJECT" | "REPOSITORY")[];
                                type?: "POST_RECEIVE" | "PRE_PULL_REQUEST_MERGE" | "PRE_RECEIVE";
                                version?: string;
                            };
                            enabled?: boolean;
                            scope?: {
                                resourceId?: number;
                                type?: "GLOBAL"
                                | "PROJECT"
                                | "REPOSITORY";
                            };
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getRepositoryHook_1: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { hookKey: string; projectKey: string; repositorySlug: string };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            configured?: boolean;
                            details?: {
                                configFormKey?: string;
                                description?: string;
                                key?: string;
                                name?: string;
                                supportedScopes?: readonly ("GLOBAL" | "PROJECT" | "REPOSITORY")[];
                                type?: "POST_RECEIVE" | "PRE_PULL_REQUEST_MERGE" | "PRE_RECEIVE";
                                version?: string;
                            };
                            enabled?: boolean;
                            scope?: {
                                resourceId?: number;
                                type?: "GLOBAL"
                                | "PROJECT"
                                | "REPOSITORY";
                            };
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getRepositoryHooks: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string };
                query?: {
                    limit?: number;
                    start?: number;
                    type?: "POST_RECEIVE" | "PRE_RECEIVE";
                };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            isLastPage?: boolean;
                            limit?: number;
                            nextPageStart?: number;
                            size?: number;
                            start?: number;
                            values?: readonly {
                                configured?: boolean;
                                details?: {
                                    configFormKey?: (...)
                                    | (...);
                                    description?: (...) | (...);
                                    key?: (...) | (...);
                                    name?: (...) | (...);
                                    supportedScopes?: (...) | (...);
                                    type?: (...) | (...) | (...) | (...);
                                    version?: (...) | (...);
                                };
                                enabled?: boolean;
                                scope?: {
                                    resourceId?: (...)
                                    | (...);
                                    type?: (...) | (...) | (...) | (...);
                                };
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getRepositoryHooks_1: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string; repositorySlug: string };
                query?: {
                    limit?: number;
                    start?: number;
                    type?: "POST_RECEIVE" | "PRE_RECEIVE";
                };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            isLastPage?: boolean;
                            limit?: number;
                            nextPageStart?: number;
                            size?: number;
                            start?: number;
                            values?: readonly {
                                configured?: boolean;
                                details?: {
                                    configFormKey?: (...)
                                    | (...);
                                    description?: (...) | (...);
                                    key?: (...) | (...);
                                    name?: (...) | (...);
                                    supportedScopes?: (...) | (...);
                                    type?: (...) | (...) | (...) | (...);
                                    version?: (...) | (...);
                                };
                                enabled?: boolean;
                                scope?: {
                                    resourceId?: (...)
                                    | (...);
                                    type?: (...) | (...) | (...) | (...);
                                };
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getRepositoryLockOwner: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string; repositorySlug: string };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            externalRepositoryId?: string;
                            lockAcquireTime?: string;
                            nodeId?: string;
                            requestId?: string;
                            threadName?: string;
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getRepositoryLockOwners: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json;charset=UTF-8": readonly {
                            externalRepositoryId?: string;
                            lockAcquireTime?: string;
                            nodeId?: string;
                            requestId?: string;
                            threadName?: string;
                        }[];
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getRepositoryMirrors: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { repoId: string };
                query?: { preAuthorized?: boolean };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            links?: Record<string, unknown>;
                            mirrorServer?: {
                                baseUrl?: string;
                                enabled?: boolean;
                                id?: string;
                                lastSeenDate: string;
                                mirrorType?: "FARM" | "SINGLE";
                                name?: string;
                                productVersion?: string;
                            };
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "409": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getRepoSyncStatus: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: { limit?: number; start?: number };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            isLastPage?: boolean;
                            limit?: number;
                            nextPageStart?: number;
                            size?: number;
                            start?: number;
                            values?: readonly {
                                externalRepoId?: string;
                                failedSyncCount?: number;
                                hashes?: { content?: (...)
                                | (...); metadata?: (...) | (...) };
                                initialSyncDate?: string;
                                lastSyncDate?: string;
                                localProjectId?: number;
                                localRepoId?: number;
                                upstreamId?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getRepoSyncStatus_1: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string; repositorySlug: string };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            externalRepoId?: string;
                            failedSyncCount?: number;
                            hashes?: { content?: string; metadata?: string };
                            initialSyncDate?: string;
                            lastSyncDate?: string;
                            localProjectId?: number;
                            localRepoId?: number;
                            upstreamId?: string;
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getRestriction: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { id: string; projectKey: string };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            accessKeys?: readonly {
                                key?: {
                                    algorithmType?: (...)
                                    | (...);
                                    bitLength?: (...) | (...);
                                    createdDate?: (...) | (...);
                                    expiryDays?: (...) | (...);
                                    fingerprint?: (...) | (...);
                                    id?: (...) | (...);
                                    label?: (...) | (...);
                                    lastAuthenticated?: (...) | (...);
                                    text?: (...) | (...);
                                };
                                permission?: | "ADMIN"
                                | "LICENSED_USER"
                                | "PROJECT_ADMIN"
                                | "PROJECT_CREATE"
                                | "PROJECT_READ"
                                | "PROJECT_VIEW"
                                | "PROJECT_WRITE"
                                | "REPO_ADMIN"
                                | "REPO_CREATE"
                                | "REPO_READ"
                                | "REPO_WRITE"
                                | "SYS_ADMIN"
                                | "USER_ADMIN";
                                project?: {
                                    avatar?: (...)
                                    | (...);
                                    avatarUrl?: (...) | (...);
                                    description?: (...) | (...);
                                    id?: (...) | (...);
                                    key: string;
                                    links?: (...) | (...);
                                    name?: (...) | (...);
                                    public?: (...) | (...) | (...);
                                    scope?: (...) | (...);
                                    type?: (...) | (...) | (...);
                                };
                                repository?: {
                                    archived?: (...)
                                    | (...)
                                    | (...);
                                    defaultBranch?: (...) | (...);
                                    description?: (...) | (...);
                                    forkable?: (...) | (...) | (...);
                                    hierarchyId?: (...) | (...);
                                    id?: (...) | (...);
                                    links?: (...) | (...);
                                    name?: (...) | (...);
                                    origin?: (...) | (...);
                                    partition?: (...) | (...);
                                    project?: (...) | (...);
                                    public?: (...) | (...) | (...);
                                    relatedLinks?: (...) | (...);
                                    scmId?: (...) | (...);
                                    scope?: (...) | (...);
                                    slug?: (...) | (...);
                                    state?: (...) | (...) | (...) | (...) | (...);
                                    statusMessage?: (...) | (...);
                                };
                            }[];
                            groups?: readonly string[];
                            id?: number;
                            matcher?: {
                                displayId?: string;
                                id?: string;
                                type?: {
                                    id?: | "BRANCH"
                                    | "ANY_REF"
                                    | "MODEL_BRANCH"
                                    | "MODEL_CATEGORY"
                                    | "PATTERN";
                                    name?: string;
                                };
                            };
                            scope?: {
                                resourceId?: number;
                                type?: "GLOBAL"
                                | "PROJECT"
                                | "REPOSITORY";
                            };
                            type?: string;
                            users?: readonly {
                                active?: boolean;
                                avatarUrl?: string;
                                displayName?: string;
                                emailAddress?: string;
                                id?: number;
                                links?: Record<string, unknown>;
                                name?: string;
                                slug?: string;
                                type?: "NORMAL" | "SERVICE";
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getRestriction_1: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { id: string; projectKey: string; repositorySlug: string };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            accessKeys?: readonly {
                                key?: {
                                    algorithmType?: (...)
                                    | (...);
                                    bitLength?: (...) | (...);
                                    createdDate?: (...) | (...);
                                    expiryDays?: (...) | (...);
                                    fingerprint?: (...) | (...);
                                    id?: (...) | (...);
                                    label?: (...) | (...);
                                    lastAuthenticated?: (...) | (...);
                                    text?: (...) | (...);
                                };
                                permission?: | "ADMIN"
                                | "LICENSED_USER"
                                | "PROJECT_ADMIN"
                                | "PROJECT_CREATE"
                                | "PROJECT_READ"
                                | "PROJECT_VIEW"
                                | "PROJECT_WRITE"
                                | "REPO_ADMIN"
                                | "REPO_CREATE"
                                | "REPO_READ"
                                | "REPO_WRITE"
                                | "SYS_ADMIN"
                                | "USER_ADMIN";
                                project?: {
                                    avatar?: (...)
                                    | (...);
                                    avatarUrl?: (...) | (...);
                                    description?: (...) | (...);
                                    id?: (...) | (...);
                                    key: string;
                                    links?: (...) | (...);
                                    name?: (...) | (...);
                                    public?: (...) | (...) | (...);
                                    scope?: (...) | (...);
                                    type?: (...) | (...) | (...);
                                };
                                repository?: {
                                    archived?: (...)
                                    | (...)
                                    | (...);
                                    defaultBranch?: (...) | (...);
                                    description?: (...) | (...);
                                    forkable?: (...) | (...) | (...);
                                    hierarchyId?: (...) | (...);
                                    id?: (...) | (...);
                                    links?: (...) | (...);
                                    name?: (...) | (...);
                                    origin?: (...) | (...);
                                    partition?: (...) | (...);
                                    project?: (...) | (...);
                                    public?: (...) | (...) | (...);
                                    relatedLinks?: (...) | (...);
                                    scmId?: (...) | (...);
                                    scope?: (...) | (...);
                                    slug?: (...) | (...);
                                    state?: (...) | (...) | (...) | (...) | (...);
                                    statusMessage?: (...) | (...);
                                };
                            }[];
                            groups?: readonly string[];
                            id?: number;
                            matcher?: {
                                displayId?: string;
                                id?: string;
                                type?: {
                                    id?: | "BRANCH"
                                    | "ANY_REF"
                                    | "MODEL_BRANCH"
                                    | "MODEL_CATEGORY"
                                    | "PATTERN";
                                    name?: string;
                                };
                            };
                            scope?: {
                                resourceId?: number;
                                type?: "GLOBAL"
                                | "PROJECT"
                                | "REPOSITORY";
                            };
                            type?: string;
                            users?: readonly {
                                active?: boolean;
                                avatarUrl?: string;
                                displayName?: string;
                                emailAddress?: string;
                                id?: number;
                                links?: Record<string, unknown>;
                                name?: string;
                                slug?: string;
                                type?: "NORMAL" | "SERVICE";
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getRestrictions: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string };
                query?: {
                    limit?: number;
                    matcherId?: string;
                    matcherType?: "BRANCH" | "MODEL_BRANCH" | "MODEL_CATEGORY" | "PATTERN";
                    start?: number;
                    type?:
                        | "fast-forward-only"
                        | "no-deletes"
                        | "pull-request-only"
                        | "read-only";
                };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            isLastPage?: boolean;
                            limit?: number;
                            nextPageStart?: number;
                            size?: number;
                            start?: number;
                            values?: readonly {
                                accessKeys?: readonly {
                                    key?: ...;
                                    permission?: ...;
                                    project?: ...;
                                    repository?: ...;
                                }[];
                                groups?: readonly string[];
                                id?: number;
                                matcher?: {
                                    displayId?: (...)
                                    | (...);
                                    id?: (...) | (...);
                                    type?: (...) | (...);
                                };
                                scope?: {
                                    resourceId?: (...)
                                    | (...);
                                    type?: (...) | (...) | (...) | (...);
                                };
                                type?: string;
                                users?: readonly {
                                    active?: ...;
                                    avatarUrl?: ...;
                                    displayName?: ...;
                                    emailAddress?: ...;
                                    id?: ...;
                                    links?: ...;
                                    name?: ...;
                                    slug?: ...;
                                    type?: ...;
                                }[];
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getRestrictions_1: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string; repositorySlug: string };
                query?: {
                    limit?: number;
                    matcherId?: string;
                    matcherType?: "BRANCH" | "MODEL_BRANCH" | "MODEL_CATEGORY" | "PATTERN";
                    start?: number;
                    type?:
                        | "fast-forward-only"
                        | "no-deletes"
                        | "pull-request-only"
                        | "read-only";
                };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            isLastPage?: boolean;
                            limit?: number;
                            nextPageStart?: number;
                            size?: number;
                            start?: number;
                            values?: readonly {
                                accessKeys?: readonly {
                                    key?: ...;
                                    permission?: ...;
                                    project?: ...;
                                    repository?: ...;
                                }[];
                                groups?: readonly string[];
                                id?: number;
                                matcher?: {
                                    displayId?: (...)
                                    | (...);
                                    id?: (...) | (...);
                                    type?: (...) | (...);
                                };
                                scope?: {
                                    resourceId?: (...)
                                    | (...);
                                    type?: (...) | (...) | (...) | (...);
                                };
                                type?: string;
                                users?: readonly {
                                    active?: ...;
                                    avatarUrl?: ...;
                                    displayName?: ...;
                                    emailAddress?: ...;
                                    id?: ...;
                                    links?: ...;
                                    name?: ...;
                                    slug?: ...;
                                    type?: ...;
                                }[];
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getReview: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: {
                    projectKey: string;
                    pullRequestId: string;
                    repositorySlug: string;
                };
                query?: { limit?: number; start?: number };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            isLastPage?: boolean;
                            limit?: number;
                            nextPageStart?: number;
                            size?: number;
                            start?: number;
                            values?: readonly {
                                anchor?: {
                                    diffType?: (...)
                                    | (...)
                                    | (...)
                                    | (...);
                                    fileType?: (...) | (...) | (...);
                                    fromHash?: (...) | (...);
                                    line?: (...) | (...);
                                    lineType?: (...) | (...) | (...) | (...);
                                    multilineMarker?: (...) | (...);
                                    path?: (...) | (...);
                                    pullRequest?: (...) | (...);
                                    srcPath?: (...) | (...);
                                    toHash?: (...) | (...);
                                };
                                anchored?: boolean;
                                author?: {
                                    active?: (...)
                                    | (...)
                                    | (...);
                                    avatarUrl?: (...) | (...);
                                    displayName?: (...) | (...);
                                    emailAddress?: (...) | (...);
                                    id?: (...) | (...);
                                    links?: (...) | (...);
                                    name?: (...) | (...);
                                    slug?: (...) | (...);
                                    type?: (...) | (...) | (...);
                                };
                                comments?: readonly { readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineType?: "ADDED" | "CONTEXT" | "REMOVED"; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }[]...;
                                createdDate?: number;
                                html?: string;
                                id?: number;
                                parent?: {
                                    anchor?: (...)
                                    | (...);
                                    anchored?: (...) | (...) | (...);
                                    author?: (...) | (...);
                                    comments?: readonly { readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineType?: "ADDED" | "CONTEXT" | "REMOVED"; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }[]...;
                                    createdDate?: (...) | (...);
                                    html?: (...) | (...);
                                    id?: (...) | (...);
                                    pending?: (...) | (...) | (...);
                                    properties?: (...) | (...);
                                    reply?: (...) | (...) | (...);
                                    resolvedDate?: (...) | (...);
                                    resolver?: (...) | (...);
                                    severity?: (...) | (...);
                                    state?: (...) | (...);
                                    text?: (...) | (...);
                                    threadResolved?: (...) | (...) | (...);
                                    threadResolvedDate?: (...) | (...);
                                    threadResolver?: (...) | (...);
                                    updatedDate?: (...) | (...);
                                    version?: (...) | (...);
                                };
                                pending?: boolean;
                                properties?: Record<string, unknown>;
                                reply?: boolean;
                                resolvedDate?: number;
                                resolver?: {
                                    active?: (...) | (...) | (...);
                                    avatarUrl?: (...) | (...);
                                    displayName?: (...) | (...);
                                    emailAddress?: (...) | (...);
                                    id?: (...) | (...);
                                    links?: (...) | (...);
                                    name?: (...) | (...);
                                    slug?: (...) | (...);
                                    type?: (...) | (...) | (...);
                                };
                                severity?: string;
                                state?: string;
                                text?: string;
                                threadResolved?: boolean;
                                threadResolvedDate?: number;
                                threadResolver?: {
                                    active?: (...)
                                    | (...)
                                    | (...);
                                    avatarUrl?: (...) | (...);
                                    displayName?: (...) | (...);
                                    emailAddress?: (...) | (...);
                                    id?: (...) | (...);
                                    links?: (...) | (...);
                                    name?: (...) | (...);
                                    slug?: (...) | (...);
                                    type?: (...) | (...) | (...);
                                };
                                updatedDate?: number;
                                version?: number;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getReviewerGroup: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { id: string; projectKey: string };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            avatarUrl?: string;
                            description?: string;
                            id?: number;
                            name?: string;
                            scope?: {
                                resourceId?: number;
                                type?: "GLOBAL"
                                | "PROJECT"
                                | "REPOSITORY";
                            };
                            users?: readonly {
                                active?: boolean;
                                displayName?: string;
                                emailAddress?: string;
                                id?: number;
                                name?: string;
                                slug?: string;
                                type?: "NORMAL"
                                | "SERVICE";
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getReviewerGroup_1: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { id: string; projectKey: string; repositorySlug: string };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            avatarUrl?: string;
                            description?: string;
                            id?: number;
                            name?: string;
                            scope?: {
                                resourceId?: number;
                                type?: "GLOBAL"
                                | "PROJECT"
                                | "REPOSITORY";
                            };
                            users?: readonly {
                                active?: boolean;
                                displayName?: string;
                                emailAddress?: string;
                                id?: number;
                                name?: string;
                                slug?: string;
                                type?: "NORMAL"
                                | "SERVICE";
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getReviewerGroups: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string };
                query?: { limit?: number; start?: number };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            isLastPage?: boolean;
                            limit?: number;
                            nextPageStart?: number;
                            size?: number;
                            start?: number;
                            values?: readonly {
                                avatarUrl?: string;
                                description?: string;
                                id?: number;
                                name?: string;
                                scope?: {
                                    resourceId?: (...)
                                    | (...);
                                    type?: (...) | (...) | (...) | (...);
                                };
                                users?: readonly {
                                    active?: ...;
                                    displayName?: ...;
                                    emailAddress?: ...;
                                    id?: ...;
                                    name?: ...;
                                    slug?: ...;
                                    type?: ...;
                                }[];
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getReviewerGroups_1: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string; repositorySlug: string };
                query?: { limit?: number; start?: number };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            isLastPage?: boolean;
                            limit?: number;
                            nextPageStart?: number;
                            size?: number;
                            start?: number;
                            values?: readonly {
                                avatarUrl?: string;
                                description?: string;
                                id?: number;
                                name?: string;
                                scope?: {
                                    resourceId?: (...)
                                    | (...);
                                    type?: (...) | (...) | (...) | (...);
                                };
                                users?: readonly {
                                    active?: ...;
                                    displayName?: ...;
                                    emailAddress?: ...;
                                    id?: ...;
                                    name?: ...;
                                    slug?: ...;
                                    type?: ...;
                                }[];
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getReviewers: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string; repositorySlug: string };
                query?: {
                    sourceRefId?: string;
                    sourceRepoId?: string;
                    targetRefId?: string;
                    targetRepoId?: string;
                };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": readonly {
                            id?: number;
                            requiredApprovals?: number;
                            reviewers?: readonly {
                                active?: boolean;
                                avatarUrl?: string;
                                displayName?: string;
                                emailAddress?: string;
                                id?: number;
                                links?: Record<(...), (...)>;
                                name?: string;
                                slug?: string;
                                type?: "NORMAL" | "SERVICE";
                            }[];
                            scope?: {
                                resourceId?: number;
                                type?: "GLOBAL"
                                | "PROJECT"
                                | "REPOSITORY";
                            };
                            sourceRefMatcher?: {
                                displayId?: string;
                                id?: string;
                                type?: {
                                    id?: (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...);
                                    name?: (...) | (...);
                                };
                            };
                            targetRefMatcher?: {
                                displayId?: string;
                                id?: string;
                                type?: {
                                    id?: (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...);
                                    name?: (...) | (...);
                                };
                            };
                        }[];
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getRootLevel: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: { "application/json": { logLevel?: string } };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getRule: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { id: string; projectKey: string };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            id?: number;
                            lineRegex?: string;
                            name?: string;
                            pathRegex?: string;
                            scope?: {
                                resourceId?: number;
                                type?: "GLOBAL"
                                | "PROJECT"
                                | "REPOSITORY";
                            };
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getRule_1: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { id: string; projectKey: string; repositorySlug: string };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            id?: number;
                            lineRegex?: string;
                            name?: string;
                            pathRegex?: string;
                            scope?: {
                                resourceId?: number;
                                type?: "GLOBAL"
                                | "PROJECT"
                                | "REPOSITORY";
                            };
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getRule_2: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { id: string };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            id?: number;
                            lineRegex?: string;
                            name?: string;
                            pathRegex?: string;
                            scope?: {
                                resourceId?: number;
                                type?: "GLOBAL"
                                | "PROJECT"
                                | "REPOSITORY";
                            };
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getSenderAddress: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: { "application/json": unknown };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getSettings: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { hookKey: string; projectKey: string };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            booleanValue?: boolean;
                            doubleValue?: number;
                            integerValue?: number;
                            longValue?: number;
                            stringValue?: string;
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getSettings_1: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { hookKey: string; projectKey: string; repositorySlug: string };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            booleanValue?: boolean;
                            doubleValue?: number;
                            integerValue?: number;
                            longValue?: number;
                            stringValue?: string;
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getSettings_2: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            defaultSettings?: { capacity?: number; fillRate?: number };
                            enabled?: boolean;
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getSshKey: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { keyId: string };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            algorithmType?: string;
                            bitLength?: number;
                            createdDate?: string;
                            expiryDays?: number;
                            fingerprint?: string;
                            id?: number;
                            label?: string;
                            lastAuthenticated?: string;
                            text?: string;
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getSshKeys: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: {
                    limit?: number;
                    start?: number;
                    user?: string;
                    userName?: string;
                };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            isLastPage?: boolean;
                            limit?: number;
                            nextPageStart?: number;
                            size?: number;
                            start?: number;
                            values?: readonly {
                                algorithmType?: string;
                                bitLength?: number;
                                createdDate?: string;
                                expiryDays?: number;
                                fingerprint?: string;
                                id?: number;
                                label?: string;
                                lastAuthenticated?: string;
                                text?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getSshKeysForProject: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string };
                query?: {
                    filter?: string;
                    limit?: number;
                    permission?: string;
                    start?: number;
                };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            isLastPage?: boolean;
                            limit?: number;
                            nextPageStart?: number;
                            size?: number;
                            start?: number;
                            values?: readonly {
                                key?: {
                                    algorithmType?: (...)
                                    | (...);
                                    bitLength?: (...) | (...);
                                    createdDate?: (...) | (...);
                                    expiryDays?: (...) | (...);
                                    fingerprint?: (...) | (...);
                                    id?: (...) | (...);
                                    label?: (...) | (...);
                                    lastAuthenticated?: (...) | (...);
                                    text?: (...) | (...);
                                };
                                permission?: | "ADMIN"
                                | "LICENSED_USER"
                                | "PROJECT_ADMIN"
                                | "PROJECT_CREATE"
                                | "PROJECT_READ"
                                | "PROJECT_VIEW"
                                | "PROJECT_WRITE"
                                | "REPO_ADMIN"
                                | "REPO_CREATE"
                                | "REPO_READ"
                                | "REPO_WRITE"
                                | "SYS_ADMIN"
                                | "USER_ADMIN";
                                project?: {
                                    avatar?: (...)
                                    | (...);
                                    avatarUrl?: (...) | (...);
                                    description?: (...) | (...);
                                    id?: (...) | (...);
                                    key: string;
                                    links?: (...) | (...);
                                    name?: (...) | (...);
                                    public?: (...) | (...) | (...);
                                    scope?: (...) | (...);
                                    type?: (...) | (...) | (...);
                                };
                                repository?: {
                                    archived?: (...)
                                    | (...)
                                    | (...);
                                    defaultBranch?: (...) | (...);
                                    description?: (...) | (...);
                                    forkable?: (...) | (...) | (...);
                                    hierarchyId?: (...) | (...);
                                    id?: (...) | (...);
                                    links?: (...) | (...);
                                    name?: (...) | (...);
                                    origin?: (...) | (...);
                                    partition?: (...) | (...);
                                    project?: (...) | (...);
                                    public?: (...) | (...) | (...);
                                    relatedLinks?: (...) | (...);
                                    scmId?: (...) | (...);
                                    scope?: (...) | (...);
                                    slug?: (...) | (...);
                                    state?: (...) | (...) | (...) | (...) | (...);
                                    statusMessage?: (...) | (...);
                                };
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getStatistics: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string; webhookId: string };
                query?: { event?: string };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: { "application/json": unknown };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getStatistics_1: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string; repositorySlug: string; webhookId: string };
                query?: { event?: string };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: { "application/json": unknown };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getStatisticsSummary: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string; webhookId: string };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: { "application/json": unknown };
                    headers: Readonly<Record<string, unknown>>;
                };
                "204": {
                    content?: undefined;
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getStatisticsSummary_1: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string; repositorySlug: string; webhookId: string };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: { "application/json": unknown };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getStatus: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string; repositorySlug: string };
                query?: { at?: string };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            aheadRefs?: {
                                displayId?: string;
                                id?: string;
                                state?: "AHEAD"
                                | "DIVERGED"
                                | "ORPHANED";
                                tag?: boolean;
                                type?: "BRANCH" | "TAG";
                            };
                            available?: boolean;
                            divergedRefs?: {
                                displayId?: string;
                                id?: string;
                                state?: "AHEAD"
                                | "DIVERGED"
                                | "ORPHANED";
                                tag?: boolean;
                                type?: "BRANCH" | "TAG";
                            };
                            enabled?: boolean;
                            lastSync?: number;
                            orphanedRefs?: {
                                displayId?: string;
                                id?: string;
                                state?: "AHEAD"
                                | "DIVERGED"
                                | "ORPHANED";
                                tag?: boolean;
                                type?: "BRANCH" | "TAG";
                            };
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getSupportedKeyTypes: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: { "application/json": unknown };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getSupportZip: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { id: string };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: { "application/octet-stream": unknown };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getSupportZips: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: { "application/octet-stream": unknown };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getSynchronizationProgress: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            discovering?: boolean;
                            syncedRepos?: number;
                            totalRepos?: number;
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getSystemSigningConfiguration: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: { "application/json": { enabled?: boolean } };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getTag: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { name: string; projectKey: string; repositorySlug: string };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            displayId?: string;
                            hash?: string;
                            id?: string;
                            latestChangeset?: string;
                            latestCommit?: string;
                            type?: "BRANCH"
                            | "TAG";
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getTags: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string; repositorySlug: string };
                query?: {
                    filterText?: string;
                    limit?: number;
                    orderBy?: string;
                    start?: number;
                };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            isLastPage?: boolean;
                            limit?: number;
                            nextPageStart?: number;
                            size?: number;
                            start?: number;
                            values?: readonly {
                                displayId?: string;
                                hash?: string;
                                id?: string;
                                latestChangeset?: string;
                                latestCommit?: string;
                                type?: "BRANCH"
                                | "TAG";
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getUpstreamServer: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            baseUrl?: string;
                            id?: string;
                            state?: | "PENDING"
                            | "UNKNOWN"
                            | "REMOVED"
                            | "INITIALIZING"
                            | "INSTALLED";
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getUser: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { userSlug: string };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            active?: boolean;
                            avatarUrl?: string;
                            displayName?: string;
                            emailAddress?: string;
                            id?: number;
                            links?: Record<string, unknown>;
                            name?: string;
                            slug?: string;
                            type?: "NORMAL" | "SERVICE";
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getUserDirectories: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: { includeInactive?: string };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            active?: boolean;
                            description?: string;
                            name?: string;
                            type?: string;
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getUsers: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { id: string; projectKey: string; repositorySlug: string };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json;charset=UTF-8": readonly {
                            active?: boolean;
                            avatarUrl?: string;
                            displayName?: string;
                            emailAddress?: string;
                            id?: number;
                            links?: Record<string, unknown>;
                            name?: string;
                            slug?: string;
                            type?: "NORMAL" | "SERVICE";
                        }[];
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json;charset=UTF-8": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json;charset=UTF-8": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getUsers_1: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: { filter?: string; limit?: number; start?: number };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            isLastPage?: boolean;
                            limit?: number;
                            nextPageStart?: number;
                            size?: number;
                            start?: number;
                            values?: readonly {
                                active?: boolean;
                                avatarUrl?: string;
                                deletable?: boolean;
                                directoryName?: string;
                                displayName?: string;
                                emailAddress?: string;
                                id?: number;
                                lastAuthenticationTimestamp?: number;
                                links?: Record<string, unknown>;
                                mutableDetails?: boolean;
                                mutableGroups?: boolean;
                                name?: string;
                                slug?: string;
                                type?: "NORMAL" | "SERVICE";
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getUsers_2: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: {
                    filter?: string;
                    group?: string;
                    permission?: string;
                    "permission.N"?: string;
                };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            active?: boolean;
                            avatarUrl?: string;
                            displayName?: string;
                            emailAddress?: string;
                            id?: number;
                            links?: Record<string, unknown>;
                            name?: string;
                            slug?: string;
                            type?: "NORMAL" | "SERVICE";
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getUserSettings: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { userSlug: string };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            "boolean key"?: boolean;
                            "long key"?: number;
                            "string key"?: string;
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getUsersWithAnyPermission: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: { filter?: string; limit?: number; start?: number };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            isLastPage?: boolean;
                            limit?: number;
                            nextPageStart?: number;
                            size?: number;
                            start?: number;
                            values?: readonly {
                                group?: { name?: (...)
                                | (...) };
                                permission?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getUsersWithAnyPermission_1: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string };
                query?: { filter?: string; limit?: number; start?: number };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            isLastPage?: boolean;
                            limit?: number;
                            nextPageStart?: number;
                            size?: number;
                            start?: number;
                            values?: readonly {
                                permission?: | "ADMIN"
                                | "LICENSED_USER"
                                | "PROJECT_ADMIN"
                                | "PROJECT_CREATE"
                                | "PROJECT_READ"
                                | "PROJECT_VIEW"
                                | "PROJECT_WRITE"
                                | "REPO_ADMIN"
                                | "REPO_CREATE"
                                | "REPO_READ"
                                | "REPO_WRITE"
                                | "SYS_ADMIN"
                                | "USER_ADMIN";
                                user?: {
                                    active?: (...)
                                    | (...)
                                    | (...);
                                    avatarUrl?: (...) | (...);
                                    displayName?: (...) | (...);
                                    emailAddress?: (...) | (...);
                                    id?: (...) | (...);
                                    links?: (...) | (...);
                                    name?: (...) | (...);
                                    slug?: (...) | (...);
                                    type?: (...) | (...) | (...);
                                };
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getUsersWithAnyPermission_2: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string; repositorySlug: string };
                query?: { filter?: string; limit?: number; start?: number };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            isLastPage?: boolean;
                            limit?: number;
                            nextPageStart?: number;
                            size?: number;
                            start?: number;
                            values?: readonly {
                                permission?: | "ADMIN"
                                | "LICENSED_USER"
                                | "PROJECT_ADMIN"
                                | "PROJECT_CREATE"
                                | "PROJECT_READ"
                                | "PROJECT_VIEW"
                                | "PROJECT_WRITE"
                                | "REPO_ADMIN"
                                | "REPO_CREATE"
                                | "REPO_READ"
                                | "REPO_WRITE"
                                | "SYS_ADMIN"
                                | "USER_ADMIN";
                                user?: {
                                    active?: (...)
                                    | (...)
                                    | (...);
                                    avatarUrl?: (...) | (...);
                                    displayName?: (...) | (...);
                                    emailAddress?: (...) | (...);
                                    id?: (...) | (...);
                                    links?: (...) | (...);
                                    name?: (...) | (...);
                                    slug?: (...) | (...);
                                    type?: (...) | (...) | (...);
                                };
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getUsersWithoutAnyPermission: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: { filter?: string; limit?: number; start?: number };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            isLastPage?: boolean;
                            limit?: number;
                            nextPageStart?: number;
                            size?: number;
                            start?: number;
                            values?: readonly {
                                active?: boolean;
                                avatarUrl?: string;
                                displayName?: string;
                                emailAddress?: string;
                                id?: number;
                                links?: Record<string, unknown>;
                                name?: string;
                                slug?: string;
                                type?: "NORMAL" | "SERVICE";
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getUsersWithoutPermission: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string };
                query?: { filter?: string; limit?: number; start?: number };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            isLastPage?: boolean;
                            limit?: number;
                            nextPageStart?: number;
                            size?: number;
                            start?: number;
                            values?: readonly {
                                active?: boolean;
                                avatarUrl?: string;
                                displayName?: string;
                                emailAddress?: string;
                                id?: number;
                                links?: Record<string, unknown>;
                                name?: string;
                                slug?: string;
                                type?: "NORMAL" | "SERVICE";
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getUsersWithoutPermission_1: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string; repositorySlug: string };
                query?: { filter?: string; limit?: number; start?: number };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            isLastPage?: boolean;
                            limit?: number;
                            nextPageStart?: number;
                            size?: number;
                            start?: number;
                            values?: readonly {
                                active?: boolean;
                                avatarUrl?: string;
                                displayName?: string;
                                emailAddress?: string;
                                id?: number;
                                links?: Record<string, unknown>;
                                name?: string;
                                slug?: string;
                                type?: "NORMAL" | "SERVICE";
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getWebhook: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string; webhookId: string };
                query?: { statistics?: string };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            active?: boolean;
                            configuration?: Record<string, unknown>;
                            credentials?: { password?: string; username?: string };
                            events?: readonly string[];
                            name?: string;
                            scopeType?: string;
                            sslVerificationRequired?: boolean;
                            statistics?: Record<string, unknown>;
                            url?: string;
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        getWebhook_1: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string; repositorySlug: string; webhookId: string };
                query?: { statistics?: string };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            active?: boolean;
                            configuration?: Record<string, unknown>;
                            credentials?: { password?: string; username?: string };
                            events?: readonly string[];
                            name?: string;
                            scopeType?: string;
                            sslVerificationRequired?: boolean;
                            statistics?: Record<string, unknown>;
                            url?: string;
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        hasAllUserPermission: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { permission: string; projectKey: string };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: { "application/json": { permitted?: boolean } };
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "403": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        isRepoExempt: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: { "application/json": unknown };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        listMirrors: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: { limit?: number; start?: number };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            isLastPage?: boolean;
                            limit?: number;
                            nextPageStart?: number;
                            size?: number;
                            start?: number;
                            values?: readonly {
                                baseUrl?: string;
                                enabled?: boolean;
                                id?: string;
                                lastSeenDate?: string;
                                mirrorType?: "FARM"
                                | "SINGLE";
                                name?: string;
                                productVersion?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        listParticipants: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: {
                    projectKey: string;
                    pullRequestId: string;
                    repositorySlug: string;
                };
                query?: { limit?: number; start?: number };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            isLastPage?: boolean;
                            limit?: number;
                            nextPageStart?: number;
                            size?: number;
                            start?: number;
                            values?: readonly {
                                approved?: boolean;
                                lastReviewedCommit?: string;
                                role?: "PARTICIPANT"
                                | "REVIEWER"
                                | "AUTHOR";
                                status?: "APPROVED" | "NEEDS_WORK" | "UNAPPROVED";
                                user?: {
                                    active?: (...) | (...) | (...);
                                    avatarUrl?: (...) | (...);
                                    displayName?: (...) | (...);
                                    emailAddress?: (...) | (...);
                                    id?: (...) | (...);
                                    links?: (...) | (...);
                                    name?: (...) | (...);
                                    slug?: (...) | (...);
                                    type?: (...) | (...) | (...);
                                };
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        listRequests: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: {
                    limit?: number;
                    start?: number;
                    state?: "ACCEPTED"
                    | "PENDING"
                    | "REJECTED";
                };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            isLastPage?: boolean;
                            limit?: number;
                            nextPageStart?: number;
                            size?: number;
                            start?: number;
                            values?: readonly {
                                id?: number;
                                mirrorBaseUrl?: string;
                                mirrorId?: string;
                                mirrorName?: string;
                                mirrorType?: "FARM"
                                | "SINGLE";
                                productVersion?: string;
                                state?: "ACCEPTED" | "PENDING" | "REJECTED";
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        merge: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: {
                    projectKey: string;
                    pullRequestId: string;
                    repositorySlug: string;
                };
                query?: { version?: string };
            };
            requestBody?: {
                content: {
                    "application/json": {
                        autoMerge?: boolean;
                        autoSubject?: string;
                        message?: string;
                        strategyId?: string;
                        version?: number;
                    };
                };
            };
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            closed?: boolean;
                            closedDate?: number;
                            createdDate?: number;
                            description?: string;
                            descriptionAsHtml?: string;
                            draft?: boolean;
                            fromRef?: {
                                displayId?: string;
                                id?: string;
                                latestCommit?: string;
                                repository?: {
                                    archived?: boolean;
                                    defaultBranch?: string;
                                    description?: string;
                                    forkable?: boolean;
                                    hierarchyId?: string;
                                    id?: number;
                                    links?: Record<(...), (...)>;
                                    name?: string;
                                    origin?: {
                                        archived?: ...;
                                        defaultBranch?: ...;
                                        description?: ...;
                                        forkable?: ...;
                                        hierarchyId?: ...;
                                        id?: ...;
                                        links?: ...;
                                        name?: ...;
                                        partition?: ...;
                                        project?: ...;
                                        public?: ...;
                                        relatedLinks?: ...;
                                        scmId?: ...;
                                        scope?: ...;
                                        slug?: ...;
                                        state?: ...;
                                        statusMessage?: ...;
                                    };
                                    partition?: number;
                                    project?: {
                                        avatar?: ...;
                                        avatarUrl?: ...;
                                        description?: ...;
                                        id?: ...;
                                        key: ...;
                                        links?: ...;
                                        name?: ...;
                                        public?: ...;
                                        scope?: ...;
                                        type?: ...;
                                    };
                                    public?: boolean;
                                    relatedLinks?: Record<(...), (...)>;
                                    scmId?: string;
                                    scope?: string;
                                    slug?: string;
                                    state?:
                                        | "AVAILABLE"
                                        | "INITIALISATION_FAILED"
                                        | "INITIALISING"
                                        | "OFFLINE";
                                    statusMessage?: string;
                                };
                                type?: "BRANCH"
                                | "TAG";
                            };
                            htmlDescription?: string;
                            id?: number;
                            links?: Record<string, unknown>;
                            locked?: boolean;
                            open?: boolean;
                            participants?: readonly {
                                approved?: boolean;
                                lastReviewedCommit?: string;
                                role?: "PARTICIPANT" | "REVIEWER" | "AUTHOR";
                                status?: "APPROVED" | "NEEDS_WORK" | "UNAPPROVED";
                                user?: {
                                    active?: (...) | (...) | (...);
                                    avatarUrl?: (...) | (...);
                                    displayName?: (...) | (...);
                                    emailAddress?: (...) | (...);
                                    id?: (...) | (...);
                                    links?: (...) | (...);
                                    name?: (...) | (...);
                                    slug?: (...) | (...);
                                    type?: (...) | (...) | (...);
                                };
                            }[];
                            reviewers?: readonly {
                                approved?: boolean;
                                lastReviewedCommit?: string;
                                role?: "PARTICIPANT"
                                | "REVIEWER"
                                | "AUTHOR";
                                status?: "APPROVED" | "NEEDS_WORK" | "UNAPPROVED";
                                user?: {
                                    active?: (...) | (...) | (...);
                                    avatarUrl?: (...) | (...);
                                    displayName?: (...) | (...);
                                    emailAddress?: (...) | (...);
                                    id?: (...) | (...);
                                    links?: (...) | (...);
                                    name?: (...) | (...);
                                    slug?: (...) | (...);
                                    type?: (...) | (...) | (...);
                                };
                            }[];
                            state?: "DECLINED"
                            | "MERGED"
                            | "OPEN";
                            title?: string;
                            toRef?: {
                                displayId?: string;
                                id?: string;
                                latestCommit?: string;
                                repository?: {
                                    archived?: boolean;
                                    defaultBranch?: string;
                                    description?: string;
                                    forkable?: boolean;
                                    hierarchyId?: string;
                                    id?: number;
                                    links?: Record<(...), (...)>;
                                    name?: string;
                                    origin?: {
                                        archived?: ...;
                                        defaultBranch?: ...;
                                        description?: ...;
                                        forkable?: ...;
                                        hierarchyId?: ...;
                                        id?: ...;
                                        links?: ...;
                                        name?: ...;
                                        partition?: ...;
                                        project?: ...;
                                        public?: ...;
                                        relatedLinks?: ...;
                                        scmId?: ...;
                                        scope?: ...;
                                        slug?: ...;
                                        state?: ...;
                                        statusMessage?: ...;
                                    };
                                    partition?: number;
                                    project?: {
                                        avatar?: ...;
                                        avatarUrl?: ...;
                                        description?: ...;
                                        id?: ...;
                                        key: ...;
                                        links?: ...;
                                        name?: ...;
                                        public?: ...;
                                        scope?: ...;
                                        type?: ...;
                                    };
                                    public?: boolean;
                                    relatedLinks?: Record<(...), (...)>;
                                    scmId?: string;
                                    scope?: string;
                                    slug?: string;
                                    state?:
                                        | "AVAILABLE"
                                        | "INITIALISATION_FAILED"
                                        | "INITIALISING"
                                        | "OFFLINE";
                                    statusMessage?: string;
                                };
                                type?: "BRANCH"
                                | "TAG";
                            };
                            updatedDate?: number;
                            version?: number;
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "403": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "409": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        modifyAllUserPermission: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { permission: string; projectKey: string };
                query?: { allow?: string };
            };
            requestBody?: undefined;
            responses: {
                "204": {
                    content?: undefined;
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        preview: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: {
                    hardwrap?: string;
                    htmlEscape?: string;
                    includeHeadingId?: string;
                    urlMode?: string;
                };
            };
            requestBody?: { content: { "*/*": string } };
            responses: {
                "200": {
                    content: { "application/json": { html?: string } };
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        previewExport: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: undefined;
            };
            requestBody?: {
                content: {
                    "application/json": {
                        exportLocation?: string;
                        repositoriesRequest: {
                            includes: readonly { projectKey?: string; slug?: string }[];
                        };
                    };
                };
            };
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            links?: Record<string, unknown>;
                            scopes?: readonly Record<string, unknown>[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        previewMeshMigration: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: undefined;
            };
            requestBody?: {
                content: {
                    "application/json": {
                        all?: boolean;
                        maxBytesPerSecond?: { asLong?: number; present?: boolean };
                        projectIds?: readonly number[];
                        repositoryIds?: readonly number[];
                    };
                };
            };
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            repositories?: readonly {
                                archived?: boolean;
                                defaultBranch?: string;
                                description?: string;
                                forkable?: boolean;
                                hierarchyId?: string;
                                id?: number;
                                links?: Record<string, unknown>;
                                name?: string;
                                origin?: {
                                    archived?: (...) | (...) | (...);
                                    defaultBranch?: (...) | (...);
                                    description?: (...) | (...);
                                    forkable?: (...) | (...) | (...);
                                    hierarchyId?: (...) | (...);
                                    id?: (...) | (...);
                                    links?: (...) | (...);
                                    name?: (...) | (...);
                                    partition?: (...) | (...);
                                    project?: (...) | (...);
                                    public?: (...) | (...) | (...);
                                    relatedLinks?: (...) | (...);
                                    scmId?: (...) | (...);
                                    scope?: (...) | (...);
                                    slug?: (...) | (...);
                                    state?: (...) | (...) | (...) | (...) | (...);
                                    statusMessage?: (...) | (...);
                                };
                                partition?: number;
                                project?: {
                                    avatar?: (...)
                                    | (...);
                                    avatarUrl?: (...) | (...);
                                    description?: (...) | (...);
                                    id?: (...) | (...);
                                    key: string;
                                    links?: (...) | (...);
                                    name?: (...) | (...);
                                    public?: (...) | (...) | (...);
                                    scope?: (...) | (...);
                                    type?: (...) | (...) | (...);
                                };
                                public?: boolean;
                                relatedLinks?: Record<string, unknown>;
                                scmId?: string;
                                scope?: string;
                                slug?: string;
                                state?:
                                    | "AVAILABLE"
                                    | "INITIALISATION_FAILED"
                                    | "INITIALISING"
                                    | "OFFLINE";
                                statusMessage?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        publishEvent: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { mirrorId: string };
                query?: undefined;
            };
            requestBody?: {
                content: {
                    "application/json": {
                        mirrorRepoId?: number;
                        type?: "SYNCHRONIZATION_FAILED"
                        | "SYNCHRONIZED";
                        upstreamRepoId?: string;
                    };
                };
            };
            responses: {
                "204": {
                    content?: undefined;
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        react: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: {
                    commentId: string;
                    commitId: string;
                    emoticon: string;
                    projectKey: string;
                    repositorySlug: string;
                };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            comment?: {
                                anchor?: {
                                    diffType?: "COMMIT"
                                    | "EFFECTIVE"
                                    | "RANGE";
                                    fileType?: "FROM" | "TO";
                                    fromHash?: string;
                                    line?: number;
                                    lineType?: "ADDED" | "CONTEXT" | "REMOVED";
                                    multilineMarker?: { startLine?: ...; startLineType: ... };
                                    path?: {
                                        components?: ...;
                                        extension?: ...;
                                        name?: ...;
                                        parent?: ...;
                                    };
                                    pullRequest?: {
                                        closed?: ...;
                                        closedDate?: ...;
                                        createdDate?: ...;
                                        description?: ...;
                                        descriptionAsHtml?: ...;
                                        draft?: ...;
                                        fromRef?: ...;
                                        htmlDescription?: ...;
                                        id?: ...;
                                        links?: ...;
                                        locked?: ...;
                                        open?: ...;
                                        participants?: ...;
                                        reviewers?: ...;
                                        state?: ...;
                                        title?: ...;
                                        toRef?: ...;
                                        updatedDate?: ...;
                                        version?: ...;
                                    };
                                    srcPath?: {
                                        components?: ...;
                                        extension?: ...;
                                        name?: ...;
                                        parent?: ...;
                                    };
                                    toHash?: string;
                                };
                                anchored?: boolean;
                                author?: {
                                    active?: boolean;
                                    avatarUrl?: string;
                                    displayName?: string;
                                    emailAddress?: string;
                                    id?: number;
                                    links?: Record<(...), (...)>;
                                    name?: string;
                                    slug?: string;
                                    type?: "NORMAL" | "SERVICE";
                                };
                                comments?: readonly {
                                    anchor?: (...)
                                    | (...);
                                    anchored?: (...) | (...) | (...);
                                    author?: (...) | (...);
                                    comments?: readonly { readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineType?: "ADDED" | "CONTEXT" | "REMOVED"; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }[]...;
                                    createdDate?: (...) | (...);
                                    html?: (...) | (...);
                                    id?: (...) | (...);
                                    parent?: (...) | (...);
                                    pending?: (...) | (...) | (...);
                                    properties?: (...) | (...);
                                    reply?: (...) | (...) | (...);
                                    resolvedDate?: (...) | (...);
                                    resolver?: (...) | (...);
                                    severity?: (...) | (...);
                                    state?: (...) | (...);
                                    text?: (...) | (...);
                                    threadResolved?: (...) | (...) | (...);
                                    threadResolvedDate?: (...) | (...);
                                    threadResolver?: (...) | (...);
                                    updatedDate?: (...) | (...);
                                    version?: (...) | (...);
                                }[];
                                createdDate?: number;
                                html?: string;
                                id?: number;
                                parent?: {
                                    anchor?: {
                                        diffType?: ...;
                                        fileType?: ...;
                                        fromHash?: ...;
                                        line?: ...;
                                        lineType?: ...;
                                        multilineMarker?: ...;
                                        path?: ...;
                                        pullRequest?: ...;
                                        srcPath?: ...;
                                        toHash?: ...;
                                    };
                                    anchored?: boolean;
                                    author?: {
                                        active?: ...;
                                        avatarUrl?: ...;
                                        displayName?: ...;
                                        emailAddress?: ...;
                                        id?: ...;
                                        links?: ...;
                                        name?: ...;
                                        slug?: ...;
                                        type?: ...;
                                    };
                                    comments?: readonly (...)[];
                                    createdDate?: number;
                                    html?: string;
                                    id?: number;
                                    pending?: boolean;
                                    properties?: Record<(...), (...)>;
                                    reply?: boolean;
                                    resolvedDate?: number;
                                    resolver?: {
                                        active?: ...;
                                        avatarUrl?: ...;
                                        displayName?: ...;
                                        emailAddress?: ...;
                                        id?: ...;
                                        links?: ...;
                                        name?: ...;
                                        slug?: ...;
                                        type?: ...;
                                    };
                                    severity?: string;
                                    state?: string;
                                    text?: string;
                                    threadResolved?: boolean;
                                    threadResolvedDate?: number;
                                    threadResolver?: {
                                        active?: ...;
                                        avatarUrl?: ...;
                                        displayName?: ...;
                                        emailAddress?: ...;
                                        id?: ...;
                                        links?: ...;
                                        name?: ...;
                                        slug?: ...;
                                        type?: ...;
                                    };
                                    updatedDate?: number;
                                    version?: number;
                                };
                                pending?: boolean;
                                properties?: Record<string, unknown>;
                                reply?: boolean;
                                resolvedDate?: number;
                                resolver?: {
                                    active?: boolean;
                                    avatarUrl?: string;
                                    displayName?: string;
                                    emailAddress?: string;
                                    id?: number;
                                    links?: Record<(...), (...)>;
                                    name?: string;
                                    slug?: string;
                                    type?: "NORMAL" | "SERVICE";
                                };
                                severity?: string;
                                state?: string;
                                text?: string;
                                threadResolved?: boolean;
                                threadResolvedDate?: number;
                                threadResolver?: {
                                    active?: boolean;
                                    avatarUrl?: string;
                                    displayName?: string;
                                    emailAddress?: string;
                                    id?: number;
                                    links?: Record<(...), (...)>;
                                    name?: string;
                                    slug?: string;
                                    type?: "NORMAL" | "SERVICE";
                                };
                                updatedDate?: number;
                                version?: number;
                            };
                            emoticon?: { shortcut?: string; url?: string; value?: string };
                            user?: {
                                active?: boolean;
                                avatarUrl?: string;
                                displayName?: string;
                                emailAddress?: string;
                                id?: number;
                                links?: Record<string, unknown>;
                                name?: string;
                                slug?: string;
                                type?: "NORMAL" | "SERVICE";
                            };
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        react_1: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: {
                    commentId: string;
                    emoticon: string;
                    projectKey: string;
                    pullRequestId: string;
                    repositorySlug: string;
                };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            comment?: {
                                anchor?: {
                                    diffType?: "COMMIT"
                                    | "EFFECTIVE"
                                    | "RANGE";
                                    fileType?: "FROM" | "TO";
                                    fromHash?: string;
                                    line?: number;
                                    lineType?: "ADDED" | "CONTEXT" | "REMOVED";
                                    multilineMarker?: { startLine?: ...; startLineType: ... };
                                    path?: {
                                        components?: ...;
                                        extension?: ...;
                                        name?: ...;
                                        parent?: ...;
                                    };
                                    pullRequest?: {
                                        closed?: ...;
                                        closedDate?: ...;
                                        createdDate?: ...;
                                        description?: ...;
                                        descriptionAsHtml?: ...;
                                        draft?: ...;
                                        fromRef?: ...;
                                        htmlDescription?: ...;
                                        id?: ...;
                                        links?: ...;
                                        locked?: ...;
                                        open?: ...;
                                        participants?: ...;
                                        reviewers?: ...;
                                        state?: ...;
                                        title?: ...;
                                        toRef?: ...;
                                        updatedDate?: ...;
                                        version?: ...;
                                    };
                                    srcPath?: {
                                        components?: ...;
                                        extension?: ...;
                                        name?: ...;
                                        parent?: ...;
                                    };
                                    toHash?: string;
                                };
                                anchored?: boolean;
                                author?: {
                                    active?: boolean;
                                    avatarUrl?: string;
                                    displayName?: string;
                                    emailAddress?: string;
                                    id?: number;
                                    links?: Record<(...), (...)>;
                                    name?: string;
                                    slug?: string;
                                    type?: "NORMAL" | "SERVICE";
                                };
                                comments?: readonly {
                                    anchor?: (...)
                                    | (...);
                                    anchored?: (...) | (...) | (...);
                                    author?: (...) | (...);
                                    comments?: readonly { readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineType?: "ADDED" | "CONTEXT" | "REMOVED"; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }[]...;
                                    createdDate?: (...) | (...);
                                    html?: (...) | (...);
                                    id?: (...) | (...);
                                    parent?: (...) | (...);
                                    pending?: (...) | (...) | (...);
                                    properties?: (...) | (...);
                                    reply?: (...) | (...) | (...);
                                    resolvedDate?: (...) | (...);
                                    resolver?: (...) | (...);
                                    severity?: (...) | (...);
                                    state?: (...) | (...);
                                    text?: (...) | (...);
                                    threadResolved?: (...) | (...) | (...);
                                    threadResolvedDate?: (...) | (...);
                                    threadResolver?: (...) | (...);
                                    updatedDate?: (...) | (...);
                                    version?: (...) | (...);
                                }[];
                                createdDate?: number;
                                html?: string;
                                id?: number;
                                parent?: {
                                    anchor?: {
                                        diffType?: ...;
                                        fileType?: ...;
                                        fromHash?: ...;
                                        line?: ...;
                                        lineType?: ...;
                                        multilineMarker?: ...;
                                        path?: ...;
                                        pullRequest?: ...;
                                        srcPath?: ...;
                                        toHash?: ...;
                                    };
                                    anchored?: boolean;
                                    author?: {
                                        active?: ...;
                                        avatarUrl?: ...;
                                        displayName?: ...;
                                        emailAddress?: ...;
                                        id?: ...;
                                        links?: ...;
                                        name?: ...;
                                        slug?: ...;
                                        type?: ...;
                                    };
                                    comments?: readonly (...)[];
                                    createdDate?: number;
                                    html?: string;
                                    id?: number;
                                    pending?: boolean;
                                    properties?: Record<(...), (...)>;
                                    reply?: boolean;
                                    resolvedDate?: number;
                                    resolver?: {
                                        active?: ...;
                                        avatarUrl?: ...;
                                        displayName?: ...;
                                        emailAddress?: ...;
                                        id?: ...;
                                        links?: ...;
                                        name?: ...;
                                        slug?: ...;
                                        type?: ...;
                                    };
                                    severity?: string;
                                    state?: string;
                                    text?: string;
                                    threadResolved?: boolean;
                                    threadResolvedDate?: number;
                                    threadResolver?: {
                                        active?: ...;
                                        avatarUrl?: ...;
                                        displayName?: ...;
                                        emailAddress?: ...;
                                        id?: ...;
                                        links?: ...;
                                        name?: ...;
                                        slug?: ...;
                                        type?: ...;
                                    };
                                    updatedDate?: number;
                                    version?: number;
                                };
                                pending?: boolean;
                                properties?: Record<string, unknown>;
                                reply?: boolean;
                                resolvedDate?: number;
                                resolver?: {
                                    active?: boolean;
                                    avatarUrl?: string;
                                    displayName?: string;
                                    emailAddress?: string;
                                    id?: number;
                                    links?: Record<(...), (...)>;
                                    name?: string;
                                    slug?: string;
                                    type?: "NORMAL" | "SERVICE";
                                };
                                severity?: string;
                                state?: string;
                                text?: string;
                                threadResolved?: boolean;
                                threadResolvedDate?: number;
                                threadResolver?: {
                                    active?: boolean;
                                    avatarUrl?: string;
                                    displayName?: string;
                                    emailAddress?: string;
                                    id?: number;
                                    links?: Record<(...), (...)>;
                                    name?: string;
                                    slug?: string;
                                    type?: "NORMAL" | "SERVICE";
                                };
                                updatedDate?: number;
                                version?: number;
                            };
                            emoticon?: { shortcut?: string; url?: string; value?: string };
                            user?: {
                                active?: boolean;
                                avatarUrl?: string;
                                displayName?: string;
                                emailAddress?: string;
                                id?: number;
                                links?: Record<string, unknown>;
                                name?: string;
                                slug?: string;
                                type?: "NORMAL" | "SERVICE";
                            };
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        read: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { scriptId: string };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: { "application/json": unknown };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        rebase: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: {
                    projectKey: string;
                    pullRequestId: string;
                    repositorySlug: string;
                };
                query?: undefined;
            };
            requestBody?: { content: { "application/json": { version?: number } } };
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            refChange?: {
                                fromHash?: string;
                                ref?: { displayId?: string; id?: string; type?: "BRANCH" | "TAG" };
                                refId?: string;
                                toHash?: string;
                                type?: "DELETE" | "ADD" | "UPDATE";
                            };
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "409": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        register: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: undefined;
            };
            requestBody?: {
                content: {
                    "application/json": {
                        id?: number;
                        mirrorBaseUrl?: string;
                        mirrorId?: string;
                        mirrorName?: string;
                        mirrorType?: "FARM"
                        | "SINGLE";
                        productVersion?: string;
                        state?: "ACCEPTED" | "PENDING" | "REJECTED";
                    };
                };
            };
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            id?: number;
                            mirrorBaseUrl?: string;
                            mirrorId?: string;
                            mirrorName?: string;
                            mirrorType?: "FARM"
                            | "SINGLE";
                            productVersion?: string;
                            state?: "ACCEPTED" | "PENDING" | "REJECTED";
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "409": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        registerNewMeshNode: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: undefined;
            };
            requestBody?: {
                content: {
                    "application/json": {
                        id?: string;
                        lastSeenDate?: number;
                        name?: string;
                        offline?: boolean;
                        rpcId?: string;
                        rpcUrl?: string;
                        state?: "AVAILABLE"
                        | "OFFLINE"
                        | "DELETING"
                        | "DISABLED"
                        | "DRAINING";
                    };
                };
            };
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            id?: string;
                            lastSeenDate?: number;
                            name?: string;
                            offline?: boolean;
                            rpcId?: string;
                            rpcUrl?: string;
                            state?: "AVAILABLE"
                            | "OFFLINE"
                            | "DELETING"
                            | "DISABLED"
                            | "DRAINING";
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        reject: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { mirroringRequestId: string };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            baseUrl?: string;
                            enabled?: boolean;
                            id?: string;
                            lastSeenDate?: string;
                            mirrorType?: "FARM"
                            | "SINGLE";
                            name?: string;
                            productVersion?: string;
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "409": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        remove: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { mirrorId: string };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "204": {
                    content?: undefined;
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        removeConfiguration: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string; scriptId: string };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "204": {
                    content?: undefined;
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        removeConfiguration_1: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string; repositorySlug: string; scriptId: string };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "204": {
                    content?: undefined;
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        removeGroupFromUser: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: undefined;
            };
            requestBody?: {
                content: {
                    "application/json": { context?: string; itemName?: string };
                };
            };
            responses: {
                "200": {
                    content: { "application/json": unknown };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "403": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        removeLabel: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { labelName: string; projectKey: string; repositorySlug: string };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "204": {
                    content?: undefined;
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        removeUserFromGroup: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: undefined;
            };
            requestBody?: {
                content: {
                    "application/json": { context?: string; itemName?: string };
                };
            };
            responses: {
                "200": {
                    content: { "application/json": unknown };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "403": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        renameUser: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: undefined;
            };
            requestBody?: {
                content: { "application/json": { name?: string; newName?: string } };
            };
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            active?: boolean;
                            avatarUrl?: string;
                            deletable?: boolean;
                            directoryName?: string;
                            displayName?: string;
                            emailAddress?: string;
                            id?: number;
                            lastAuthenticationTimestamp?: number;
                            links?: Record<string, unknown>;
                            mutableDetails?: boolean;
                            mutableGroups?: boolean;
                            name?: string;
                            slug?: string;
                            type?: "NORMAL" | "SERVICE";
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        reopen: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: {
                    projectKey: string;
                    pullRequestId: string;
                    repositorySlug: string;
                };
                query?: { version?: string };
            };
            requestBody?: { content: { "application/json": { version?: number } } };
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            closed?: boolean;
                            closedDate?: number;
                            createdDate?: number;
                            description?: string;
                            descriptionAsHtml?: string;
                            draft?: boolean;
                            fromRef?: {
                                displayId?: string;
                                id?: string;
                                latestCommit?: string;
                                repository?: {
                                    archived?: boolean;
                                    defaultBranch?: string;
                                    description?: string;
                                    forkable?: boolean;
                                    hierarchyId?: string;
                                    id?: number;
                                    links?: Record<(...), (...)>;
                                    name?: string;
                                    origin?: {
                                        archived?: ...;
                                        defaultBranch?: ...;
                                        description?: ...;
                                        forkable?: ...;
                                        hierarchyId?: ...;
                                        id?: ...;
                                        links?: ...;
                                        name?: ...;
                                        partition?: ...;
                                        project?: ...;
                                        public?: ...;
                                        relatedLinks?: ...;
                                        scmId?: ...;
                                        scope?: ...;
                                        slug?: ...;
                                        state?: ...;
                                        statusMessage?: ...;
                                    };
                                    partition?: number;
                                    project?: {
                                        avatar?: ...;
                                        avatarUrl?: ...;
                                        description?: ...;
                                        id?: ...;
                                        key: ...;
                                        links?: ...;
                                        name?: ...;
                                        public?: ...;
                                        scope?: ...;
                                        type?: ...;
                                    };
                                    public?: boolean;
                                    relatedLinks?: Record<(...), (...)>;
                                    scmId?: string;
                                    scope?: string;
                                    slug?: string;
                                    state?:
                                        | "AVAILABLE"
                                        | "INITIALISATION_FAILED"
                                        | "INITIALISING"
                                        | "OFFLINE";
                                    statusMessage?: string;
                                };
                                type?: "BRANCH"
                                | "TAG";
                            };
                            htmlDescription?: string;
                            id?: number;
                            links?: Record<string, unknown>;
                            locked?: boolean;
                            open?: boolean;
                            participants?: readonly {
                                approved?: boolean;
                                lastReviewedCommit?: string;
                                role?: "PARTICIPANT" | "REVIEWER" | "AUTHOR";
                                status?: "APPROVED" | "NEEDS_WORK" | "UNAPPROVED";
                                user?: {
                                    active?: (...) | (...) | (...);
                                    avatarUrl?: (...) | (...);
                                    displayName?: (...) | (...);
                                    emailAddress?: (...) | (...);
                                    id?: (...) | (...);
                                    links?: (...) | (...);
                                    name?: (...) | (...);
                                    slug?: (...) | (...);
                                    type?: (...) | (...) | (...);
                                };
                            }[];
                            reviewers?: readonly {
                                approved?: boolean;
                                lastReviewedCommit?: string;
                                role?: "PARTICIPANT"
                                | "REVIEWER"
                                | "AUTHOR";
                                status?: "APPROVED" | "NEEDS_WORK" | "UNAPPROVED";
                                user?: {
                                    active?: (...) | (...) | (...);
                                    avatarUrl?: (...) | (...);
                                    displayName?: (...) | (...);
                                    emailAddress?: (...) | (...);
                                    id?: (...) | (...);
                                    links?: (...) | (...);
                                    name?: (...) | (...);
                                    slug?: (...) | (...);
                                    type?: (...) | (...) | (...);
                                };
                            }[];
                            state?: "DECLINED"
                            | "MERGED"
                            | "OPEN";
                            title?: string;
                            toRef?: {
                                displayId?: string;
                                id?: string;
                                latestCommit?: string;
                                repository?: {
                                    archived?: boolean;
                                    defaultBranch?: string;
                                    description?: string;
                                    forkable?: boolean;
                                    hierarchyId?: string;
                                    id?: number;
                                    links?: Record<(...), (...)>;
                                    name?: string;
                                    origin?: {
                                        archived?: ...;
                                        defaultBranch?: ...;
                                        description?: ...;
                                        forkable?: ...;
                                        hierarchyId?: ...;
                                        id?: ...;
                                        links?: ...;
                                        name?: ...;
                                        partition?: ...;
                                        project?: ...;
                                        public?: ...;
                                        relatedLinks?: ...;
                                        scmId?: ...;
                                        scope?: ...;
                                        slug?: ...;
                                        state?: ...;
                                        statusMessage?: ...;
                                    };
                                    partition?: number;
                                    project?: {
                                        avatar?: ...;
                                        avatarUrl?: ...;
                                        description?: ...;
                                        id?: ...;
                                        key: ...;
                                        links?: ...;
                                        name?: ...;
                                        public?: ...;
                                        scope?: ...;
                                        type?: ...;
                                    };
                                    public?: boolean;
                                    relatedLinks?: Record<(...), (...)>;
                                    scmId?: string;
                                    scope?: string;
                                    slug?: string;
                                    state?:
                                        | "AVAILABLE"
                                        | "INITIALISATION_FAILED"
                                        | "INITIALISING"
                                        | "OFFLINE";
                                    statusMessage?: string;
                                };
                                type?: "BRANCH"
                                | "TAG";
                            };
                            updatedDate?: number;
                            version?: number;
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "409": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        retryCreateRepository: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string; repositorySlug: string };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            archived?: boolean;
                            defaultBranch?: string;
                            description?: string;
                            forkable?: boolean;
                            hierarchyId?: string;
                            id?: number;
                            links?: Record<string, unknown>;
                            name?: string;
                            origin?: {
                                archived?: boolean;
                                defaultBranch?: string;
                                description?: string;
                                forkable?: boolean;
                                hierarchyId?: string;
                                id?: number;
                                links?: Record<string, unknown>;
                                name?: string;
                                partition?: number;
                                project?: {
                                    avatar?: string;
                                    avatarUrl?: string;
                                    description?: string;
                                    id?: number;
                                    key: string;
                                    links?: Record<(...), (...)>;
                                    name?: string;
                                    public?: boolean;
                                    scope?: string;
                                    type?: "NORMAL" | "PERSONAL";
                                };
                                public?: boolean;
                                relatedLinks?: Record<string, unknown>;
                                scmId?: string;
                                scope?: string;
                                slug?: string;
                                state?:
                                    | "AVAILABLE"
                                    | "INITIALISATION_FAILED"
                                    | "INITIALISING"
                                    | "OFFLINE";
                                statusMessage?: string;
                            };
                            partition?: number;
                            project?: {
                                avatar?: string;
                                avatarUrl?: string;
                                description?: string;
                                id?: number;
                                key: string;
                                links?: Record<string, unknown>;
                                name?: string;
                                public?: boolean;
                                scope?: string;
                                type?: "NORMAL" | "PERSONAL";
                            };
                            public?: boolean;
                            relatedLinks?: Record<string, unknown>;
                            scmId?: string;
                            scope?: string;
                            slug?: string;
                            state?:
                                | "AVAILABLE"
                                | "INITIALISATION_FAILED"
                                | "INITIALISING"
                                | "OFFLINE";
                            statusMessage?: string;
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        revokeForProject: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { keyId: string; projectKey: string };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "204": {
                    content?: undefined;
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        revokeForRepository: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { keyId: string; projectKey: string; repositorySlug: string };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "204": {
                    content?: undefined;
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        revokeMany: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { keyId: string };
                query?: undefined;
            };
            requestBody?: {
                content: {
                    "application/json": {
                        projects?: {
                            avatar?: string;
                            avatarUrl?: string;
                            description?: string;
                            id?: number;
                            key?: string;
                            links?: Record<string, unknown>;
                            name?: string;
                            public?: boolean;
                            scope?: string;
                            type?: "NORMAL" | "PERSONAL";
                        };
                        repositories?: {
                            archived?: boolean;
                            defaultBranch?: string;
                            description?: string;
                            forkable?: boolean;
                            hierarchyId?: string;
                            id?: number;
                            links?: Record<string, unknown>;
                            name?: string;
                            origin?: {
                                archived?: boolean;
                                defaultBranch?: string;
                                description?: string;
                                forkable?: boolean;
                                hierarchyId?: string;
                                id?: number;
                                links?: Record<(...), (...)>;
                                name?: string;
                                partition?: number;
                                project?: {
                                    avatar?: ...;
                                    avatarUrl?: ...;
                                    description?: ...;
                                    id?: ...;
                                    key: ...;
                                    links?: ...;
                                    name?: ...;
                                    public?: ...;
                                    scope?: ...;
                                    type?: ...;
                                };
                                public?: boolean;
                                relatedLinks?: Record<(...), (...)>;
                                scmId?: string;
                                scope?: string;
                                slug?: string;
                                state?:
                                    | "AVAILABLE"
                                    | "INITIALISATION_FAILED"
                                    | "INITIALISING"
                                    | "OFFLINE";
                                statusMessage?: string;
                            };
                            partition?: number;
                            project?: {
                                avatar?: string;
                                avatarUrl?: string;
                                description?: string;
                                id?: number;
                                key: string;
                                links?: Record<(...), (...)>;
                                name?: string;
                                public?: boolean;
                                scope?: string;
                                type?: "NORMAL" | "PERSONAL";
                            };
                            public?: boolean;
                            relatedLinks?: Record<string, unknown>;
                            scmId?: string;
                            scope?: string;
                            slug?: string;
                            state?:
                                | "AVAILABLE"
                                | "INITIALISATION_FAILED"
                                | "INITIALISING"
                                | "OFFLINE";
                            statusMessage?: string;
                        };
                    };
                };
            };
            responses: {
                "204": {
                    content?: undefined;
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        revokePermissions: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string };
                query?: { group?: string; user?: string };
            };
            requestBody?: undefined;
            responses: {
                "204": {
                    content?: undefined;
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: { "application/json": unknown };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "409": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        revokePermissions_1: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string; repositorySlug: string };
                query?: { group?: string; user?: string };
            };
            requestBody?: undefined;
            responses: {
                "204": {
                    content?: undefined;
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: { "application/json": unknown };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "409": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        revokePermissionsForGroup: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query: { name: string };
            };
            requestBody?: undefined;
            responses: {
                "204": {
                    content?: undefined;
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "409": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        revokePermissionsForGroup_1: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string };
                query?: { name?: string };
            };
            requestBody?: undefined;
            responses: {
                "204": {
                    content?: undefined;
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "409": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        revokePermissionsForGroup_2: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string; repositorySlug: string };
                query: { name: string };
            };
            requestBody?: undefined;
            responses: {
                "204": {
                    content?: undefined;
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "409": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        revokePermissionsForUser: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query: { name: string };
            };
            requestBody?: undefined;
            responses: {
                "204": {
                    content?: undefined;
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "409": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        revokePermissionsForUser_1: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string };
                query?: { name?: string };
            };
            requestBody?: undefined;
            responses: {
                "204": {
                    content?: undefined;
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "409": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        revokePermissionsForUser_2: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string; repositorySlug: string };
                query: { name: string };
            };
            requestBody?: undefined;
            responses: {
                "204": {
                    content?: undefined;
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "409": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        saveAttachmentMetadata: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: {
                    attachmentId: string;
                    projectKey: string;
                    repositorySlug: string;
                };
                query?: undefined;
            };
            requestBody?: { content: { "application/json": string } };
            responses: {
                "200": {
                    content: { "application/json": unknown };
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        search: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string; repositorySlug: string };
                query?: {
                    direction?: string;
                    filter?: string;
                    limit?: number;
                    role?: string;
                    start?: number;
                };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            isLastPage?: boolean;
                            limit?: number;
                            nextPageStart?: number;
                            size?: number;
                            start?: number;
                            values?: readonly {
                                active?: boolean;
                                avatarUrl?: string;
                                displayName?: string;
                                emailAddress?: string;
                                id?: number;
                                links?: Record<string, unknown>;
                                name?: string;
                                slug?: string;
                                type?: "NORMAL" | "SERVICE";
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        search_1: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string };
                query?: {
                    filter?: string;
                    limit?: number;
                    order?: "NAME_ASC" | "NAME_DESC";
                    start?: number;
                };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            isLastPage?: boolean;
                            limit?: number;
                            nextPageStart?: number;
                            size?: number;
                            start?: number;
                            values?: readonly {
                                id?: number;
                                lineRegex?: string;
                                name?: string;
                                pathRegex?: string;
                                scope?: {
                                    resourceId?: (...)
                                    | (...);
                                    type?: (...) | (...) | (...) | (...);
                                };
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        search_2: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string; repositorySlug: string };
                query?: {
                    filter?: string;
                    limit?: number;
                    order?: "NAME_ASC" | "NAME_DESC";
                    start?: number;
                };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            isLastPage?: boolean;
                            limit?: number;
                            nextPageStart?: number;
                            size?: number;
                            start?: number;
                            values?: readonly {
                                id?: number;
                                lineRegex?: string;
                                name?: string;
                                pathRegex?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        search_3: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string; repositorySlug: string };
                query?: {
                    filter?: string;
                    limit?: number;
                    order?: "NAME_ASC" | "NAME_DESC";
                    start?: number;
                };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            isLastPage?: boolean;
                            limit?: number;
                            nextPageStart?: number;
                            size?: number;
                            start?: number;
                            values?: readonly {
                                id?: number;
                                lineRegex?: string;
                                name?: string;
                                pathRegex?: string;
                                scope?: {
                                    resourceId?: (...)
                                    | (...);
                                    type?: (...) | (...) | (...) | (...);
                                };
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        search_4: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: {
                    filter?: string;
                    limit?: number;
                    order?: "NAME_ASC"
                    | "NAME_DESC";
                    start?: number;
                };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            isLastPage?: boolean;
                            limit?: number;
                            nextPageStart?: number;
                            size?: number;
                            start?: number;
                            values?: readonly {
                                id?: number;
                                lineRegex?: string;
                                name?: string;
                                pathRegex?: string;
                                scope?: {
                                    resourceId?: (...)
                                    | (...);
                                    type?: (...) | (...) | (...) | (...);
                                };
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        searchAllowlistRule: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string };
                query?: {
                    filter?: string;
                    limit?: number;
                    order?: "NAME_ASC" | "NAME_DESC";
                    start?: number;
                };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            isLastPage?: boolean;
                            limit?: number;
                            nextPageStart?: number;
                            size?: number;
                            start?: number;
                            values?: readonly {
                                id?: number;
                                lineRegex?: string;
                                name?: string;
                                pathRegex?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        searchMeshMigrationRepos: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: {
                    limit?: number;
                    migrationId?: string;
                    name?: string;
                    projectKey?: string;
                    remote?: string;
                    start?: number;
                    state?: string;
                };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            isLastPage?: boolean;
                            limit?: number;
                            nextPageStart?: number;
                            size?: number;
                            start?: number;
                            values?: readonly {
                                migrationState?: | "FAILED"
                                | "SKIPPED"
                                | "CANCELED"
                                | "MIGRATED"
                                | "QUEUED"
                                | "STAGED"
                                | "STAGING";
                                repository?: {
                                    archived?: (...)
                                    | (...)
                                    | (...);
                                    defaultBranch?: (...) | (...);
                                    description?: (...) | (...);
                                    forkable?: (...) | (...) | (...);
                                    hierarchyId?: (...) | (...);
                                    id?: (...) | (...);
                                    links?: (...) | (...);
                                    name?: (...) | (...);
                                    origin?: (...) | (...);
                                    partition?: (...) | (...);
                                    project?: (...) | (...);
                                    public?: (...) | (...) | (...);
                                    relatedLinks?: (...) | (...);
                                    scmId?: (...) | (...);
                                    scope?: (...) | (...);
                                    slug?: (...) | (...);
                                    state?: (...) | (...) | (...) | (...) | (...);
                                    statusMessage?: (...) | (...);
                                };
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        searchPermissions: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string };
                query?: { filterText?: string; permission?: string; type?: string };
            };
            requestBody?: undefined;
            responses: {
                default: {
                    content: { "application/json;charset=UTF-8": unknown };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        searchPermissions_1: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string; repositorySlug: string };
                query?: { filterText?: string; permission?: string; type?: string };
            };
            requestBody?: undefined;
            responses: {
                default: {
                    content: { "application/json;charset=UTF-8": unknown };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        searchWebhooks: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string; repositorySlug: string };
                query?: { event?: string; scopeType?: string; statistics?: boolean };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: { "application/json": unknown };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        set: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string };
                query?: undefined;
            };
            requestBody?: {
                content: {
                    "application/json": {
                        enabled?: boolean;
                        restrictionAction?: "CREATE"
                        | "DELETE"
                        | "NONE";
                    };
                };
            };
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            enabled?: boolean;
                            restrictionState?: | "NONE"
                            | "RESTRICTED_MODIFIABLE"
                            | "RESTRICTED_UNMODIFIABLE";
                            scope?: {
                                resourceId?: number;
                                type?: "GLOBAL"
                                | "PROJECT"
                                | "REPOSITORY";
                            };
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        set_1: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string; repositorySlug: string };
                query?: undefined;
            };
            requestBody?: { content: { "application/json": { enabled?: boolean } } };
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            enabled?: boolean;
                            restrictionState?:
                                | "NONE"
                                | "RESTRICTED_MODIFIABLE"
                                | "RESTRICTED_UNMODIFIABLE";
                            scope?: {
                                resourceId?: number;
                                type?: "GLOBAL"
                                | "PROJECT"
                                | "REPOSITORY";
                            };
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "403": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        set_2: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: undefined;
            };
            requestBody?: {
                content: {
                    "application/json": {
                        settings?: { capacity?: number; fillRate?: number };
                        usernames?: readonly string[];
                        whitelisted?: boolean;
                    };
                };
            };
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            settings?: { capacity?: number; fillRate?: number };
                            user?: {
                                active?: boolean;
                                avatarUrl?: string;
                                displayName?: string;
                                emailAddress?: string;
                                id?: number;
                                links?: Record<string, unknown>;
                                name?: string;
                                slug?: string;
                                type?: "NORMAL" | "SERVICE";
                            };
                            whitelisted?: boolean;
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        set_3: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { userSlug: string };
                query?: undefined;
            };
            requestBody?: {
                content: {
                    "application/json": {
                        settings?: { capacity?: number; fillRate?: number };
                        whitelisted?: boolean;
                    };
                };
            };
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            settings?: { capacity?: number; fillRate?: number };
                            user?: {
                                active?: boolean;
                                avatarUrl?: string;
                                displayName?: string;
                                emailAddress?: string;
                                id?: number;
                                links?: Record<string, unknown>;
                                name?: string;
                                slug?: string;
                                type?: "NORMAL" | "SERVICE";
                            };
                            whitelisted?: boolean;
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        setACodeInsightsReport: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: {
                    commitId: string;
                    key: string;
                    projectKey: string;
                    repositorySlug: string;
                };
                query?: undefined;
            };
            requestBody?: {
                content: {
                    "application/json": {
                        coverageProviderKey?: string;
                        createdDate?: number;
                        data: readonly {
                            title?: string;
                            type?: string;
                            value?: Record<string, unknown>;
                        }[];
                        details?: string;
                        link?: string;
                        logoUrl?: string;
                        reporter?: string;
                        result?: string;
                        title: string;
                    };
                };
            };
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            createdDate?: number;
                            data?: readonly {
                                title?: string;
                                type?: string;
                                value?: Record<string, unknown>;
                            }[];
                            details?: string;
                            key?: string;
                            link?: string;
                            logoUrl?: string;
                            reporter?: string;
                            result?: "FAIL"
                            | "PASS";
                            title?: string;
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        setAnnotation: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: {
                    commitId: string;
                    externalId: string;
                    key: string;
                    projectKey: string;
                    repositorySlug: string;
                };
                query?: undefined;
            };
            requestBody?: {
                content: {
                    "application/json": {
                        externalId?: string;
                        line?: number;
                        link?: string;
                        message: string;
                        path?: string;
                        severity: string;
                        type?: string;
                    };
                };
            };
            responses: {
                "204": {
                    content?: undefined;
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        setAutoDeclineSettings: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string };
                query?: undefined;
            };
            requestBody?: {
                content: {
                    "application/json": { enabled?: boolean; inactivityWeeks?: number };
                };
            };
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            enabled?: boolean;
                            inactivityWeeks?: number;
                            scope?: {
                                resourceId?: number;
                                type?: "GLOBAL"
                                | "PROJECT"
                                | "REPOSITORY";
                            };
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        setAutoDeclineSettings_1: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string; repositorySlug: string };
                query?: undefined;
            };
            requestBody?: {
                content: {
                    "application/json": { enabled?: boolean; inactivityWeeks?: number };
                };
            };
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            enabled?: boolean;
                            inactivityWeeks?: number;
                            scope?: {
                                resourceId?: number;
                                type?: "GLOBAL"
                                | "PROJECT"
                                | "REPOSITORY";
                            };
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        setBanner: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: undefined;
            };
            requestBody?: {
                content: {
                    "application/json": {
                        audience: "ALL"
                        | "AUTHENTICATED";
                        enabled?: boolean;
                        message?: string;
                    };
                };
            };
            responses: {
                "204": {
                    content?: undefined;
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        setConfiguration: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string; scriptId: string };
                query?: undefined;
            };
            requestBody?: {
                content: { "application/json": { triggerIds?: readonly string[] } };
            };
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            scope?: {
                                resourceId?: number;
                                type?: "GLOBAL"
                                | "PROJECT"
                                | "REPOSITORY";
                            };
                            script?: {
                                createdDate?: string;
                                description?: string;
                                id?: number;
                                name?: string;
                                pluginKey?: string;
                                type?: "POST"
                                | "PRE";
                                updatedDate?: string;
                                version?: number;
                            };
                            triggerIds?: readonly string[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        setConfiguration_1: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string; repositorySlug: string; scriptId: string };
                query?: undefined;
            };
            requestBody?: {
                content: { "application/json": { triggerIds?: readonly string[] } };
            };
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            scope?: {
                                resourceId?: number;
                                type?: "GLOBAL"
                                | "PROJECT"
                                | "REPOSITORY";
                            };
                            script?: {
                                createdDate?: string;
                                description?: string;
                                id?: number;
                                name?: string;
                                pluginKey?: string;
                                type?: "POST"
                                | "PRE";
                                updatedDate?: string;
                                version?: number;
                            };
                            triggerIds?: readonly string[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        setDefaultBranch: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: undefined;
            };
            requestBody?: { content: { "application/json": { id?: string } } };
            responses: {
                "204": {
                    content?: undefined;
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        setDefaultBranch_1: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string; repositorySlug: string };
                query?: undefined;
            };
            requestBody?: {
                content: {
                    "application/json": {
                        default?: boolean;
                        displayId?: string;
                        id?: string;
                        latestChangeset?: string;
                        latestCommit?: string;
                        type?: unknown;
                    };
                };
            };
            responses: {
                "204": {
                    content?: undefined;
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        setDefaultBranch_2: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string; repositorySlug: string };
                query?: undefined;
            };
            requestBody?: {
                content: {
                    "application/json": {
                        default?: boolean;
                        displayId?: string;
                        id?: string;
                        latestChangeset?: string;
                        latestCommit?: string;
                        type?: unknown;
                    };
                };
            };
            responses: {
                "204": {
                    content?: undefined;
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        setEnabled: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string; repositorySlug: string };
                query?: undefined;
            };
            requestBody?: {
                content: {
                    "application/json": {
                        aheadRefs?: {
                            displayId?: string;
                            id?: string;
                            state?: "AHEAD"
                            | "DIVERGED"
                            | "ORPHANED";
                            tag?: boolean;
                            type?: "BRANCH" | "TAG";
                        };
                        available?: boolean;
                        divergedRefs?: {
                            displayId?: string;
                            id?: string;
                            state?: "AHEAD"
                            | "DIVERGED"
                            | "ORPHANED";
                            tag?: boolean;
                            type?: "BRANCH" | "TAG";
                        };
                        enabled?: boolean;
                        lastSync?: number;
                        orphanedRefs?: {
                            displayId?: string;
                            id?: string;
                            state?: "AHEAD"
                            | "DIVERGED"
                            | "ORPHANED";
                            tag?: boolean;
                            type?: "BRANCH" | "TAG";
                        };
                    };
                };
            };
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            aheadRefs?: {
                                displayId?: string;
                                id?: string;
                                state?: "AHEAD"
                                | "DIVERGED"
                                | "ORPHANED";
                                tag?: boolean;
                                type?: "BRANCH" | "TAG";
                            };
                            available?: boolean;
                            divergedRefs?: {
                                displayId?: string;
                                id?: string;
                                state?: "AHEAD"
                                | "DIVERGED"
                                | "ORPHANED";
                                tag?: boolean;
                                type?: "BRANCH" | "TAG";
                            };
                            enabled?: boolean;
                            lastSync?: number;
                            orphanedRefs?: {
                                displayId?: string;
                                id?: string;
                                state?: "AHEAD"
                                | "DIVERGED"
                                | "ORPHANED";
                                tag?: boolean;
                                type?: "BRANCH" | "TAG";
                            };
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "204": {
                    content?: undefined;
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        setLevel: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { levelName: string; loggerName: string };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "204": {
                    content?: undefined;
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        setMailConfig: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: undefined;
            };
            requestBody?: {
                content: {
                    "application/json": {
                        hostname?: string;
                        password?: string;
                        port?: number;
                        protocol?: "SMTP"
                        | "SMTPS";
                        requireStartTls?: boolean;
                        senderAddress?: string;
                        username?: string;
                        useStartTls?: boolean;
                    };
                };
            };
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            hostname?: string;
                            password?: string;
                            port?: number;
                            protocol?: "SMTP"
                            | "SMTPS";
                            requireStartTls?: boolean;
                            senderAddress?: string;
                            username?: string;
                            useStartTls?: boolean;
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        setMergeConfig: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { scmId: string };
                query?: undefined;
            };
            requestBody?: {
                content: {
                    "application/json": {
                        mergeConfig?: {
                            commitMessageTemplate?: { body?: string; title?: string };
                            commitSummaries?: number;
                            defaultStrategy?: {
                                description?: string;
                                enabled?: boolean;
                                flag?: string;
                                id?: string;
                                links?: Record<(...), (...)>;
                                name?: string;
                            };
                            strategies?: readonly {
                                description?: (...)
                                | (...);
                                enabled?: (...) | (...) | (...);
                                flag?: (...) | (...);
                                id?: (...) | (...);
                                links?: (...) | (...);
                                name?: (...) | (...);
                            }[];
                            type?: string;
                        };
                    };
                };
            };
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            commitMessageTemplate?: { body?: string; title?: string };
                            commitSummaries?: number;
                            defaultStrategy?: {
                                description?: string;
                                enabled?: boolean;
                                flag?: string;
                                id?: string;
                                links?: Record<string, unknown>;
                                name?: string;
                            };
                            strategies?: readonly {
                                description?: string;
                                enabled?: boolean;
                                flag?: string;
                                id?: string;
                                links?: Record<string, unknown>;
                                name?: string;
                            }[];
                            type?: string;
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "409": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        setMirrorMode: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: undefined;
            };
            requestBody?: { content: { "application/json": string } };
            responses: {
                "200": {
                    content: { "application/json": unknown };
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        setMirrorSettings: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: undefined;
            };
            requestBody?: {
                content: {
                    "application/json": {
                        mode?: "ALL_PROJECTS"
                        | "SELECTED_PROJECTS";
                        projectIds?: readonly string[];
                    };
                };
            };
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            mode?: "ALL_PROJECTS"
                            | "SELECTED_PROJECTS";
                            projectIds?: readonly string[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        setPermissionForGroup: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string; repositorySlug: string };
                query: {
                    name: readonly string[];
                    permission: "REPO_ADMIN" | "REPO_READ" | "REPO_WRITE";
                };
            };
            requestBody?: undefined;
            responses: {
                "204": {
                    content?: undefined;
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "403": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        setPermissionForGroups: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query: {
                    name: readonly string[];
                    permission: "ADMIN"
                    | "LICENSED_USER"
                    | "PROJECT_CREATE"
                    | "SYS_ADMIN";
                };
            };
            requestBody?: undefined;
            responses: {
                "204": {
                    content?: undefined;
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "403": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "409": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        setPermissionForGroups_1: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string };
                query?: { name?: string; permission?: string };
            };
            requestBody?: undefined;
            responses: {
                "204": {
                    content?: undefined;
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "403": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        setPermissionForUser: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string; repositorySlug: string };
                query: {
                    name: readonly string[];
                    permission: "REPO_ADMIN" | "REPO_READ" | "REPO_WRITE";
                };
            };
            requestBody?: undefined;
            responses: {
                "204": {
                    content?: undefined;
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "403": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        setPermissionForUsers: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query: {
                    name: readonly string[];
                    permission: "ADMIN"
                    | "LICENSED_USER"
                    | "PROJECT_CREATE"
                    | "SYS_ADMIN";
                };
            };
            requestBody?: undefined;
            responses: {
                "204": {
                    content?: undefined;
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "403": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "409": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        setPermissionForUsers_1: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string };
                query?: { name?: string; permission?: string };
            };
            requestBody?: undefined;
            responses: {
                "204": {
                    content?: undefined;
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "403": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        setPreferredMirrorId: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: undefined;
            };
            requestBody?: { content: { "application/json": string } };
            responses: {
                "204": {
                    content?: undefined;
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        setRepositoryArchivePolicy: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: undefined;
            };
            requestBody?: {
                content: {
                    "application/json": {
                        permission?: "ADMIN"
                        | "PROJECT_ADMIN"
                        | "REPO_ADMIN"
                        | "SYS_ADMIN";
                    };
                };
            };
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            permission?: "ADMIN"
                            | "PROJECT_ADMIN"
                            | "REPO_ADMIN"
                            | "SYS_ADMIN";
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        setRepositoryDeletePolicy: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: undefined;
            };
            requestBody?: {
                content: {
                    "application/json": {
                        permission?: "ADMIN"
                        | "PROJECT_ADMIN"
                        | "REPO_ADMIN"
                        | "SYS_ADMIN";
                    };
                };
            };
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            permission?: "ADMIN"
                            | "PROJECT_ADMIN"
                            | "REPO_ADMIN"
                            | "SYS_ADMIN";
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        setRootLevel: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { levelName: string };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "204": {
                    content?: undefined;
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        setSenderAddress: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: undefined;
            };
            requestBody?: { content: { "application/json": string } };
            responses: {
                "200": {
                    content: { "application/json": unknown };
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        setSettings: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { hookKey: string; projectKey: string };
                query?: undefined;
            };
            requestBody?: {
                content: {
                    "application/json": {
                        booleanValue?: boolean;
                        doubleValue?: number;
                        integerValue?: number;
                        longValue?: number;
                        stringValue?: string;
                    };
                };
            };
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            booleanValue?: boolean;
                            doubleValue?: number;
                            integerValue?: number;
                            longValue?: number;
                            stringValue?: string;
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        setSettings_1: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { hookKey: string; projectKey: string; repositorySlug: string };
                query?: undefined;
            };
            requestBody?: {
                content: {
                    "application/json": {
                        booleanValue?: boolean;
                        doubleValue?: number;
                        integerValue?: number;
                        longValue?: number;
                        stringValue?: string;
                    };
                };
            };
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            booleanValue?: boolean;
                            doubleValue?: number;
                            integerValue?: number;
                            longValue?: number;
                            stringValue?: string;
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        setSettings_2: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: undefined;
            };
            requestBody?: {
                content: {
                    "application/json": {
                        defaultSettings?: { capacity?: number; fillRate?: number };
                        enabled?: boolean;
                    };
                };
            };
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            defaultSettings?: { capacity?: number; fillRate?: number };
                            enabled?: boolean;
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        sshSettings: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            accessKeysEnabled?: boolean;
                            baseUrl?: string;
                            enabled?: boolean;
                            fingerprint?: { algorithm?: string; value?: string };
                            port?: number;
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        startExport: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: undefined;
            };
            requestBody?: {
                content: {
                    "application/json": {
                        exportLocation?: string;
                        repositoriesRequest: {
                            includes: readonly { projectKey?: string; slug?: string }[];
                        };
                    };
                };
            };
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            endDate?: number;
                            id?: number;
                            initiator?: {
                                active?: boolean;
                                avatarUrl?: string;
                                displayName?: string;
                                emailAddress?: string;
                                id?: number;
                                links?: Record<string, unknown>;
                                name?: string;
                                slug?: string;
                                type?: "NORMAL" | "SERVICE";
                            };
                            nodeId?: string;
                            progress?: { message?: string; percentage?: number };
                            startDate?: number;
                            state?:
                                | "FAILED"
                                | "COMPLETED"
                                | "RUNNING"
                                | "READY"
                                | "INITIALISING"
                                | "ABORTED"
                                | "CANCELED"
                                | "CANCELING"
                                | "FINALISING"
                                | "TIMED_OUT";
                            type?: string;
                            updatedDate?: number;
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "503": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        startImport: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: undefined;
            };
            requestBody?: {
                content: { "application/json": { archivePath?: string } };
            };
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            endDate?: number;
                            id?: number;
                            initiator?: {
                                active?: boolean;
                                avatarUrl?: string;
                                displayName?: string;
                                emailAddress?: string;
                                id?: number;
                                links?: Record<string, unknown>;
                                name?: string;
                                slug?: string;
                                type?: "NORMAL" | "SERVICE";
                            };
                            nodeId?: string;
                            progress?: { message?: string; percentage?: number };
                            startDate?: number;
                            state?:
                                | "FAILED"
                                | "COMPLETED"
                                | "RUNNING"
                                | "READY"
                                | "INITIALISING"
                                | "ABORTED"
                                | "CANCELED"
                                | "CANCELING"
                                | "FINALISING"
                                | "TIMED_OUT";
                            type?: string;
                            updatedDate?: number;
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "503": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        startMeshMigration: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: undefined;
            };
            requestBody?: {
                content: {
                    "application/json": {
                        all?: boolean;
                        maxBytesPerSecond?: { asLong?: number; present?: boolean };
                        projectIds?: readonly number[];
                        repositoryIds?: readonly number[];
                    };
                };
            };
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            endDate?: number;
                            id?: number;
                            initiator?: {
                                active?: boolean;
                                avatarUrl?: string;
                                displayName?: string;
                                emailAddress?: string;
                                id?: number;
                                links?: Record<string, unknown>;
                                name?: string;
                                slug?: string;
                                type?: "NORMAL" | "SERVICE";
                            };
                            nodeId?: string;
                            progress?: { message?: string; percentage?: number };
                            startDate?: number;
                            state?:
                                | "FAILED"
                                | "COMPLETED"
                                | "RUNNING"
                                | "READY"
                                | "INITIALISING"
                                | "ABORTED"
                                | "CANCELED"
                                | "CANCELING"
                                | "FINALISING"
                                | "TIMED_OUT";
                            type?: string;
                            updatedDate?: number;
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "503": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        startMirroringProject: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectId: string };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: { "application/json": unknown };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        startMirroringProjects: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: undefined;
            };
            requestBody?: { content: { "application/json": readonly string[] } };
            responses: {
                "200": {
                    content: { "application/json": unknown };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        startRollingUpgrade: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            rollingUpgradeEnabled?: boolean;
                            version?: string;
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        stopMirroringProject: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectId: string };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "204": {
                    content?: undefined;
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        stream: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string; repositorySlug: string };
                query?: { at?: string };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            files?: {
                                latestCommit?: {
                                    author?: { avatarUrl?: ...; emailAddress?: ...; name?: ... };
                                    authorTimestamp?: number;
                                    committer?: { avatarUrl?: ...; emailAddress?: ...; name?: ... };
                                    committerTimestamp?: number;
                                    displayId?: string;
                                    id?: string;
                                    message?: string;
                                    parents?: readonly (...)[];
                                };
                                pomXml?: {
                                    author?: { avatarUrl?: ...; emailAddress?: ...; name?: ... };
                                    authorTimestamp?: number;
                                    committer?: { avatarUrl?: ...; emailAddress?: ...; name?: ... };
                                    committerTimestamp?: number;
                                    displayId?: string;
                                    id?: string;
                                    message?: string;
                                    parents?: readonly (...)[];
                                };
                                readmeMd?: {
                                    author?: { avatarUrl?: ...; emailAddress?: ...; name?: ... };
                                    authorTimestamp?: number;
                                    committer?: { avatarUrl?: ...; emailAddress?: ...; name?: ... };
                                    committerTimestamp?: number;
                                    displayId?: string;
                                    id?: string;
                                    message?: string;
                                    parents?: readonly (...)[];
                                };
                            };
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        stream_1: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { path: string; projectKey: string; repositorySlug: string };
                query?: { at?: string };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            files?: {
                                latestCommit?: {
                                    author?: { avatarUrl?: ...; emailAddress?: ...; name?: ... };
                                    authorTimestamp?: number;
                                    committer?: { avatarUrl?: ...; emailAddress?: ...; name?: ... };
                                    committerTimestamp?: number;
                                    displayId?: string;
                                    id?: string;
                                    message?: string;
                                    parents?: readonly (...)[];
                                };
                                pomXml?: {
                                    author?: { avatarUrl?: ...; emailAddress?: ...; name?: ... };
                                    authorTimestamp?: number;
                                    committer?: { avatarUrl?: ...; emailAddress?: ...; name?: ... };
                                    committerTimestamp?: number;
                                    displayId?: string;
                                    id?: string;
                                    message?: string;
                                    parents?: readonly (...)[];
                                };
                                readmeMd?: {
                                    author?: { avatarUrl?: ...; emailAddress?: ...; name?: ... };
                                    authorTimestamp?: number;
                                    committer?: { avatarUrl?: ...; emailAddress?: ...; name?: ... };
                                    committerTimestamp?: number;
                                    displayId?: string;
                                    id?: string;
                                    message?: string;
                                    parents?: readonly (...)[];
                                };
                            };
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        streamChanges: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string; repositorySlug: string };
                query?: {
                    from?: string;
                    fromRepo?: string;
                    limit?: number;
                    start?: number;
                    to?: string;
                };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            isLastPage?: boolean;
                            limit?: number;
                            nextPageStart?: number;
                            size?: number;
                            start?: number;
                            values?: readonly {
                                conflict?: {
                                    ourChange?: (...)
                                    | (...);
                                    theirChange?: (...) | (...);
                                };
                                contentId?: string;
                                executable?: boolean;
                                fromContentId?: string;
                                links?: Record<string, unknown>;
                                nodeType?: "DIRECTORY" | "FILE" | "SUBMODULE";
                                path?: {
                                    components?: (...) | (...);
                                    extension?: (...) | (...);
                                    name?: (...) | (...);
                                    parent?: (...) | (...);
                                };
                                percentUnchanged?: number;
                                srcExecutable?: boolean;
                                srcPath?: {
                                    components?: (...)
                                    | (...);
                                    extension?: (...) | (...);
                                    name?: (...) | (...);
                                    parent?: (...) | (...);
                                };
                                type?: "UNKNOWN"
                                | "DELETE"
                                | "ADD"
                                | "COPY"
                                | "MODIFY"
                                | "MOVE";
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        streamChanges_1: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: {
                    projectKey: string;
                    pullRequestId: string;
                    repositorySlug: string;
                };
                query?: {
                    changeScope?: string;
                    limit?: number;
                    sinceId?: string;
                    start?: number;
                    untilId?: string;
                    withComments?: string;
                };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            conflict?: {
                                ourChange?: {
                                    path?: {
                                        components?: ...;
                                        extension?: ...;
                                        name?: ...;
                                        parent?: ...;
                                    };
                                    srcPath?: {
                                        components?: ...;
                                        extension?: ...;
                                        name?: ...;
                                        parent?: ...;
                                    };
                                    type?: "UNKNOWN"
                                    | "DELETE"
                                    | "ADD"
                                    | "COPY"
                                    | "MODIFY"
                                    | "MOVE";
                                };
                                theirChange?: {
                                    path?: {
                                        components?: ...;
                                        extension?: ...;
                                        name?: ...;
                                        parent?: ...;
                                    };
                                    srcPath?: {
                                        components?: ...;
                                        extension?: ...;
                                        name?: ...;
                                        parent?: ...;
                                    };
                                    type?: "UNKNOWN"
                                    | "DELETE"
                                    | "ADD"
                                    | "COPY"
                                    | "MODIFY"
                                    | "MOVE";
                                };
                            };
                            contentId?: string;
                            executable?: boolean;
                            fromContentId?: string;
                            links?: Record<string, unknown>;
                            nodeType?: "DIRECTORY" | "FILE" | "SUBMODULE";
                            path?: {
                                components?: readonly string[];
                                extension?: string;
                                name?: string;
                                parent?: string;
                            };
                            percentUnchanged?: number;
                            srcExecutable?: boolean;
                            srcPath?: {
                                components?: readonly string[];
                                extension?: string;
                                name?: string;
                                parent?: string;
                            };
                            type?: "UNKNOWN"
                            | "DELETE"
                            | "ADD"
                            | "COPY"
                            | "MODIFY"
                            | "MOVE";
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        streamCommits: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string; repositorySlug: string };
                query?: {
                    from?: string;
                    fromRepo?: string;
                    limit?: number;
                    start?: number;
                    to?: string;
                };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            isLastPage?: boolean;
                            limit?: number;
                            nextPageStart?: number;
                            size?: number;
                            start?: number;
                            values?: readonly {
                                author?: {
                                    avatarUrl?: (...)
                                    | (...);
                                    emailAddress?: (...) | (...);
                                    name?: (...) | (...);
                                };
                                authorTimestamp?: number;
                                committer?: {
                                    avatarUrl?: (...)
                                    | (...);
                                    emailAddress?: (...) | (...);
                                    name?: (...) | (...);
                                };
                                committerTimestamp?: number;
                                displayId?: string;
                                id?: string;
                                message?: string;
                                parents?: readonly { displayId?: ...; id?: ... }[];
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        streamContributing: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string; repositorySlug: string };
                query?: {
                    at?: string;
                    hardwrap?: string;
                    htmlEscape?: string;
                    includeHeadingId?: string;
                    markup?: string;
                };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: { "application/json": unknown };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        streamDiff: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: {
                    commitId: string;
                    path: string;
                    projectKey: string;
                    repositorySlug: string;
                };
                query?: {
                    autoSrcPath?: string;
                    avatarScheme?: string;
                    avatarSize?: string;
                    contextLines?: string;
                    filter?: string;
                    since?: string;
                    srcPath?: string;
                    whitespace?: string;
                    withComments?: string;
                };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            binary?: boolean;
                            destination?: {
                                components?: readonly string[];
                                extension?: string;
                                name?: string;
                                parent?: string;
                            };
                            hunks?: readonly {
                                context?: string;
                                destinationLine?: number;
                                destinationSpan?: number;
                                segments?: readonly { lines?: ...; truncated?: ...; type?: ... }[];
                                sourceLine?: number;
                                sourceSpan?: number;
                                truncated?: boolean;
                            }[];
                            lineComments?: readonly {
                                anchor?: {
                                    diffType?: (...)
                                    | (...)
                                    | (...)
                                    | (...);
                                    fileType?: (...) | (...) | (...);
                                    fromHash?: (...) | (...);
                                    line?: (...) | (...);
                                    lineType?: (...) | (...) | (...) | (...);
                                    multilineMarker?: (...) | (...);
                                    path?: (...) | (...);
                                    pullRequest?: (...) | (...);
                                    srcPath?: (...) | (...);
                                    toHash?: (...) | (...);
                                };
                                anchored?: boolean;
                                author?: {
                                    active?: (...)
                                    | (...)
                                    | (...);
                                    avatarUrl?: (...) | (...);
                                    displayName?: (...) | (...);
                                    emailAddress?: (...) | (...);
                                    id?: (...) | (...);
                                    links?: (...) | (...);
                                    name?: (...) | (...);
                                    slug?: (...) | (...);
                                    type?: (...) | (...) | (...);
                                };
                                comments?: readonly { readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineType?: "ADDED" | "CONTEXT" | "REMOVED"; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }[]...;
                                createdDate?: number;
                                html?: string;
                                id?: number;
                                parent?: {
                                    anchor?: (...)
                                    | (...);
                                    anchored?: (...) | (...) | (...);
                                    author?: (...) | (...);
                                    comments?: readonly { readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineType?: "ADDED" | "CONTEXT" | "REMOVED"; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }[]...;
                                    createdDate?: (...) | (...);
                                    html?: (...) | (...);
                                    id?: (...) | (...);
                                    pending?: (...) | (...) | (...);
                                    properties?: (...) | (...);
                                    reply?: (...) | (...) | (...);
                                    resolvedDate?: (...) | (...);
                                    resolver?: (...) | (...);
                                    severity?: (...) | (...);
                                    state?: (...) | (...);
                                    text?: (...) | (...);
                                    threadResolved?: (...) | (...) | (...);
                                    threadResolvedDate?: (...) | (...);
                                    threadResolver?: (...) | (...);
                                    updatedDate?: (...) | (...);
                                    version?: (...) | (...);
                                };
                                pending?: boolean;
                                properties?: Record<string, unknown>;
                                reply?: boolean;
                                resolvedDate?: number;
                                resolver?: {
                                    active?: (...) | (...) | (...);
                                    avatarUrl?: (...) | (...);
                                    displayName?: (...) | (...);
                                    emailAddress?: (...) | (...);
                                    id?: (...) | (...);
                                    links?: (...) | (...);
                                    name?: (...) | (...);
                                    slug?: (...) | (...);
                                    type?: (...) | (...) | (...);
                                };
                                severity?: string;
                                state?: string;
                                text?: string;
                                threadResolved?: boolean;
                                threadResolvedDate?: number;
                                threadResolver?: {
                                    active?: (...)
                                    | (...)
                                    | (...);
                                    avatarUrl?: (...) | (...);
                                    displayName?: (...) | (...);
                                    emailAddress?: (...) | (...);
                                    id?: (...) | (...);
                                    links?: (...) | (...);
                                    name?: (...) | (...);
                                    slug?: (...) | (...);
                                    type?: (...) | (...) | (...);
                                };
                                updatedDate?: number;
                                version?: number;
                            }[];
                            properties?: Record<string, unknown>;
                            source?: {
                                components?: readonly string[];
                                extension?: string;
                                name?: string;
                                parent?: string;
                            };
                            truncated?: boolean;
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        streamDiff_1: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { path: string; projectKey: string; repositorySlug: string };
                query?: {
                    contextLines?: string;
                    from?: string;
                    fromRepo?: string;
                    srcPath?: string;
                    to?: string;
                    whitespace?: string;
                };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            binary?: boolean;
                            destination?: {
                                components?: readonly string[];
                                extension?: string;
                                name?: string;
                                parent?: string;
                            };
                            hunks?: readonly {
                                context?: string;
                                destinationLine?: number;
                                destinationSpan?: number;
                                segments?: readonly { lines?: ...; truncated?: ...; type?: ... }[];
                                sourceLine?: number;
                                sourceSpan?: number;
                                truncated?: boolean;
                            }[];
                            lineComments?: readonly {
                                anchor?: {
                                    diffType?: (...)
                                    | (...)
                                    | (...)
                                    | (...);
                                    fileType?: (...) | (...) | (...);
                                    fromHash?: (...) | (...);
                                    line?: (...) | (...);
                                    lineType?: (...) | (...) | (...) | (...);
                                    multilineMarker?: (...) | (...);
                                    path?: (...) | (...);
                                    pullRequest?: (...) | (...);
                                    srcPath?: (...) | (...);
                                    toHash?: (...) | (...);
                                };
                                anchored?: boolean;
                                author?: {
                                    active?: (...)
                                    | (...)
                                    | (...);
                                    avatarUrl?: (...) | (...);
                                    displayName?: (...) | (...);
                                    emailAddress?: (...) | (...);
                                    id?: (...) | (...);
                                    links?: (...) | (...);
                                    name?: (...) | (...);
                                    slug?: (...) | (...);
                                    type?: (...) | (...) | (...);
                                };
                                comments?: readonly { readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineType?: "ADDED" | "CONTEXT" | "REMOVED"; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }[]...;
                                createdDate?: number;
                                html?: string;
                                id?: number;
                                parent?: {
                                    anchor?: (...)
                                    | (...);
                                    anchored?: (...) | (...) | (...);
                                    author?: (...) | (...);
                                    comments?: readonly { readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineType?: "ADDED" | "CONTEXT" | "REMOVED"; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }[]...;
                                    createdDate?: (...) | (...);
                                    html?: (...) | (...);
                                    id?: (...) | (...);
                                    pending?: (...) | (...) | (...);
                                    properties?: (...) | (...);
                                    reply?: (...) | (...) | (...);
                                    resolvedDate?: (...) | (...);
                                    resolver?: (...) | (...);
                                    severity?: (...) | (...);
                                    state?: (...) | (...);
                                    text?: (...) | (...);
                                    threadResolved?: (...) | (...) | (...);
                                    threadResolvedDate?: (...) | (...);
                                    threadResolver?: (...) | (...);
                                    updatedDate?: (...) | (...);
                                    version?: (...) | (...);
                                };
                                pending?: boolean;
                                properties?: Record<string, unknown>;
                                reply?: boolean;
                                resolvedDate?: number;
                                resolver?: {
                                    active?: (...) | (...) | (...);
                                    avatarUrl?: (...) | (...);
                                    displayName?: (...) | (...);
                                    emailAddress?: (...) | (...);
                                    id?: (...) | (...);
                                    links?: (...) | (...);
                                    name?: (...) | (...);
                                    slug?: (...) | (...);
                                    type?: (...) | (...) | (...);
                                };
                                severity?: string;
                                state?: string;
                                text?: string;
                                threadResolved?: boolean;
                                threadResolvedDate?: number;
                                threadResolver?: {
                                    active?: (...)
                                    | (...)
                                    | (...);
                                    avatarUrl?: (...) | (...);
                                    displayName?: (...) | (...);
                                    emailAddress?: (...) | (...);
                                    id?: (...) | (...);
                                    links?: (...) | (...);
                                    name?: (...) | (...);
                                    slug?: (...) | (...);
                                    type?: (...) | (...) | (...);
                                };
                                updatedDate?: number;
                                version?: number;
                            }[];
                            properties?: Record<string, unknown>;
                            source?: {
                                components?: readonly string[];
                                extension?: string;
                                name?: string;
                                parent?: string;
                            };
                            truncated?: boolean;
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        streamDiff_2: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: {
                    path: string;
                    projectKey: string;
                    pullRequestId: string;
                    repositorySlug: string;
                };
                query?: {
                    avatarScheme?: string;
                    avatarSize?: string;
                    contextLines?: string;
                    diffType?: string;
                    sinceId?: string;
                    srcPath?: string;
                    untilId?: string;
                    whitespace?: string;
                    withComments?: string;
                };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            binary?: boolean;
                            destination?: {
                                components?: readonly string[];
                                extension?: string;
                                name?: string;
                                parent?: string;
                            };
                            hunks?: readonly {
                                context?: string;
                                destinationLine?: number;
                                destinationSpan?: number;
                                segments?: readonly { lines?: ...; truncated?: ...; type?: ... }[];
                                sourceLine?: number;
                                sourceSpan?: number;
                                truncated?: boolean;
                            }[];
                            lineComments?: readonly {
                                anchor?: {
                                    diffType?: (...)
                                    | (...)
                                    | (...)
                                    | (...);
                                    fileType?: (...) | (...) | (...);
                                    fromHash?: (...) | (...);
                                    line?: (...) | (...);
                                    lineType?: (...) | (...) | (...) | (...);
                                    multilineMarker?: (...) | (...);
                                    path?: (...) | (...);
                                    pullRequest?: (...) | (...);
                                    srcPath?: (...) | (...);
                                    toHash?: (...) | (...);
                                };
                                anchored?: boolean;
                                author?: {
                                    active?: (...)
                                    | (...)
                                    | (...);
                                    avatarUrl?: (...) | (...);
                                    displayName?: (...) | (...);
                                    emailAddress?: (...) | (...);
                                    id?: (...) | (...);
                                    links?: (...) | (...);
                                    name?: (...) | (...);
                                    slug?: (...) | (...);
                                    type?: (...) | (...) | (...);
                                };
                                comments?: readonly { readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineType?: "ADDED" | "CONTEXT" | "REMOVED"; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }[]...;
                                createdDate?: number;
                                html?: string;
                                id?: number;
                                parent?: {
                                    anchor?: (...)
                                    | (...);
                                    anchored?: (...) | (...) | (...);
                                    author?: (...) | (...);
                                    comments?: readonly { readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineType?: "ADDED" | "CONTEXT" | "REMOVED"; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }[]...;
                                    createdDate?: (...) | (...);
                                    html?: (...) | (...);
                                    id?: (...) | (...);
                                    pending?: (...) | (...) | (...);
                                    properties?: (...) | (...);
                                    reply?: (...) | (...) | (...);
                                    resolvedDate?: (...) | (...);
                                    resolver?: (...) | (...);
                                    severity?: (...) | (...);
                                    state?: (...) | (...);
                                    text?: (...) | (...);
                                    threadResolved?: (...) | (...) | (...);
                                    threadResolvedDate?: (...) | (...);
                                    threadResolver?: (...) | (...);
                                    updatedDate?: (...) | (...);
                                    version?: (...) | (...);
                                };
                                pending?: boolean;
                                properties?: Record<string, unknown>;
                                reply?: boolean;
                                resolvedDate?: number;
                                resolver?: {
                                    active?: (...) | (...) | (...);
                                    avatarUrl?: (...) | (...);
                                    displayName?: (...) | (...);
                                    emailAddress?: (...) | (...);
                                    id?: (...) | (...);
                                    links?: (...) | (...);
                                    name?: (...) | (...);
                                    slug?: (...) | (...);
                                    type?: (...) | (...) | (...);
                                };
                                severity?: string;
                                state?: string;
                                text?: string;
                                threadResolved?: boolean;
                                threadResolvedDate?: number;
                                threadResolver?: {
                                    active?: (...)
                                    | (...)
                                    | (...);
                                    avatarUrl?: (...) | (...);
                                    displayName?: (...) | (...);
                                    emailAddress?: (...) | (...);
                                    id?: (...) | (...);
                                    links?: (...) | (...);
                                    name?: (...) | (...);
                                    slug?: (...) | (...);
                                    type?: (...) | (...) | (...);
                                };
                                updatedDate?: number;
                                version?: number;
                            }[];
                            properties?: Record<string, unknown>;
                            source?: {
                                components?: readonly string[];
                                extension?: string;
                                name?: string;
                                parent?: string;
                            };
                            truncated?: boolean;
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        streamFiles: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string; repositorySlug: string };
                query?: { at?: string; limit?: number; start?: number };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            isLastPage?: boolean;
                            limit?: number;
                            nextPageStart?: number;
                            size?: number;
                            start?: number;
                            values?: readonly unknown[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        streamFiles_1: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { path: string; projectKey: string; repositorySlug: string };
                query?: { at?: string; limit?: number; start?: number };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            isLastPage?: boolean;
                            limit?: number;
                            nextPageStart?: number;
                            size?: number;
                            start?: number;
                            values?: readonly unknown[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        streamLicense: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string; repositorySlug: string };
                query?: {
                    at?: string;
                    hardwrap?: string;
                    htmlEscape?: string;
                    includeHeadingId?: string;
                    markup?: string;
                };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: { "application/json": unknown };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        streamPatch: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string; repositorySlug: string };
                query?: { allAncestors?: string; since?: string; until?: string };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: { "application/json": unknown };
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        streamPatch_1: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: {
                    projectKey: string;
                    pullRequestId: string;
                    repositorySlug: string;
                };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: { "application/json": unknown };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        streamRaw: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { path: string; projectKey: string; repositorySlug: string };
                query?: {
                    at?: string;
                    hardwrap?: string;
                    htmlEscape?: string;
                    includeHeadingId?: string;
                    markup?: string;
                };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: { "application/json": unknown };
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        streamRawDiff: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string; repositorySlug: string };
                query?: {
                    contextLines?: string;
                    since?: string;
                    srcPath?: string;
                    until?: string;
                    whitespace?: string;
                };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: { "application/json": unknown };
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        streamRawDiff_1: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { path: string; projectKey: string; repositorySlug: string };
                query?: {
                    contextLines?: string;
                    since?: string;
                    srcPath?: string;
                    until?: string;
                    whitespace?: string;
                };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: { "application/json": unknown };
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        streamRawDiff_2: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: {
                    projectKey: string;
                    pullRequestId: string;
                    repositorySlug: string;
                };
                query?: { contextLines?: string; whitespace?: string };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: { "text/plain": unknown };
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: { "text/html": unknown };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: { "text/html": unknown };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        streamReadme: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string; repositorySlug: string };
                query?: {
                    at?: string;
                    hardwrap?: string;
                    htmlEscape?: string;
                    includeHeadingId?: string;
                    markup?: string;
                };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: { "application/json": unknown };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        synchronize: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string; repositorySlug: string };
                query?: undefined;
            };
            requestBody?: {
                content: {
                    "application/json": {
                        action?: "DISCARD"
                        | "MERGE"
                        | "REBASE";
                        context?: { commitMessage?: string };
                        refId?: string;
                    };
                };
            };
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            displayId?: string;
                            id?: string;
                            state?: "AHEAD"
                            | "DIVERGED"
                            | "ORPHANED";
                            tag?: boolean;
                            type?: "BRANCH" | "TAG";
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "204": {
                    content?: undefined;
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "409": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "501": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        testWebhook: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string };
                query?: {
                    sslVerificationRequired?: boolean;
                    url?: string;
                    webhookId?: number;
                };
            };
            requestBody?: {
                content: {
                    "application/json": { password?: string; username?: string };
                };
            };
            responses: {
                "200": {
                    content: { "application/json": unknown };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        testWebhook_1: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string; repositorySlug: string };
                query?: {
                    sslVerificationRequired?: string;
                    url?: string;
                    webhookId?: number;
                };
            };
            requestBody?: {
                content: {
                    "application/json": { password?: string; username?: string };
                };
            };
            responses: {
                "200": {
                    content: { "application/json": unknown };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        tryAutoMerge: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: {
                    projectKey: string;
                    pullRequestId: string;
                    repositorySlug: string;
                };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            autoMergeProcessingStatus?: | "MERGED"
                            | "UNKNOWN"
                            | "CANCELLED"
                            | "LOCK_FAILURE"
                            | "STALE"
                            | "VETOED";
                            pullRequest?: {
                                closed?: boolean;
                                closedDate?: number;
                                createdDate?: number;
                                description?: string;
                                descriptionAsHtml?: string;
                                draft?: boolean;
                                fromRef?: {
                                    displayId?: string;
                                    id?: string;
                                    latestCommit?: string;
                                    repository?: {
                                        archived?: ...;
                                        defaultBranch?: ...;
                                        description?: ...;
                                        forkable?: ...;
                                        hierarchyId?: ...;
                                        id?: ...;
                                        links?: ...;
                                        name?: ...;
                                        origin?: ...;
                                        partition?: ...;
                                        project?: ...;
                                        public?: ...;
                                        relatedLinks?: ...;
                                        scmId?: ...;
                                        scope?: ...;
                                        slug?: ...;
                                        state?: ...;
                                        statusMessage?: ...;
                                    };
                                    type?: "BRANCH"
                                    | "TAG";
                                };
                                htmlDescription?: string;
                                id?: number;
                                links?: Record<string, unknown>;
                                locked?: boolean;
                                open?: boolean;
                                participants?: readonly {
                                    approved?: (...) | (...) | (...);
                                    lastReviewedCommit?: (...) | (...);
                                    role?: (...) | (...) | (...) | (...);
                                    status?: (...) | (...) | (...) | (...);
                                    user?: (...) | (...);
                                }[];
                                reviewers?: readonly {
                                    approved?: (...)
                                    | (...)
                                    | (...);
                                    lastReviewedCommit?: (...) | (...);
                                    role?: (...) | (...) | (...) | (...);
                                    status?: (...) | (...) | (...) | (...);
                                    user?: (...) | (...);
                                }[];
                                state?: "DECLINED"
                                | "MERGED"
                                | "OPEN";
                                title?: string;
                                toRef?: {
                                    displayId?: string;
                                    id?: string;
                                    latestCommit?: string;
                                    repository?: {
                                        archived?: ...;
                                        defaultBranch?: ...;
                                        description?: ...;
                                        forkable?: ...;
                                        hierarchyId?: ...;
                                        id?: ...;
                                        links?: ...;
                                        name?: ...;
                                        origin?: ...;
                                        partition?: ...;
                                        project?: ...;
                                        public?: ...;
                                        relatedLinks?: ...;
                                        scmId?: ...;
                                        scope?: ...;
                                        slug?: ...;
                                        state?: ...;
                                        statusMessage?: ...;
                                    };
                                    type?: "BRANCH"
                                    | "TAG";
                                };
                                updatedDate?: number;
                                version?: number;
                            };
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "403": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        unassignParticipantRole: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: {
                    projectKey: string;
                    pullRequestId: string;
                    repositorySlug: string;
                    userSlug: string;
                };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "204": {
                    content?: undefined;
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "409": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        unassignParticipantRole_1: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: {
                    projectKey: string;
                    pullRequestId: string;
                    repositorySlug: string;
                };
                query?: { username?: string };
            };
            requestBody?: undefined;
            responses: {
                "204": {
                    content?: undefined;
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "409": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        unReact: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: {
                    commentId: string;
                    commitId: string;
                    emoticon: string;
                    projectKey: string;
                    repositorySlug: string;
                };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "204": {
                    content?: undefined;
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        unReact_1: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: {
                    commentId: string;
                    emoticon: string;
                    projectKey: string;
                    pullRequestId: string;
                    repositorySlug: string;
                };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "204": {
                    content?: undefined;
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        unwatch: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { commitId: string; projectKey: string; repositorySlug: string };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "204": {
                    content?: undefined;
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        unwatch_1: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: {
                    projectKey: string;
                    pullRequestId: string;
                    repositorySlug: string;
                };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "204": {
                    content?: undefined;
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        unwatch_2: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string; repositorySlug: string };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "204": {
                    content?: undefined;
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        update: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: {
                    projectKey: string;
                    pullRequestId: string;
                    repositorySlug: string;
                };
                query?: undefined;
            };
            requestBody?: {
                content: {
                    "application/json": {
                        closed?: boolean;
                        closedDate?: number;
                        createdDate?: number;
                        description?: string;
                        descriptionAsHtml?: string;
                        draft?: boolean;
                        fromRef?: {
                            displayId?: string;
                            id?: string;
                            latestCommit?: string;
                            repository?: {
                                archived?: boolean;
                                defaultBranch?: string;
                                description?: string;
                                forkable?: boolean;
                                hierarchyId?: string;
                                id?: number;
                                links?: Record<(...), (...)>;
                                name?: string;
                                origin?: {
                                    archived?: ...;
                                    defaultBranch?: ...;
                                    description?: ...;
                                    forkable?: ...;
                                    hierarchyId?: ...;
                                    id?: ...;
                                    links?: ...;
                                    name?: ...;
                                    partition?: ...;
                                    project?: ...;
                                    public?: ...;
                                    relatedLinks?: ...;
                                    scmId?: ...;
                                    scope?: ...;
                                    slug?: ...;
                                    state?: ...;
                                    statusMessage?: ...;
                                };
                                partition?: number;
                                project?: {
                                    avatar?: ...;
                                    avatarUrl?: ...;
                                    description?: ...;
                                    id?: ...;
                                    key: ...;
                                    links?: ...;
                                    name?: ...;
                                    public?: ...;
                                    scope?: ...;
                                    type?: ...;
                                };
                                public?: boolean;
                                relatedLinks?: Record<(...), (...)>;
                                scmId?: string;
                                scope?: string;
                                slug?: string;
                                state?:
                                    | "AVAILABLE"
                                    | "INITIALISATION_FAILED"
                                    | "INITIALISING"
                                    | "OFFLINE";
                                statusMessage?: string;
                            };
                            type?: "BRANCH"
                            | "TAG";
                        };
                        htmlDescription?: string;
                        id?: number;
                        links?: Record<string, unknown>;
                        locked?: boolean;
                        open?: boolean;
                        participants?: readonly {
                            approved?: boolean;
                            lastReviewedCommit?: string;
                            role?: "PARTICIPANT" | "REVIEWER" | "AUTHOR";
                            status?: "APPROVED" | "NEEDS_WORK" | "UNAPPROVED";
                            user?: {
                                active?: (...) | (...) | (...);
                                avatarUrl?: (...) | (...);
                                displayName?: (...) | (...);
                                emailAddress?: (...) | (...);
                                id?: (...) | (...);
                                links?: (...) | (...);
                                name?: (...) | (...);
                                slug?: (...) | (...);
                                type?: (...) | (...) | (...);
                            };
                        }[];
                        reviewers?: readonly {
                            approved?: boolean;
                            lastReviewedCommit?: string;
                            role?: "PARTICIPANT"
                            | "REVIEWER"
                            | "AUTHOR";
                            status?: "APPROVED" | "NEEDS_WORK" | "UNAPPROVED";
                            user?: {
                                active?: (...) | (...) | (...);
                                avatarUrl?: (...) | (...);
                                displayName?: (...) | (...);
                                emailAddress?: (...) | (...);
                                id?: (...) | (...);
                                links?: (...) | (...);
                                name?: (...) | (...);
                                slug?: (...) | (...);
                                type?: (...) | (...) | (...);
                            };
                        }[];
                        state?: "DECLINED"
                        | "MERGED"
                        | "OPEN";
                        title?: string;
                        toRef?: {
                            displayId?: string;
                            id?: string;
                            latestCommit?: string;
                            repository?: {
                                archived?: boolean;
                                defaultBranch?: string;
                                description?: string;
                                forkable?: boolean;
                                hierarchyId?: string;
                                id?: number;
                                links?: Record<(...), (...)>;
                                name?: string;
                                origin?: {
                                    archived?: ...;
                                    defaultBranch?: ...;
                                    description?: ...;
                                    forkable?: ...;
                                    hierarchyId?: ...;
                                    id?: ...;
                                    links?: ...;
                                    name?: ...;
                                    partition?: ...;
                                    project?: ...;
                                    public?: ...;
                                    relatedLinks?: ...;
                                    scmId?: ...;
                                    scope?: ...;
                                    slug?: ...;
                                    state?: ...;
                                    statusMessage?: ...;
                                };
                                partition?: number;
                                project?: {
                                    avatar?: ...;
                                    avatarUrl?: ...;
                                    description?: ...;
                                    id?: ...;
                                    key: ...;
                                    links?: ...;
                                    name?: ...;
                                    public?: ...;
                                    scope?: ...;
                                    type?: ...;
                                };
                                public?: boolean;
                                relatedLinks?: Record<(...), (...)>;
                                scmId?: string;
                                scope?: string;
                                slug?: string;
                                state?:
                                    | "AVAILABLE"
                                    | "INITIALISATION_FAILED"
                                    | "INITIALISING"
                                    | "OFFLINE";
                                statusMessage?: string;
                            };
                            type?: "BRANCH"
                            | "TAG";
                        };
                        updatedDate?: number;
                        version?: number;
                    };
                };
            };
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            closed?: boolean;
                            closedDate?: number;
                            createdDate?: number;
                            description?: string;
                            descriptionAsHtml?: string;
                            draft?: boolean;
                            fromRef?: {
                                displayId?: string;
                                id?: string;
                                latestCommit?: string;
                                repository?: {
                                    archived?: boolean;
                                    defaultBranch?: string;
                                    description?: string;
                                    forkable?: boolean;
                                    hierarchyId?: string;
                                    id?: number;
                                    links?: Record<(...), (...)>;
                                    name?: string;
                                    origin?: {
                                        archived?: ...;
                                        defaultBranch?: ...;
                                        description?: ...;
                                        forkable?: ...;
                                        hierarchyId?: ...;
                                        id?: ...;
                                        links?: ...;
                                        name?: ...;
                                        partition?: ...;
                                        project?: ...;
                                        public?: ...;
                                        relatedLinks?: ...;
                                        scmId?: ...;
                                        scope?: ...;
                                        slug?: ...;
                                        state?: ...;
                                        statusMessage?: ...;
                                    };
                                    partition?: number;
                                    project?: {
                                        avatar?: ...;
                                        avatarUrl?: ...;
                                        description?: ...;
                                        id?: ...;
                                        key: ...;
                                        links?: ...;
                                        name?: ...;
                                        public?: ...;
                                        scope?: ...;
                                        type?: ...;
                                    };
                                    public?: boolean;
                                    relatedLinks?: Record<(...), (...)>;
                                    scmId?: string;
                                    scope?: string;
                                    slug?: string;
                                    state?:
                                        | "AVAILABLE"
                                        | "INITIALISATION_FAILED"
                                        | "INITIALISING"
                                        | "OFFLINE";
                                    statusMessage?: string;
                                };
                                type?: "BRANCH"
                                | "TAG";
                            };
                            htmlDescription?: string;
                            id?: number;
                            links?: Record<string, unknown>;
                            locked?: boolean;
                            open?: boolean;
                            participants?: readonly {
                                approved?: boolean;
                                lastReviewedCommit?: string;
                                role?: "PARTICIPANT" | "REVIEWER" | "AUTHOR";
                                status?: "APPROVED" | "NEEDS_WORK" | "UNAPPROVED";
                                user?: {
                                    active?: (...) | (...) | (...);
                                    avatarUrl?: (...) | (...);
                                    displayName?: (...) | (...);
                                    emailAddress?: (...) | (...);
                                    id?: (...) | (...);
                                    links?: (...) | (...);
                                    name?: (...) | (...);
                                    slug?: (...) | (...);
                                    type?: (...) | (...) | (...);
                                };
                            }[];
                            reviewers?: readonly {
                                approved?: boolean;
                                lastReviewedCommit?: string;
                                role?: "PARTICIPANT"
                                | "REVIEWER"
                                | "AUTHOR";
                                status?: "APPROVED" | "NEEDS_WORK" | "UNAPPROVED";
                                user?: {
                                    active?: (...) | (...) | (...);
                                    avatarUrl?: (...) | (...);
                                    displayName?: (...) | (...);
                                    emailAddress?: (...) | (...);
                                    id?: (...) | (...);
                                    links?: (...) | (...);
                                    name?: (...) | (...);
                                    slug?: (...) | (...);
                                    type?: (...) | (...) | (...);
                                };
                            }[];
                            state?: "DECLINED"
                            | "MERGED"
                            | "OPEN";
                            title?: string;
                            toRef?: {
                                displayId?: string;
                                id?: string;
                                latestCommit?: string;
                                repository?: {
                                    archived?: boolean;
                                    defaultBranch?: string;
                                    description?: string;
                                    forkable?: boolean;
                                    hierarchyId?: string;
                                    id?: number;
                                    links?: Record<(...), (...)>;
                                    name?: string;
                                    origin?: {
                                        archived?: ...;
                                        defaultBranch?: ...;
                                        description?: ...;
                                        forkable?: ...;
                                        hierarchyId?: ...;
                                        id?: ...;
                                        links?: ...;
                                        name?: ...;
                                        partition?: ...;
                                        project?: ...;
                                        public?: ...;
                                        relatedLinks?: ...;
                                        scmId?: ...;
                                        scope?: ...;
                                        slug?: ...;
                                        state?: ...;
                                        statusMessage?: ...;
                                    };
                                    partition?: number;
                                    project?: {
                                        avatar?: ...;
                                        avatarUrl?: ...;
                                        description?: ...;
                                        id?: ...;
                                        key: ...;
                                        links?: ...;
                                        name?: ...;
                                        public?: ...;
                                        scope?: ...;
                                        type?: ...;
                                    };
                                    public?: boolean;
                                    relatedLinks?: Record<(...), (...)>;
                                    scmId?: string;
                                    scope?: string;
                                    slug?: string;
                                    state?:
                                        | "AVAILABLE"
                                        | "INITIALISATION_FAILED"
                                        | "INITIALISING"
                                        | "OFFLINE";
                                    statusMessage?: string;
                                };
                                type?: "BRANCH"
                                | "TAG";
                            };
                            updatedDate?: number;
                            version?: number;
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "409": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        update_1: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { id: string; projectKey: string };
                query?: undefined;
            };
            requestBody?: {
                content: {
                    "application/json": {
                        avatarUrl?: string;
                        description?: string;
                        id?: number;
                        name?: string;
                        scope?: {
                            resourceId?: number;
                            type?: "GLOBAL"
                            | "PROJECT"
                            | "REPOSITORY";
                        };
                        users?: readonly {
                            active?: boolean;
                            displayName?: string;
                            emailAddress?: string;
                            id?: number;
                            name?: string;
                            slug?: string;
                            type?: "NORMAL"
                            | "SERVICE";
                        }[];
                    };
                };
            };
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            avatarUrl?: string;
                            description?: string;
                            id?: number;
                            name?: string;
                            scope?: {
                                resourceId?: number;
                                type?: "GLOBAL"
                                | "PROJECT"
                                | "REPOSITORY";
                            };
                            users?: readonly {
                                active?: boolean;
                                displayName?: string;
                                emailAddress?: string;
                                id?: number;
                                name?: string;
                                slug?: string;
                                type?: "NORMAL"
                                | "SERVICE";
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "409": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        update_2: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { id: string; projectKey: string; repositorySlug: string };
                query?: undefined;
            };
            requestBody?: {
                content: {
                    "application/json": {
                        avatarUrl?: string;
                        description?: string;
                        id?: number;
                        name?: string;
                        scope?: {
                            resourceId?: number;
                            type?: "GLOBAL"
                            | "PROJECT"
                            | "REPOSITORY";
                        };
                        users?: readonly {
                            active?: boolean;
                            displayName?: string;
                            emailAddress?: string;
                            id?: number;
                            name?: string;
                            slug?: string;
                            type?: "NORMAL"
                            | "SERVICE";
                        }[];
                    };
                };
            };
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            avatarUrl?: string;
                            description?: string;
                            id?: number;
                            name?: string;
                            scope?: {
                                resourceId?: number;
                                type?: "GLOBAL"
                                | "PROJECT"
                                | "REPOSITORY";
                            };
                            users?: readonly {
                                active?: boolean;
                                displayName?: string;
                                emailAddress?: string;
                                id?: number;
                                name?: string;
                                slug?: string;
                                type?: "NORMAL"
                                | "SERVICE";
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "409": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        updateAccessToken: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string; tokenId: string };
                query?: undefined;
            };
            requestBody?: {
                content: {
                    "application/json": {
                        expiryDays?: number;
                        name?: string;
                        permissions?: readonly string[];
                    };
                };
            };
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            createdDate?: string;
                            id?: string;
                            name?: string;
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        updateAccessToken_1: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string; repositorySlug: string; tokenId: string };
                query?: undefined;
            };
            requestBody?: {
                content: {
                    "application/json": {
                        expiryDays?: number;
                        name?: string;
                        permissions?: readonly string[];
                    };
                };
            };
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            createdDate?: string;
                            id?: string;
                            name?: string;
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        updateAccessToken_2: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { tokenId: string; userSlug: string };
                query?: undefined;
            };
            requestBody?: {
                content: {
                    "application/json": {
                        expiryDays?: number;
                        name?: string;
                        permissions?: readonly string[];
                    };
                };
            };
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            createdDate?: string;
                            id?: string;
                            name?: string;
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        updateCertificateRevocationListEntries: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { id: string };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: { "application/json": unknown };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        updateComment: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: {
                    commentId: string;
                    commitId: string;
                    projectKey: string;
                    repositorySlug: string;
                };
                query?: undefined;
            };
            requestBody?: {
                content: {
                    "application/json": {
                        anchor?: {
                            diffType?: "COMMIT"
                            | "EFFECTIVE"
                            | "RANGE";
                            fileType?: "FROM" | "TO";
                            fromHash?: string;
                            line?: number;
                            lineType?: "ADDED" | "CONTEXT" | "REMOVED";
                            multilineMarker?: {
                                startLine?: number;
                                startLineType: "ADDED" | "CONTEXT" | "REMOVED";
                            };
                            path?: {
                                components?: readonly (...)[];
                                extension?: string;
                                name?: string;
                                parent?: string;
                            };
                            pullRequest?: {
                                closed?: boolean;
                                closedDate?: number;
                                createdDate?: number;
                                description?: string;
                                descriptionAsHtml?: string;
                                draft?: boolean;
                                fromRef?: {
                                    displayId?: ...;
                                    id?: ...;
                                    latestCommit?: ...;
                                    repository?: ...;
                                    type?: ...;
                                };
                                htmlDescription?: string;
                                id?: number;
                                links?: Record<(...), (...)>;
                                locked?: boolean;
                                open?: boolean;
                                participants?: readonly (...)[];
                                reviewers?: readonly (...)[];
                                state?: "DECLINED" | "MERGED" | "OPEN";
                                title?: string;
                                toRef?: {
                                    displayId?: ...;
                                    id?: ...;
                                    latestCommit?: ...;
                                    repository?: ...;
                                    type?: ...;
                                };
                                updatedDate?: number;
                                version?: number;
                            };
                            srcPath?: {
                                components?: readonly (...)[];
                                extension?: string;
                                name?: string;
                                parent?: string;
                            };
                            toHash?: string;
                        };
                        anchored?: boolean;
                        author?: {
                            active?: boolean;
                            avatarUrl?: string;
                            displayName?: string;
                            emailAddress?: string;
                            id?: number;
                            links?: Record<string, unknown>;
                            name?: string;
                            slug?: string;
                            type?: "NORMAL" | "SERVICE";
                        };
                        comments?: readonly (
                            { readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineType?: "ADDED" | "CONTEXT" | "REMOVED"; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }
                        )[];
                        createdDate?: number;
                        html?: string;
                        id?: number;
                        parent?: {
                            anchor?: {
                                diffType?: "COMMIT"
                                | "EFFECTIVE"
                                | "RANGE";
                                fileType?: "FROM" | "TO";
                                fromHash?: string;
                                line?: number;
                                lineType?: "ADDED" | "CONTEXT" | "REMOVED";
                                multilineMarker?: { startLine?: ...; startLineType: ... };
                                path?: {
                                    components?: ...;
                                    extension?: ...;
                                    name?: ...;
                                    parent?: ...;
                                };
                                pullRequest?: {
                                    closed?: ...;
                                    closedDate?: ...;
                                    createdDate?: ...;
                                    description?: ...;
                                    descriptionAsHtml?: ...;
                                    draft?: ...;
                                    fromRef?: ...;
                                    htmlDescription?: ...;
                                    id?: ...;
                                    links?: ...;
                                    locked?: ...;
                                    open?: ...;
                                    participants?: ...;
                                    reviewers?: ...;
                                    state?: ...;
                                    title?: ...;
                                    toRef?: ...;
                                    updatedDate?: ...;
                                    version?: ...;
                                };
                                srcPath?: {
                                    components?: ...;
                                    extension?: ...;
                                    name?: ...;
                                    parent?: ...;
                                };
                                toHash?: string;
                            };
                            anchored?: boolean;
                            author?: {
                                active?: boolean;
                                avatarUrl?: string;
                                displayName?: string;
                                emailAddress?: string;
                                id?: number;
                                links?: Record<(...), (...)>;
                                name?: string;
                                slug?: string;
                                type?: "NORMAL" | "SERVICE";
                            };
                            comments?: readonly (
                                { readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineType?: "ADDED" | "CONTEXT" | "REMOVED"; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }
                            )[];
                            createdDate?: number;
                            html?: string;
                            id?: number;
                            pending?: boolean;
                            properties?: Record<string, unknown>;
                            reply?: boolean;
                            resolvedDate?: number;
                            resolver?: {
                                active?: boolean;
                                avatarUrl?: string;
                                displayName?: string;
                                emailAddress?: string;
                                id?: number;
                                links?: Record<(...), (...)>;
                                name?: string;
                                slug?: string;
                                type?: "NORMAL" | "SERVICE";
                            };
                            severity?: string;
                            state?: string;
                            text?: string;
                            threadResolved?: boolean;
                            threadResolvedDate?: number;
                            threadResolver?: {
                                active?: boolean;
                                avatarUrl?: string;
                                displayName?: string;
                                emailAddress?: string;
                                id?: number;
                                links?: Record<(...), (...)>;
                                name?: string;
                                slug?: string;
                                type?: "NORMAL" | "SERVICE";
                            };
                            updatedDate?: number;
                            version?: number;
                        };
                        pending?: boolean;
                        properties?: Record<string, unknown>;
                        reply?: boolean;
                        resolvedDate?: number;
                        resolver?: {
                            active?: boolean;
                            avatarUrl?: string;
                            displayName?: string;
                            emailAddress?: string;
                            id?: number;
                            links?: Record<string, unknown>;
                            name?: string;
                            slug?: string;
                            type?: "NORMAL" | "SERVICE";
                        };
                        severity?: string;
                        state?: string;
                        text?: string;
                        threadResolved?: boolean;
                        threadResolvedDate?: number;
                        threadResolver?: {
                            active?: boolean;
                            avatarUrl?: string;
                            displayName?: string;
                            emailAddress?: string;
                            id?: number;
                            links?: Record<string, unknown>;
                            name?: string;
                            slug?: string;
                            type?: "NORMAL" | "SERVICE";
                        };
                        updatedDate?: number;
                        version?: number;
                    };
                };
            };
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            anchor?: {
                                diffType?: "COMMIT"
                                | "EFFECTIVE"
                                | "RANGE";
                                fileType?: "FROM" | "TO";
                                fromHash?: string;
                                line?: number;
                                lineType?: "ADDED" | "CONTEXT" | "REMOVED";
                                multilineMarker?: {
                                    startLine?: number;
                                    startLineType: "ADDED" | "CONTEXT" | "REMOVED";
                                };
                                path?: {
                                    components?: readonly (...)[];
                                    extension?: string;
                                    name?: string;
                                    parent?: string;
                                };
                                pullRequest?: {
                                    closed?: boolean;
                                    closedDate?: number;
                                    createdDate?: number;
                                    description?: string;
                                    descriptionAsHtml?: string;
                                    draft?: boolean;
                                    fromRef?: {
                                        displayId?: ...;
                                        id?: ...;
                                        latestCommit?: ...;
                                        repository?: ...;
                                        type?: ...;
                                    };
                                    htmlDescription?: string;
                                    id?: number;
                                    links?: Record<(...), (...)>;
                                    locked?: boolean;
                                    open?: boolean;
                                    participants?: readonly (...)[];
                                    reviewers?: readonly (...)[];
                                    state?: "DECLINED" | "MERGED" | "OPEN";
                                    title?: string;
                                    toRef?: {
                                        displayId?: ...;
                                        id?: ...;
                                        latestCommit?: ...;
                                        repository?: ...;
                                        type?: ...;
                                    };
                                    updatedDate?: number;
                                    version?: number;
                                };
                                srcPath?: {
                                    components?: readonly (...)[];
                                    extension?: string;
                                    name?: string;
                                    parent?: string;
                                };
                                toHash?: string;
                            };
                            anchored?: boolean;
                            author?: {
                                active?: boolean;
                                avatarUrl?: string;
                                displayName?: string;
                                emailAddress?: string;
                                id?: number;
                                links?: Record<string, unknown>;
                                name?: string;
                                slug?: string;
                                type?: "NORMAL" | "SERVICE";
                            };
                            comments?: readonly (
                                { readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineType?: "ADDED" | "CONTEXT" | "REMOVED"; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }
                            )[];
                            createdDate?: number;
                            html?: string;
                            id?: number;
                            parent?: {
                                anchor?: {
                                    diffType?: "COMMIT"
                                    | "EFFECTIVE"
                                    | "RANGE";
                                    fileType?: "FROM" | "TO";
                                    fromHash?: string;
                                    line?: number;
                                    lineType?: "ADDED" | "CONTEXT" | "REMOVED";
                                    multilineMarker?: { startLine?: ...; startLineType: ... };
                                    path?: {
                                        components?: ...;
                                        extension?: ...;
                                        name?: ...;
                                        parent?: ...;
                                    };
                                    pullRequest?: {
                                        closed?: ...;
                                        closedDate?: ...;
                                        createdDate?: ...;
                                        description?: ...;
                                        descriptionAsHtml?: ...;
                                        draft?: ...;
                                        fromRef?: ...;
                                        htmlDescription?: ...;
                                        id?: ...;
                                        links?: ...;
                                        locked?: ...;
                                        open?: ...;
                                        participants?: ...;
                                        reviewers?: ...;
                                        state?: ...;
                                        title?: ...;
                                        toRef?: ...;
                                        updatedDate?: ...;
                                        version?: ...;
                                    };
                                    srcPath?: {
                                        components?: ...;
                                        extension?: ...;
                                        name?: ...;
                                        parent?: ...;
                                    };
                                    toHash?: string;
                                };
                                anchored?: boolean;
                                author?: {
                                    active?: boolean;
                                    avatarUrl?: string;
                                    displayName?: string;
                                    emailAddress?: string;
                                    id?: number;
                                    links?: Record<(...), (...)>;
                                    name?: string;
                                    slug?: string;
                                    type?: "NORMAL" | "SERVICE";
                                };
                                comments?: readonly (
                                    { readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineType?: "ADDED" | "CONTEXT" | "REMOVED"; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }
                                )[];
                                createdDate?: number;
                                html?: string;
                                id?: number;
                                pending?: boolean;
                                properties?: Record<string, unknown>;
                                reply?: boolean;
                                resolvedDate?: number;
                                resolver?: {
                                    active?: boolean;
                                    avatarUrl?: string;
                                    displayName?: string;
                                    emailAddress?: string;
                                    id?: number;
                                    links?: Record<(...), (...)>;
                                    name?: string;
                                    slug?: string;
                                    type?: "NORMAL" | "SERVICE";
                                };
                                severity?: string;
                                state?: string;
                                text?: string;
                                threadResolved?: boolean;
                                threadResolvedDate?: number;
                                threadResolver?: {
                                    active?: boolean;
                                    avatarUrl?: string;
                                    displayName?: string;
                                    emailAddress?: string;
                                    id?: number;
                                    links?: Record<(...), (...)>;
                                    name?: string;
                                    slug?: string;
                                    type?: "NORMAL" | "SERVICE";
                                };
                                updatedDate?: number;
                                version?: number;
                            };
                            pending?: boolean;
                            properties?: Record<string, unknown>;
                            reply?: boolean;
                            resolvedDate?: number;
                            resolver?: {
                                active?: boolean;
                                avatarUrl?: string;
                                displayName?: string;
                                emailAddress?: string;
                                id?: number;
                                links?: Record<string, unknown>;
                                name?: string;
                                slug?: string;
                                type?: "NORMAL" | "SERVICE";
                            };
                            severity?: string;
                            state?: string;
                            text?: string;
                            threadResolved?: boolean;
                            threadResolvedDate?: number;
                            threadResolver?: {
                                active?: boolean;
                                avatarUrl?: string;
                                displayName?: string;
                                emailAddress?: string;
                                id?: number;
                                links?: Record<string, unknown>;
                                name?: string;
                                slug?: string;
                                type?: "NORMAL" | "SERVICE";
                            };
                            updatedDate?: number;
                            version?: number;
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "409": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        updateComment_1: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: {
                    commentId: string;
                    projectKey: string;
                    pullRequestId: string;
                    repositorySlug: string;
                };
                query?: undefined;
            };
            requestBody?: {
                content: {
                    "application/json": {
                        anchor?: {
                            diffType?: "COMMIT"
                            | "EFFECTIVE"
                            | "RANGE";
                            fileType?: "FROM" | "TO";
                            fromHash?: string;
                            line?: number;
                            lineType?: "ADDED" | "CONTEXT" | "REMOVED";
                            multilineMarker?: {
                                startLine?: number;
                                startLineType: "ADDED" | "CONTEXT" | "REMOVED";
                            };
                            path?: {
                                components?: readonly (...)[];
                                extension?: string;
                                name?: string;
                                parent?: string;
                            };
                            pullRequest?: {
                                closed?: boolean;
                                closedDate?: number;
                                createdDate?: number;
                                description?: string;
                                descriptionAsHtml?: string;
                                draft?: boolean;
                                fromRef?: {
                                    displayId?: ...;
                                    id?: ...;
                                    latestCommit?: ...;
                                    repository?: ...;
                                    type?: ...;
                                };
                                htmlDescription?: string;
                                id?: number;
                                links?: Record<(...), (...)>;
                                locked?: boolean;
                                open?: boolean;
                                participants?: readonly (...)[];
                                reviewers?: readonly (...)[];
                                state?: "DECLINED" | "MERGED" | "OPEN";
                                title?: string;
                                toRef?: {
                                    displayId?: ...;
                                    id?: ...;
                                    latestCommit?: ...;
                                    repository?: ...;
                                    type?: ...;
                                };
                                updatedDate?: number;
                                version?: number;
                            };
                            srcPath?: {
                                components?: readonly (...)[];
                                extension?: string;
                                name?: string;
                                parent?: string;
                            };
                            toHash?: string;
                        };
                        anchored?: boolean;
                        author?: {
                            active?: boolean;
                            avatarUrl?: string;
                            displayName?: string;
                            emailAddress?: string;
                            id?: number;
                            links?: Record<string, unknown>;
                            name?: string;
                            slug?: string;
                            type?: "NORMAL" | "SERVICE";
                        };
                        comments?: readonly (
                            { readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineType?: "ADDED" | "CONTEXT" | "REMOVED"; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }
                        )[];
                        createdDate?: number;
                        html?: string;
                        id?: number;
                        parent?: {
                            anchor?: {
                                diffType?: "COMMIT"
                                | "EFFECTIVE"
                                | "RANGE";
                                fileType?: "FROM" | "TO";
                                fromHash?: string;
                                line?: number;
                                lineType?: "ADDED" | "CONTEXT" | "REMOVED";
                                multilineMarker?: { startLine?: ...; startLineType: ... };
                                path?: {
                                    components?: ...;
                                    extension?: ...;
                                    name?: ...;
                                    parent?: ...;
                                };
                                pullRequest?: {
                                    closed?: ...;
                                    closedDate?: ...;
                                    createdDate?: ...;
                                    description?: ...;
                                    descriptionAsHtml?: ...;
                                    draft?: ...;
                                    fromRef?: ...;
                                    htmlDescription?: ...;
                                    id?: ...;
                                    links?: ...;
                                    locked?: ...;
                                    open?: ...;
                                    participants?: ...;
                                    reviewers?: ...;
                                    state?: ...;
                                    title?: ...;
                                    toRef?: ...;
                                    updatedDate?: ...;
                                    version?: ...;
                                };
                                srcPath?: {
                                    components?: ...;
                                    extension?: ...;
                                    name?: ...;
                                    parent?: ...;
                                };
                                toHash?: string;
                            };
                            anchored?: boolean;
                            author?: {
                                active?: boolean;
                                avatarUrl?: string;
                                displayName?: string;
                                emailAddress?: string;
                                id?: number;
                                links?: Record<(...), (...)>;
                                name?: string;
                                slug?: string;
                                type?: "NORMAL" | "SERVICE";
                            };
                            comments?: readonly (
                                { readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineType?: "ADDED" | "CONTEXT" | "REMOVED"; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }
                            )[];
                            createdDate?: number;
                            html?: string;
                            id?: number;
                            pending?: boolean;
                            properties?: Record<string, unknown>;
                            reply?: boolean;
                            resolvedDate?: number;
                            resolver?: {
                                active?: boolean;
                                avatarUrl?: string;
                                displayName?: string;
                                emailAddress?: string;
                                id?: number;
                                links?: Record<(...), (...)>;
                                name?: string;
                                slug?: string;
                                type?: "NORMAL" | "SERVICE";
                            };
                            severity?: string;
                            state?: string;
                            text?: string;
                            threadResolved?: boolean;
                            threadResolvedDate?: number;
                            threadResolver?: {
                                active?: boolean;
                                avatarUrl?: string;
                                displayName?: string;
                                emailAddress?: string;
                                id?: number;
                                links?: Record<(...), (...)>;
                                name?: string;
                                slug?: string;
                                type?: "NORMAL" | "SERVICE";
                            };
                            updatedDate?: number;
                            version?: number;
                        };
                        pending?: boolean;
                        properties?: Record<string, unknown>;
                        reply?: boolean;
                        resolvedDate?: number;
                        resolver?: {
                            active?: boolean;
                            avatarUrl?: string;
                            displayName?: string;
                            emailAddress?: string;
                            id?: number;
                            links?: Record<string, unknown>;
                            name?: string;
                            slug?: string;
                            type?: "NORMAL" | "SERVICE";
                        };
                        severity?: string;
                        state?: string;
                        text?: string;
                        threadResolved?: boolean;
                        threadResolvedDate?: number;
                        threadResolver?: {
                            active?: boolean;
                            avatarUrl?: string;
                            displayName?: string;
                            emailAddress?: string;
                            id?: number;
                            links?: Record<string, unknown>;
                            name?: string;
                            slug?: string;
                            type?: "NORMAL" | "SERVICE";
                        };
                        updatedDate?: number;
                        version?: number;
                    };
                };
            };
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            anchor?: {
                                diffType?: "COMMIT"
                                | "EFFECTIVE"
                                | "RANGE";
                                fileType?: "FROM" | "TO";
                                fromHash?: string;
                                line?: number;
                                lineType?: "ADDED" | "CONTEXT" | "REMOVED";
                                multilineMarker?: {
                                    startLine?: number;
                                    startLineType: "ADDED" | "CONTEXT" | "REMOVED";
                                };
                                path?: {
                                    components?: readonly (...)[];
                                    extension?: string;
                                    name?: string;
                                    parent?: string;
                                };
                                pullRequest?: {
                                    closed?: boolean;
                                    closedDate?: number;
                                    createdDate?: number;
                                    description?: string;
                                    descriptionAsHtml?: string;
                                    draft?: boolean;
                                    fromRef?: {
                                        displayId?: ...;
                                        id?: ...;
                                        latestCommit?: ...;
                                        repository?: ...;
                                        type?: ...;
                                    };
                                    htmlDescription?: string;
                                    id?: number;
                                    links?: Record<(...), (...)>;
                                    locked?: boolean;
                                    open?: boolean;
                                    participants?: readonly (...)[];
                                    reviewers?: readonly (...)[];
                                    state?: "DECLINED" | "MERGED" | "OPEN";
                                    title?: string;
                                    toRef?: {
                                        displayId?: ...;
                                        id?: ...;
                                        latestCommit?: ...;
                                        repository?: ...;
                                        type?: ...;
                                    };
                                    updatedDate?: number;
                                    version?: number;
                                };
                                srcPath?: {
                                    components?: readonly (...)[];
                                    extension?: string;
                                    name?: string;
                                    parent?: string;
                                };
                                toHash?: string;
                            };
                            anchored?: boolean;
                            author?: {
                                active?: boolean;
                                avatarUrl?: string;
                                displayName?: string;
                                emailAddress?: string;
                                id?: number;
                                links?: Record<string, unknown>;
                                name?: string;
                                slug?: string;
                                type?: "NORMAL" | "SERVICE";
                            };
                            comments?: readonly (
                                { readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineType?: "ADDED" | "CONTEXT" | "REMOVED"; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }
                            )[];
                            createdDate?: number;
                            html?: string;
                            id?: number;
                            parent?: {
                                anchor?: {
                                    diffType?: "COMMIT"
                                    | "EFFECTIVE"
                                    | "RANGE";
                                    fileType?: "FROM" | "TO";
                                    fromHash?: string;
                                    line?: number;
                                    lineType?: "ADDED" | "CONTEXT" | "REMOVED";
                                    multilineMarker?: { startLine?: ...; startLineType: ... };
                                    path?: {
                                        components?: ...;
                                        extension?: ...;
                                        name?: ...;
                                        parent?: ...;
                                    };
                                    pullRequest?: {
                                        closed?: ...;
                                        closedDate?: ...;
                                        createdDate?: ...;
                                        description?: ...;
                                        descriptionAsHtml?: ...;
                                        draft?: ...;
                                        fromRef?: ...;
                                        htmlDescription?: ...;
                                        id?: ...;
                                        links?: ...;
                                        locked?: ...;
                                        open?: ...;
                                        participants?: ...;
                                        reviewers?: ...;
                                        state?: ...;
                                        title?: ...;
                                        toRef?: ...;
                                        updatedDate?: ...;
                                        version?: ...;
                                    };
                                    srcPath?: {
                                        components?: ...;
                                        extension?: ...;
                                        name?: ...;
                                        parent?: ...;
                                    };
                                    toHash?: string;
                                };
                                anchored?: boolean;
                                author?: {
                                    active?: boolean;
                                    avatarUrl?: string;
                                    displayName?: string;
                                    emailAddress?: string;
                                    id?: number;
                                    links?: Record<(...), (...)>;
                                    name?: string;
                                    slug?: string;
                                    type?: "NORMAL" | "SERVICE";
                                };
                                comments?: readonly (
                                    { readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineType?: "ADDED" | "CONTEXT" | "REMOVED"; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }
                                )[];
                                createdDate?: number;
                                html?: string;
                                id?: number;
                                pending?: boolean;
                                properties?: Record<string, unknown>;
                                reply?: boolean;
                                resolvedDate?: number;
                                resolver?: {
                                    active?: boolean;
                                    avatarUrl?: string;
                                    displayName?: string;
                                    emailAddress?: string;
                                    id?: number;
                                    links?: Record<(...), (...)>;
                                    name?: string;
                                    slug?: string;
                                    type?: "NORMAL" | "SERVICE";
                                };
                                severity?: string;
                                state?: string;
                                text?: string;
                                threadResolved?: boolean;
                                threadResolvedDate?: number;
                                threadResolver?: {
                                    active?: boolean;
                                    avatarUrl?: string;
                                    displayName?: string;
                                    emailAddress?: string;
                                    id?: number;
                                    links?: Record<(...), (...)>;
                                    name?: string;
                                    slug?: string;
                                    type?: "NORMAL" | "SERVICE";
                                };
                                updatedDate?: number;
                                version?: number;
                            };
                            pending?: boolean;
                            properties?: Record<string, unknown>;
                            reply?: boolean;
                            resolvedDate?: number;
                            resolver?: {
                                active?: boolean;
                                avatarUrl?: string;
                                displayName?: string;
                                emailAddress?: string;
                                id?: number;
                                links?: Record<string, unknown>;
                                name?: string;
                                slug?: string;
                                type?: "NORMAL" | "SERVICE";
                            };
                            severity?: string;
                            state?: string;
                            text?: string;
                            threadResolved?: boolean;
                            threadResolvedDate?: number;
                            threadResolver?: {
                                active?: boolean;
                                avatarUrl?: string;
                                displayName?: string;
                                emailAddress?: string;
                                id?: number;
                                links?: Record<string, unknown>;
                                name?: string;
                                slug?: string;
                                type?: "NORMAL" | "SERVICE";
                            };
                            updatedDate?: number;
                            version?: number;
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "409": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        updateComment_2: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: {
                    commentId: string;
                    projectKey: string;
                    pullRequestId: string;
                    repositorySlug: string;
                };
                query?: undefined;
            };
            requestBody?: {
                content: {
                    "application/json": {
                        anchor?: {
                            diffType?: "COMMIT"
                            | "EFFECTIVE"
                            | "RANGE";
                            fileType?: "FROM" | "TO";
                            fromHash?: string;
                            line?: number;
                            lineType?: "ADDED" | "CONTEXT" | "REMOVED";
                            multilineMarker?: {
                                startLine?: number;
                                startLineType: "ADDED" | "CONTEXT" | "REMOVED";
                            };
                            path?: {
                                components?: readonly (...)[];
                                extension?: string;
                                name?: string;
                                parent?: string;
                            };
                            pullRequest?: {
                                closed?: boolean;
                                closedDate?: number;
                                createdDate?: number;
                                description?: string;
                                descriptionAsHtml?: string;
                                draft?: boolean;
                                fromRef?: {
                                    displayId?: ...;
                                    id?: ...;
                                    latestCommit?: ...;
                                    repository?: ...;
                                    type?: ...;
                                };
                                htmlDescription?: string;
                                id?: number;
                                links?: Record<(...), (...)>;
                                locked?: boolean;
                                open?: boolean;
                                participants?: readonly (...)[];
                                reviewers?: readonly (...)[];
                                state?: "DECLINED" | "MERGED" | "OPEN";
                                title?: string;
                                toRef?: {
                                    displayId?: ...;
                                    id?: ...;
                                    latestCommit?: ...;
                                    repository?: ...;
                                    type?: ...;
                                };
                                updatedDate?: number;
                                version?: number;
                            };
                            srcPath?: {
                                components?: readonly (...)[];
                                extension?: string;
                                name?: string;
                                parent?: string;
                            };
                            toHash?: string;
                        };
                        anchored?: boolean;
                        author?: {
                            active?: boolean;
                            avatarUrl?: string;
                            displayName?: string;
                            emailAddress?: string;
                            id?: number;
                            links?: Record<string, unknown>;
                            name?: string;
                            slug?: string;
                            type?: "NORMAL" | "SERVICE";
                        };
                        comments?: readonly (
                            { readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineType?: "ADDED" | "CONTEXT" | "REMOVED"; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }
                        )[];
                        createdDate?: number;
                        html?: string;
                        id?: number;
                        parent?: {
                            anchor?: {
                                diffType?: "COMMIT"
                                | "EFFECTIVE"
                                | "RANGE";
                                fileType?: "FROM" | "TO";
                                fromHash?: string;
                                line?: number;
                                lineType?: "ADDED" | "CONTEXT" | "REMOVED";
                                multilineMarker?: { startLine?: ...; startLineType: ... };
                                path?: {
                                    components?: ...;
                                    extension?: ...;
                                    name?: ...;
                                    parent?: ...;
                                };
                                pullRequest?: {
                                    closed?: ...;
                                    closedDate?: ...;
                                    createdDate?: ...;
                                    description?: ...;
                                    descriptionAsHtml?: ...;
                                    draft?: ...;
                                    fromRef?: ...;
                                    htmlDescription?: ...;
                                    id?: ...;
                                    links?: ...;
                                    locked?: ...;
                                    open?: ...;
                                    participants?: ...;
                                    reviewers?: ...;
                                    state?: ...;
                                    title?: ...;
                                    toRef?: ...;
                                    updatedDate?: ...;
                                    version?: ...;
                                };
                                srcPath?: {
                                    components?: ...;
                                    extension?: ...;
                                    name?: ...;
                                    parent?: ...;
                                };
                                toHash?: string;
                            };
                            anchored?: boolean;
                            author?: {
                                active?: boolean;
                                avatarUrl?: string;
                                displayName?: string;
                                emailAddress?: string;
                                id?: number;
                                links?: Record<(...), (...)>;
                                name?: string;
                                slug?: string;
                                type?: "NORMAL" | "SERVICE";
                            };
                            comments?: readonly (
                                { readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineType?: "ADDED" | "CONTEXT" | "REMOVED"; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }
                            )[];
                            createdDate?: number;
                            html?: string;
                            id?: number;
                            pending?: boolean;
                            properties?: Record<string, unknown>;
                            reply?: boolean;
                            resolvedDate?: number;
                            resolver?: {
                                active?: boolean;
                                avatarUrl?: string;
                                displayName?: string;
                                emailAddress?: string;
                                id?: number;
                                links?: Record<(...), (...)>;
                                name?: string;
                                slug?: string;
                                type?: "NORMAL" | "SERVICE";
                            };
                            severity?: string;
                            state?: string;
                            text?: string;
                            threadResolved?: boolean;
                            threadResolvedDate?: number;
                            threadResolver?: {
                                active?: boolean;
                                avatarUrl?: string;
                                displayName?: string;
                                emailAddress?: string;
                                id?: number;
                                links?: Record<(...), (...)>;
                                name?: string;
                                slug?: string;
                                type?: "NORMAL" | "SERVICE";
                            };
                            updatedDate?: number;
                            version?: number;
                        };
                        pending?: boolean;
                        properties?: Record<string, unknown>;
                        reply?: boolean;
                        resolvedDate?: number;
                        resolver?: {
                            active?: boolean;
                            avatarUrl?: string;
                            displayName?: string;
                            emailAddress?: string;
                            id?: number;
                            links?: Record<string, unknown>;
                            name?: string;
                            slug?: string;
                            type?: "NORMAL" | "SERVICE";
                        };
                        severity?: string;
                        state?: string;
                        text?: string;
                        threadResolved?: boolean;
                        threadResolvedDate?: number;
                        threadResolver?: {
                            active?: boolean;
                            avatarUrl?: string;
                            displayName?: string;
                            emailAddress?: string;
                            id?: number;
                            links?: Record<string, unknown>;
                            name?: string;
                            slug?: string;
                            type?: "NORMAL" | "SERVICE";
                        };
                        updatedDate?: number;
                        version?: number;
                    };
                };
            };
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            anchor?: {
                                diffType?: "COMMIT"
                                | "EFFECTIVE"
                                | "RANGE";
                                fileType?: "FROM" | "TO";
                                fromHash?: string;
                                line?: number;
                                lineType?: "ADDED" | "CONTEXT" | "REMOVED";
                                multilineMarker?: {
                                    startLine?: number;
                                    startLineType: "ADDED" | "CONTEXT" | "REMOVED";
                                };
                                path?: {
                                    components?: readonly (...)[];
                                    extension?: string;
                                    name?: string;
                                    parent?: string;
                                };
                                pullRequest?: {
                                    closed?: boolean;
                                    closedDate?: number;
                                    createdDate?: number;
                                    description?: string;
                                    descriptionAsHtml?: string;
                                    draft?: boolean;
                                    fromRef?: {
                                        displayId?: ...;
                                        id?: ...;
                                        latestCommit?: ...;
                                        repository?: ...;
                                        type?: ...;
                                    };
                                    htmlDescription?: string;
                                    id?: number;
                                    links?: Record<(...), (...)>;
                                    locked?: boolean;
                                    open?: boolean;
                                    participants?: readonly (...)[];
                                    reviewers?: readonly (...)[];
                                    state?: "DECLINED" | "MERGED" | "OPEN";
                                    title?: string;
                                    toRef?: {
                                        displayId?: ...;
                                        id?: ...;
                                        latestCommit?: ...;
                                        repository?: ...;
                                        type?: ...;
                                    };
                                    updatedDate?: number;
                                    version?: number;
                                };
                                srcPath?: {
                                    components?: readonly (...)[];
                                    extension?: string;
                                    name?: string;
                                    parent?: string;
                                };
                                toHash?: string;
                            };
                            anchored?: boolean;
                            author?: {
                                active?: boolean;
                                avatarUrl?: string;
                                displayName?: string;
                                emailAddress?: string;
                                id?: number;
                                links?: Record<string, unknown>;
                                name?: string;
                                slug?: string;
                                type?: "NORMAL" | "SERVICE";
                            };
                            comments?: readonly (
                                { readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineType?: "ADDED" | "CONTEXT" | "REMOVED"; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }
                            )[];
                            createdDate?: number;
                            html?: string;
                            id?: number;
                            parent?: {
                                anchor?: {
                                    diffType?: "COMMIT"
                                    | "EFFECTIVE"
                                    | "RANGE";
                                    fileType?: "FROM" | "TO";
                                    fromHash?: string;
                                    line?: number;
                                    lineType?: "ADDED" | "CONTEXT" | "REMOVED";
                                    multilineMarker?: { startLine?: ...; startLineType: ... };
                                    path?: {
                                        components?: ...;
                                        extension?: ...;
                                        name?: ...;
                                        parent?: ...;
                                    };
                                    pullRequest?: {
                                        closed?: ...;
                                        closedDate?: ...;
                                        createdDate?: ...;
                                        description?: ...;
                                        descriptionAsHtml?: ...;
                                        draft?: ...;
                                        fromRef?: ...;
                                        htmlDescription?: ...;
                                        id?: ...;
                                        links?: ...;
                                        locked?: ...;
                                        open?: ...;
                                        participants?: ...;
                                        reviewers?: ...;
                                        state?: ...;
                                        title?: ...;
                                        toRef?: ...;
                                        updatedDate?: ...;
                                        version?: ...;
                                    };
                                    srcPath?: {
                                        components?: ...;
                                        extension?: ...;
                                        name?: ...;
                                        parent?: ...;
                                    };
                                    toHash?: string;
                                };
                                anchored?: boolean;
                                author?: {
                                    active?: boolean;
                                    avatarUrl?: string;
                                    displayName?: string;
                                    emailAddress?: string;
                                    id?: number;
                                    links?: Record<(...), (...)>;
                                    name?: string;
                                    slug?: string;
                                    type?: "NORMAL" | "SERVICE";
                                };
                                comments?: readonly (
                                    { readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineType?: "ADDED" | "CONTEXT" | "REMOVED"; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }
                                )[];
                                createdDate?: number;
                                html?: string;
                                id?: number;
                                pending?: boolean;
                                properties?: Record<string, unknown>;
                                reply?: boolean;
                                resolvedDate?: number;
                                resolver?: {
                                    active?: boolean;
                                    avatarUrl?: string;
                                    displayName?: string;
                                    emailAddress?: string;
                                    id?: number;
                                    links?: Record<(...), (...)>;
                                    name?: string;
                                    slug?: string;
                                    type?: "NORMAL" | "SERVICE";
                                };
                                severity?: string;
                                state?: string;
                                text?: string;
                                threadResolved?: boolean;
                                threadResolvedDate?: number;
                                threadResolver?: {
                                    active?: boolean;
                                    avatarUrl?: string;
                                    displayName?: string;
                                    emailAddress?: string;
                                    id?: number;
                                    links?: Record<(...), (...)>;
                                    name?: string;
                                    slug?: string;
                                    type?: "NORMAL" | "SERVICE";
                                };
                                updatedDate?: number;
                                version?: number;
                            };
                            pending?: boolean;
                            properties?: Record<string, unknown>;
                            reply?: boolean;
                            resolvedDate?: number;
                            resolver?: {
                                active?: boolean;
                                avatarUrl?: string;
                                displayName?: string;
                                emailAddress?: string;
                                id?: number;
                                links?: Record<string, unknown>;
                                name?: string;
                                slug?: string;
                                type?: "NORMAL" | "SERVICE";
                            };
                            severity?: string;
                            state?: string;
                            text?: string;
                            threadResolved?: boolean;
                            threadResolvedDate?: number;
                            threadResolver?: {
                                active?: boolean;
                                avatarUrl?: string;
                                displayName?: string;
                                emailAddress?: string;
                                id?: number;
                                links?: Record<string, unknown>;
                                name?: string;
                                slug?: string;
                                type?: "NORMAL" | "SERVICE";
                            };
                            updatedDate?: number;
                            version?: number;
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "409": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        updateDefaultTask: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string; taskId: string };
                query?: undefined;
            };
            requestBody: {
                content: {
                    "application/json": {
                        description?: string;
                        sourceMatcher?: {
                            displayId?: string;
                            id?: string;
                            type?: {
                                id?: | "BRANCH"
                                | "ANY_REF"
                                | "MODEL_BRANCH"
                                | "MODEL_CATEGORY"
                                | "PATTERN";
                                name?: string;
                            };
                        };
                        targetMatcher?: {
                            displayId?: string;
                            id?: string;
                            type?: {
                                id?: | "BRANCH"
                                | "ANY_REF"
                                | "MODEL_BRANCH"
                                | "MODEL_CATEGORY"
                                | "PATTERN";
                                name?: string;
                            };
                        };
                    };
                };
            };
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            description?: string;
                            html?: string;
                            id?: number;
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        updateDefaultTask_1: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string; repositorySlug: string; taskId: string };
                query?: undefined;
            };
            requestBody: {
                content: {
                    "application/json": {
                        description?: string;
                        sourceMatcher?: {
                            displayId?: string;
                            id?: string;
                            type?: {
                                id?: | "BRANCH"
                                | "ANY_REF"
                                | "MODEL_BRANCH"
                                | "MODEL_CATEGORY"
                                | "PATTERN";
                                name?: string;
                            };
                        };
                        targetMatcher?: {
                            displayId?: string;
                            id?: string;
                            type?: {
                                id?: | "BRANCH"
                                | "ANY_REF"
                                | "MODEL_BRANCH"
                                | "MODEL_CATEGORY"
                                | "PATTERN";
                                name?: string;
                            };
                        };
                    };
                };
            };
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            description?: string;
                            html?: string;
                            id?: number;
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        updateGlobalSettings: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: undefined;
            };
            requestBody?: {
                content: {
                    "application/json": {
                        keyTypeRestrictions?: readonly {
                            algorithm?: string;
                            allowed?: boolean;
                            minKeyLength?: {
                                asInt?: (...)
                                | (...);
                                present?: (...) | (...) | (...);
                            };
                        }[];
                        maxExpiryDays?: { asInt?: number; present?: boolean };
                    };
                };
            };
            responses: {
                "204": {
                    content?: undefined;
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        updateHookScript: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { scriptId: string };
                query?: undefined;
            };
            requestBody?: {
                content: {
                    "*/*": { content?: string; description?: string; name?: string };
                };
            };
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            createdDate?: string;
                            description?: string;
                            id?: number;
                            name?: string;
                            pluginKey?: string;
                            type?: "POST"
                            | "PRE";
                            updatedDate?: string;
                            version?: number;
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "409": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "422": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        updateLicense: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: undefined;
            };
            requestBody?: {
                content: {
                    "application/json": {
                        creationDate?: number;
                        daysBeforeExpiry?: number;
                        expiryDate?: number;
                        gracePeriodEndDate?: number;
                        license?: string;
                        maintenanceExpiryDate?: number;
                        maximumNumberOfUsers?: number;
                        numberOfDaysBeforeExpiry?: number;
                        numberOfDaysBeforeGracePeriodExpiry?: number;
                        numberOfDaysBeforeMaintenanceExpiry?: number;
                        purchaseDate?: number;
                        serverId?: string;
                        status?: { currentNumberOfUsers?: number; serverId?: string };
                        supportEntitlementNumber?: string;
                        unlimitedNumberOfUsers?: boolean;
                    };
                };
            };
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            creationDate?: number;
                            daysBeforeExpiry?: number;
                            expiryDate?: number;
                            gracePeriodEndDate?: number;
                            license?: string;
                            maintenanceExpiryDate?: number;
                            maximumNumberOfUsers?: number;
                            numberOfDaysBeforeExpiry?: number;
                            numberOfDaysBeforeGracePeriodExpiry?: number;
                            numberOfDaysBeforeMaintenanceExpiry?: number;
                            purchaseDate?: number;
                            serverId?: string;
                            status?: { currentNumberOfUsers?: number; serverId?: string };
                            supportEntitlementNumber?: string;
                            unlimitedNumberOfUsers?: boolean;
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "409": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        updateMeshNode: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { id: string };
                query?: undefined;
            };
            requestBody?: {
                content: {
                    "application/json": {
                        id?: string;
                        lastSeenDate?: number;
                        name?: string;
                        offline?: boolean;
                        rpcId?: string;
                        rpcUrl?: string;
                        state?: "AVAILABLE"
                        | "OFFLINE"
                        | "DELETING"
                        | "DISABLED"
                        | "DRAINING";
                    };
                };
            };
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            id?: string;
                            lastSeenDate?: number;
                            name?: string;
                            offline?: boolean;
                            rpcId?: string;
                            rpcUrl?: string;
                            state?: "AVAILABLE"
                            | "OFFLINE"
                            | "DELETING"
                            | "DISABLED"
                            | "DRAINING";
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        updatePermission: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { keyId: string; permission: string; projectKey: string };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            key?: {
                                algorithmType?: string;
                                bitLength?: number;
                                createdDate?: string;
                                expiryDays?: number;
                                fingerprint?: string;
                                id?: number;
                                label?: string;
                                lastAuthenticated?: string;
                                text?: string;
                            };
                            permission?: | "ADMIN"
                            | "LICENSED_USER"
                            | "PROJECT_ADMIN"
                            | "PROJECT_CREATE"
                            | "PROJECT_READ"
                            | "PROJECT_VIEW"
                            | "PROJECT_WRITE"
                            | "REPO_ADMIN"
                            | "REPO_CREATE"
                            | "REPO_READ"
                            | "REPO_WRITE"
                            | "SYS_ADMIN"
                            | "USER_ADMIN";
                            project?: {
                                avatar?: string;
                                avatarUrl?: string;
                                description?: string;
                                id?: number;
                                key: string;
                                links?: Record<string, unknown>;
                                name?: string;
                                public?: boolean;
                                scope?: string;
                                type?: "NORMAL" | "PERSONAL";
                            };
                            repository?: {
                                archived?: boolean;
                                defaultBranch?: string;
                                description?: string;
                                forkable?: boolean;
                                hierarchyId?: string;
                                id?: number;
                                links?: Record<string, unknown>;
                                name?: string;
                                origin?: {
                                    archived?: boolean;
                                    defaultBranch?: string;
                                    description?: string;
                                    forkable?: boolean;
                                    hierarchyId?: string;
                                    id?: number;
                                    links?: Record<(...), (...)>;
                                    name?: string;
                                    partition?: number;
                                    project?: {
                                        avatar?: ...;
                                        avatarUrl?: ...;
                                        description?: ...;
                                        id?: ...;
                                        key: ...;
                                        links?: ...;
                                        name?: ...;
                                        public?: ...;
                                        scope?: ...;
                                        type?: ...;
                                    };
                                    public?: boolean;
                                    relatedLinks?: Record<(...), (...)>;
                                    scmId?: string;
                                    scope?: string;
                                    slug?: string;
                                    state?:
                                        | "AVAILABLE"
                                        | "INITIALISATION_FAILED"
                                        | "INITIALISING"
                                        | "OFFLINE";
                                    statusMessage?: string;
                                };
                                partition?: number;
                                project?: {
                                    avatar?: string;
                                    avatarUrl?: string;
                                    description?: string;
                                    id?: number;
                                    key: string;
                                    links?: Record<(...), (...)>;
                                    name?: string;
                                    public?: boolean;
                                    scope?: string;
                                    type?: "NORMAL" | "PERSONAL";
                                };
                                public?: boolean;
                                relatedLinks?: Record<string, unknown>;
                                scmId?: string;
                                scope?: string;
                                slug?: string;
                                state?:
                                    | "AVAILABLE"
                                    | "INITIALISATION_FAILED"
                                    | "INITIALISING"
                                    | "OFFLINE";
                                statusMessage?: string;
                            };
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        updatePermission_1: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: {
                    keyId: string;
                    permission: string;
                    projectKey: string;
                    repositorySlug: string;
                };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            key?: {
                                algorithmType?: string;
                                bitLength?: number;
                                createdDate?: string;
                                expiryDays?: number;
                                fingerprint?: string;
                                id?: number;
                                label?: string;
                                lastAuthenticated?: string;
                                text?: string;
                            };
                            permission?: | "ADMIN"
                            | "LICENSED_USER"
                            | "PROJECT_ADMIN"
                            | "PROJECT_CREATE"
                            | "PROJECT_READ"
                            | "PROJECT_VIEW"
                            | "PROJECT_WRITE"
                            | "REPO_ADMIN"
                            | "REPO_CREATE"
                            | "REPO_READ"
                            | "REPO_WRITE"
                            | "SYS_ADMIN"
                            | "USER_ADMIN";
                            project?: {
                                avatar?: string;
                                avatarUrl?: string;
                                description?: string;
                                id?: number;
                                key: string;
                                links?: Record<string, unknown>;
                                name?: string;
                                public?: boolean;
                                scope?: string;
                                type?: "NORMAL" | "PERSONAL";
                            };
                            repository?: {
                                archived?: boolean;
                                defaultBranch?: string;
                                description?: string;
                                forkable?: boolean;
                                hierarchyId?: string;
                                id?: number;
                                links?: Record<string, unknown>;
                                name?: string;
                                origin?: {
                                    archived?: boolean;
                                    defaultBranch?: string;
                                    description?: string;
                                    forkable?: boolean;
                                    hierarchyId?: string;
                                    id?: number;
                                    links?: Record<(...), (...)>;
                                    name?: string;
                                    partition?: number;
                                    project?: {
                                        avatar?: ...;
                                        avatarUrl?: ...;
                                        description?: ...;
                                        id?: ...;
                                        key: ...;
                                        links?: ...;
                                        name?: ...;
                                        public?: ...;
                                        scope?: ...;
                                        type?: ...;
                                    };
                                    public?: boolean;
                                    relatedLinks?: Record<(...), (...)>;
                                    scmId?: string;
                                    scope?: string;
                                    slug?: string;
                                    state?:
                                        | "AVAILABLE"
                                        | "INITIALISATION_FAILED"
                                        | "INITIALISING"
                                        | "OFFLINE";
                                    statusMessage?: string;
                                };
                                partition?: number;
                                project?: {
                                    avatar?: string;
                                    avatarUrl?: string;
                                    description?: string;
                                    id?: number;
                                    key: string;
                                    links?: Record<(...), (...)>;
                                    name?: string;
                                    public?: boolean;
                                    scope?: string;
                                    type?: "NORMAL" | "PERSONAL";
                                };
                                public?: boolean;
                                relatedLinks?: Record<string, unknown>;
                                scmId?: string;
                                scope?: string;
                                slug?: string;
                                state?:
                                    | "AVAILABLE"
                                    | "INITIALISATION_FAILED"
                                    | "INITIALISING"
                                    | "OFFLINE";
                                statusMessage?: string;
                            };
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        updateProject: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string };
                query?: undefined;
            };
            requestBody?: {
                content: {
                    "application/json": {
                        avatar?: string;
                        avatarUrl?: string;
                        description?: string;
                        id?: number;
                        key?: string;
                        links?: Record<string, unknown>;
                        name?: string;
                        public?: boolean;
                        scope?: string;
                        type?: "NORMAL" | "PERSONAL";
                    };
                };
            };
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            avatar?: string;
                            avatarUrl?: string;
                            description?: string;
                            id?: number;
                            key?: string;
                            links?: Record<string, unknown>;
                            name?: string;
                            public?: boolean;
                            scope?: string;
                            type?: "NORMAL" | "PERSONAL";
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "201": {
                    content: {
                        "application/json": {
                            avatar?: string;
                            avatarUrl?: string;
                            description?: string;
                            id?: number;
                            key?: string;
                            links?: Record<string, unknown>;
                            name?: string;
                            public?: boolean;
                            scope?: string;
                            type?: "NORMAL" | "PERSONAL";
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        updatePullRequestCondition: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { id: string; projectKey: string };
                query?: undefined;
            };
            requestBody?: {
                content: {
                    "application/json": {
                        requiredApprovals?: number;
                        reviewers?: readonly {
                            active?: boolean;
                            avatarUrl?: string;
                            displayName?: string;
                            emailAddress?: string;
                            id?: number;
                            links?: Record<string, unknown>;
                            name?: string;
                            slug?: string;
                            type?: "NORMAL" | "SERVICE";
                        }[];
                        sourceMatcher?: {
                            displayId?: string;
                            id?: string;
                            type?: {
                                id?: | "BRANCH"
                                | "ANY_REF"
                                | "MODEL_BRANCH"
                                | "MODEL_CATEGORY"
                                | "PATTERN";
                                name?: string;
                            };
                        };
                        targetMatcher?: {
                            displayId?: string;
                            id?: string;
                            type?: {
                                id?: | "BRANCH"
                                | "ANY_REF"
                                | "MODEL_BRANCH"
                                | "MODEL_CATEGORY"
                                | "PATTERN";
                                name?: string;
                            };
                        };
                    };
                };
            };
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            id?: number;
                            requiredApprovals?: number;
                            reviewers?: readonly {
                                active?: boolean;
                                avatarUrl?: string;
                                displayName?: string;
                                emailAddress?: string;
                                id?: number;
                                links?: Record<string, unknown>;
                                name?: string;
                                slug?: string;
                                type?: "NORMAL" | "SERVICE";
                            }[];
                            scope?: {
                                resourceId?: number;
                                type?: "GLOBAL"
                                | "PROJECT"
                                | "REPOSITORY";
                            };
                            sourceRefMatcher?: {
                                displayId?: string;
                                id?: string;
                                type?: {
                                    id?: | "BRANCH"
                                    | "ANY_REF"
                                    | "MODEL_BRANCH"
                                    | "MODEL_CATEGORY"
                                    | "PATTERN";
                                    name?: string;
                                };
                            };
                            targetRefMatcher?: {
                                displayId?: string;
                                id?: string;
                                type?: {
                                    id?: | "BRANCH"
                                    | "ANY_REF"
                                    | "MODEL_BRANCH"
                                    | "MODEL_CATEGORY"
                                    | "PATTERN";
                                    name?: string;
                                };
                            };
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        updatePullRequestCondition_1: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { id: string; projectKey: string; repositorySlug: string };
                query?: undefined;
            };
            requestBody?: {
                content: {
                    "application/json": {
                        requiredApprovals?: number;
                        reviewers?: readonly {
                            active?: boolean;
                            avatarUrl?: string;
                            displayName?: string;
                            emailAddress?: string;
                            id?: number;
                            links?: Record<string, unknown>;
                            name?: string;
                            slug?: string;
                            type?: "NORMAL" | "SERVICE";
                        }[];
                        sourceMatcher?: {
                            displayId?: string;
                            id?: string;
                            type?: {
                                id?: | "BRANCH"
                                | "ANY_REF"
                                | "MODEL_BRANCH"
                                | "MODEL_CATEGORY"
                                | "PATTERN";
                                name?: string;
                            };
                        };
                        targetMatcher?: {
                            displayId?: string;
                            id?: string;
                            type?: {
                                id?: | "BRANCH"
                                | "ANY_REF"
                                | "MODEL_BRANCH"
                                | "MODEL_CATEGORY"
                                | "PATTERN";
                                name?: string;
                            };
                        };
                    };
                };
            };
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            id?: number;
                            requiredApprovals?: number;
                            reviewers?: readonly {
                                active?: boolean;
                                avatarUrl?: string;
                                displayName?: string;
                                emailAddress?: string;
                                id?: number;
                                links?: Record<string, unknown>;
                                name?: string;
                                slug?: string;
                                type?: "NORMAL" | "SERVICE";
                            }[];
                            scope?: {
                                resourceId?: number;
                                type?: "GLOBAL"
                                | "PROJECT"
                                | "REPOSITORY";
                            };
                            sourceRefMatcher?: {
                                displayId?: string;
                                id?: string;
                                type?: {
                                    id?: | "BRANCH"
                                    | "ANY_REF"
                                    | "MODEL_BRANCH"
                                    | "MODEL_CATEGORY"
                                    | "PATTERN";
                                    name?: string;
                                };
                            };
                            targetRefMatcher?: {
                                displayId?: string;
                                id?: string;
                                type?: {
                                    id?: | "BRANCH"
                                    | "ANY_REF"
                                    | "MODEL_BRANCH"
                                    | "MODEL_CATEGORY"
                                    | "PATTERN";
                                    name?: string;
                                };
                            };
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        updatePullRequestSettings: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string; scmId: string };
                query?: undefined;
            };
            requestBody?: {
                content: {
                    "application/json": {
                        mergeConfig?: {
                            commitMessageTemplate?: { body?: string; title?: string };
                            commitSummaries?: number;
                            defaultStrategy?: {
                                description?: string;
                                enabled?: boolean;
                                flag?: string;
                                id?: string;
                                links?: Record<(...), (...)>;
                                name?: string;
                            };
                            strategies?: readonly {
                                description?: (...)
                                | (...);
                                enabled?: (...) | (...) | (...);
                                flag?: (...) | (...);
                                id?: (...) | (...);
                                links?: (...) | (...);
                                name?: (...) | (...);
                            }[];
                            type?: string;
                        };
                    };
                };
            };
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            mergeConfig?: {
                                commitMessageTemplate?: { body?: string; title?: string };
                                commitSummaries?: number;
                                defaultStrategy?: {
                                    description?: string;
                                    enabled?: boolean;
                                    flag?: string;
                                    id?: string;
                                    links?: Record<(...), (...)>;
                                    name?: string;
                                };
                                strategies?: readonly {
                                    description?: (...)
                                    | (...);
                                    enabled?: (...) | (...) | (...);
                                    flag?: (...) | (...);
                                    id?: (...) | (...);
                                    links?: (...) | (...);
                                    name?: (...) | (...);
                                }[];
                                type?: string;
                            };
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        updatePullRequestSettings_1: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string; repositorySlug: string };
                query?: undefined;
            };
            requestBody?: {
                content: {
                    "application/json": {
                        mergeConfig?: {
                            commitMessageTemplate?: { body?: string; title?: string };
                            commitSummaries?: number;
                            defaultStrategy?: {
                                description?: string;
                                enabled?: boolean;
                                flag?: string;
                                id?: string;
                                links?: Record<(...), (...)>;
                                name?: string;
                            };
                            strategies?: readonly {
                                description?: (...)
                                | (...);
                                enabled?: (...) | (...) | (...);
                                flag?: (...) | (...);
                                id?: (...) | (...);
                                links?: (...) | (...);
                                name?: (...) | (...);
                            }[];
                            type?: string;
                        };
                        requiredAllApprovers?: boolean;
                        requiredAllTasksComplete?: boolean;
                        requiredApprovers?: { count?: string; enabled?: boolean };
                        requiredApproversDeprecated?: number;
                        requiredSuccessfulBuilds?: { count?: string; enabled?: boolean };
                        requiredSuccessfulBuildsDeprecated?: number;
                    };
                };
            };
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            mergeConfig?: {
                                commitMessageTemplate?: { body?: string; title?: string };
                                commitSummaries?: number;
                                defaultStrategy?: {
                                    description?: string;
                                    enabled?: boolean;
                                    flag?: string;
                                    id?: string;
                                    links?: Record<(...), (...)>;
                                    name?: string;
                                };
                                strategies?: readonly {
                                    description?: (...)
                                    | (...);
                                    enabled?: (...) | (...) | (...);
                                    flag?: (...) | (...);
                                    id?: (...) | (...);
                                    links?: (...) | (...);
                                    name?: (...) | (...);
                                }[];
                                type?: string;
                            };
                            requiredAllApprovers?: boolean;
                            requiredAllTasksComplete?: boolean;
                            requiredApprovers?: { count?: string; enabled?: boolean };
                            requiredApproversDeprecated?: number;
                            requiredSuccessfulBuilds?: { count?: string; enabled?: boolean };
                            requiredSuccessfulBuildsDeprecated?: number;
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        updateRepository: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string; repositorySlug: string };
                query?: undefined;
            };
            requestBody?: {
                content: {
                    "application/json": {
                        archived?: boolean;
                        defaultBranch?: string;
                        description?: string;
                        forkable?: boolean;
                        hierarchyId?: string;
                        id?: number;
                        links?: Record<string, unknown>;
                        name?: string;
                        origin?: {
                            archived?: boolean;
                            defaultBranch?: string;
                            description?: string;
                            forkable?: boolean;
                            hierarchyId?: string;
                            id?: number;
                            links?: Record<string, unknown>;
                            name?: string;
                            partition?: number;
                            project?: {
                                avatar?: string;
                                avatarUrl?: string;
                                description?: string;
                                id?: number;
                                key: string;
                                links?: Record<(...), (...)>;
                                name?: string;
                                public?: boolean;
                                scope?: string;
                                type?: "NORMAL" | "PERSONAL";
                            };
                            public?: boolean;
                            relatedLinks?: Record<string, unknown>;
                            scmId?: string;
                            scope?: string;
                            slug?: string;
                            state?:
                                | "AVAILABLE"
                                | "INITIALISATION_FAILED"
                                | "INITIALISING"
                                | "OFFLINE";
                            statusMessage?: string;
                        };
                        partition?: number;
                        project?: {
                            avatar?: string;
                            avatarUrl?: string;
                            description?: string;
                            id?: number;
                            key: string;
                            links?: Record<string, unknown>;
                            name?: string;
                            public?: boolean;
                            scope?: string;
                            type?: "NORMAL" | "PERSONAL";
                        };
                        public?: boolean;
                        relatedLinks?: Record<string, unknown>;
                        scmId?: string;
                        scope?: string;
                        slug?: string;
                        state?:
                            | "AVAILABLE"
                            | "INITIALISATION_FAILED"
                            | "INITIALISING"
                            | "OFFLINE";
                        statusMessage?: string;
                    };
                };
            };
            responses: {
                "201": {
                    content: {
                        "application/json": {
                            archived?: boolean;
                            defaultBranch?: string;
                            description?: string;
                            forkable?: boolean;
                            hierarchyId?: string;
                            id?: number;
                            links?: Record<string, unknown>;
                            name?: string;
                            origin?: {
                                archived?: boolean;
                                defaultBranch?: string;
                                description?: string;
                                forkable?: boolean;
                                hierarchyId?: string;
                                id?: number;
                                links?: Record<string, unknown>;
                                name?: string;
                                partition?: number;
                                project?: {
                                    avatar?: string;
                                    avatarUrl?: string;
                                    description?: string;
                                    id?: number;
                                    key: string;
                                    links?: Record<(...), (...)>;
                                    name?: string;
                                    public?: boolean;
                                    scope?: string;
                                    type?: "NORMAL" | "PERSONAL";
                                };
                                public?: boolean;
                                relatedLinks?: Record<string, unknown>;
                                scmId?: string;
                                scope?: string;
                                slug?: string;
                                state?:
                                    | "AVAILABLE"
                                    | "INITIALISATION_FAILED"
                                    | "INITIALISING"
                                    | "OFFLINE";
                                statusMessage?: string;
                            };
                            partition?: number;
                            project?: {
                                avatar?: string;
                                avatarUrl?: string;
                                description?: string;
                                id?: number;
                                key: string;
                                links?: Record<string, unknown>;
                                name?: string;
                                public?: boolean;
                                scope?: string;
                                type?: "NORMAL" | "PERSONAL";
                            };
                            public?: boolean;
                            relatedLinks?: Record<string, unknown>;
                            scmId?: string;
                            scope?: string;
                            slug?: string;
                            state?:
                                | "AVAILABLE"
                                | "INITIALISATION_FAILED"
                                | "INITIALISING"
                                | "OFFLINE";
                            statusMessage?: string;
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "403": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "409": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        updateRequiredBuildsMergeCheck: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { id: number; projectKey: string; repositorySlug: string };
                query?: undefined;
            };
            requestBody?: {
                content: {
                    "*/*": {
                        buildParentKeys: readonly string[];
                        exemptRefMatcher?: {
                            displayId?: string;
                            id?: string;
                            type?: {
                                id?: | "BRANCH"
                                | "ANY_REF"
                                | "MODEL_BRANCH"
                                | "MODEL_CATEGORY"
                                | "PATTERN";
                                name?: string;
                            };
                        };
                        refMatcher: {
                            displayId?: string;
                            id?: string;
                            type?: {
                                id?: | "BRANCH"
                                | "ANY_REF"
                                | "MODEL_BRANCH"
                                | "MODEL_CATEGORY"
                                | "PATTERN";
                                name?: string;
                            };
                        };
                    };
                };
            };
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            buildParentKeys?: readonly string[];
                            exemptRefMatcher?: {
                                displayId?: string;
                                id?: string;
                                type?: {
                                    id?: | "BRANCH"
                                    | "ANY_REF"
                                    | "MODEL_BRANCH"
                                    | "MODEL_CATEGORY"
                                    | "PATTERN";
                                    name?: string;
                                };
                            };
                            id?: number;
                            refMatcher?: {
                                displayId?: string;
                                id?: string;
                                type?: {
                                    id?: | "BRANCH"
                                    | "ANY_REF"
                                    | "MODEL_BRANCH"
                                    | "MODEL_CATEGORY"
                                    | "PATTERN";
                                    name?: string;
                                };
                            };
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        updateSettings: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { userSlug: string };
                query?: undefined;
            };
            requestBody?: {
                content: {
                    "application/json": {
                        "boolean key"?: boolean;
                        "long key"?: number;
                        "string key"?: string;
                    };
                };
            };
            responses: {
                "204": {
                    content?: undefined;
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        updateStatus: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: {
                    projectKey: string;
                    pullRequestId: string;
                    repositorySlug: string;
                    userSlug: string;
                };
                query?: { version?: string };
            };
            requestBody: {
                content: {
                    "application/json": {
                        lastReviewedCommit?: string;
                        status?: "APPROVED"
                        | "NEEDS_WORK"
                        | "UNAPPROVED";
                    };
                };
            };
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            approved?: boolean;
                            lastReviewedCommit?: string;
                            role?: "PARTICIPANT"
                            | "REVIEWER"
                            | "AUTHOR";
                            status?: "APPROVED" | "NEEDS_WORK" | "UNAPPROVED";
                            user?: {
                                active?: boolean;
                                avatarUrl?: string;
                                displayName?: string;
                                emailAddress?: string;
                                id?: number;
                                links?: Record<string, unknown>;
                                name?: string;
                                slug?: string;
                                type?: "NORMAL" | "SERVICE";
                            };
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "409": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        updateSystemSigningConfiguration: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: undefined;
            };
            requestBody?: { content: { "application/json": { enabled?: boolean } } };
            responses: {
                "200": {
                    content: { "application/json": { enabled?: boolean } };
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        updateUserDetails: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: undefined;
            };
            requestBody?: {
                content: {
                    "application/json": {
                        displayName?: string;
                        email?: string;
                        name?: string;
                    };
                };
            };
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            active?: boolean;
                            avatarUrl?: string;
                            deletable?: boolean;
                            directoryName?: string;
                            displayName?: string;
                            emailAddress?: string;
                            id?: number;
                            lastAuthenticationTimestamp?: number;
                            links?: Record<string, unknown>;
                            mutableDetails?: boolean;
                            mutableGroups?: boolean;
                            name?: string;
                            slug?: string;
                            type?: "NORMAL" | "SERVICE";
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        updateUserDetails_1: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: undefined;
            };
            requestBody?: {
                content: {
                    "application/json": {
                        displayName?: string;
                        email?: string;
                        name?: string;
                    };
                };
            };
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            active?: boolean;
                            avatarUrl?: string;
                            displayName?: string;
                            emailAddress?: string;
                            id?: number;
                            links?: Record<string, unknown>;
                            name?: string;
                            slug?: string;
                            type?: "NORMAL" | "SERVICE";
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        updateUserPassword: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: undefined;
            };
            requestBody?: {
                content: {
                    "application/json": {
                        name?: string;
                        password?: string;
                        passwordConfirm?: string;
                    };
                };
            };
            responses: {
                "204": {
                    content?: undefined;
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        updateUserPassword_1: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: undefined;
            };
            requestBody?: {
                content: {
                    "application/json": {
                        oldPassword?: string;
                        password?: string;
                        passwordConfirm?: string;
                    };
                };
            };
            responses: {
                "204": {
                    content?: undefined;
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        updateWebhook: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string; webhookId: string };
                query?: undefined;
            };
            requestBody?: {
                content: {
                    "application/json": {
                        active?: boolean;
                        configuration?: Record<string, unknown>;
                        credentials?: { password?: string; username?: string };
                        events?: readonly string[];
                        name?: string;
                        scopeType?: string;
                        sslVerificationRequired?: boolean;
                        statistics?: Record<string, unknown>;
                        url?: string;
                    };
                };
            };
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            active?: boolean;
                            configuration?: Record<string, unknown>;
                            credentials?: { password?: string; username?: string };
                            events?: readonly string[];
                            name?: string;
                            scopeType?: string;
                            sslVerificationRequired?: boolean;
                            statistics?: Record<string, unknown>;
                            url?: string;
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        updateWebhook_1: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string; repositorySlug: string; webhookId: string };
                query?: undefined;
            };
            requestBody?: {
                content: {
                    "application/json": {
                        active?: boolean;
                        configuration?: Record<string, unknown>;
                        credentials?: { password?: string; username?: string };
                        events?: readonly string[];
                        name?: string;
                        scopeType?: string;
                        sslVerificationRequired?: boolean;
                        statistics?: Record<string, unknown>;
                        url?: string;
                    };
                };
            };
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            active?: boolean;
                            configuration?: Record<string, unknown>;
                            credentials?: { password?: string; username?: string };
                            events?: readonly string[];
                            name?: string;
                            scopeType?: string;
                            sslVerificationRequired?: boolean;
                            statistics?: Record<string, unknown>;
                            url?: string;
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        upgrade: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { mirrorId: string };
                query?: undefined;
            };
            requestBody?: {
                content: {
                    "application/json": { baseUrl?: string; productVersion?: string };
                };
            };
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            baseUrl?: string;
                            enabled?: boolean;
                            id?: string;
                            lastSeenDate?: string;
                            mirrorType?: "FARM"
                            | "SINGLE";
                            name?: string;
                            productVersion?: string;
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        uploadAvatar: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string };
                query?: undefined;
            };
            requestBody?: { content: { "multipart/form-data": { avatar?: string } } };
            responses: {
                "201": {
                    content: { "application/json": unknown };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        uploadAvatar_1: {
            parameters: {
                cookie?: undefined;
                header?: { "X-Atlassian-Token"?: string };
                path: { userSlug: string };
                query?: undefined;
            };
            requestBody?: { content: { "multipart/form-data": { avatar?: string } } };
            responses: {
                "201": {
                    content?: undefined;
                    headers: { Location?: string; readonly [name: string]: unknown };
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        validateErasable: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query: { name: string };
            };
            requestBody?: undefined;
            responses: {
                "204": {
                    content?: undefined;
                    headers: Readonly<Record<string, unknown>>;
                };
                "400": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "409": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        watch: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { commitId: string; projectKey: string; repositorySlug: string };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "204": {
                    content?: undefined;
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        watch_1: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: {
                    projectKey: string;
                    pullRequestId: string;
                    repositorySlug: string;
                };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "204": {
                    content?: undefined;
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        watch_2: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { projectKey: string; repositorySlug: string };
                query?: undefined;
            };
            requestBody?: {
                content: {
                    "application/json": {
                        archived?: boolean;
                        defaultBranch?: string;
                        description?: string;
                        forkable?: boolean;
                        hierarchyId?: string;
                        id?: number;
                        links?: Record<string, unknown>;
                        name?: string;
                        origin?: {
                            archived?: boolean;
                            defaultBranch?: string;
                            description?: string;
                            forkable?: boolean;
                            hierarchyId?: string;
                            id?: number;
                            links?: Record<string, unknown>;
                            name?: string;
                            partition?: number;
                            project?: {
                                avatar?: string;
                                avatarUrl?: string;
                                description?: string;
                                id?: number;
                                key: string;
                                links?: Record<(...), (...)>;
                                name?: string;
                                public?: boolean;
                                scope?: string;
                                type?: "NORMAL" | "PERSONAL";
                            };
                            public?: boolean;
                            relatedLinks?: Record<string, unknown>;
                            scmId?: string;
                            scope?: string;
                            slug?: string;
                            state?:
                                | "AVAILABLE"
                                | "INITIALISATION_FAILED"
                                | "INITIALISING"
                                | "OFFLINE";
                            statusMessage?: string;
                        };
                        partition?: number;
                        project?: {
                            avatar?: string;
                            avatarUrl?: string;
                            description?: string;
                            id?: number;
                            key: string;
                            links?: Record<string, unknown>;
                            name?: string;
                            public?: boolean;
                            scope?: string;
                            type?: "NORMAL" | "PERSONAL";
                        };
                        public?: boolean;
                        relatedLinks?: Record<string, unknown>;
                        scmId?: string;
                        scope?: string;
                        slug?: string;
                        state?:
                            | "AVAILABLE"
                            | "INITIALISATION_FAILED"
                            | "INITIALISING"
                            | "OFFLINE";
                        statusMessage?: string;
                    };
                };
            };
            responses: {
                "204": {
                    content?: undefined;
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
        withdrawApproval: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: {
                    projectKey: string;
                    pullRequestId: string;
                    repositorySlug: string;
                };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            approved?: boolean;
                            lastReviewedCommit?: string;
                            role?: "PARTICIPANT"
                            | "REVIEWER"
                            | "AUTHOR";
                            status?: "APPROVED" | "NEEDS_WORK" | "UNAPPROVED";
                            user?: {
                                active?: boolean;
                                avatarUrl?: string;
                                displayName?: string;
                                emailAddress?: string;
                                id?: number;
                                links?: Record<string, unknown>;
                                name?: string;
                                slug?: string;
                                type?: "NORMAL" | "SERVICE";
                            };
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "401": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "404": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
                "409": {
                    content: {
                        "application/json": {
                            errors?: readonly {
                                context?: string;
                                exceptionName?: string;
                                message?: string;
                            }[];
                        };
                    };
                    headers: Readonly<Record<string, unknown>>;
                };
            };
        };
    }
    Index

    Properties

    accept add addAnnotations addBuildStatus addDefaultTask addDefaultTask_1 addExemptRepo addForProject addForRepository addGroupToUser addKey addLabel addSshKey addUsersToGroup addUserToGroup addUserToGroups analyticsSettings applySuggestion approve assignParticipantRole authenticate bulkAddExemptRepositories bulkAddExemptRepositories_1 cancelAutoMerge cancelExportJob cancelImportJob cancelMeshMigrationJob canMerge canRebase clearDefaultBranch clearSenderAddress clearUserCaptchaChallenge connectivity create create_1 create_2 create_3 createAccessToken createAccessToken_1 createAccessToken_2 createAllowlistRule createAllowlistRule_1 createBranch createBranchForRepository createCertificate createComment createComment_1 createComment_2 createGroup createHookScript createIssue createOrUpdateDeployment createProject createPullRequestCondition createPullRequestCondition_1 createRepository createRequiredBuildsMergeCheck createRestrictions createRestrictions_1 createRule createRule_1 createRule_2 createTag createTagForRepository createUser createWebhook createWebhook_1 decline delete delete_1 delete_2 delete_3 delete_4 delete_5 delete_6 delete_7 delete_8 delete_9 deleteACodeInsightsReport deleteAllDefaultTasks deleteAllDefaultTasks_1 deleteAllowlistRule deleteAllowlistRule_1 deleteAnnotations deleteAttachment deleteAttachmentMetadata deleteAutoDeclineSettings deleteAutoDeclineSettings_1 deleteAvatar deleteBanner deleteBranch deleteById deleteById_1 deleteById_2 deleteCertificate deleteComment deleteComment_1 deleteComment_2 deleteDefaultTask deleteDefaultTask_1 deleteExemptRepo deleteForUser deleteGroup deleteHookScript deleteKey deleteMailConfig deleteMirroringRequest deletePreferredMirrorId deleteProject deletePullRequestCondition deletePullRequestCondition_1 deleteRepository deleteRepositoryHook deleteRequiredBuildsMergeCheck deleteRestriction deleteRestriction_1 deleteRule deleteRule_1 deleteRule_2 deleteSshKey deleteSshKeys deleteTag deleteUser deleteWebhook deleteWebhook_1 disableHook disableHook_1 discardReview dismissRetentionConfigReviewNotification editAllowlistRule editAllowlistRule_1 editFile editRule editRule_1 editRule_2 enableHook enableHook_1 endRollingUpgrade eraseUser findBranches findByCommit findExemptReposByProject findExemptReposByScope findGroupsForUser findOtherGroupsForUser findUsersInGroup findUsersNotInGroup findWebhooks findWebhooks_1 finishReview forkRepository get get_1 get_2 get_3 get_4 get_5 get_6 get_7 getACodeInsightsReport getActiveMeshMigrationSummary getActivities getAll getAllAccessTokens getAllAccessTokens_1 getAllAccessTokens_2 getAllCertificates getAllContentHashes getAllLabelsForRepository getAllMeshMigrationSummaries getAllowlistRule getAllowlistRule_1 getAllRateLimitSettings getAllRegisteredMeshNodes getAllReposForProject getAnnotations getAnnotations_1 getApplicationProperties getArchive getAttachment getAttachmentMetadata getAutoDeclineSettings getAutoDeclineSettings_1 getAutoMergeRequest getAvatar getBanner getBranches getBuildStatus getBuildStatusStats getById getById_1 getById_2 getCapabilities getCapabilities_1 getChanges getChanges_1 getComment getComment_1 getComment_2 getComments getComments_1 getComments_2 getCommit getCommitMessageSuggestion getCommits getCommits_1 getCommitsByIssueKey getConfigurations getConfigurations_1 getContent getContent_1 getContentHashById getControlPlanePublicKey getDefaultBranch getDefaultBranch_1 getDefaultBranch_2 getDefaultTasks getDefaultTasks_1 getDiffStatsSummary getDiffStatsSummary_1 getDiffStatsSummary_2 getEnhancedEntityLinkForProject getExportJob getExportJobMessages getFarmNodes getForkedRepositories getForProject getForProjects getForRepositories getForRepository getForRepository_1 getGlobalSettings getGroups getGroups_1 getGroupsWithAnyPermission getGroupsWithAnyPermission_1 getGroupsWithAnyPermission_2 getGroupsWithoutAnyPermission getGroupsWithoutAnyPermission_1 getGroupsWithoutAnyPermission_2 getHistory getHookScript getImportJob getImportJobMessages getInformation getIssueKeysForPullRequest getKeysForUser getLabel getLabelables getLabels getLatestInvocation getLatestInvocation_1 getLevel getMailConfig getMergeBase getMergeBase_1 getMergeConfig getMeshMigrationJob getMeshMigrationJobMessages getMeshMigrationJobSummary getMirror getMirroredProjects getMirroredRepository getMirroringRequest getMirrorMode getMirrorSettings getMultipleBuildStatusStats getOutOfSyncRepositories getPage getPageOfRequiredBuildsMergeChecks getPreferredMirrorId getProject getProjectAvatar getProjectById getProjects getPullRequestConditions getPullRequestConditions_1 getPullRequestCount getPullRequests getPullRequests_1 getPullRequests_2 getPullRequestSettings getPullRequestSettings_1 getPullRequestSuggestions getRefChangeActivity getRefChangesQueue getRefChangesQueueCount getRegisteredMeshNodeById getRelatedRepositories getReports getRepositories getRepositories_1 getRepositoriesRecentlyAccessed getRepository getRepositoryArchivePolicy getRepositoryDeletePolicy getRepositoryHook getRepositoryHook_1 getRepositoryHooks getRepositoryHooks_1 getRepositoryLockOwner getRepositoryLockOwners getRepositoryMirrors getRepoSyncStatus getRepoSyncStatus_1 getRestriction getRestriction_1 getRestrictions getRestrictions_1 getReview getReviewerGroup getReviewerGroup_1 getReviewerGroups getReviewerGroups_1 getReviewers getRootLevel getRule getRule_1 getRule_2 getSenderAddress getSettings getSettings_1 getSettings_2 getSshKey getSshKeys getSshKeysForProject getStatistics getStatistics_1 getStatisticsSummary getStatisticsSummary_1 getStatus getSupportedKeyTypes getSupportZip getSupportZips getSynchronizationProgress getSystemSigningConfiguration getTag getTags getUpstreamServer getUser getUserDirectories getUsers getUsers_1 getUsers_2 getUserSettings getUsersWithAnyPermission getUsersWithAnyPermission_1 getUsersWithAnyPermission_2 getUsersWithoutAnyPermission getUsersWithoutPermission getUsersWithoutPermission_1 getWebhook getWebhook_1 hasAllUserPermission isRepoExempt listMirrors listParticipants listRequests merge modifyAllUserPermission preview previewExport previewMeshMigration publishEvent react react_1 read rebase register registerNewMeshNode reject remove removeConfiguration removeConfiguration_1 removeGroupFromUser removeLabel removeUserFromGroup renameUser reopen retryCreateRepository revokeForProject revokeForRepository revokeMany revokePermissions revokePermissions_1 revokePermissionsForGroup revokePermissionsForGroup_1 revokePermissionsForGroup_2 revokePermissionsForUser revokePermissionsForUser_1 revokePermissionsForUser_2 saveAttachmentMetadata search search_1 search_2 search_3 search_4 searchAllowlistRule searchMeshMigrationRepos searchPermissions searchPermissions_1 searchWebhooks set set_1 set_2 set_3 setACodeInsightsReport setAnnotation setAutoDeclineSettings setAutoDeclineSettings_1 setBanner setConfiguration setConfiguration_1 setDefaultBranch setDefaultBranch_1 setDefaultBranch_2 setEnabled setLevel setMailConfig setMergeConfig setMirrorMode setMirrorSettings setPermissionForGroup setPermissionForGroups setPermissionForGroups_1 setPermissionForUser setPermissionForUsers setPermissionForUsers_1 setPreferredMirrorId setRepositoryArchivePolicy setRepositoryDeletePolicy setRootLevel setSenderAddress setSettings setSettings_1 setSettings_2 sshSettings startExport startImport startMeshMigration startMirroringProject startMirroringProjects startRollingUpgrade stopMirroringProject stream stream_1 streamChanges streamChanges_1 streamCommits streamContributing streamDiff streamDiff_1 streamDiff_2 streamFiles streamFiles_1 streamLicense streamPatch streamPatch_1 streamRaw streamRawDiff streamRawDiff_1 streamRawDiff_2 streamReadme synchronize testWebhook testWebhook_1 tryAutoMerge unassignParticipantRole unassignParticipantRole_1 unReact unReact_1 unwatch unwatch_1 unwatch_2 update update_1 update_2 updateAccessToken updateAccessToken_1 updateAccessToken_2 updateCertificateRevocationListEntries updateComment updateComment_1 updateComment_2 updateDefaultTask updateDefaultTask_1 updateGlobalSettings updateHookScript updateLicense updateMeshNode updatePermission updatePermission_1 updateProject updatePullRequestCondition updatePullRequestCondition_1 updatePullRequestSettings updatePullRequestSettings_1 updateRepository updateRequiredBuildsMergeCheck updateSettings updateStatus updateSystemSigningConfiguration updateUserDetails updateUserDetails_1 updateUserPassword updateUserPassword_1 updateWebhook updateWebhook_1 upgrade uploadAvatar uploadAvatar_1 validateErasable watch watch_1 watch_2 withdrawApproval

    Properties

    accept: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { mirroringRequestId: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        baseUrl?: string;
                        enabled?: boolean;
                        id?: string;
                        lastSeenDate?: string;
                        mirrorType?: "FARM"
                        | "SINGLE";
                        name?: string;
                        productVersion?: string;
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "409": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    add: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { commitId: string; projectKey: string; repositorySlug: string };
            query?: undefined;
        };
        requestBody?: {
            content: {
                "*/*": {
                    buildNumber?: string;
                    description?: string;
                    duration?: number;
                    key: string;
                    lastUpdated?: number;
                    name?: string;
                    parent?: string;
                    ref?: string;
                    state: "FAILED"
                    | "INPROGRESS"
                    | "SUCCESSFUL"
                    | "UNKNOWN"
                    | "CANCELLED";
                    testResults?: { failed?: number; skipped?: number; successful?: number };
                    url: string;
                };
            };
        };
        responses: {
            "204": {
                content?: undefined;
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }

    Type declaration

    • Readonlyparameters: {
          cookie?: undefined;
          header?: undefined;
          path: { commitId: string; projectKey: string; repositorySlug: string };
          query?: undefined;
      }
      • Optional Readonlycookie?: undefined
      • Optional Readonlyheader?: undefined
      • Readonlypath: { commitId: string; projectKey: string; repositorySlug: string }
        • ReadonlycommitId: string

          The commit.

        • ReadonlyprojectKey: string

          The project key.

        • ReadonlyrepositorySlug: string

          The repository slug.

      • Optional Readonlyquery?: undefined
    • Optional ReadonlyrequestBody?: {
          content: {
              "*/*": {
                  buildNumber?: string;
                  description?: string;
                  duration?: number;
                  key: string;
                  lastUpdated?: number;
                  name?: string;
                  parent?: string;
                  ref?: string;
                  state: "FAILED" | "INPROGRESS" | "SUCCESSFUL" | "UNKNOWN" | "CANCELLED";
                  testResults?: { failed?: number; skipped?: number; successful?: number };
                  url: string;
              };
          };
      }

      The contents of the build status request are: These fields are required:

      - **key**: The string referring to this branch plan/job
      - **state**: The build status state, one of: "SUCCESSFUL", "FAILED", "INPROGRESS", "CANCELLED", "UNKNOWN"
      - **url**: URL referring to the build result page in the CI tool.
      
      
      These fields are optional:
      
      
      - **buildNumber** (optional): A unique identifier for this particular run of a plan<
      - **dateAdded** (optional): milliseconds since epoch. If not provided current date is used.
      - **description** (optional): Describes the build result
      - **duration** (optional): Duration of a completed build in milliseconds.
      - **name** (optional): A short string that describes the build plan
      - **parent** (optional): The identifier for the plan or job that ran the branch plan that produced this build status.
      - **ref** (optional): The fully qualified git reference e.g. refs/heads/master.
      - **testResults** (optional): A summary of the passed, failed and skipped tests.
      
    • Readonlyresponses: {
          "204": {
              content?: undefined;
              headers: Readonly<Record<string, unknown>>;
          };
          "400": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "401": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "404": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
      }
      • Readonly204: { content?: undefined; headers: Readonly<Record<string, unknown>> }

        The build status was posted

      • Readonly400: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The build status was not added as the request was invalid. This could be because of a number of things:

        - an invalid commit hash was provided
        - build key was blank or longer than 255 characters
        - invalid branch was provided
        - invalid state was provided
        - build status url was blank or longer than 450 characters
        
        The specifics will be included in the error message.
        
      • Readonly401: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The currently authenticated user has insufficient permissions to push a build status to this repository

      • Readonly404: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The specified repository does not exist

    addAnnotations: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: {
                commitId: string;
                key: string;
                projectKey: string;
                repositorySlug: string;
            };
            query?: undefined;
        };
        requestBody?: {
            content: {
                "application/json": {
                    annotations?: readonly {
                        externalId?: string;
                        line?: number;
                        link?: string;
                        message: string;
                        path?: string;
                        severity: string;
                        type?: string;
                    }[];
                };
            };
        };
        responses: {
            "204": {
                content?: undefined;
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }

    Type declaration

    • Readonlyparameters: {
          cookie?: undefined;
          header?: undefined;
          path: {
              commitId: string;
              key: string;
              projectKey: string;
              repositorySlug: string;
          };
          query?: undefined;
      }
      • Optional Readonlycookie?: undefined
      • Optional Readonlyheader?: undefined
      • Readonlypath: { commitId: string; key: string; projectKey: string; repositorySlug: string }
        • ReadonlycommitId: string

          The commit ID on which to record the annotation. This must be a full 40 character commit hash.

        • Readonlykey: string

          The key of the report to which this annotation belongs.

        • ReadonlyprojectKey: string

          The project key.

        • ReadonlyrepositorySlug: string

          The repository slug.

      • Optional Readonlyquery?: undefined
    • Optional ReadonlyrequestBody?: {
          content: {
              "application/json": {
                  annotations?: readonly {
                      externalId?: string;
                      line?: number;
                      link?: string;
                      message: string;
                      path?: string;
                      severity: string;
                      type?: string;
                  }[];
              };
          };
      }

      The annotations to add.

    • Readonlyresponses: {
          "204": {
              content?: undefined;
              headers: Readonly<Record<string, unknown>>;
          };
          "401": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "404": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
      }
      • Readonly204: { content?: undefined; headers: Readonly<Record<string, unknown>> }

        An empty response indicating that the request succeeded.

      • Readonly401: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The currently authenticated user is not the author of the report, or the author no longer has sufficient permissions (REPO_READ).

      • Readonly404: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The specified project, repository, commit, or report does not exist.

    addBuildStatus: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { commitId: string };
            query?: undefined;
        };
        requestBody?: {
            content: {
                "application/json": {
                    buildNumber?: string;
                    createdDate?: number;
                    description?: string;
                    duration?: number;
                    key?: string;
                    name?: string;
                    parent?: string;
                    ref?: string;
                    state?: "FAILED"
                    | "INPROGRESS"
                    | "SUCCESSFUL"
                    | "UNKNOWN"
                    | "CANCELLED";
                    testResults?: { failed?: number; skipped?: number; successful?: number };
                    updatedDate?: number;
                    url?: string;
                };
            };
        };
        responses: {
            "204": {
                content?: undefined;
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }

    Type declaration

    • Readonlyparameters: {
          cookie?: undefined;
          header?: undefined;
          path: { commitId: string };
          query?: undefined;
      }
      • Optional Readonlycookie?: undefined
      • Optional Readonlyheader?: undefined
      • Readonlypath: { commitId: string }
        • ReadonlycommitId: string

          full SHA1 of the commit

          e00cf62997a027bbf785614a93e2e55bb331d268
          
      • Optional Readonlyquery?: undefined
    • Optional ReadonlyrequestBody?: {
          content: {
              "application/json": {
                  buildNumber?: string;
                  createdDate?: number;
                  description?: string;
                  duration?: number;
                  key?: string;
                  name?: string;
                  parent?: string;
                  ref?: string;
                  state?: "FAILED" | "INPROGRESS" | "SUCCESSFUL" | "UNKNOWN" | "CANCELLED";
                  testResults?: { failed?: number; skipped?: number; successful?: number };
                  updatedDate?: number;
                  url?: string;
              };
          };
      }

      build status to associate with the commit

    • Readonlyresponses: {
          "204": {
              content?: undefined;
              headers: Readonly<Record<string, unknown>>;
          };
          "400": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "401": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
      }
      • Readonly204: { content?: undefined; headers: Readonly<Record<string, unknown>> }

        An empty response if the build status was successfully stored

      • Readonly400: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        An error message if the commitId is not a full 40-characters SHA1, if the build status has a missing mandatory field or if the fields are too large

      • Readonly401: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The user is not authenticated or does not have the LICENSED permission

    addDefaultTask: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string };
            query?: undefined;
        };
        requestBody: {
            content: {
                "application/json": {
                    description?: string;
                    sourceMatcher?: {
                        displayId?: string;
                        id?: string;
                        type?: {
                            id?: | "BRANCH"
                            | "ANY_REF"
                            | "MODEL_BRANCH"
                            | "MODEL_CATEGORY"
                            | "PATTERN";
                            name?: string;
                        };
                    };
                    targetMatcher?: {
                        displayId?: string;
                        id?: string;
                        type?: {
                            id?: | "BRANCH"
                            | "ANY_REF"
                            | "MODEL_BRANCH"
                            | "MODEL_CATEGORY"
                            | "PATTERN";
                            name?: string;
                        };
                    };
                };
            };
        };
        responses: {
            "200": {
                content: {
                    "application/json": {
                        description?: string;
                        html?: string;
                        id?: number;
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }

    Type declaration

    • Readonlyparameters: {
          cookie?: undefined;
          header?: undefined;
          path: { projectKey: string };
          query?: undefined;
      }
      • Optional Readonlycookie?: undefined
      • Optional Readonlyheader?: undefined
      • Readonlypath: { projectKey: string }
        • ReadonlyprojectKey: string

          The project key.

      • Optional Readonlyquery?: undefined
    • ReadonlyrequestBody: {
          content: {
              "application/json": {
                  description?: string;
                  sourceMatcher?: {
                      displayId?: string;
                      id?: string;
                      type?: {
                          id?:
                              | "BRANCH"
                              | "ANY_REF"
                              | "MODEL_BRANCH"
                              | "MODEL_CATEGORY"
                              | "PATTERN";
                          name?: string;
                      };
                  };
                  targetMatcher?: {
                      displayId?: string;
                      id?: string;
                      type?: {
                          id?: | "BRANCH"
                          | "ANY_REF"
                          | "MODEL_BRANCH"
                          | "MODEL_CATEGORY"
                          | "PATTERN";
                          name?: string;
                      };
                  };
              };
          };
      }

      The task to be added

    • Readonlyresponses: {
          "200": {
              content: {
                  "application/json": {
                      description?: string;
                      html?: string;
                      id?: number;
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "400": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "401": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "404": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
      }
      • Readonly200: {
            content: {
                "application/json": {
                    description?: string;
                    html?: string;
                    id?: number;
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The default task

      • Readonly400: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        One or more of the following error cases occurred (check the error message for more details):

        - the description is empty- the sourceMatcher or targetMatcher is invalid
        
      • Readonly401: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The currently authenticated user has insufficient permissions to add a default task

      • Readonly404: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The specified project does not exist

    addDefaultTask_1: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string; repositorySlug: string };
            query?: undefined;
        };
        requestBody: {
            content: {
                "application/json": {
                    description?: string;
                    sourceMatcher?: {
                        displayId?: string;
                        id?: string;
                        type?: {
                            id?: | "BRANCH"
                            | "ANY_REF"
                            | "MODEL_BRANCH"
                            | "MODEL_CATEGORY"
                            | "PATTERN";
                            name?: string;
                        };
                    };
                    targetMatcher?: {
                        displayId?: string;
                        id?: string;
                        type?: {
                            id?: | "BRANCH"
                            | "ANY_REF"
                            | "MODEL_BRANCH"
                            | "MODEL_CATEGORY"
                            | "PATTERN";
                            name?: string;
                        };
                    };
                };
            };
        };
        responses: {
            "200": {
                content: {
                    "application/json": {
                        description?: string;
                        html?: string;
                        id?: number;
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }

    Type declaration

    • Readonlyparameters: {
          cookie?: undefined;
          header?: undefined;
          path: { projectKey: string; repositorySlug: string };
          query?: undefined;
      }
      • Optional Readonlycookie?: undefined
      • Optional Readonlyheader?: undefined
      • Readonlypath: { projectKey: string; repositorySlug: string }
        • ReadonlyprojectKey: string

          The project key.

        • ReadonlyrepositorySlug: string

          The repository slug.

      • Optional Readonlyquery?: undefined
    • ReadonlyrequestBody: {
          content: {
              "application/json": {
                  description?: string;
                  sourceMatcher?: {
                      displayId?: string;
                      id?: string;
                      type?: {
                          id?:
                              | "BRANCH"
                              | "ANY_REF"
                              | "MODEL_BRANCH"
                              | "MODEL_CATEGORY"
                              | "PATTERN";
                          name?: string;
                      };
                  };
                  targetMatcher?: {
                      displayId?: string;
                      id?: string;
                      type?: {
                          id?: | "BRANCH"
                          | "ANY_REF"
                          | "MODEL_BRANCH"
                          | "MODEL_CATEGORY"
                          | "PATTERN";
                          name?: string;
                      };
                  };
              };
          };
      }

      The task to be added

    • Readonlyresponses: {
          "200": {
              content: {
                  "application/json": {
                      description?: string;
                      html?: string;
                      id?: number;
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "400": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "401": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "404": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
      }
      • Readonly200: {
            content: {
                "application/json": {
                    description?: string;
                    html?: string;
                    id?: number;
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The default task

      • Readonly400: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        One or more of the following error cases occurred (check the error message for more details):

        - the description is empty- the sourceMatcher or targetMatcher is invalid
        
      • Readonly401: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The currently authenticated user has insufficient permissions to add a default task

      • Readonly404: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The specified repository does not exist

    addExemptRepo: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "204": {
                content?: undefined;
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "409": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    addForProject: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string };
            query?: undefined;
        };
        requestBody?: {
            content: {
                "application/json": {
                    key?: {
                        algorithmType?: string;
                        bitLength?: number;
                        createdDate?: string;
                        expiryDays?: number;
                        fingerprint?: string;
                        id?: number;
                        label?: string;
                        lastAuthenticated?: string;
                        text?: string;
                    };
                    permission?: | "ADMIN"
                    | "LICENSED_USER"
                    | "PROJECT_ADMIN"
                    | "PROJECT_CREATE"
                    | "PROJECT_READ"
                    | "PROJECT_VIEW"
                    | "PROJECT_WRITE"
                    | "REPO_ADMIN"
                    | "REPO_CREATE"
                    | "REPO_READ"
                    | "REPO_WRITE"
                    | "SYS_ADMIN"
                    | "USER_ADMIN";
                    project?: {
                        avatar?: string;
                        avatarUrl?: string;
                        description?: string;
                        id?: number;
                        key: string;
                        links?: Record<string, unknown>;
                        name?: string;
                        public?: boolean;
                        scope?: string;
                        type?: "NORMAL" | "PERSONAL";
                    };
                    repository?: {
                        archived?: boolean;
                        defaultBranch?: string;
                        description?: string;
                        forkable?: boolean;
                        hierarchyId?: string;
                        id?: number;
                        links?: Record<string, unknown>;
                        name?: string;
                        origin?: {
                            archived?: boolean;
                            defaultBranch?: string;
                            description?: string;
                            forkable?: boolean;
                            hierarchyId?: string;
                            id?: number;
                            links?: Record<(...), (...)>;
                            name?: string;
                            partition?: number;
                            project?: {
                                avatar?: ...;
                                avatarUrl?: ...;
                                description?: ...;
                                id?: ...;
                                key: ...;
                                links?: ...;
                                name?: ...;
                                public?: ...;
                                scope?: ...;
                                type?: ...;
                            };
                            public?: boolean;
                            relatedLinks?: Record<(...), (...)>;
                            scmId?: string;
                            scope?: string;
                            slug?: string;
                            state?:
                                | "AVAILABLE"
                                | "INITIALISATION_FAILED"
                                | "INITIALISING"
                                | "OFFLINE";
                            statusMessage?: string;
                        };
                        partition?: number;
                        project?: {
                            avatar?: string;
                            avatarUrl?: string;
                            description?: string;
                            id?: number;
                            key: string;
                            links?: Record<(...), (...)>;
                            name?: string;
                            public?: boolean;
                            scope?: string;
                            type?: "NORMAL" | "PERSONAL";
                        };
                        public?: boolean;
                        relatedLinks?: Record<string, unknown>;
                        scmId?: string;
                        scope?: string;
                        slug?: string;
                        state?:
                            | "AVAILABLE"
                            | "INITIALISATION_FAILED"
                            | "INITIALISING"
                            | "OFFLINE";
                        statusMessage?: string;
                    };
                };
            };
        };
        responses: {
            "201": {
                content: {
                    "application/json": {
                        key?: {
                            algorithmType?: string;
                            bitLength?: number;
                            createdDate?: string;
                            expiryDays?: number;
                            fingerprint?: string;
                            id?: number;
                            label?: string;
                            lastAuthenticated?: string;
                            text?: string;
                        };
                        permission?: | "ADMIN"
                        | "LICENSED_USER"
                        | "PROJECT_ADMIN"
                        | "PROJECT_CREATE"
                        | "PROJECT_READ"
                        | "PROJECT_VIEW"
                        | "PROJECT_WRITE"
                        | "REPO_ADMIN"
                        | "REPO_CREATE"
                        | "REPO_READ"
                        | "REPO_WRITE"
                        | "SYS_ADMIN"
                        | "USER_ADMIN";
                        project?: {
                            avatar?: string;
                            avatarUrl?: string;
                            description?: string;
                            id?: number;
                            key: string;
                            links?: Record<string, unknown>;
                            name?: string;
                            public?: boolean;
                            scope?: string;
                            type?: "NORMAL" | "PERSONAL";
                        };
                        repository?: {
                            archived?: boolean;
                            defaultBranch?: string;
                            description?: string;
                            forkable?: boolean;
                            hierarchyId?: string;
                            id?: number;
                            links?: Record<string, unknown>;
                            name?: string;
                            origin?: {
                                archived?: boolean;
                                defaultBranch?: string;
                                description?: string;
                                forkable?: boolean;
                                hierarchyId?: string;
                                id?: number;
                                links?: Record<(...), (...)>;
                                name?: string;
                                partition?: number;
                                project?: {
                                    avatar?: ...;
                                    avatarUrl?: ...;
                                    description?: ...;
                                    id?: ...;
                                    key: ...;
                                    links?: ...;
                                    name?: ...;
                                    public?: ...;
                                    scope?: ...;
                                    type?: ...;
                                };
                                public?: boolean;
                                relatedLinks?: Record<(...), (...)>;
                                scmId?: string;
                                scope?: string;
                                slug?: string;
                                state?:
                                    | "AVAILABLE"
                                    | "INITIALISATION_FAILED"
                                    | "INITIALISING"
                                    | "OFFLINE";
                                statusMessage?: string;
                            };
                            partition?: number;
                            project?: {
                                avatar?: string;
                                avatarUrl?: string;
                                description?: string;
                                id?: number;
                                key: string;
                                links?: Record<(...), (...)>;
                                name?: string;
                                public?: boolean;
                                scope?: string;
                                type?: "NORMAL" | "PERSONAL";
                            };
                            public?: boolean;
                            relatedLinks?: Record<string, unknown>;
                            scmId?: string;
                            scope?: string;
                            slug?: string;
                            state?:
                                | "AVAILABLE"
                                | "INITIALISATION_FAILED"
                                | "INITIALISING"
                                | "OFFLINE";
                            statusMessage?: string;
                        };
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    addForRepository: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string; repositorySlug: string };
            query?: undefined;
        };
        requestBody?: {
            content: {
                "application/json": {
                    key?: {
                        algorithmType?: string;
                        bitLength?: number;
                        createdDate?: string;
                        expiryDays?: number;
                        fingerprint?: string;
                        id?: number;
                        label?: string;
                        lastAuthenticated?: string;
                        text?: string;
                    };
                    permission?: | "ADMIN"
                    | "LICENSED_USER"
                    | "PROJECT_ADMIN"
                    | "PROJECT_CREATE"
                    | "PROJECT_READ"
                    | "PROJECT_VIEW"
                    | "PROJECT_WRITE"
                    | "REPO_ADMIN"
                    | "REPO_CREATE"
                    | "REPO_READ"
                    | "REPO_WRITE"
                    | "SYS_ADMIN"
                    | "USER_ADMIN";
                    project?: {
                        avatar?: string;
                        avatarUrl?: string;
                        description?: string;
                        id?: number;
                        key: string;
                        links?: Record<string, unknown>;
                        name?: string;
                        public?: boolean;
                        scope?: string;
                        type?: "NORMAL" | "PERSONAL";
                    };
                    repository?: {
                        archived?: boolean;
                        defaultBranch?: string;
                        description?: string;
                        forkable?: boolean;
                        hierarchyId?: string;
                        id?: number;
                        links?: Record<string, unknown>;
                        name?: string;
                        origin?: {
                            archived?: boolean;
                            defaultBranch?: string;
                            description?: string;
                            forkable?: boolean;
                            hierarchyId?: string;
                            id?: number;
                            links?: Record<(...), (...)>;
                            name?: string;
                            partition?: number;
                            project?: {
                                avatar?: ...;
                                avatarUrl?: ...;
                                description?: ...;
                                id?: ...;
                                key: ...;
                                links?: ...;
                                name?: ...;
                                public?: ...;
                                scope?: ...;
                                type?: ...;
                            };
                            public?: boolean;
                            relatedLinks?: Record<(...), (...)>;
                            scmId?: string;
                            scope?: string;
                            slug?: string;
                            state?:
                                | "AVAILABLE"
                                | "INITIALISATION_FAILED"
                                | "INITIALISING"
                                | "OFFLINE";
                            statusMessage?: string;
                        };
                        partition?: number;
                        project?: {
                            avatar?: string;
                            avatarUrl?: string;
                            description?: string;
                            id?: number;
                            key: string;
                            links?: Record<(...), (...)>;
                            name?: string;
                            public?: boolean;
                            scope?: string;
                            type?: "NORMAL" | "PERSONAL";
                        };
                        public?: boolean;
                        relatedLinks?: Record<string, unknown>;
                        scmId?: string;
                        scope?: string;
                        slug?: string;
                        state?:
                            | "AVAILABLE"
                            | "INITIALISATION_FAILED"
                            | "INITIALISING"
                            | "OFFLINE";
                        statusMessage?: string;
                    };
                };
            };
        };
        responses: {
            "201": {
                content: {
                    "application/json": {
                        key?: {
                            algorithmType?: string;
                            bitLength?: number;
                            createdDate?: string;
                            expiryDays?: number;
                            fingerprint?: string;
                            id?: number;
                            label?: string;
                            lastAuthenticated?: string;
                            text?: string;
                        };
                        permission?: | "ADMIN"
                        | "LICENSED_USER"
                        | "PROJECT_ADMIN"
                        | "PROJECT_CREATE"
                        | "PROJECT_READ"
                        | "PROJECT_VIEW"
                        | "PROJECT_WRITE"
                        | "REPO_ADMIN"
                        | "REPO_CREATE"
                        | "REPO_READ"
                        | "REPO_WRITE"
                        | "SYS_ADMIN"
                        | "USER_ADMIN";
                        project?: {
                            avatar?: string;
                            avatarUrl?: string;
                            description?: string;
                            id?: number;
                            key: string;
                            links?: Record<string, unknown>;
                            name?: string;
                            public?: boolean;
                            scope?: string;
                            type?: "NORMAL" | "PERSONAL";
                        };
                        repository?: {
                            archived?: boolean;
                            defaultBranch?: string;
                            description?: string;
                            forkable?: boolean;
                            hierarchyId?: string;
                            id?: number;
                            links?: Record<string, unknown>;
                            name?: string;
                            origin?: {
                                archived?: boolean;
                                defaultBranch?: string;
                                description?: string;
                                forkable?: boolean;
                                hierarchyId?: string;
                                id?: number;
                                links?: Record<(...), (...)>;
                                name?: string;
                                partition?: number;
                                project?: {
                                    avatar?: ...;
                                    avatarUrl?: ...;
                                    description?: ...;
                                    id?: ...;
                                    key: ...;
                                    links?: ...;
                                    name?: ...;
                                    public?: ...;
                                    scope?: ...;
                                    type?: ...;
                                };
                                public?: boolean;
                                relatedLinks?: Record<(...), (...)>;
                                scmId?: string;
                                scope?: string;
                                slug?: string;
                                state?:
                                    | "AVAILABLE"
                                    | "INITIALISATION_FAILED"
                                    | "INITIALISING"
                                    | "OFFLINE";
                                statusMessage?: string;
                            };
                            partition?: number;
                            project?: {
                                avatar?: string;
                                avatarUrl?: string;
                                description?: string;
                                id?: number;
                                key: string;
                                links?: Record<(...), (...)>;
                                name?: string;
                                public?: boolean;
                                scope?: string;
                                type?: "NORMAL" | "PERSONAL";
                            };
                            public?: boolean;
                            relatedLinks?: Record<string, unknown>;
                            scmId?: string;
                            scope?: string;
                            slug?: string;
                            state?:
                                | "AVAILABLE"
                                | "INITIALISATION_FAILED"
                                | "INITIALISING"
                                | "OFFLINE";
                            statusMessage?: string;
                        };
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    addGroupToUser: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: undefined;
        };
        requestBody?: {
            content: {
                "application/json": { context?: string; itemName?: string };
            };
        };
        responses: {
            "200": {
                content: { "application/json": unknown };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "403": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    addKey: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: { user?: string };
        };
        requestBody?: {
            content: {
                "application/json": {
                    emailAddress?: string;
                    expiryDate?: number;
                    fingerprint?: string;
                    id?: string;
                    subKeys?: readonly { expiryDate?: string; fingerprint?: string }[];
                    text?: string;
                };
            };
        };
        responses: {
            "200": {
                content: {
                    "application/json": {
                        emailAddress?: string;
                        expiryDate?: number;
                        fingerprint?: string;
                        id?: string;
                        subKeys?: readonly { expiryDate?: string; fingerprint?: string }[];
                        text?: string;
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }

    Type declaration

    • Readonlyparameters: {
          cookie?: undefined;
          header?: undefined;
          path?: undefined;
          query?: { user?: string };
      }
      • Optional Readonlycookie?: undefined
      • Optional Readonlyheader?: undefined
      • Optional Readonlypath?: undefined
      • Optional Readonlyquery?: { user?: string }
        • Optional Readonlyuser?: string

          The name of the user to add a key for (optional; requires ADMIN permission or higher).

    • Optional ReadonlyrequestBody?: {
          content: {
              "application/json": {
                  emailAddress?: string;
                  expiryDate?: number;
                  fingerprint?: string;
                  id?: string;
                  subKeys?: readonly { expiryDate?: string; fingerprint?: string }[];
                  text?: string;
              };
          };
      }

      The request body.

    • Readonlyresponses: {
          "200": {
              content: {
                  "application/json": {
                      emailAddress?: string;
                      expiryDate?: number;
                      fingerprint?: string;
                      id?: string;
                      subKeys?: readonly { expiryDate?: string; fingerprint?: string }[];
                      text?: string;
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "400": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "401": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
      }
      • Readonly200: {
            content: {
                "application/json": {
                    emailAddress?: string;
                    expiryDate?: number;
                    fingerprint?: string;
                    id?: string;
                    subKeys?: readonly { expiryDate?: string; fingerprint?: string }[];
                    text?: string;
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        Response contains the GPG key that was just created.

      • Readonly400: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The request has failed validation.

      • Readonly401: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The currently authenticated user has insufficient permissions to perform this operation.

    addLabel: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string; repositorySlug: string };
            query?: undefined;
        };
        requestBody?: { content: { "application/json": { name?: string } } };
        responses: {
            "200": {
                content: { "application/json": { name?: string } };
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }

    Type declaration

    • Readonlyparameters: {
          cookie?: undefined;
          header?: undefined;
          path: { projectKey: string; repositorySlug: string };
          query?: undefined;
      }
      • Optional Readonlycookie?: undefined
      • Optional Readonlyheader?: undefined
      • Readonlypath: { projectKey: string; repositorySlug: string }
        • ReadonlyprojectKey: string

          The project key.

        • ReadonlyrepositorySlug: string

          The repository slug.

      • Optional Readonlyquery?: undefined
    • Optional ReadonlyrequestBody?: { content: { "application/json": { name?: string } } }

      The label to apply

    • Readonlyresponses: {
          "200": {
              content: { "application/json": { name?: string } };
              headers: Readonly<Record<string, unknown>>;
          };
          "400": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "401": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "404": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
      }
      • Readonly200: {
            content: { "application/json": { name?: string } };
            headers: Readonly<Record<string, unknown>>;
        }

        The applied label.

      • Readonly400: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        A validation error prevented the label from being created or applied. Possible validation errors include: The name of the label contains uppercase characters, the name is smaller than 3 characters or longer than 50 characters, the label contains other characters than a-z 0-9 and - or the label is already applied to the given repository.

      • Readonly401: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The currently authenticated user has insufficient permissions to apply a label.

      • Readonly404: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The specified repository does not exist.

    addSshKey: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: { user?: string };
        };
        requestBody?: {
            content: {
                "application/json": {
                    algorithmType?: string;
                    bitLength?: number;
                    createdDate?: string;
                    expiryDays?: number;
                    fingerprint?: string;
                    id?: number;
                    label?: string;
                    lastAuthenticated?: string;
                    text?: string;
                };
            };
        };
        responses: {
            "201": {
                content: {
                    "application/json": {
                        algorithmType?: string;
                        bitLength?: number;
                        createdDate?: string;
                        expiryDays?: number;
                        fingerprint?: string;
                        id?: number;
                        label?: string;
                        lastAuthenticated?: string;
                        text?: string;
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "409": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    addUsersToGroup: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: undefined;
        };
        requestBody?: {
            content: {
                "application/json": { group?: string; users: readonly string[] };
            };
        };
        responses: {
            "200": {
                content: { "application/json": unknown };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "403": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    addUserToGroup: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: undefined;
        };
        requestBody?: {
            content: {
                "application/json": { context?: string; itemName?: string };
            };
        };
        responses: {
            "200": {
                content: { "application/json": unknown };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "403": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    addUserToGroups: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: undefined;
        };
        requestBody?: {
            content: {
                "application/json": { groups: readonly string[]; user?: string };
            };
        };
        responses: {
            "200": {
                content: { "application/json": unknown };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "403": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    analyticsSettings: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        canCollectAnalytics?: boolean;
                        serverTime?: number;
                        supportEntitlementNumber?: string;
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    applySuggestion: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: {
                commentId: string;
                projectKey: string;
                pullRequestId: string;
                repositorySlug: string;
            };
            query?: undefined;
        };
        requestBody?: {
            content: {
                "application/json": {
                    commentVersion?: { asInt?: number; present?: boolean };
                    commitMessage?: string;
                    pullRequestVersion?: { asInt?: number; present?: boolean };
                    suggestionIndex?: { asInt?: number; present?: boolean };
                };
            };
        };
        responses: {
            "204": {
                content?: undefined;
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "409": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }

    Type declaration

    • Readonlyparameters: {
          cookie?: undefined;
          header?: undefined;
          path: {
              commentId: string;
              projectKey: string;
              pullRequestId: string;
              repositorySlug: string;
          };
          query?: undefined;
      }
      • Optional Readonlycookie?: undefined
      • Optional Readonlyheader?: undefined
      • Readonlypath: {
            commentId: string;
            projectKey: string;
            pullRequestId: string;
            repositorySlug: string;
        }
        • ReadonlycommentId: string

          The ID of the comment to retrieve.

        • ReadonlyprojectKey: string

          The project key.

        • ReadonlypullRequestId: string

          The pull request ID.

        • ReadonlyrepositorySlug: string

          The repository slug.

      • Optional Readonlyquery?: undefined
    • Optional ReadonlyrequestBody?: {
          content: {
              "application/json": {
                  commentVersion?: { asInt?: number; present?: boolean };
                  commitMessage?: string;
                  pullRequestVersion?: { asInt?: number; present?: boolean };
                  suggestionIndex?: { asInt?: number; present?: boolean };
              };
          };
      }

      A request containing other parameters required to apply a suggestion - The given versions/hashes must match the server's version/hashes or the suggestion application will fail (in order to avoid applying the suggestion to the wrong place

    • Readonlyresponses: {
          "204": {
              content?: undefined;
              headers: Readonly<Record<string, unknown>>;
          };
          "400": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "401": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "404": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "409": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
      }
      • Readonly204: { content?: undefined; headers: Readonly<Record<string, unknown>> }

        An empty response indicating the suggestion has been applied.

      • Readonly400: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The suggestion was not applied due to a validation error.

      • Readonly401: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The currently authenticated user has insufficient permissions to apply the suggestion.

      • Readonly404: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        Unable to find the supplied project, repository, pull request or parent comment.

      • Readonly409: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        There was an error applying the suggestion to the source branch. It must be applied manually.

    approve: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: {
                projectKey: string;
                pullRequestId: string;
                repositorySlug: string;
            };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        approved?: boolean;
                        lastReviewedCommit?: string;
                        role?: "PARTICIPANT"
                        | "REVIEWER"
                        | "AUTHOR";
                        status?: "APPROVED" | "NEEDS_WORK" | "UNAPPROVED";
                        user?: {
                            active?: boolean;
                            avatarUrl?: string;
                            displayName?: string;
                            emailAddress?: string;
                            id?: number;
                            links?: Record<string, unknown>;
                            name?: string;
                            slug?: string;
                            type?: "NORMAL" | "SERVICE";
                        };
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "409": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    assignParticipantRole: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: {
                projectKey: string;
                pullRequestId: string;
                repositorySlug: string;
            };
            query?: undefined;
        };
        requestBody: {
            content: {
                "application/json": {
                    role?: "PARTICIPANT"
                    | "REVIEWER"
                    | "AUTHOR";
                    user?: {
                        active?: boolean;
                        avatarUrl?: string;
                        displayName?: string;
                        emailAddress?: string;
                        id?: number;
                        links?: Record<string, unknown>;
                        name?: string;
                        slug?: string;
                        type?: "NORMAL" | "SERVICE";
                    };
                };
            };
        };
        responses: {
            "200": {
                content: {
                    "application/json": {
                        approved?: boolean;
                        lastReviewedCommit?: string;
                        role?: "PARTICIPANT"
                        | "REVIEWER"
                        | "AUTHOR";
                        status?: "APPROVED" | "NEEDS_WORK" | "UNAPPROVED";
                        user?: {
                            active?: boolean;
                            avatarUrl?: string;
                            displayName?: string;
                            emailAddress?: string;
                            id?: number;
                            links?: Record<string, unknown>;
                            name?: string;
                            slug?: string;
                            type?: "NORMAL" | "SERVICE";
                        };
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "409": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }

    Type declaration

    • Readonlyparameters: {
          cookie?: undefined;
          header?: undefined;
          path: { projectKey: string; pullRequestId: string; repositorySlug: string };
          query?: undefined;
      }
      • Optional Readonlycookie?: undefined
      • Optional Readonlyheader?: undefined
      • Readonlypath: { projectKey: string; pullRequestId: string; repositorySlug: string }
        • ReadonlyprojectKey: string

          The project key.

        • ReadonlypullRequestId: string

          The ID of the pull request within the repository

        • ReadonlyrepositorySlug: string

          The repository slug.

      • Optional Readonlyquery?: undefined
    • ReadonlyrequestBody: {
          content: {
              "application/json": {
                  role?: "PARTICIPANT" | "REVIEWER" | "AUTHOR";
                  user?: {
                      active?: boolean;
                      avatarUrl?: string;
                      displayName?: string;
                      emailAddress?: string;
                      id?: number;
                      links?: Record<string, unknown>;
                      name?: string;
                      slug?: string;
                      type?: "NORMAL" | "SERVICE";
                  };
              };
          };
      }

      The participant to be added to the pull request, includes the user and their role

    • Readonlyresponses: {
          "200": {
              content: {
                  "application/json": {
                      approved?: boolean;
                      lastReviewedCommit?: string;
                      role?: "PARTICIPANT" | "REVIEWER" | "AUTHOR";
                      status?: "APPROVED" | "NEEDS_WORK" | "UNAPPROVED";
                      user?: {
                          active?: boolean;
                          avatarUrl?: string;
                          displayName?: string;
                          emailAddress?: string;
                          id?: number;
                          links?: Record<string, unknown>;
                          name?: string;
                          slug?: string;
                          type?: "NORMAL" | "SERVICE";
                      };
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "400": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "401": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "404": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "409": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
      }
      • Readonly200: {
            content: {
                "application/json": {
                    approved?: boolean;
                    lastReviewedCommit?: string;
                    role?: "PARTICIPANT" | "REVIEWER" | "AUTHOR";
                    status?: "APPROVED" | "NEEDS_WORK" | "UNAPPROVED";
                    user?: {
                        active?: boolean;
                        avatarUrl?: string;
                        displayName?: string;
                        emailAddress?: string;
                        id?: number;
                        links?: Record<string, unknown>;
                        name?: string;
                        slug?: string;
                        type?: "NORMAL" | "SERVICE";
                    };
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        Details of the participants in this pull request.

      • Readonly400: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The request does not have the username and role, or is attempting an invalid assignment.

      • Readonly401: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The currently authenticated user has insufficient permissions to update the pull request.

      • Readonly404: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The specified repository or pull request does not exist.

      • Readonly409: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        Adding reviewers isn't supported on archived repositories

    authenticate: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: undefined;
        };
        requestBody?: {
            content: {
                "application/json": {
                    credentials: | { token: string }
                    | { algorithm?: string; publicKey: string; username?: string }
                    | { password: string; username: string };
                    repositoryId?: number;
                };
            };
        };
        responses: {
            "200": {
                content: {
                    "application/json": {
                        active?: boolean;
                        avatarUrl?: string;
                        displayName?: string;
                        effectivePermissions?: Record<string, unknown>;
                        emailAddress?: string;
                        id?: number;
                        links?: Record<string, unknown>;
                        name?: string;
                        slug?: string;
                        type?: "NORMAL" | "SERVICE";
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    bulkAddExemptRepositories: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: undefined;
        };
        requestBody?: {
            content: { "*/*": readonly { projectKey?: string; slug?: string }[] };
        };
        responses: {
            "204": {
                content?: undefined;
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "409": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    bulkAddExemptRepositories_1: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: undefined;
        };
        requestBody?: {
            content: { "*/*": readonly { projectKey?: string; slug?: string }[] };
        };
        responses: {
            "204": {
                content?: undefined;
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    cancelAutoMerge: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: {
                projectKey: string;
                pullRequestId: string;
                repositorySlug: string;
            };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "204": {
                content?: undefined;
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "409": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    cancelExportJob: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { jobId: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "204": {
                content?: undefined;
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "409": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    cancelImportJob: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { jobId: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "204": {
                content?: undefined;
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "409": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    cancelMeshMigrationJob: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { jobId: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "204": {
                content?: undefined;
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "409": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    canMerge: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: {
                projectKey: string;
                pullRequestId: string;
                repositorySlug: string;
            };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        conflicted?: boolean;
                        outcome?: "UNKNOWN"
                        | "CLEAN"
                        | "CONFLICTED";
                        vetoes?: readonly { detailedMessage?: string; summaryMessage?: string }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "409": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    canRebase: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: {
                projectKey: string;
                pullRequestId: string;
                repositorySlug: string;
            };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        vetoes?: readonly {
                            detailedMessage?: string;
                            summaryMessage?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    clearDefaultBranch: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "204": {
                content?: undefined;
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    clearSenderAddress: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "204": {
                content?: undefined;
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    clearUserCaptchaChallenge: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query: { name: string };
        };
        requestBody?: undefined;
        responses: {
            "204": {
                content?: undefined;
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "403": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    connectivity: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        reports?: readonly {
                            node?: {
                                id?: (...)
                                | (...);
                                name?: (...) | (...);
                                type?: (...) | (...) | (...);
                            };
                            summaries?: readonly { node?: ...; summary?: ... }[];
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    create: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string; repositorySlug: string };
            query?: undefined;
        };
        requestBody?: {
            content: {
                "application/json": {
                    closed?: boolean;
                    closedDate?: number;
                    createdDate?: number;
                    description?: string;
                    descriptionAsHtml?: string;
                    draft?: boolean;
                    fromRef?: {
                        displayId?: string;
                        id?: string;
                        latestCommit?: string;
                        repository?: {
                            archived?: boolean;
                            defaultBranch?: string;
                            description?: string;
                            forkable?: boolean;
                            hierarchyId?: string;
                            id?: number;
                            links?: Record<(...), (...)>;
                            name?: string;
                            origin?: {
                                archived?: ...;
                                defaultBranch?: ...;
                                description?: ...;
                                forkable?: ...;
                                hierarchyId?: ...;
                                id?: ...;
                                links?: ...;
                                name?: ...;
                                partition?: ...;
                                project?: ...;
                                public?: ...;
                                relatedLinks?: ...;
                                scmId?: ...;
                                scope?: ...;
                                slug?: ...;
                                state?: ...;
                                statusMessage?: ...;
                            };
                            partition?: number;
                            project?: {
                                avatar?: ...;
                                avatarUrl?: ...;
                                description?: ...;
                                id?: ...;
                                key: ...;
                                links?: ...;
                                name?: ...;
                                public?: ...;
                                scope?: ...;
                                type?: ...;
                            };
                            public?: boolean;
                            relatedLinks?: Record<(...), (...)>;
                            scmId?: string;
                            scope?: string;
                            slug?: string;
                            state?:
                                | "AVAILABLE"
                                | "INITIALISATION_FAILED"
                                | "INITIALISING"
                                | "OFFLINE";
                            statusMessage?: string;
                        };
                        type?: "BRANCH"
                        | "TAG";
                    };
                    htmlDescription?: string;
                    id?: number;
                    links?: Record<string, unknown>;
                    locked?: boolean;
                    open?: boolean;
                    participants?: readonly {
                        approved?: boolean;
                        lastReviewedCommit?: string;
                        role?: "PARTICIPANT" | "REVIEWER" | "AUTHOR";
                        status?: "APPROVED" | "NEEDS_WORK" | "UNAPPROVED";
                        user?: {
                            active?: (...) | (...) | (...);
                            avatarUrl?: (...) | (...);
                            displayName?: (...) | (...);
                            emailAddress?: (...) | (...);
                            id?: (...) | (...);
                            links?: (...) | (...);
                            name?: (...) | (...);
                            slug?: (...) | (...);
                            type?: (...) | (...) | (...);
                        };
                    }[];
                    reviewers?: readonly {
                        approved?: boolean;
                        lastReviewedCommit?: string;
                        role?: "PARTICIPANT"
                        | "REVIEWER"
                        | "AUTHOR";
                        status?: "APPROVED" | "NEEDS_WORK" | "UNAPPROVED";
                        user?: {
                            active?: (...) | (...) | (...);
                            avatarUrl?: (...) | (...);
                            displayName?: (...) | (...);
                            emailAddress?: (...) | (...);
                            id?: (...) | (...);
                            links?: (...) | (...);
                            name?: (...) | (...);
                            slug?: (...) | (...);
                            type?: (...) | (...) | (...);
                        };
                    }[];
                    state?: "DECLINED"
                    | "MERGED"
                    | "OPEN";
                    title?: string;
                    toRef?: {
                        displayId?: string;
                        id?: string;
                        latestCommit?: string;
                        repository?: {
                            archived?: boolean;
                            defaultBranch?: string;
                            description?: string;
                            forkable?: boolean;
                            hierarchyId?: string;
                            id?: number;
                            links?: Record<(...), (...)>;
                            name?: string;
                            origin?: {
                                archived?: ...;
                                defaultBranch?: ...;
                                description?: ...;
                                forkable?: ...;
                                hierarchyId?: ...;
                                id?: ...;
                                links?: ...;
                                name?: ...;
                                partition?: ...;
                                project?: ...;
                                public?: ...;
                                relatedLinks?: ...;
                                scmId?: ...;
                                scope?: ...;
                                slug?: ...;
                                state?: ...;
                                statusMessage?: ...;
                            };
                            partition?: number;
                            project?: {
                                avatar?: ...;
                                avatarUrl?: ...;
                                description?: ...;
                                id?: ...;
                                key: ...;
                                links?: ...;
                                name?: ...;
                                public?: ...;
                                scope?: ...;
                                type?: ...;
                            };
                            public?: boolean;
                            relatedLinks?: Record<(...), (...)>;
                            scmId?: string;
                            scope?: string;
                            slug?: string;
                            state?:
                                | "AVAILABLE"
                                | "INITIALISATION_FAILED"
                                | "INITIALISING"
                                | "OFFLINE";
                            statusMessage?: string;
                        };
                        type?: "BRANCH"
                        | "TAG";
                    };
                    updatedDate?: number;
                    version?: number;
                };
            };
        };
        responses: {
            "201": {
                content: {
                    "application/json": {
                        closed?: boolean;
                        closedDate?: number;
                        createdDate?: number;
                        description?: string;
                        descriptionAsHtml?: string;
                        draft?: boolean;
                        fromRef?: {
                            displayId?: string;
                            id?: string;
                            latestCommit?: string;
                            repository?: {
                                archived?: boolean;
                                defaultBranch?: string;
                                description?: string;
                                forkable?: boolean;
                                hierarchyId?: string;
                                id?: number;
                                links?: Record<(...), (...)>;
                                name?: string;
                                origin?: {
                                    archived?: ...;
                                    defaultBranch?: ...;
                                    description?: ...;
                                    forkable?: ...;
                                    hierarchyId?: ...;
                                    id?: ...;
                                    links?: ...;
                                    name?: ...;
                                    partition?: ...;
                                    project?: ...;
                                    public?: ...;
                                    relatedLinks?: ...;
                                    scmId?: ...;
                                    scope?: ...;
                                    slug?: ...;
                                    state?: ...;
                                    statusMessage?: ...;
                                };
                                partition?: number;
                                project?: {
                                    avatar?: ...;
                                    avatarUrl?: ...;
                                    description?: ...;
                                    id?: ...;
                                    key: ...;
                                    links?: ...;
                                    name?: ...;
                                    public?: ...;
                                    scope?: ...;
                                    type?: ...;
                                };
                                public?: boolean;
                                relatedLinks?: Record<(...), (...)>;
                                scmId?: string;
                                scope?: string;
                                slug?: string;
                                state?:
                                    | "AVAILABLE"
                                    | "INITIALISATION_FAILED"
                                    | "INITIALISING"
                                    | "OFFLINE";
                                statusMessage?: string;
                            };
                            type?: "BRANCH"
                            | "TAG";
                        };
                        htmlDescription?: string;
                        id?: number;
                        links?: Record<string, unknown>;
                        locked?: boolean;
                        open?: boolean;
                        participants?: readonly {
                            approved?: boolean;
                            lastReviewedCommit?: string;
                            role?: "PARTICIPANT" | "REVIEWER" | "AUTHOR";
                            status?: "APPROVED" | "NEEDS_WORK" | "UNAPPROVED";
                            user?: {
                                active?: (...) | (...) | (...);
                                avatarUrl?: (...) | (...);
                                displayName?: (...) | (...);
                                emailAddress?: (...) | (...);
                                id?: (...) | (...);
                                links?: (...) | (...);
                                name?: (...) | (...);
                                slug?: (...) | (...);
                                type?: (...) | (...) | (...);
                            };
                        }[];
                        reviewers?: readonly {
                            approved?: boolean;
                            lastReviewedCommit?: string;
                            role?: "PARTICIPANT"
                            | "REVIEWER"
                            | "AUTHOR";
                            status?: "APPROVED" | "NEEDS_WORK" | "UNAPPROVED";
                            user?: {
                                active?: (...) | (...) | (...);
                                avatarUrl?: (...) | (...);
                                displayName?: (...) | (...);
                                emailAddress?: (...) | (...);
                                id?: (...) | (...);
                                links?: (...) | (...);
                                name?: (...) | (...);
                                slug?: (...) | (...);
                                type?: (...) | (...) | (...);
                            };
                        }[];
                        state?: "DECLINED"
                        | "MERGED"
                        | "OPEN";
                        title?: string;
                        toRef?: {
                            displayId?: string;
                            id?: string;
                            latestCommit?: string;
                            repository?: {
                                archived?: boolean;
                                defaultBranch?: string;
                                description?: string;
                                forkable?: boolean;
                                hierarchyId?: string;
                                id?: number;
                                links?: Record<(...), (...)>;
                                name?: string;
                                origin?: {
                                    archived?: ...;
                                    defaultBranch?: ...;
                                    description?: ...;
                                    forkable?: ...;
                                    hierarchyId?: ...;
                                    id?: ...;
                                    links?: ...;
                                    name?: ...;
                                    partition?: ...;
                                    project?: ...;
                                    public?: ...;
                                    relatedLinks?: ...;
                                    scmId?: ...;
                                    scope?: ...;
                                    slug?: ...;
                                    state?: ...;
                                    statusMessage?: ...;
                                };
                                partition?: number;
                                project?: {
                                    avatar?: ...;
                                    avatarUrl?: ...;
                                    description?: ...;
                                    id?: ...;
                                    key: ...;
                                    links?: ...;
                                    name?: ...;
                                    public?: ...;
                                    scope?: ...;
                                    type?: ...;
                                };
                                public?: boolean;
                                relatedLinks?: Record<(...), (...)>;
                                scmId?: string;
                                scope?: string;
                                slug?: string;
                                state?:
                                    | "AVAILABLE"
                                    | "INITIALISATION_FAILED"
                                    | "INITIALISING"
                                    | "OFFLINE";
                                statusMessage?: string;
                            };
                            type?: "BRANCH"
                            | "TAG";
                        };
                        updatedDate?: number;
                        version?: number;
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "409": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }

    Type declaration

    • Readonlyparameters: {
          cookie?: undefined;
          header?: undefined;
          path: { projectKey: string; repositorySlug: string };
          query?: undefined;
      }
      • Optional Readonlycookie?: undefined
      • Optional Readonlyheader?: undefined
      • Readonlypath: { projectKey: string; repositorySlug: string }
        • ReadonlyprojectKey: string

          The project key.

        • ReadonlyrepositorySlug: string

          The repository slug.

      • Optional Readonlyquery?: undefined
    • Optional ReadonlyrequestBody?: {
          content: {
              "application/json": {
                  closed?: boolean;
                  closedDate?: number;
                  createdDate?: number;
                  description?: string;
                  descriptionAsHtml?: string;
                  draft?: boolean;
                  fromRef?: {
                      displayId?: string;
                      id?: string;
                      latestCommit?: string;
                      repository?: {
                          archived?: boolean;
                          defaultBranch?: string;
                          description?: string;
                          forkable?: boolean;
                          hierarchyId?: string;
                          id?: number;
                          links?: Record<(...), (...)>;
                          name?: string;
                          origin?: {
                              archived?: ...;
                              defaultBranch?: ...;
                              description?: ...;
                              forkable?: ...;
                              hierarchyId?: ...;
                              id?: ...;
                              links?: ...;
                              name?: ...;
                              partition?: ...;
                              project?: ...;
                              public?: ...;
                              relatedLinks?: ...;
                              scmId?: ...;
                              scope?: ...;
                              slug?: ...;
                              state?: ...;
                              statusMessage?: ...;
                          };
                          partition?: number;
                          project?: {
                              avatar?: ...;
                              avatarUrl?: ...;
                              description?: ...;
                              id?: ...;
                              key: ...;
                              links?: ...;
                              name?: ...;
                              public?: ...;
                              scope?: ...;
                              type?: ...;
                          };
                          public?: boolean;
                          relatedLinks?: Record<(...), (...)>;
                          scmId?: string;
                          scope?: string;
                          slug?: string;
                          state?:
                              | "AVAILABLE"
                              | "INITIALISATION_FAILED"
                              | "INITIALISING"
                              | "OFFLINE";
                          statusMessage?: string;
                      };
                      type?: "BRANCH"
                      | "TAG";
                  };
                  htmlDescription?: string;
                  id?: number;
                  links?: Record<string, unknown>;
                  locked?: boolean;
                  open?: boolean;
                  participants?: readonly {
                      approved?: boolean;
                      lastReviewedCommit?: string;
                      role?: "PARTICIPANT" | "REVIEWER" | "AUTHOR";
                      status?: "APPROVED" | "NEEDS_WORK" | "UNAPPROVED";
                      user?: {
                          active?: (...) | (...) | (...);
                          avatarUrl?: (...) | (...);
                          displayName?: (...) | (...);
                          emailAddress?: (...) | (...);
                          id?: (...) | (...);
                          links?: (...) | (...);
                          name?: (...) | (...);
                          slug?: (...) | (...);
                          type?: (...) | (...) | (...);
                      };
                  }[];
                  reviewers?: readonly {
                      approved?: boolean;
                      lastReviewedCommit?: string;
                      role?: "PARTICIPANT"
                      | "REVIEWER"
                      | "AUTHOR";
                      status?: "APPROVED" | "NEEDS_WORK" | "UNAPPROVED";
                      user?: {
                          active?: (...) | (...) | (...);
                          avatarUrl?: (...) | (...);
                          displayName?: (...) | (...);
                          emailAddress?: (...) | (...);
                          id?: (...) | (...);
                          links?: (...) | (...);
                          name?: (...) | (...);
                          slug?: (...) | (...);
                          type?: (...) | (...) | (...);
                      };
                  }[];
                  state?: "DECLINED"
                  | "MERGED"
                  | "OPEN";
                  title?: string;
                  toRef?: {
                      displayId?: string;
                      id?: string;
                      latestCommit?: string;
                      repository?: {
                          archived?: boolean;
                          defaultBranch?: string;
                          description?: string;
                          forkable?: boolean;
                          hierarchyId?: string;
                          id?: number;
                          links?: Record<(...), (...)>;
                          name?: string;
                          origin?: {
                              archived?: ...;
                              defaultBranch?: ...;
                              description?: ...;
                              forkable?: ...;
                              hierarchyId?: ...;
                              id?: ...;
                              links?: ...;
                              name?: ...;
                              partition?: ...;
                              project?: ...;
                              public?: ...;
                              relatedLinks?: ...;
                              scmId?: ...;
                              scope?: ...;
                              slug?: ...;
                              state?: ...;
                              statusMessage?: ...;
                          };
                          partition?: number;
                          project?: {
                              avatar?: ...;
                              avatarUrl?: ...;
                              description?: ...;
                              id?: ...;
                              key: ...;
                              links?: ...;
                              name?: ...;
                              public?: ...;
                              scope?: ...;
                              type?: ...;
                          };
                          public?: boolean;
                          relatedLinks?: Record<(...), (...)>;
                          scmId?: string;
                          scope?: string;
                          slug?: string;
                          state?:
                              | "AVAILABLE"
                              | "INITIALISATION_FAILED"
                              | "INITIALISING"
                              | "OFFLINE";
                          statusMessage?: string;
                      };
                      type?: "BRANCH"
                      | "TAG";
                  };
                  updatedDate?: number;
                  version?: number;
              };
          };
      }

      The pull request data

    • Readonlyresponses: {
          "201": {
              content: {
                  "application/json": {
                      closed?: boolean;
                      closedDate?: number;
                      createdDate?: number;
                      description?: string;
                      descriptionAsHtml?: string;
                      draft?: boolean;
                      fromRef?: {
                          displayId?: string;
                          id?: string;
                          latestCommit?: string;
                          repository?: {
                              archived?: boolean;
                              defaultBranch?: string;
                              description?: string;
                              forkable?: boolean;
                              hierarchyId?: string;
                              id?: number;
                              links?: Record<(...), (...)>;
                              name?: string;
                              origin?: {
                                  archived?: ...;
                                  defaultBranch?: ...;
                                  description?: ...;
                                  forkable?: ...;
                                  hierarchyId?: ...;
                                  id?: ...;
                                  links?: ...;
                                  name?: ...;
                                  partition?: ...;
                                  project?: ...;
                                  public?: ...;
                                  relatedLinks?: ...;
                                  scmId?: ...;
                                  scope?: ...;
                                  slug?: ...;
                                  state?: ...;
                                  statusMessage?: ...;
                              };
                              partition?: number;
                              project?: {
                                  avatar?: ...;
                                  avatarUrl?: ...;
                                  description?: ...;
                                  id?: ...;
                                  key: ...;
                                  links?: ...;
                                  name?: ...;
                                  public?: ...;
                                  scope?: ...;
                                  type?: ...;
                              };
                              public?: boolean;
                              relatedLinks?: Record<(...), (...)>;
                              scmId?: string;
                              scope?: string;
                              slug?: string;
                              state?:
                                  | "AVAILABLE"
                                  | "INITIALISATION_FAILED"
                                  | "INITIALISING"
                                  | "OFFLINE";
                              statusMessage?: string;
                          };
                          type?: "BRANCH"
                          | "TAG";
                      };
                      htmlDescription?: string;
                      id?: number;
                      links?: Record<string, unknown>;
                      locked?: boolean;
                      open?: boolean;
                      participants?: readonly {
                          approved?: boolean;
                          lastReviewedCommit?: string;
                          role?: "PARTICIPANT" | "REVIEWER" | "AUTHOR";
                          status?: "APPROVED" | "NEEDS_WORK" | "UNAPPROVED";
                          user?: {
                              active?: (...) | (...) | (...);
                              avatarUrl?: (...) | (...);
                              displayName?: (...) | (...);
                              emailAddress?: (...) | (...);
                              id?: (...) | (...);
                              links?: (...) | (...);
                              name?: (...) | (...);
                              slug?: (...) | (...);
                              type?: (...) | (...) | (...);
                          };
                      }[];
                      reviewers?: readonly {
                          approved?: boolean;
                          lastReviewedCommit?: string;
                          role?: "PARTICIPANT"
                          | "REVIEWER"
                          | "AUTHOR";
                          status?: "APPROVED" | "NEEDS_WORK" | "UNAPPROVED";
                          user?: {
                              active?: (...) | (...) | (...);
                              avatarUrl?: (...) | (...);
                              displayName?: (...) | (...);
                              emailAddress?: (...) | (...);
                              id?: (...) | (...);
                              links?: (...) | (...);
                              name?: (...) | (...);
                              slug?: (...) | (...);
                              type?: (...) | (...) | (...);
                          };
                      }[];
                      state?: "DECLINED"
                      | "MERGED"
                      | "OPEN";
                      title?: string;
                      toRef?: {
                          displayId?: string;
                          id?: string;
                          latestCommit?: string;
                          repository?: {
                              archived?: boolean;
                              defaultBranch?: string;
                              description?: string;
                              forkable?: boolean;
                              hierarchyId?: string;
                              id?: number;
                              links?: Record<(...), (...)>;
                              name?: string;
                              origin?: {
                                  archived?: ...;
                                  defaultBranch?: ...;
                                  description?: ...;
                                  forkable?: ...;
                                  hierarchyId?: ...;
                                  id?: ...;
                                  links?: ...;
                                  name?: ...;
                                  partition?: ...;
                                  project?: ...;
                                  public?: ...;
                                  relatedLinks?: ...;
                                  scmId?: ...;
                                  scope?: ...;
                                  slug?: ...;
                                  state?: ...;
                                  statusMessage?: ...;
                              };
                              partition?: number;
                              project?: {
                                  avatar?: ...;
                                  avatarUrl?: ...;
                                  description?: ...;
                                  id?: ...;
                                  key: ...;
                                  links?: ...;
                                  name?: ...;
                                  public?: ...;
                                  scope?: ...;
                                  type?: ...;
                              };
                              public?: boolean;
                              relatedLinks?: Record<(...), (...)>;
                              scmId?: string;
                              scope?: string;
                              slug?: string;
                              state?:
                                  | "AVAILABLE"
                                  | "INITIALISATION_FAILED"
                                  | "INITIALISING"
                                  | "OFFLINE";
                              statusMessage?: string;
                          };
                          type?: "BRANCH"
                          | "TAG";
                      };
                      updatedDate?: number;
                      version?: number;
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "400": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "401": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "404": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "409": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
      }
      • Readonly201: {
            content: {
                "application/json": {
                    closed?: boolean;
                    closedDate?: number;
                    createdDate?: number;
                    description?: string;
                    descriptionAsHtml?: string;
                    draft?: boolean;
                    fromRef?: {
                        displayId?: string;
                        id?: string;
                        latestCommit?: string;
                        repository?: {
                            archived?: boolean;
                            defaultBranch?: string;
                            description?: string;
                            forkable?: boolean;
                            hierarchyId?: string;
                            id?: number;
                            links?: Record<(...), (...)>;
                            name?: string;
                            origin?: {
                                archived?: ...;
                                defaultBranch?: ...;
                                description?: ...;
                                forkable?: ...;
                                hierarchyId?: ...;
                                id?: ...;
                                links?: ...;
                                name?: ...;
                                partition?: ...;
                                project?: ...;
                                public?: ...;
                                relatedLinks?: ...;
                                scmId?: ...;
                                scope?: ...;
                                slug?: ...;
                                state?: ...;
                                statusMessage?: ...;
                            };
                            partition?: number;
                            project?: {
                                avatar?: ...;
                                avatarUrl?: ...;
                                description?: ...;
                                id?: ...;
                                key: ...;
                                links?: ...;
                                name?: ...;
                                public?: ...;
                                scope?: ...;
                                type?: ...;
                            };
                            public?: boolean;
                            relatedLinks?: Record<(...), (...)>;
                            scmId?: string;
                            scope?: string;
                            slug?: string;
                            state?:
                                | "AVAILABLE"
                                | "INITIALISATION_FAILED"
                                | "INITIALISING"
                                | "OFFLINE";
                            statusMessage?: string;
                        };
                        type?: "BRANCH"
                        | "TAG";
                    };
                    htmlDescription?: string;
                    id?: number;
                    links?: Record<string, unknown>;
                    locked?: boolean;
                    open?: boolean;
                    participants?: readonly {
                        approved?: boolean;
                        lastReviewedCommit?: string;
                        role?: "PARTICIPANT" | "REVIEWER" | "AUTHOR";
                        status?: "APPROVED" | "NEEDS_WORK" | "UNAPPROVED";
                        user?: {
                            active?: (...) | (...) | (...);
                            avatarUrl?: (...) | (...);
                            displayName?: (...) | (...);
                            emailAddress?: (...) | (...);
                            id?: (...) | (...);
                            links?: (...) | (...);
                            name?: (...) | (...);
                            slug?: (...) | (...);
                            type?: (...) | (...) | (...);
                        };
                    }[];
                    reviewers?: readonly {
                        approved?: boolean;
                        lastReviewedCommit?: string;
                        role?: "PARTICIPANT"
                        | "REVIEWER"
                        | "AUTHOR";
                        status?: "APPROVED" | "NEEDS_WORK" | "UNAPPROVED";
                        user?: {
                            active?: (...) | (...) | (...);
                            avatarUrl?: (...) | (...);
                            displayName?: (...) | (...);
                            emailAddress?: (...) | (...);
                            id?: (...) | (...);
                            links?: (...) | (...);
                            name?: (...) | (...);
                            slug?: (...) | (...);
                            type?: (...) | (...) | (...);
                        };
                    }[];
                    state?: "DECLINED"
                    | "MERGED"
                    | "OPEN";
                    title?: string;
                    toRef?: {
                        displayId?: string;
                        id?: string;
                        latestCommit?: string;
                        repository?: {
                            archived?: boolean;
                            defaultBranch?: string;
                            description?: string;
                            forkable?: boolean;
                            hierarchyId?: string;
                            id?: number;
                            links?: Record<(...), (...)>;
                            name?: string;
                            origin?: {
                                archived?: ...;
                                defaultBranch?: ...;
                                description?: ...;
                                forkable?: ...;
                                hierarchyId?: ...;
                                id?: ...;
                                links?: ...;
                                name?: ...;
                                partition?: ...;
                                project?: ...;
                                public?: ...;
                                relatedLinks?: ...;
                                scmId?: ...;
                                scope?: ...;
                                slug?: ...;
                                state?: ...;
                                statusMessage?: ...;
                            };
                            partition?: number;
                            project?: {
                                avatar?: ...;
                                avatarUrl?: ...;
                                description?: ...;
                                id?: ...;
                                key: ...;
                                links?: ...;
                                name?: ...;
                                public?: ...;
                                scope?: ...;
                                type?: ...;
                            };
                            public?: boolean;
                            relatedLinks?: Record<(...), (...)>;
                            scmId?: string;
                            scope?: string;
                            slug?: string;
                            state?:
                                | "AVAILABLE"
                                | "INITIALISATION_FAILED"
                                | "INITIALISING"
                                | "OFFLINE";
                            statusMessage?: string;
                        };
                        type?: "BRANCH"
                        | "TAG";
                    };
                    updatedDate?: number;
                    version?: number;
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The newly created pull request.

      • Readonly400: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The pull request entity supplied in the request was malformed.

      • Readonly401: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The currently authenticated user has insufficient permissions to create a pull request between the two specified repositories.

      • Readonly404: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        One of the specified repositories or branches does not exist.

      • Readonly409: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        One of the following error cases occurred (check the error message for more details):

        - There was a problem resolving one or more reviewers.
        - The specified branches were the same.
        - The <em>to</em> branch is already up-to-date with all the commits on the     <em>from</em> branch.
        - A pull request between the two branches already exists.
        - The <em>to</em> repository is archived.
        
    create_1: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string };
            query?: undefined;
        };
        requestBody?: {
            content: {
                "application/json": {
                    avatarUrl?: string;
                    description?: string;
                    id?: number;
                    name?: string;
                    scope?: {
                        resourceId?: number;
                        type?: "GLOBAL"
                        | "PROJECT"
                        | "REPOSITORY";
                    };
                    users?: readonly {
                        active?: boolean;
                        displayName?: string;
                        emailAddress?: string;
                        id?: number;
                        name?: string;
                        slug?: string;
                        type?: "NORMAL"
                        | "SERVICE";
                    }[];
                };
            };
        };
        responses: {
            "201": {
                content: {
                    "application/json": {
                        avatarUrl?: string;
                        description?: string;
                        id?: number;
                        name?: string;
                        scope?: {
                            resourceId?: number;
                            type?: "GLOBAL"
                            | "PROJECT"
                            | "REPOSITORY";
                        };
                        users?: readonly {
                            active?: boolean;
                            displayName?: string;
                            emailAddress?: string;
                            id?: number;
                            name?: string;
                            slug?: string;
                            type?: "NORMAL"
                            | "SERVICE";
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "409": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }

    Type declaration

    • Readonlyparameters: {
          cookie?: undefined;
          header?: undefined;
          path: { projectKey: string };
          query?: undefined;
      }
      • Optional Readonlycookie?: undefined
      • Optional Readonlyheader?: undefined
      • Readonlypath: { projectKey: string }
        • ReadonlyprojectKey: string

          The project key.

      • Optional Readonlyquery?: undefined
    • Optional ReadonlyrequestBody?: {
          content: {
              "application/json": {
                  avatarUrl?: string;
                  description?: string;
                  id?: number;
                  name?: string;
                  scope?: {
                      resourceId?: number;
                      type?: "GLOBAL" | "PROJECT" | "REPOSITORY";
                  };
                  users?: readonly {
                      active?: boolean;
                      displayName?: string;
                      emailAddress?: string;
                      id?: number;
                      name?: string;
                      slug?: string;
                      type?: "NORMAL"
                      | "SERVICE";
                  }[];
              };
          };
      }

      The reviewer group to be create

    • Readonlyresponses: {
          "201": {
              content: {
                  "application/json": {
                      avatarUrl?: string;
                      description?: string;
                      id?: number;
                      name?: string;
                      scope?: {
                          resourceId?: number;
                          type?: "GLOBAL" | "PROJECT" | "REPOSITORY";
                      };
                      users?: readonly {
                          active?: boolean;
                          displayName?: string;
                          emailAddress?: string;
                          id?: number;
                          name?: string;
                          slug?: string;
                          type?: "NORMAL"
                          | "SERVICE";
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "400": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "401": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "404": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "409": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
      }
      • Readonly201: {
            content: {
                "application/json": {
                    avatarUrl?: string;
                    description?: string;
                    id?: number;
                    name?: string;
                    scope?: {
                        resourceId?: number;
                        type?: "GLOBAL" | "PROJECT" | "REPOSITORY";
                    };
                    users?: readonly {
                        active?: boolean;
                        displayName?: string;
                        emailAddress?: string;
                        id?: number;
                        name?: string;
                        slug?: string;
                        type?: "NORMAL"
                        | "SERVICE";
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The newly created reviewer group.

      • Readonly400: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The request is missing a reviewer group name.

      • Readonly401: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The currently authenticated user has insufficient permissions to view the project.

      • Readonly404: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The project scope supplied does not exist.

      • Readonly409: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The new created name already exists.

    create_2: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string; repositorySlug: string };
            query?: undefined;
        };
        requestBody?: {
            content: {
                "application/json": {
                    avatarUrl?: string;
                    description?: string;
                    id?: number;
                    name?: string;
                    scope?: {
                        resourceId?: number;
                        type?: "GLOBAL"
                        | "PROJECT"
                        | "REPOSITORY";
                    };
                    users?: readonly {
                        active?: boolean;
                        displayName?: string;
                        emailAddress?: string;
                        id?: number;
                        name?: string;
                        slug?: string;
                        type?: "NORMAL"
                        | "SERVICE";
                    }[];
                };
            };
        };
        responses: {
            "201": {
                content: {
                    "application/json": {
                        avatarUrl?: string;
                        description?: string;
                        id?: number;
                        name?: string;
                        scope?: {
                            resourceId?: number;
                            type?: "GLOBAL"
                            | "PROJECT"
                            | "REPOSITORY";
                        };
                        users?: readonly {
                            active?: boolean;
                            displayName?: string;
                            emailAddress?: string;
                            id?: number;
                            name?: string;
                            slug?: string;
                            type?: "NORMAL"
                            | "SERVICE";
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "409": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }

    Type declaration

    • Readonlyparameters: {
          cookie?: undefined;
          header?: undefined;
          path: { projectKey: string; repositorySlug: string };
          query?: undefined;
      }
      • Optional Readonlycookie?: undefined
      • Optional Readonlyheader?: undefined
      • Readonlypath: { projectKey: string; repositorySlug: string }
        • ReadonlyprojectKey: string

          The project key.

        • ReadonlyrepositorySlug: string

          The repository slug.

      • Optional Readonlyquery?: undefined
    • Optional ReadonlyrequestBody?: {
          content: {
              "application/json": {
                  avatarUrl?: string;
                  description?: string;
                  id?: number;
                  name?: string;
                  scope?: {
                      resourceId?: number;
                      type?: "GLOBAL" | "PROJECT" | "REPOSITORY";
                  };
                  users?: readonly {
                      active?: boolean;
                      displayName?: string;
                      emailAddress?: string;
                      id?: number;
                      name?: string;
                      slug?: string;
                      type?: "NORMAL"
                      | "SERVICE";
                  }[];
              };
          };
      }

      The request containing the details of the reviewer group.

    • Readonlyresponses: {
          "201": {
              content: {
                  "application/json": {
                      avatarUrl?: string;
                      description?: string;
                      id?: number;
                      name?: string;
                      scope?: {
                          resourceId?: number;
                          type?: "GLOBAL" | "PROJECT" | "REPOSITORY";
                      };
                      users?: readonly {
                          active?: boolean;
                          displayName?: string;
                          emailAddress?: string;
                          id?: number;
                          name?: string;
                          slug?: string;
                          type?: "NORMAL"
                          | "SERVICE";
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "400": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "401": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "404": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "409": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
      }
      • Readonly201: {
            content: {
                "application/json": {
                    avatarUrl?: string;
                    description?: string;
                    id?: number;
                    name?: string;
                    scope?: {
                        resourceId?: number;
                        type?: "GLOBAL" | "PROJECT" | "REPOSITORY";
                    };
                    users?: readonly {
                        active?: boolean;
                        displayName?: string;
                        emailAddress?: string;
                        id?: number;
                        name?: string;
                        slug?: string;
                        type?: "NORMAL"
                        | "SERVICE";
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The newly created reviewer group.

      • Readonly400: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The request is missing a reviewer group name.

      • Readonly401: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The currently authenticated user has insufficient permissions to view the repository.

      • Readonly404: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The repository scope supplied does not exist.

      • Readonly409: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The new created name already exists.

    create_3: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string };
            query?: undefined;
        };
        requestBody: {
            content: {
                "application/json": {
                    componentKey?: string;
                    featureKey: string;
                    namespace: string;
                };
            };
        };
        responses: {
            "200": {
                content: {
                    "application/json": {
                        componentKey?: string;
                        featureKey?: string;
                        namespace?: string;
                        processedState?: "FAILED"
                        | "IN_PROGRESS"
                        | "PROCESSED"
                        | "UNPROCESSED";
                        project?: {
                            avatar?: string;
                            avatarUrl?: string;
                            description?: string;
                            id?: number;
                            key: string;
                            links?: Record<string, unknown>;
                            name?: string;
                            public?: boolean;
                            scope?: string;
                            type?: "NORMAL" | "PERSONAL";
                        };
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "409": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }

    Type declaration

    • Readonlyparameters: {
          cookie?: undefined;
          header?: undefined;
          path: { projectKey: string };
          query?: undefined;
      }
      • Optional Readonlycookie?: undefined
      • Optional Readonlyheader?: undefined
      • Readonlypath: { projectKey: string }
        • ReadonlyprojectKey: string

          The project key.

      • Optional Readonlyquery?: undefined
    • ReadonlyrequestBody: {
          content: {
              "application/json": {
                  componentKey?: string;
                  featureKey: string;
                  namespace: string;
              };
          };
      }

      The project settings restriction to create

    • Readonlyresponses: {
          "200": {
              content: {
                  "application/json": {
                      componentKey?: string;
                      featureKey?: string;
                      namespace?: string;
                      processedState?: "FAILED" | "IN_PROGRESS" | "PROCESSED" | "UNPROCESSED";
                      project?: {
                          avatar?: string;
                          avatarUrl?: string;
                          description?: string;
                          id?: number;
                          key: string;
                          links?: Record<string, unknown>;
                          name?: string;
                          public?: boolean;
                          scope?: string;
                          type?: "NORMAL" | "PERSONAL";
                      };
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "400": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "401": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "404": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "409": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
      }
      • Readonly200: {
            content: {
                "application/json": {
                    componentKey?: string;
                    featureKey?: string;
                    namespace?: string;
                    processedState?: "FAILED" | "IN_PROGRESS" | "PROCESSED" | "UNPROCESSED";
                    project?: {
                        avatar?: string;
                        avatarUrl?: string;
                        description?: string;
                        id?: number;
                        key: string;
                        links?: Record<string, unknown>;
                        name?: string;
                        public?: boolean;
                        scope?: string;
                        type?: "NORMAL" | "PERSONAL";
                    };
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The settings restriction was successfully created

      • Readonly400: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The settings restriction was not created because the request was invalid. Possible issues include:

        - The namespace was not provided, or longer than 255 characters
        - The featureKey was not provided, or longer than 255 characters
        - The provided componentKey was fewer than 2 characters, or longer than 255 characters
        
      • Readonly401: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The currently authenticated user has insufficient permissions to create a settings restriction

      • Readonly404: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The specified project does not exist

      • Readonly409: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        A settings restriction with the same namespace, featureKey and componentKey already exists on this project

    createAccessToken: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string };
            query?: undefined;
        };
        requestBody?: {
            content: {
                "application/json": {
                    expiryDays?: number;
                    name?: string;
                    permissions?: readonly string[];
                };
            };
        };
        responses: {
            "200": {
                content: {
                    "application/json": {
                        createdDate?: string;
                        id?: string;
                        name?: string;
                        token?: string;
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }

    Type declaration

    • Readonlyparameters: {
          cookie?: undefined;
          header?: undefined;
          path: { projectKey: string };
          query?: undefined;
      }
      • Optional Readonlycookie?: undefined
      • Optional Readonlyheader?: undefined
      • Readonlypath: { projectKey: string }
        • ReadonlyprojectKey: string

          The project key.

      • Optional Readonlyquery?: undefined
    • Optional ReadonlyrequestBody?: {
          content: {
              "application/json": {
                  expiryDays?: number;
                  name?: string;
                  permissions?: readonly string[];
              };
          };
      }

      The request containing the details of the access token to create.

    • Readonlyresponses: {
          "200": {
              content: {
                  "application/json": {
                      createdDate?: string;
                      id?: string;
                      name?: string;
                      token?: string;
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "400": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "401": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "404": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
      }
      • Readonly200: {
            content: {
                "application/json": {
                    createdDate?: string;
                    id?: string;
                    name?: string;
                    token?: string;
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        A response containing the raw access token and associated details.

      • Readonly400: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        One of the following error cases occurred (check the error message for more details).

        - The request does not contain a token name
        - The request does not contain a list of permissions, or the list of permissions is empty
        - One of the provided permission levels are unknown
        - The project already has the maximum number of tokens
        
      • Readonly401: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The currently authenticated user is not permitted to create an access token for this project or authentication failed.

      • Readonly404: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The specified project does not exist.

    createAccessToken_1: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string; repositorySlug: string };
            query?: undefined;
        };
        requestBody?: {
            content: {
                "application/json": {
                    expiryDays?: number;
                    name?: string;
                    permissions?: readonly string[];
                };
            };
        };
        responses: {
            "200": {
                content: {
                    "application/json": {
                        createdDate?: string;
                        id?: string;
                        name?: string;
                        token?: string;
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }

    Type declaration

    • Readonlyparameters: {
          cookie?: undefined;
          header?: undefined;
          path: { projectKey: string; repositorySlug: string };
          query?: undefined;
      }
      • Optional Readonlycookie?: undefined
      • Optional Readonlyheader?: undefined
      • Readonlypath: { projectKey: string; repositorySlug: string }
        • ReadonlyprojectKey: string

          The project key.

        • ReadonlyrepositorySlug: string

          The repository slug.

      • Optional Readonlyquery?: undefined
    • Optional ReadonlyrequestBody?: {
          content: {
              "application/json": {
                  expiryDays?: number;
                  name?: string;
                  permissions?: readonly string[];
              };
          };
      }

      The request containing the details of the access token to create.

    • Readonlyresponses: {
          "200": {
              content: {
                  "application/json": {
                      createdDate?: string;
                      id?: string;
                      name?: string;
                      token?: string;
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "400": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "401": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "404": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
      }
      • Readonly200: {
            content: {
                "application/json": {
                    createdDate?: string;
                    id?: string;
                    name?: string;
                    token?: string;
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        A response containing the raw access token and associated details.

      • Readonly400: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        One of the following error cases occurred (check the error message for more details).

        - The request does not contain a token name- The request does not contain a list of permissions, or the list of permissions is empty- One of the provided permission levels are unknown- The repository already has the maximum number of tokens
        
      • Readonly401: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The currently authenticated user is not permitted to create an access token for this repository or authentication failed.

      • Readonly404: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The specified repository does not exist.

    createAccessToken_2: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { userSlug: string };
            query?: undefined;
        };
        requestBody?: {
            content: {
                "application/json": {
                    expiryDays?: number;
                    name?: string;
                    permissions?: readonly string[];
                };
            };
        };
        responses: {
            "200": {
                content: {
                    "application/json": {
                        createdDate?: string;
                        id?: string;
                        name?: string;
                        token?: string;
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }

    Type declaration

    • Readonlyparameters: {
          cookie?: undefined;
          header?: undefined;
          path: { userSlug: string };
          query?: undefined;
      }
      • Optional Readonlycookie?: undefined
      • Optional Readonlyheader?: undefined
      • Readonlypath: { userSlug: string }
        • ReadonlyuserSlug: string

          The user slug.

      • Optional Readonlyquery?: undefined
    • Optional ReadonlyrequestBody?: {
          content: {
              "application/json": {
                  expiryDays?: number;
                  name?: string;
                  permissions?: readonly string[];
              };
          };
      }

      The request containing the details of the access token to create.

    • Readonlyresponses: {
          "200": {
              content: {
                  "application/json": {
                      createdDate?: string;
                      id?: string;
                      name?: string;
                      token?: string;
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "400": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "401": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "404": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
      }
      • Readonly200: {
            content: {
                "application/json": {
                    createdDate?: string;
                    id?: string;
                    name?: string;
                    token?: string;
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        A response containing the raw access token and associated details.

      • Readonly400: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        One of the following error cases occurred (check the error message for more details).

        - The request does not contain a token name
        - The request does not contain a list of permissions, or the list of permissions is empty
        - One of the provided permission levels are unknown
        - The user already has their maximum number of tokens
        
      • Readonly401: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The currently authenticated user is not permitted to create an access token on behalf of this user or authentication failed

      • Readonly404: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The specified user does not exist.

    createAllowlistRule: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string };
            query?: undefined;
        };
        requestBody: {
            content: {
                "*/*": { lineRegex?: string; name?: string; pathRegex?: string };
            };
        };
        responses: {
            "200": {
                content: {
                    "application/json": {
                        id?: number;
                        lineRegex?: string;
                        name?: string;
                        pathRegex?: string;
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }

    Type declaration

    • Readonlyparameters: {
          cookie?: undefined;
          header?: undefined;
          path: { projectKey: string };
          query?: undefined;
      }
      • Optional Readonlycookie?: undefined
      • Optional Readonlyheader?: undefined
      • Readonlypath: { projectKey: string }
        • ReadonlyprojectKey: string

          The project key.

      • Optional Readonlyquery?: undefined
    • ReadonlyrequestBody: {
          content: {
              "*/*": { lineRegex?: string; name?: string; pathRegex?: string };
          };
      }

      Allowlist rule to create, either the line regular expression or the path regular expression must be present

    • Readonlyresponses: {
          "200": {
              content: {
                  "application/json": {
                      id?: number;
                      lineRegex?: string;
                      name?: string;
                      pathRegex?: string;
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "400": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "401": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
      }
      • Readonly200: {
            content: {
                "application/json": {
                    id?: number;
                    lineRegex?: string;
                    name?: string;
                    pathRegex?: string;
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The created allowlist rule

      • Readonly400: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The request did not contain a correctly formed allowlist rule. See returned error for more details

      • Readonly401: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The authenticated user is not permitted to create project allowlist rules.

    createAllowlistRule_1: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string; repositorySlug: string };
            query?: undefined;
        };
        requestBody: {
            content: {
                "*/*": { lineRegex?: string; name?: string; pathRegex?: string };
            };
        };
        responses: {
            "200": {
                content: {
                    "application/json": {
                        id?: number;
                        lineRegex?: string;
                        name?: string;
                        pathRegex?: string;
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }

    Type declaration

    • Readonlyparameters: {
          cookie?: undefined;
          header?: undefined;
          path: { projectKey: string; repositorySlug: string };
          query?: undefined;
      }
      • Optional Readonlycookie?: undefined
      • Optional Readonlyheader?: undefined
      • Readonlypath: { projectKey: string; repositorySlug: string }
        • ReadonlyprojectKey: string

          The project key.

        • ReadonlyrepositorySlug: string

          The repository slug.

      • Optional Readonlyquery?: undefined
    • ReadonlyrequestBody: {
          content: {
              "*/*": { lineRegex?: string; name?: string; pathRegex?: string };
          };
      }

      Allowlist rule to create, either the line regular expression or the path regular expression must be present

    • Readonlyresponses: {
          "200": {
              content: {
                  "application/json": {
                      id?: number;
                      lineRegex?: string;
                      name?: string;
                      pathRegex?: string;
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "400": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "401": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
      }
      • Readonly200: {
            content: {
                "application/json": {
                    id?: number;
                    lineRegex?: string;
                    name?: string;
                    pathRegex?: string;
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The created rule

      • Readonly400: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The request did not contain a correctly formed allowlist rule. See returned error for more details

      • Readonly401: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The authenticated user is not permitted to create repository rules

    createBranch: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string; repositorySlug: string };
            query?: undefined;
        };
        requestBody: {
            content: { "application/json": { name?: string; startPoint?: string } };
        };
        responses: {
            "201": {
                content: {
                    "application/json": {
                        default?: boolean;
                        displayId?: string;
                        id?: string;
                        latestChangeset?: string;
                        latestCommit?: string;
                        type?: unknown;
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "409": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    createBranchForRepository: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string; repositorySlug: string };
            query?: undefined;
        };
        requestBody?: {
            content: {
                "application/json": {
                    message?: string;
                    name?: string;
                    startPoint?: string;
                };
            };
        };
        responses: {
            "200": {
                content: {
                    "application/json": {
                        default?: boolean;
                        displayId?: string;
                        id?: string;
                        latestChangeset?: string;
                        latestCommit?: string;
                        type?: unknown;
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }

    Type declaration

    • Readonlyparameters: {
          cookie?: undefined;
          header?: undefined;
          path: { projectKey: string; repositorySlug: string };
          query?: undefined;
      }
      • Optional Readonlycookie?: undefined
      • Optional Readonlyheader?: undefined
      • Readonlypath: { projectKey: string; repositorySlug: string }
        • ReadonlyprojectKey: string

          The project key.

        • ReadonlyrepositorySlug: string

          The repository slug.

      • Optional Readonlyquery?: undefined
    • Optional ReadonlyrequestBody?: {
          content: {
              "application/json": {
                  message?: string;
                  name?: string;
                  startPoint?: string;
              };
          };
      }

      The request to create a branch containing a name, startPoint, and optionally a message

    • Readonlyresponses: {
          "200": {
              content: {
                  "application/json": {
                      default?: boolean;
                      displayId?: string;
                      id?: string;
                      latestChangeset?: string;
                      latestCommit?: string;
                      type?: unknown;
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "401": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "404": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
      }
      • Readonly200: {
            content: {
                "application/json": {
                    default?: boolean;
                    displayId?: string;
                    id?: string;
                    latestChangeset?: string;
                    latestCommit?: string;
                    type?: unknown;
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The created branch.

      • Readonly401: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The currently authenticated user has insufficient permissions to write to the repository.

      • Readonly404: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The specified repository does not exist.

    createCertificate: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: undefined;
        };
        requestBody: {
            content: { "multipart/form-data": { certificate?: string } };
        };
        responses: {
            "201": {
                content: { "application/json": { fingerprint?: string; id?: number } };
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }

    Type declaration

    • Readonlyparameters: { cookie?: undefined; header?: undefined; path?: undefined; query?: undefined }
    • ReadonlyrequestBody: { content: { "multipart/form-data": { certificate?: string } } }

      The multipart form data containing the certificate in a form-field named 'certificate'

    • Readonlyresponses: {
          "201": {
              content: { "application/json": { fingerprint?: string; id?: number } };
              headers: Readonly<Record<string, unknown>>;
          };
          "400": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "401": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
      }
      • Readonly201: {
            content: { "application/json": { fingerprint?: string; id?: number } };
            headers: Readonly<Record<string, unknown>>;
        }

        The newly created X.509 certificate

      • Readonly400: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The request did not contain a valid X.509 certificate request. See returned error for more details

      • Readonly401: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The authenticated user is not permitted to create X.509 certificates

    createComment: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { commitId: string; projectKey: string; repositorySlug: string };
            query?: { since?: string };
        };
        requestBody?: {
            content: {
                "application/json": {
                    anchor?: {
                        diffType?: "COMMIT"
                        | "EFFECTIVE"
                        | "RANGE";
                        fileType?: "FROM" | "TO";
                        fromHash?: string;
                        line?: number;
                        lineType?: "ADDED" | "CONTEXT" | "REMOVED";
                        multilineMarker?: {
                            startLine?: number;
                            startLineType: "ADDED" | "CONTEXT" | "REMOVED";
                        };
                        path?: {
                            components?: readonly (...)[];
                            extension?: string;
                            name?: string;
                            parent?: string;
                        };
                        pullRequest?: {
                            closed?: boolean;
                            closedDate?: number;
                            createdDate?: number;
                            description?: string;
                            descriptionAsHtml?: string;
                            draft?: boolean;
                            fromRef?: {
                                displayId?: ...;
                                id?: ...;
                                latestCommit?: ...;
                                repository?: ...;
                                type?: ...;
                            };
                            htmlDescription?: string;
                            id?: number;
                            links?: Record<(...), (...)>;
                            locked?: boolean;
                            open?: boolean;
                            participants?: readonly (...)[];
                            reviewers?: readonly (...)[];
                            state?: "DECLINED" | "MERGED" | "OPEN";
                            title?: string;
                            toRef?: {
                                displayId?: ...;
                                id?: ...;
                                latestCommit?: ...;
                                repository?: ...;
                                type?: ...;
                            };
                            updatedDate?: number;
                            version?: number;
                        };
                        srcPath?: {
                            components?: readonly (...)[];
                            extension?: string;
                            name?: string;
                            parent?: string;
                        };
                        toHash?: string;
                    };
                    anchored?: boolean;
                    author?: {
                        active?: boolean;
                        avatarUrl?: string;
                        displayName?: string;
                        emailAddress?: string;
                        id?: number;
                        links?: Record<string, unknown>;
                        name?: string;
                        slug?: string;
                        type?: "NORMAL" | "SERVICE";
                    };
                    comments?: readonly (
                        { readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineType?: "ADDED" | "CONTEXT" | "REMOVED"; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }
                    )[];
                    createdDate?: number;
                    html?: string;
                    id?: number;
                    parent?: {
                        anchor?: {
                            diffType?: "COMMIT"
                            | "EFFECTIVE"
                            | "RANGE";
                            fileType?: "FROM" | "TO";
                            fromHash?: string;
                            line?: number;
                            lineType?: "ADDED" | "CONTEXT" | "REMOVED";
                            multilineMarker?: { startLine?: ...; startLineType: ... };
                            path?: { components?: ...; extension?: ...; name?: ...; parent?: ... };
                            pullRequest?: {
                                closed?: ...;
                                closedDate?: ...;
                                createdDate?: ...;
                                description?: ...;
                                descriptionAsHtml?: ...;
                                draft?: ...;
                                fromRef?: ...;
                                htmlDescription?: ...;
                                id?: ...;
                                links?: ...;
                                locked?: ...;
                                open?: ...;
                                participants?: ...;
                                reviewers?: ...;
                                state?: ...;
                                title?: ...;
                                toRef?: ...;
                                updatedDate?: ...;
                                version?: ...;
                            };
                            srcPath?: {
                                components?: ...;
                                extension?: ...;
                                name?: ...;
                                parent?: ...;
                            };
                            toHash?: string;
                        };
                        anchored?: boolean;
                        author?: {
                            active?: boolean;
                            avatarUrl?: string;
                            displayName?: string;
                            emailAddress?: string;
                            id?: number;
                            links?: Record<(...), (...)>;
                            name?: string;
                            slug?: string;
                            type?: "NORMAL" | "SERVICE";
                        };
                        comments?: readonly (
                            { readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineType?: "ADDED" | "CONTEXT" | "REMOVED"; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }
                        )[];
                        createdDate?: number;
                        html?: string;
                        id?: number;
                        pending?: boolean;
                        properties?: Record<string, unknown>;
                        reply?: boolean;
                        resolvedDate?: number;
                        resolver?: {
                            active?: boolean;
                            avatarUrl?: string;
                            displayName?: string;
                            emailAddress?: string;
                            id?: number;
                            links?: Record<(...), (...)>;
                            name?: string;
                            slug?: string;
                            type?: "NORMAL" | "SERVICE";
                        };
                        severity?: string;
                        state?: string;
                        text?: string;
                        threadResolved?: boolean;
                        threadResolvedDate?: number;
                        threadResolver?: {
                            active?: boolean;
                            avatarUrl?: string;
                            displayName?: string;
                            emailAddress?: string;
                            id?: number;
                            links?: Record<(...), (...)>;
                            name?: string;
                            slug?: string;
                            type?: "NORMAL" | "SERVICE";
                        };
                        updatedDate?: number;
                        version?: number;
                    };
                    pending?: boolean;
                    properties?: Record<string, unknown>;
                    reply?: boolean;
                    resolvedDate?: number;
                    resolver?: {
                        active?: boolean;
                        avatarUrl?: string;
                        displayName?: string;
                        emailAddress?: string;
                        id?: number;
                        links?: Record<string, unknown>;
                        name?: string;
                        slug?: string;
                        type?: "NORMAL" | "SERVICE";
                    };
                    severity?: string;
                    state?: string;
                    text?: string;
                    threadResolved?: boolean;
                    threadResolvedDate?: number;
                    threadResolver?: {
                        active?: boolean;
                        avatarUrl?: string;
                        displayName?: string;
                        emailAddress?: string;
                        id?: number;
                        links?: Record<string, unknown>;
                        name?: string;
                        slug?: string;
                        type?: "NORMAL" | "SERVICE";
                    };
                    updatedDate?: number;
                    version?: number;
                };
            };
        };
        responses: {
            "201": {
                content: {
                    "application/json": {
                        anchor?: {
                            diffType?: "COMMIT"
                            | "EFFECTIVE"
                            | "RANGE";
                            fileType?: "FROM" | "TO";
                            fromHash?: string;
                            line?: number;
                            lineType?: "ADDED" | "CONTEXT" | "REMOVED";
                            multilineMarker?: {
                                startLine?: number;
                                startLineType: "ADDED" | "CONTEXT" | "REMOVED";
                            };
                            path?: {
                                components?: readonly (...)[];
                                extension?: string;
                                name?: string;
                                parent?: string;
                            };
                            pullRequest?: {
                                closed?: boolean;
                                closedDate?: number;
                                createdDate?: number;
                                description?: string;
                                descriptionAsHtml?: string;
                                draft?: boolean;
                                fromRef?: {
                                    displayId?: ...;
                                    id?: ...;
                                    latestCommit?: ...;
                                    repository?: ...;
                                    type?: ...;
                                };
                                htmlDescription?: string;
                                id?: number;
                                links?: Record<(...), (...)>;
                                locked?: boolean;
                                open?: boolean;
                                participants?: readonly (...)[];
                                reviewers?: readonly (...)[];
                                state?: "DECLINED" | "MERGED" | "OPEN";
                                title?: string;
                                toRef?: {
                                    displayId?: ...;
                                    id?: ...;
                                    latestCommit?: ...;
                                    repository?: ...;
                                    type?: ...;
                                };
                                updatedDate?: number;
                                version?: number;
                            };
                            srcPath?: {
                                components?: readonly (...)[];
                                extension?: string;
                                name?: string;
                                parent?: string;
                            };
                            toHash?: string;
                        };
                        anchored?: boolean;
                        author?: {
                            active?: boolean;
                            avatarUrl?: string;
                            displayName?: string;
                            emailAddress?: string;
                            id?: number;
                            links?: Record<string, unknown>;
                            name?: string;
                            slug?: string;
                            type?: "NORMAL" | "SERVICE";
                        };
                        comments?: readonly (
                            { readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineType?: "ADDED" | "CONTEXT" | "REMOVED"; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }
                        )[];
                        createdDate?: number;
                        html?: string;
                        id?: number;
                        parent?: {
                            anchor?: {
                                diffType?: "COMMIT"
                                | "EFFECTIVE"
                                | "RANGE";
                                fileType?: "FROM" | "TO";
                                fromHash?: string;
                                line?: number;
                                lineType?: "ADDED" | "CONTEXT" | "REMOVED";
                                multilineMarker?: { startLine?: ...; startLineType: ... };
                                path?: {
                                    components?: ...;
                                    extension?: ...;
                                    name?: ...;
                                    parent?: ...;
                                };
                                pullRequest?: {
                                    closed?: ...;
                                    closedDate?: ...;
                                    createdDate?: ...;
                                    description?: ...;
                                    descriptionAsHtml?: ...;
                                    draft?: ...;
                                    fromRef?: ...;
                                    htmlDescription?: ...;
                                    id?: ...;
                                    links?: ...;
                                    locked?: ...;
                                    open?: ...;
                                    participants?: ...;
                                    reviewers?: ...;
                                    state?: ...;
                                    title?: ...;
                                    toRef?: ...;
                                    updatedDate?: ...;
                                    version?: ...;
                                };
                                srcPath?: {
                                    components?: ...;
                                    extension?: ...;
                                    name?: ...;
                                    parent?: ...;
                                };
                                toHash?: string;
                            };
                            anchored?: boolean;
                            author?: {
                                active?: boolean;
                                avatarUrl?: string;
                                displayName?: string;
                                emailAddress?: string;
                                id?: number;
                                links?: Record<(...), (...)>;
                                name?: string;
                                slug?: string;
                                type?: "NORMAL" | "SERVICE";
                            };
                            comments?: readonly (
                                { readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineType?: "ADDED" | "CONTEXT" | "REMOVED"; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }
                            )[];
                            createdDate?: number;
                            html?: string;
                            id?: number;
                            pending?: boolean;
                            properties?: Record<string, unknown>;
                            reply?: boolean;
                            resolvedDate?: number;
                            resolver?: {
                                active?: boolean;
                                avatarUrl?: string;
                                displayName?: string;
                                emailAddress?: string;
                                id?: number;
                                links?: Record<(...), (...)>;
                                name?: string;
                                slug?: string;
                                type?: "NORMAL" | "SERVICE";
                            };
                            severity?: string;
                            state?: string;
                            text?: string;
                            threadResolved?: boolean;
                            threadResolvedDate?: number;
                            threadResolver?: {
                                active?: boolean;
                                avatarUrl?: string;
                                displayName?: string;
                                emailAddress?: string;
                                id?: number;
                                links?: Record<(...), (...)>;
                                name?: string;
                                slug?: string;
                                type?: "NORMAL" | "SERVICE";
                            };
                            updatedDate?: number;
                            version?: number;
                        };
                        pending?: boolean;
                        properties?: Record<string, unknown>;
                        reply?: boolean;
                        resolvedDate?: number;
                        resolver?: {
                            active?: boolean;
                            avatarUrl?: string;
                            displayName?: string;
                            emailAddress?: string;
                            id?: number;
                            links?: Record<string, unknown>;
                            name?: string;
                            slug?: string;
                            type?: "NORMAL" | "SERVICE";
                        };
                        severity?: string;
                        state?: string;
                        text?: string;
                        threadResolved?: boolean;
                        threadResolvedDate?: number;
                        threadResolver?: {
                            active?: boolean;
                            avatarUrl?: string;
                            displayName?: string;
                            emailAddress?: string;
                            id?: number;
                            links?: Record<string, unknown>;
                            name?: string;
                            slug?: string;
                            type?: "NORMAL" | "SERVICE";
                        };
                        updatedDate?: number;
                        version?: number;
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "409": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }

    Type declaration

    • Readonlyparameters: {
          cookie?: undefined;
          header?: undefined;
          path: { commitId: string; projectKey: string; repositorySlug: string };
          query?: { since?: string };
      }
      • Optional Readonlycookie?: undefined
      • Optional Readonlyheader?: undefined
      • Readonlypath: { commitId: string; projectKey: string; repositorySlug: string }
        • ReadonlycommitId: string

          The full ID of the commit within the repository

        • ReadonlyprojectKey: string

          The project key

        • ReadonlyrepositorySlug: string

          The repository slug

      • Optional Readonlyquery?: { since?: string }
        • Optional Readonlysince?: string

          For a merge commit, a parent can be provided to specify which diff the comments should be on. For a commit range, a sinceId can be provided to specify where the comments should be anchored from.

    • Optional ReadonlyrequestBody?: {
          content: {
              "application/json": {
                  anchor?: {
                      diffType?: "COMMIT" | "EFFECTIVE" | "RANGE";
                      fileType?: "FROM" | "TO";
                      fromHash?: string;
                      line?: number;
                      lineType?: "ADDED" | "CONTEXT" | "REMOVED";
                      multilineMarker?: {
                          startLine?: number;
                          startLineType: "ADDED" | "CONTEXT" | "REMOVED";
                      };
                      path?: {
                          components?: readonly (...)[];
                          extension?: string;
                          name?: string;
                          parent?: string;
                      };
                      pullRequest?: {
                          closed?: boolean;
                          closedDate?: number;
                          createdDate?: number;
                          description?: string;
                          descriptionAsHtml?: string;
                          draft?: boolean;
                          fromRef?: {
                              displayId?: ...;
                              id?: ...;
                              latestCommit?: ...;
                              repository?: ...;
                              type?: ...;
                          };
                          htmlDescription?: string;
                          id?: number;
                          links?: Record<(...), (...)>;
                          locked?: boolean;
                          open?: boolean;
                          participants?: readonly (...)[];
                          reviewers?: readonly (...)[];
                          state?: "DECLINED" | "MERGED" | "OPEN";
                          title?: string;
                          toRef?: {
                              displayId?: ...;
                              id?: ...;
                              latestCommit?: ...;
                              repository?: ...;
                              type?: ...;
                          };
                          updatedDate?: number;
                          version?: number;
                      };
                      srcPath?: {
                          components?: readonly (...)[];
                          extension?: string;
                          name?: string;
                          parent?: string;
                      };
                      toHash?: string;
                  };
                  anchored?: boolean;
                  author?: {
                      active?: boolean;
                      avatarUrl?: string;
                      displayName?: string;
                      emailAddress?: string;
                      id?: number;
                      links?: Record<string, unknown>;
                      name?: string;
                      slug?: string;
                      type?: "NORMAL" | "SERVICE";
                  };
                  comments?: readonly (
                      { readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineType?: "ADDED" | "CONTEXT" | "REMOVED"; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }
                  )[];
                  createdDate?: number;
                  html?: string;
                  id?: number;
                  parent?: {
                      anchor?: {
                          diffType?: "COMMIT"
                          | "EFFECTIVE"
                          | "RANGE";
                          fileType?: "FROM" | "TO";
                          fromHash?: string;
                          line?: number;
                          lineType?: "ADDED" | "CONTEXT" | "REMOVED";
                          multilineMarker?: { startLine?: ...; startLineType: ... };
                          path?: { components?: ...; extension?: ...; name?: ...; parent?: ... };
                          pullRequest?: {
                              closed?: ...;
                              closedDate?: ...;
                              createdDate?: ...;
                              description?: ...;
                              descriptionAsHtml?: ...;
                              draft?: ...;
                              fromRef?: ...;
                              htmlDescription?: ...;
                              id?: ...;
                              links?: ...;
                              locked?: ...;
                              open?: ...;
                              participants?: ...;
                              reviewers?: ...;
                              state?: ...;
                              title?: ...;
                              toRef?: ...;
                              updatedDate?: ...;
                              version?: ...;
                          };
                          srcPath?: {
                              components?: ...;
                              extension?: ...;
                              name?: ...;
                              parent?: ...;
                          };
                          toHash?: string;
                      };
                      anchored?: boolean;
                      author?: {
                          active?: boolean;
                          avatarUrl?: string;
                          displayName?: string;
                          emailAddress?: string;
                          id?: number;
                          links?: Record<(...), (...)>;
                          name?: string;
                          slug?: string;
                          type?: "NORMAL" | "SERVICE";
                      };
                      comments?: readonly (
                          { readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineType?: "ADDED" | "CONTEXT" | "REMOVED"; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }
                      )[];
                      createdDate?: number;
                      html?: string;
                      id?: number;
                      pending?: boolean;
                      properties?: Record<string, unknown>;
                      reply?: boolean;
                      resolvedDate?: number;
                      resolver?: {
                          active?: boolean;
                          avatarUrl?: string;
                          displayName?: string;
                          emailAddress?: string;
                          id?: number;
                          links?: Record<(...), (...)>;
                          name?: string;
                          slug?: string;
                          type?: "NORMAL" | "SERVICE";
                      };
                      severity?: string;
                      state?: string;
                      text?: string;
                      threadResolved?: boolean;
                      threadResolvedDate?: number;
                      threadResolver?: {
                          active?: boolean;
                          avatarUrl?: string;
                          displayName?: string;
                          emailAddress?: string;
                          id?: number;
                          links?: Record<(...), (...)>;
                          name?: string;
                          slug?: string;
                          type?: "NORMAL" | "SERVICE";
                      };
                      updatedDate?: number;
                      version?: number;
                  };
                  pending?: boolean;
                  properties?: Record<string, unknown>;
                  reply?: boolean;
                  resolvedDate?: number;
                  resolver?: {
                      active?: boolean;
                      avatarUrl?: string;
                      displayName?: string;
                      emailAddress?: string;
                      id?: number;
                      links?: Record<string, unknown>;
                      name?: string;
                      slug?: string;
                      type?: "NORMAL" | "SERVICE";
                  };
                  severity?: string;
                  state?: string;
                  text?: string;
                  threadResolved?: boolean;
                  threadResolvedDate?: number;
                  threadResolver?: {
                      active?: boolean;
                      avatarUrl?: string;
                      displayName?: string;
                      emailAddress?: string;
                      id?: number;
                      links?: Record<string, unknown>;
                      name?: string;
                      slug?: string;
                      type?: "NORMAL" | "SERVICE";
                  };
                  updatedDate?: number;
                  version?: number;
              };
          };
      }

      the comment

    • Readonlyresponses: {
          "201": {
              content: {
                  "application/json": {
                      anchor?: {
                          diffType?: "COMMIT" | "EFFECTIVE" | "RANGE";
                          fileType?: "FROM" | "TO";
                          fromHash?: string;
                          line?: number;
                          lineType?: "ADDED" | "CONTEXT" | "REMOVED";
                          multilineMarker?: {
                              startLine?: number;
                              startLineType: "ADDED" | "CONTEXT" | "REMOVED";
                          };
                          path?: {
                              components?: readonly (...)[];
                              extension?: string;
                              name?: string;
                              parent?: string;
                          };
                          pullRequest?: {
                              closed?: boolean;
                              closedDate?: number;
                              createdDate?: number;
                              description?: string;
                              descriptionAsHtml?: string;
                              draft?: boolean;
                              fromRef?: {
                                  displayId?: ...;
                                  id?: ...;
                                  latestCommit?: ...;
                                  repository?: ...;
                                  type?: ...;
                              };
                              htmlDescription?: string;
                              id?: number;
                              links?: Record<(...), (...)>;
                              locked?: boolean;
                              open?: boolean;
                              participants?: readonly (...)[];
                              reviewers?: readonly (...)[];
                              state?: "DECLINED" | "MERGED" | "OPEN";
                              title?: string;
                              toRef?: {
                                  displayId?: ...;
                                  id?: ...;
                                  latestCommit?: ...;
                                  repository?: ...;
                                  type?: ...;
                              };
                              updatedDate?: number;
                              version?: number;
                          };
                          srcPath?: {
                              components?: readonly (...)[];
                              extension?: string;
                              name?: string;
                              parent?: string;
                          };
                          toHash?: string;
                      };
                      anchored?: boolean;
                      author?: {
                          active?: boolean;
                          avatarUrl?: string;
                          displayName?: string;
                          emailAddress?: string;
                          id?: number;
                          links?: Record<string, unknown>;
                          name?: string;
                          slug?: string;
                          type?: "NORMAL" | "SERVICE";
                      };
                      comments?: readonly (
                          { readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineType?: "ADDED" | "CONTEXT" | "REMOVED"; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }
                      )[];
                      createdDate?: number;
                      html?: string;
                      id?: number;
                      parent?: {
                          anchor?: {
                              diffType?: "COMMIT"
                              | "EFFECTIVE"
                              | "RANGE";
                              fileType?: "FROM" | "TO";
                              fromHash?: string;
                              line?: number;
                              lineType?: "ADDED" | "CONTEXT" | "REMOVED";
                              multilineMarker?: { startLine?: ...; startLineType: ... };
                              path?: { components?: ...; extension?: ...; name?: ...; parent?: ... };
                              pullRequest?: {
                                  closed?: ...;
                                  closedDate?: ...;
                                  createdDate?: ...;
                                  description?: ...;
                                  descriptionAsHtml?: ...;
                                  draft?: ...;
                                  fromRef?: ...;
                                  htmlDescription?: ...;
                                  id?: ...;
                                  links?: ...;
                                  locked?: ...;
                                  open?: ...;
                                  participants?: ...;
                                  reviewers?: ...;
                                  state?: ...;
                                  title?: ...;
                                  toRef?: ...;
                                  updatedDate?: ...;
                                  version?: ...;
                              };
                              srcPath?: {
                                  components?: ...;
                                  extension?: ...;
                                  name?: ...;
                                  parent?: ...;
                              };
                              toHash?: string;
                          };
                          anchored?: boolean;
                          author?: {
                              active?: boolean;
                              avatarUrl?: string;
                              displayName?: string;
                              emailAddress?: string;
                              id?: number;
                              links?: Record<(...), (...)>;
                              name?: string;
                              slug?: string;
                              type?: "NORMAL" | "SERVICE";
                          };
                          comments?: readonly (
                              { readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineType?: "ADDED" | "CONTEXT" | "REMOVED"; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }
                          )[];
                          createdDate?: number;
                          html?: string;
                          id?: number;
                          pending?: boolean;
                          properties?: Record<string, unknown>;
                          reply?: boolean;
                          resolvedDate?: number;
                          resolver?: {
                              active?: boolean;
                              avatarUrl?: string;
                              displayName?: string;
                              emailAddress?: string;
                              id?: number;
                              links?: Record<(...), (...)>;
                              name?: string;
                              slug?: string;
                              type?: "NORMAL" | "SERVICE";
                          };
                          severity?: string;
                          state?: string;
                          text?: string;
                          threadResolved?: boolean;
                          threadResolvedDate?: number;
                          threadResolver?: {
                              active?: boolean;
                              avatarUrl?: string;
                              displayName?: string;
                              emailAddress?: string;
                              id?: number;
                              links?: Record<(...), (...)>;
                              name?: string;
                              slug?: string;
                              type?: "NORMAL" | "SERVICE";
                          };
                          updatedDate?: number;
                          version?: number;
                      };
                      pending?: boolean;
                      properties?: Record<string, unknown>;
                      reply?: boolean;
                      resolvedDate?: number;
                      resolver?: {
                          active?: boolean;
                          avatarUrl?: string;
                          displayName?: string;
                          emailAddress?: string;
                          id?: number;
                          links?: Record<string, unknown>;
                          name?: string;
                          slug?: string;
                          type?: "NORMAL" | "SERVICE";
                      };
                      severity?: string;
                      state?: string;
                      text?: string;
                      threadResolved?: boolean;
                      threadResolvedDate?: number;
                      threadResolver?: {
                          active?: boolean;
                          avatarUrl?: string;
                          displayName?: string;
                          emailAddress?: string;
                          id?: number;
                          links?: Record<string, unknown>;
                          name?: string;
                          slug?: string;
                          type?: "NORMAL" | "SERVICE";
                      };
                      updatedDate?: number;
                      version?: number;
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "400": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "401": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "404": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "409": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
      }
      • Readonly201: {
            content: {
                "application/json": {
                    anchor?: {
                        diffType?: "COMMIT" | "EFFECTIVE" | "RANGE";
                        fileType?: "FROM" | "TO";
                        fromHash?: string;
                        line?: number;
                        lineType?: "ADDED" | "CONTEXT" | "REMOVED";
                        multilineMarker?: {
                            startLine?: number;
                            startLineType: "ADDED" | "CONTEXT" | "REMOVED";
                        };
                        path?: {
                            components?: readonly (...)[];
                            extension?: string;
                            name?: string;
                            parent?: string;
                        };
                        pullRequest?: {
                            closed?: boolean;
                            closedDate?: number;
                            createdDate?: number;
                            description?: string;
                            descriptionAsHtml?: string;
                            draft?: boolean;
                            fromRef?: {
                                displayId?: ...;
                                id?: ...;
                                latestCommit?: ...;
                                repository?: ...;
                                type?: ...;
                            };
                            htmlDescription?: string;
                            id?: number;
                            links?: Record<(...), (...)>;
                            locked?: boolean;
                            open?: boolean;
                            participants?: readonly (...)[];
                            reviewers?: readonly (...)[];
                            state?: "DECLINED" | "MERGED" | "OPEN";
                            title?: string;
                            toRef?: {
                                displayId?: ...;
                                id?: ...;
                                latestCommit?: ...;
                                repository?: ...;
                                type?: ...;
                            };
                            updatedDate?: number;
                            version?: number;
                        };
                        srcPath?: {
                            components?: readonly (...)[];
                            extension?: string;
                            name?: string;
                            parent?: string;
                        };
                        toHash?: string;
                    };
                    anchored?: boolean;
                    author?: {
                        active?: boolean;
                        avatarUrl?: string;
                        displayName?: string;
                        emailAddress?: string;
                        id?: number;
                        links?: Record<string, unknown>;
                        name?: string;
                        slug?: string;
                        type?: "NORMAL" | "SERVICE";
                    };
                    comments?: readonly (
                        { readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineType?: "ADDED" | "CONTEXT" | "REMOVED"; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }
                    )[];
                    createdDate?: number;
                    html?: string;
                    id?: number;
                    parent?: {
                        anchor?: {
                            diffType?: "COMMIT"
                            | "EFFECTIVE"
                            | "RANGE";
                            fileType?: "FROM" | "TO";
                            fromHash?: string;
                            line?: number;
                            lineType?: "ADDED" | "CONTEXT" | "REMOVED";
                            multilineMarker?: { startLine?: ...; startLineType: ... };
                            path?: { components?: ...; extension?: ...; name?: ...; parent?: ... };
                            pullRequest?: {
                                closed?: ...;
                                closedDate?: ...;
                                createdDate?: ...;
                                description?: ...;
                                descriptionAsHtml?: ...;
                                draft?: ...;
                                fromRef?: ...;
                                htmlDescription?: ...;
                                id?: ...;
                                links?: ...;
                                locked?: ...;
                                open?: ...;
                                participants?: ...;
                                reviewers?: ...;
                                state?: ...;
                                title?: ...;
                                toRef?: ...;
                                updatedDate?: ...;
                                version?: ...;
                            };
                            srcPath?: {
                                components?: ...;
                                extension?: ...;
                                name?: ...;
                                parent?: ...;
                            };
                            toHash?: string;
                        };
                        anchored?: boolean;
                        author?: {
                            active?: boolean;
                            avatarUrl?: string;
                            displayName?: string;
                            emailAddress?: string;
                            id?: number;
                            links?: Record<(...), (...)>;
                            name?: string;
                            slug?: string;
                            type?: "NORMAL" | "SERVICE";
                        };
                        comments?: readonly (
                            { readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineType?: "ADDED" | "CONTEXT" | "REMOVED"; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }
                        )[];
                        createdDate?: number;
                        html?: string;
                        id?: number;
                        pending?: boolean;
                        properties?: Record<string, unknown>;
                        reply?: boolean;
                        resolvedDate?: number;
                        resolver?: {
                            active?: boolean;
                            avatarUrl?: string;
                            displayName?: string;
                            emailAddress?: string;
                            id?: number;
                            links?: Record<(...), (...)>;
                            name?: string;
                            slug?: string;
                            type?: "NORMAL" | "SERVICE";
                        };
                        severity?: string;
                        state?: string;
                        text?: string;
                        threadResolved?: boolean;
                        threadResolvedDate?: number;
                        threadResolver?: {
                            active?: boolean;
                            avatarUrl?: string;
                            displayName?: string;
                            emailAddress?: string;
                            id?: number;
                            links?: Record<(...), (...)>;
                            name?: string;
                            slug?: string;
                            type?: "NORMAL" | "SERVICE";
                        };
                        updatedDate?: number;
                        version?: number;
                    };
                    pending?: boolean;
                    properties?: Record<string, unknown>;
                    reply?: boolean;
                    resolvedDate?: number;
                    resolver?: {
                        active?: boolean;
                        avatarUrl?: string;
                        displayName?: string;
                        emailAddress?: string;
                        id?: number;
                        links?: Record<string, unknown>;
                        name?: string;
                        slug?: string;
                        type?: "NORMAL" | "SERVICE";
                    };
                    severity?: string;
                    state?: string;
                    text?: string;
                    threadResolved?: boolean;
                    threadResolvedDate?: number;
                    threadResolver?: {
                        active?: boolean;
                        avatarUrl?: string;
                        displayName?: string;
                        emailAddress?: string;
                        id?: number;
                        links?: Record<string, unknown>;
                        name?: string;
                        slug?: string;
                        type?: "NORMAL" | "SERVICE";
                    };
                    updatedDate?: number;
                    version?: number;
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The newly created comment.

      • Readonly400: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The comment was not created due to a validation error.

      • Readonly401: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The currently authenticated user has insufficient permissions to view the commit, create a comment or watch the commit.

      • Readonly404: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        Unable to find the supplied project, repository, commit or parent comment. The missing entity will be specified in the error details.

      • Readonly409: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        Adding, deleting, or editing comments isn't supported on archived repositories.

    createComment_1: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: {
                projectKey: string;
                pullRequestId: string;
                repositorySlug: string;
            };
            query?: undefined;
        };
        requestBody?: {
            content: {
                "application/json": {
                    anchor?: {
                        diffType?: "COMMIT"
                        | "EFFECTIVE"
                        | "RANGE";
                        fileType?: "FROM" | "TO";
                        fromHash?: string;
                        line?: number;
                        lineType?: "ADDED" | "CONTEXT" | "REMOVED";
                        multilineMarker?: {
                            startLine?: number;
                            startLineType: "ADDED" | "CONTEXT" | "REMOVED";
                        };
                        path?: {
                            components?: readonly (...)[];
                            extension?: string;
                            name?: string;
                            parent?: string;
                        };
                        pullRequest?: {
                            closed?: boolean;
                            closedDate?: number;
                            createdDate?: number;
                            description?: string;
                            descriptionAsHtml?: string;
                            draft?: boolean;
                            fromRef?: {
                                displayId?: ...;
                                id?: ...;
                                latestCommit?: ...;
                                repository?: ...;
                                type?: ...;
                            };
                            htmlDescription?: string;
                            id?: number;
                            links?: Record<(...), (...)>;
                            locked?: boolean;
                            open?: boolean;
                            participants?: readonly (...)[];
                            reviewers?: readonly (...)[];
                            state?: "DECLINED" | "MERGED" | "OPEN";
                            title?: string;
                            toRef?: {
                                displayId?: ...;
                                id?: ...;
                                latestCommit?: ...;
                                repository?: ...;
                                type?: ...;
                            };
                            updatedDate?: number;
                            version?: number;
                        };
                        srcPath?: {
                            components?: readonly (...)[];
                            extension?: string;
                            name?: string;
                            parent?: string;
                        };
                        toHash?: string;
                    };
                    anchored?: boolean;
                    author?: {
                        active?: boolean;
                        avatarUrl?: string;
                        displayName?: string;
                        emailAddress?: string;
                        id?: number;
                        links?: Record<string, unknown>;
                        name?: string;
                        slug?: string;
                        type?: "NORMAL" | "SERVICE";
                    };
                    comments?: readonly (
                        { readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineType?: "ADDED" | "CONTEXT" | "REMOVED"; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }
                    )[];
                    createdDate?: number;
                    html?: string;
                    id?: number;
                    parent?: {
                        anchor?: {
                            diffType?: "COMMIT"
                            | "EFFECTIVE"
                            | "RANGE";
                            fileType?: "FROM" | "TO";
                            fromHash?: string;
                            line?: number;
                            lineType?: "ADDED" | "CONTEXT" | "REMOVED";
                            multilineMarker?: { startLine?: ...; startLineType: ... };
                            path?: { components?: ...; extension?: ...; name?: ...; parent?: ... };
                            pullRequest?: {
                                closed?: ...;
                                closedDate?: ...;
                                createdDate?: ...;
                                description?: ...;
                                descriptionAsHtml?: ...;
                                draft?: ...;
                                fromRef?: ...;
                                htmlDescription?: ...;
                                id?: ...;
                                links?: ...;
                                locked?: ...;
                                open?: ...;
                                participants?: ...;
                                reviewers?: ...;
                                state?: ...;
                                title?: ...;
                                toRef?: ...;
                                updatedDate?: ...;
                                version?: ...;
                            };
                            srcPath?: {
                                components?: ...;
                                extension?: ...;
                                name?: ...;
                                parent?: ...;
                            };
                            toHash?: string;
                        };
                        anchored?: boolean;
                        author?: {
                            active?: boolean;
                            avatarUrl?: string;
                            displayName?: string;
                            emailAddress?: string;
                            id?: number;
                            links?: Record<(...), (...)>;
                            name?: string;
                            slug?: string;
                            type?: "NORMAL" | "SERVICE";
                        };
                        comments?: readonly (
                            { readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineType?: "ADDED" | "CONTEXT" | "REMOVED"; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }
                        )[];
                        createdDate?: number;
                        html?: string;
                        id?: number;
                        pending?: boolean;
                        properties?: Record<string, unknown>;
                        reply?: boolean;
                        resolvedDate?: number;
                        resolver?: {
                            active?: boolean;
                            avatarUrl?: string;
                            displayName?: string;
                            emailAddress?: string;
                            id?: number;
                            links?: Record<(...), (...)>;
                            name?: string;
                            slug?: string;
                            type?: "NORMAL" | "SERVICE";
                        };
                        severity?: string;
                        state?: string;
                        text?: string;
                        threadResolved?: boolean;
                        threadResolvedDate?: number;
                        threadResolver?: {
                            active?: boolean;
                            avatarUrl?: string;
                            displayName?: string;
                            emailAddress?: string;
                            id?: number;
                            links?: Record<(...), (...)>;
                            name?: string;
                            slug?: string;
                            type?: "NORMAL" | "SERVICE";
                        };
                        updatedDate?: number;
                        version?: number;
                    };
                    pending?: boolean;
                    properties?: Record<string, unknown>;
                    reply?: boolean;
                    resolvedDate?: number;
                    resolver?: {
                        active?: boolean;
                        avatarUrl?: string;
                        displayName?: string;
                        emailAddress?: string;
                        id?: number;
                        links?: Record<string, unknown>;
                        name?: string;
                        slug?: string;
                        type?: "NORMAL" | "SERVICE";
                    };
                    severity?: string;
                    state?: string;
                    text?: string;
                    threadResolved?: boolean;
                    threadResolvedDate?: number;
                    threadResolver?: {
                        active?: boolean;
                        avatarUrl?: string;
                        displayName?: string;
                        emailAddress?: string;
                        id?: number;
                        links?: Record<string, unknown>;
                        name?: string;
                        slug?: string;
                        type?: "NORMAL" | "SERVICE";
                    };
                    updatedDate?: number;
                    version?: number;
                };
            };
        };
        responses: {
            "201": {
                content: {
                    "application/json": {
                        anchor?: {
                            diffType?: "COMMIT"
                            | "EFFECTIVE"
                            | "RANGE";
                            fileType?: "FROM" | "TO";
                            fromHash?: string;
                            line?: number;
                            lineType?: "ADDED" | "CONTEXT" | "REMOVED";
                            multilineMarker?: {
                                startLine?: number;
                                startLineType: "ADDED" | "CONTEXT" | "REMOVED";
                            };
                            path?: {
                                components?: readonly (...)[];
                                extension?: string;
                                name?: string;
                                parent?: string;
                            };
                            pullRequest?: {
                                closed?: boolean;
                                closedDate?: number;
                                createdDate?: number;
                                description?: string;
                                descriptionAsHtml?: string;
                                draft?: boolean;
                                fromRef?: {
                                    displayId?: ...;
                                    id?: ...;
                                    latestCommit?: ...;
                                    repository?: ...;
                                    type?: ...;
                                };
                                htmlDescription?: string;
                                id?: number;
                                links?: Record<(...), (...)>;
                                locked?: boolean;
                                open?: boolean;
                                participants?: readonly (...)[];
                                reviewers?: readonly (...)[];
                                state?: "DECLINED" | "MERGED" | "OPEN";
                                title?: string;
                                toRef?: {
                                    displayId?: ...;
                                    id?: ...;
                                    latestCommit?: ...;
                                    repository?: ...;
                                    type?: ...;
                                };
                                updatedDate?: number;
                                version?: number;
                            };
                            srcPath?: {
                                components?: readonly (...)[];
                                extension?: string;
                                name?: string;
                                parent?: string;
                            };
                            toHash?: string;
                        };
                        anchored?: boolean;
                        author?: {
                            active?: boolean;
                            avatarUrl?: string;
                            displayName?: string;
                            emailAddress?: string;
                            id?: number;
                            links?: Record<string, unknown>;
                            name?: string;
                            slug?: string;
                            type?: "NORMAL" | "SERVICE";
                        };
                        comments?: readonly (
                            { readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineType?: "ADDED" | "CONTEXT" | "REMOVED"; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }
                        )[];
                        createdDate?: number;
                        html?: string;
                        id?: number;
                        parent?: {
                            anchor?: {
                                diffType?: "COMMIT"
                                | "EFFECTIVE"
                                | "RANGE";
                                fileType?: "FROM" | "TO";
                                fromHash?: string;
                                line?: number;
                                lineType?: "ADDED" | "CONTEXT" | "REMOVED";
                                multilineMarker?: { startLine?: ...; startLineType: ... };
                                path?: {
                                    components?: ...;
                                    extension?: ...;
                                    name?: ...;
                                    parent?: ...;
                                };
                                pullRequest?: {
                                    closed?: ...;
                                    closedDate?: ...;
                                    createdDate?: ...;
                                    description?: ...;
                                    descriptionAsHtml?: ...;
                                    draft?: ...;
                                    fromRef?: ...;
                                    htmlDescription?: ...;
                                    id?: ...;
                                    links?: ...;
                                    locked?: ...;
                                    open?: ...;
                                    participants?: ...;
                                    reviewers?: ...;
                                    state?: ...;
                                    title?: ...;
                                    toRef?: ...;
                                    updatedDate?: ...;
                                    version?: ...;
                                };
                                srcPath?: {
                                    components?: ...;
                                    extension?: ...;
                                    name?: ...;
                                    parent?: ...;
                                };
                                toHash?: string;
                            };
                            anchored?: boolean;
                            author?: {
                                active?: boolean;
                                avatarUrl?: string;
                                displayName?: string;
                                emailAddress?: string;
                                id?: number;
                                links?: Record<(...), (...)>;
                                name?: string;
                                slug?: string;
                                type?: "NORMAL" | "SERVICE";
                            };
                            comments?: readonly (
                                { readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineType?: "ADDED" | "CONTEXT" | "REMOVED"; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }
                            )[];
                            createdDate?: number;
                            html?: string;
                            id?: number;
                            pending?: boolean;
                            properties?: Record<string, unknown>;
                            reply?: boolean;
                            resolvedDate?: number;
                            resolver?: {
                                active?: boolean;
                                avatarUrl?: string;
                                displayName?: string;
                                emailAddress?: string;
                                id?: number;
                                links?: Record<(...), (...)>;
                                name?: string;
                                slug?: string;
                                type?: "NORMAL" | "SERVICE";
                            };
                            severity?: string;
                            state?: string;
                            text?: string;
                            threadResolved?: boolean;
                            threadResolvedDate?: number;
                            threadResolver?: {
                                active?: boolean;
                                avatarUrl?: string;
                                displayName?: string;
                                emailAddress?: string;
                                id?: number;
                                links?: Record<(...), (...)>;
                                name?: string;
                                slug?: string;
                                type?: "NORMAL" | "SERVICE";
                            };
                            updatedDate?: number;
                            version?: number;
                        };
                        pending?: boolean;
                        properties?: Record<string, unknown>;
                        reply?: boolean;
                        resolvedDate?: number;
                        resolver?: {
                            active?: boolean;
                            avatarUrl?: string;
                            displayName?: string;
                            emailAddress?: string;
                            id?: number;
                            links?: Record<string, unknown>;
                            name?: string;
                            slug?: string;
                            type?: "NORMAL" | "SERVICE";
                        };
                        severity?: string;
                        state?: string;
                        text?: string;
                        threadResolved?: boolean;
                        threadResolvedDate?: number;
                        threadResolver?: {
                            active?: boolean;
                            avatarUrl?: string;
                            displayName?: string;
                            emailAddress?: string;
                            id?: number;
                            links?: Record<string, unknown>;
                            name?: string;
                            slug?: string;
                            type?: "NORMAL" | "SERVICE";
                        };
                        updatedDate?: number;
                        version?: number;
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "409": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }

    Type declaration

    • Readonlyparameters: {
          cookie?: undefined;
          header?: undefined;
          path: { projectKey: string; pullRequestId: string; repositorySlug: string };
          query?: undefined;
      }
      • Optional Readonlycookie?: undefined
      • Optional Readonlyheader?: undefined
      • Readonlypath: { projectKey: string; pullRequestId: string; repositorySlug: string }
        • ReadonlyprojectKey: string

          The project key.

        • ReadonlypullRequestId: string

          The pull request ID.

        • ReadonlyrepositorySlug: string

          The repository slug.

      • Optional Readonlyquery?: undefined
    • Optional ReadonlyrequestBody?: {
          content: {
              "application/json": {
                  anchor?: {
                      diffType?: "COMMIT" | "EFFECTIVE" | "RANGE";
                      fileType?: "FROM" | "TO";
                      fromHash?: string;
                      line?: number;
                      lineType?: "ADDED" | "CONTEXT" | "REMOVED";
                      multilineMarker?: {
                          startLine?: number;
                          startLineType: "ADDED" | "CONTEXT" | "REMOVED";
                      };
                      path?: {
                          components?: readonly (...)[];
                          extension?: string;
                          name?: string;
                          parent?: string;
                      };
                      pullRequest?: {
                          closed?: boolean;
                          closedDate?: number;
                          createdDate?: number;
                          description?: string;
                          descriptionAsHtml?: string;
                          draft?: boolean;
                          fromRef?: {
                              displayId?: ...;
                              id?: ...;
                              latestCommit?: ...;
                              repository?: ...;
                              type?: ...;
                          };
                          htmlDescription?: string;
                          id?: number;
                          links?: Record<(...), (...)>;
                          locked?: boolean;
                          open?: boolean;
                          participants?: readonly (...)[];
                          reviewers?: readonly (...)[];
                          state?: "DECLINED" | "MERGED" | "OPEN";
                          title?: string;
                          toRef?: {
                              displayId?: ...;
                              id?: ...;
                              latestCommit?: ...;
                              repository?: ...;
                              type?: ...;
                          };
                          updatedDate?: number;
                          version?: number;
                      };
                      srcPath?: {
                          components?: readonly (...)[];
                          extension?: string;
                          name?: string;
                          parent?: string;
                      };
                      toHash?: string;
                  };
                  anchored?: boolean;
                  author?: {
                      active?: boolean;
                      avatarUrl?: string;
                      displayName?: string;
                      emailAddress?: string;
                      id?: number;
                      links?: Record<string, unknown>;
                      name?: string;
                      slug?: string;
                      type?: "NORMAL" | "SERVICE";
                  };
                  comments?: readonly (
                      { readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineType?: "ADDED" | "CONTEXT" | "REMOVED"; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }
                  )[];
                  createdDate?: number;
                  html?: string;
                  id?: number;
                  parent?: {
                      anchor?: {
                          diffType?: "COMMIT"
                          | "EFFECTIVE"
                          | "RANGE";
                          fileType?: "FROM" | "TO";
                          fromHash?: string;
                          line?: number;
                          lineType?: "ADDED" | "CONTEXT" | "REMOVED";
                          multilineMarker?: { startLine?: ...; startLineType: ... };
                          path?: { components?: ...; extension?: ...; name?: ...; parent?: ... };
                          pullRequest?: {
                              closed?: ...;
                              closedDate?: ...;
                              createdDate?: ...;
                              description?: ...;
                              descriptionAsHtml?: ...;
                              draft?: ...;
                              fromRef?: ...;
                              htmlDescription?: ...;
                              id?: ...;
                              links?: ...;
                              locked?: ...;
                              open?: ...;
                              participants?: ...;
                              reviewers?: ...;
                              state?: ...;
                              title?: ...;
                              toRef?: ...;
                              updatedDate?: ...;
                              version?: ...;
                          };
                          srcPath?: {
                              components?: ...;
                              extension?: ...;
                              name?: ...;
                              parent?: ...;
                          };
                          toHash?: string;
                      };
                      anchored?: boolean;
                      author?: {
                          active?: boolean;
                          avatarUrl?: string;
                          displayName?: string;
                          emailAddress?: string;
                          id?: number;
                          links?: Record<(...), (...)>;
                          name?: string;
                          slug?: string;
                          type?: "NORMAL" | "SERVICE";
                      };
                      comments?: readonly (
                          { readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineType?: "ADDED" | "CONTEXT" | "REMOVED"; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }
                      )[];
                      createdDate?: number;
                      html?: string;
                      id?: number;
                      pending?: boolean;
                      properties?: Record<string, unknown>;
                      reply?: boolean;
                      resolvedDate?: number;
                      resolver?: {
                          active?: boolean;
                          avatarUrl?: string;
                          displayName?: string;
                          emailAddress?: string;
                          id?: number;
                          links?: Record<(...), (...)>;
                          name?: string;
                          slug?: string;
                          type?: "NORMAL" | "SERVICE";
                      };
                      severity?: string;
                      state?: string;
                      text?: string;
                      threadResolved?: boolean;
                      threadResolvedDate?: number;
                      threadResolver?: {
                          active?: boolean;
                          avatarUrl?: string;
                          displayName?: string;
                          emailAddress?: string;
                          id?: number;
                          links?: Record<(...), (...)>;
                          name?: string;
                          slug?: string;
                          type?: "NORMAL" | "SERVICE";
                      };
                      updatedDate?: number;
                      version?: number;
                  };
                  pending?: boolean;
                  properties?: Record<string, unknown>;
                  reply?: boolean;
                  resolvedDate?: number;
                  resolver?: {
                      active?: boolean;
                      avatarUrl?: string;
                      displayName?: string;
                      emailAddress?: string;
                      id?: number;
                      links?: Record<string, unknown>;
                      name?: string;
                      slug?: string;
                      type?: "NORMAL" | "SERVICE";
                  };
                  severity?: string;
                  state?: string;
                  text?: string;
                  threadResolved?: boolean;
                  threadResolvedDate?: number;
                  threadResolver?: {
                      active?: boolean;
                      avatarUrl?: string;
                      displayName?: string;
                      emailAddress?: string;
                      id?: number;
                      links?: Record<string, unknown>;
                      name?: string;
                      slug?: string;
                      type?: "NORMAL" | "SERVICE";
                  };
                  updatedDate?: number;
                  version?: number;
              };
          };
      }

      The comment to add.

    • Readonlyresponses: {
          "201": {
              content: {
                  "application/json": {
                      anchor?: {
                          diffType?: "COMMIT" | "EFFECTIVE" | "RANGE";
                          fileType?: "FROM" | "TO";
                          fromHash?: string;
                          line?: number;
                          lineType?: "ADDED" | "CONTEXT" | "REMOVED";
                          multilineMarker?: {
                              startLine?: number;
                              startLineType: "ADDED" | "CONTEXT" | "REMOVED";
                          };
                          path?: {
                              components?: readonly (...)[];
                              extension?: string;
                              name?: string;
                              parent?: string;
                          };
                          pullRequest?: {
                              closed?: boolean;
                              closedDate?: number;
                              createdDate?: number;
                              description?: string;
                              descriptionAsHtml?: string;
                              draft?: boolean;
                              fromRef?: {
                                  displayId?: ...;
                                  id?: ...;
                                  latestCommit?: ...;
                                  repository?: ...;
                                  type?: ...;
                              };
                              htmlDescription?: string;
                              id?: number;
                              links?: Record<(...), (...)>;
                              locked?: boolean;
                              open?: boolean;
                              participants?: readonly (...)[];
                              reviewers?: readonly (...)[];
                              state?: "DECLINED" | "MERGED" | "OPEN";
                              title?: string;
                              toRef?: {
                                  displayId?: ...;
                                  id?: ...;
                                  latestCommit?: ...;
                                  repository?: ...;
                                  type?: ...;
                              };
                              updatedDate?: number;
                              version?: number;
                          };
                          srcPath?: {
                              components?: readonly (...)[];
                              extension?: string;
                              name?: string;
                              parent?: string;
                          };
                          toHash?: string;
                      };
                      anchored?: boolean;
                      author?: {
                          active?: boolean;
                          avatarUrl?: string;
                          displayName?: string;
                          emailAddress?: string;
                          id?: number;
                          links?: Record<string, unknown>;
                          name?: string;
                          slug?: string;
                          type?: "NORMAL" | "SERVICE";
                      };
                      comments?: readonly (
                          { readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineType?: "ADDED" | "CONTEXT" | "REMOVED"; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }
                      )[];
                      createdDate?: number;
                      html?: string;
                      id?: number;
                      parent?: {
                          anchor?: {
                              diffType?: "COMMIT"
                              | "EFFECTIVE"
                              | "RANGE";
                              fileType?: "FROM" | "TO";
                              fromHash?: string;
                              line?: number;
                              lineType?: "ADDED" | "CONTEXT" | "REMOVED";
                              multilineMarker?: { startLine?: ...; startLineType: ... };
                              path?: { components?: ...; extension?: ...; name?: ...; parent?: ... };
                              pullRequest?: {
                                  closed?: ...;
                                  closedDate?: ...;
                                  createdDate?: ...;
                                  description?: ...;
                                  descriptionAsHtml?: ...;
                                  draft?: ...;
                                  fromRef?: ...;
                                  htmlDescription?: ...;
                                  id?: ...;
                                  links?: ...;
                                  locked?: ...;
                                  open?: ...;
                                  participants?: ...;
                                  reviewers?: ...;
                                  state?: ...;
                                  title?: ...;
                                  toRef?: ...;
                                  updatedDate?: ...;
                                  version?: ...;
                              };
                              srcPath?: {
                                  components?: ...;
                                  extension?: ...;
                                  name?: ...;
                                  parent?: ...;
                              };
                              toHash?: string;
                          };
                          anchored?: boolean;
                          author?: {
                              active?: boolean;
                              avatarUrl?: string;
                              displayName?: string;
                              emailAddress?: string;
                              id?: number;
                              links?: Record<(...), (...)>;
                              name?: string;
                              slug?: string;
                              type?: "NORMAL" | "SERVICE";
                          };
                          comments?: readonly (
                              { readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineType?: "ADDED" | "CONTEXT" | "REMOVED"; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }
                          )[];
                          createdDate?: number;
                          html?: string;
                          id?: number;
                          pending?: boolean;
                          properties?: Record<string, unknown>;
                          reply?: boolean;
                          resolvedDate?: number;
                          resolver?: {
                              active?: boolean;
                              avatarUrl?: string;
                              displayName?: string;
                              emailAddress?: string;
                              id?: number;
                              links?: Record<(...), (...)>;
                              name?: string;
                              slug?: string;
                              type?: "NORMAL" | "SERVICE";
                          };
                          severity?: string;
                          state?: string;
                          text?: string;
                          threadResolved?: boolean;
                          threadResolvedDate?: number;
                          threadResolver?: {
                              active?: boolean;
                              avatarUrl?: string;
                              displayName?: string;
                              emailAddress?: string;
                              id?: number;
                              links?: Record<(...), (...)>;
                              name?: string;
                              slug?: string;
                              type?: "NORMAL" | "SERVICE";
                          };
                          updatedDate?: number;
                          version?: number;
                      };
                      pending?: boolean;
                      properties?: Record<string, unknown>;
                      reply?: boolean;
                      resolvedDate?: number;
                      resolver?: {
                          active?: boolean;
                          avatarUrl?: string;
                          displayName?: string;
                          emailAddress?: string;
                          id?: number;
                          links?: Record<string, unknown>;
                          name?: string;
                          slug?: string;
                          type?: "NORMAL" | "SERVICE";
                      };
                      severity?: string;
                      state?: string;
                      text?: string;
                      threadResolved?: boolean;
                      threadResolvedDate?: number;
                      threadResolver?: {
                          active?: boolean;
                          avatarUrl?: string;
                          displayName?: string;
                          emailAddress?: string;
                          id?: number;
                          links?: Record<string, unknown>;
                          name?: string;
                          slug?: string;
                          type?: "NORMAL" | "SERVICE";
                      };
                      updatedDate?: number;
                      version?: number;
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "400": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "401": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "404": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "409": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
      }
      • Readonly201: {
            content: {
                "application/json": {
                    anchor?: {
                        diffType?: "COMMIT" | "EFFECTIVE" | "RANGE";
                        fileType?: "FROM" | "TO";
                        fromHash?: string;
                        line?: number;
                        lineType?: "ADDED" | "CONTEXT" | "REMOVED";
                        multilineMarker?: {
                            startLine?: number;
                            startLineType: "ADDED" | "CONTEXT" | "REMOVED";
                        };
                        path?: {
                            components?: readonly (...)[];
                            extension?: string;
                            name?: string;
                            parent?: string;
                        };
                        pullRequest?: {
                            closed?: boolean;
                            closedDate?: number;
                            createdDate?: number;
                            description?: string;
                            descriptionAsHtml?: string;
                            draft?: boolean;
                            fromRef?: {
                                displayId?: ...;
                                id?: ...;
                                latestCommit?: ...;
                                repository?: ...;
                                type?: ...;
                            };
                            htmlDescription?: string;
                            id?: number;
                            links?: Record<(...), (...)>;
                            locked?: boolean;
                            open?: boolean;
                            participants?: readonly (...)[];
                            reviewers?: readonly (...)[];
                            state?: "DECLINED" | "MERGED" | "OPEN";
                            title?: string;
                            toRef?: {
                                displayId?: ...;
                                id?: ...;
                                latestCommit?: ...;
                                repository?: ...;
                                type?: ...;
                            };
                            updatedDate?: number;
                            version?: number;
                        };
                        srcPath?: {
                            components?: readonly (...)[];
                            extension?: string;
                            name?: string;
                            parent?: string;
                        };
                        toHash?: string;
                    };
                    anchored?: boolean;
                    author?: {
                        active?: boolean;
                        avatarUrl?: string;
                        displayName?: string;
                        emailAddress?: string;
                        id?: number;
                        links?: Record<string, unknown>;
                        name?: string;
                        slug?: string;
                        type?: "NORMAL" | "SERVICE";
                    };
                    comments?: readonly (
                        { readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineType?: "ADDED" | "CONTEXT" | "REMOVED"; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }
                    )[];
                    createdDate?: number;
                    html?: string;
                    id?: number;
                    parent?: {
                        anchor?: {
                            diffType?: "COMMIT"
                            | "EFFECTIVE"
                            | "RANGE";
                            fileType?: "FROM" | "TO";
                            fromHash?: string;
                            line?: number;
                            lineType?: "ADDED" | "CONTEXT" | "REMOVED";
                            multilineMarker?: { startLine?: ...; startLineType: ... };
                            path?: { components?: ...; extension?: ...; name?: ...; parent?: ... };
                            pullRequest?: {
                                closed?: ...;
                                closedDate?: ...;
                                createdDate?: ...;
                                description?: ...;
                                descriptionAsHtml?: ...;
                                draft?: ...;
                                fromRef?: ...;
                                htmlDescription?: ...;
                                id?: ...;
                                links?: ...;
                                locked?: ...;
                                open?: ...;
                                participants?: ...;
                                reviewers?: ...;
                                state?: ...;
                                title?: ...;
                                toRef?: ...;
                                updatedDate?: ...;
                                version?: ...;
                            };
                            srcPath?: {
                                components?: ...;
                                extension?: ...;
                                name?: ...;
                                parent?: ...;
                            };
                            toHash?: string;
                        };
                        anchored?: boolean;
                        author?: {
                            active?: boolean;
                            avatarUrl?: string;
                            displayName?: string;
                            emailAddress?: string;
                            id?: number;
                            links?: Record<(...), (...)>;
                            name?: string;
                            slug?: string;
                            type?: "NORMAL" | "SERVICE";
                        };
                        comments?: readonly (
                            { readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineType?: "ADDED" | "CONTEXT" | "REMOVED"; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }
                        )[];
                        createdDate?: number;
                        html?: string;
                        id?: number;
                        pending?: boolean;
                        properties?: Record<string, unknown>;
                        reply?: boolean;
                        resolvedDate?: number;
                        resolver?: {
                            active?: boolean;
                            avatarUrl?: string;
                            displayName?: string;
                            emailAddress?: string;
                            id?: number;
                            links?: Record<(...), (...)>;
                            name?: string;
                            slug?: string;
                            type?: "NORMAL" | "SERVICE";
                        };
                        severity?: string;
                        state?: string;
                        text?: string;
                        threadResolved?: boolean;
                        threadResolvedDate?: number;
                        threadResolver?: {
                            active?: boolean;
                            avatarUrl?: string;
                            displayName?: string;
                            emailAddress?: string;
                            id?: number;
                            links?: Record<(...), (...)>;
                            name?: string;
                            slug?: string;
                            type?: "NORMAL" | "SERVICE";
                        };
                        updatedDate?: number;
                        version?: number;
                    };
                    pending?: boolean;
                    properties?: Record<string, unknown>;
                    reply?: boolean;
                    resolvedDate?: number;
                    resolver?: {
                        active?: boolean;
                        avatarUrl?: string;
                        displayName?: string;
                        emailAddress?: string;
                        id?: number;
                        links?: Record<string, unknown>;
                        name?: string;
                        slug?: string;
                        type?: "NORMAL" | "SERVICE";
                    };
                    severity?: string;
                    state?: string;
                    text?: string;
                    threadResolved?: boolean;
                    threadResolvedDate?: number;
                    threadResolver?: {
                        active?: boolean;
                        avatarUrl?: string;
                        displayName?: string;
                        emailAddress?: string;
                        id?: number;
                        links?: Record<string, unknown>;
                        name?: string;
                        slug?: string;
                        type?: "NORMAL" | "SERVICE";
                    };
                    updatedDate?: number;
                    version?: number;
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The newly created comment.

      • Readonly400: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The comment was not created due to a validation error.

      • Readonly401: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The currently authenticated user has insufficient permissions to view the pull request, create a comment or watch the pull request.

      • Readonly404: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        Unable to find the supplied project, repository, pull request or parent comment.

      • Readonly409: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The new created name already exists or adding, deleting, or editing comments isn't supported on archived repositories.

    createComment_2: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: {
                projectKey: string;
                pullRequestId: string;
                repositorySlug: string;
            };
            query?: undefined;
        };
        requestBody?: {
            content: {
                "application/json": {
                    anchor?: {
                        diffType?: "COMMIT"
                        | "EFFECTIVE"
                        | "RANGE";
                        fileType?: "FROM" | "TO";
                        fromHash?: string;
                        line?: number;
                        lineType?: "ADDED" | "CONTEXT" | "REMOVED";
                        multilineMarker?: {
                            startLine?: number;
                            startLineType: "ADDED" | "CONTEXT" | "REMOVED";
                        };
                        path?: {
                            components?: readonly (...)[];
                            extension?: string;
                            name?: string;
                            parent?: string;
                        };
                        pullRequest?: {
                            closed?: boolean;
                            closedDate?: number;
                            createdDate?: number;
                            description?: string;
                            descriptionAsHtml?: string;
                            draft?: boolean;
                            fromRef?: {
                                displayId?: ...;
                                id?: ...;
                                latestCommit?: ...;
                                repository?: ...;
                                type?: ...;
                            };
                            htmlDescription?: string;
                            id?: number;
                            links?: Record<(...), (...)>;
                            locked?: boolean;
                            open?: boolean;
                            participants?: readonly (...)[];
                            reviewers?: readonly (...)[];
                            state?: "DECLINED" | "MERGED" | "OPEN";
                            title?: string;
                            toRef?: {
                                displayId?: ...;
                                id?: ...;
                                latestCommit?: ...;
                                repository?: ...;
                                type?: ...;
                            };
                            updatedDate?: number;
                            version?: number;
                        };
                        srcPath?: {
                            components?: readonly (...)[];
                            extension?: string;
                            name?: string;
                            parent?: string;
                        };
                        toHash?: string;
                    };
                    anchored?: boolean;
                    author?: {
                        active?: boolean;
                        avatarUrl?: string;
                        displayName?: string;
                        emailAddress?: string;
                        id?: number;
                        links?: Record<string, unknown>;
                        name?: string;
                        slug?: string;
                        type?: "NORMAL" | "SERVICE";
                    };
                    comments?: readonly (
                        { readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineType?: "ADDED" | "CONTEXT" | "REMOVED"; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }
                    )[];
                    createdDate?: number;
                    html?: string;
                    id?: number;
                    parent?: {
                        anchor?: {
                            diffType?: "COMMIT"
                            | "EFFECTIVE"
                            | "RANGE";
                            fileType?: "FROM" | "TO";
                            fromHash?: string;
                            line?: number;
                            lineType?: "ADDED" | "CONTEXT" | "REMOVED";
                            multilineMarker?: { startLine?: ...; startLineType: ... };
                            path?: { components?: ...; extension?: ...; name?: ...; parent?: ... };
                            pullRequest?: {
                                closed?: ...;
                                closedDate?: ...;
                                createdDate?: ...;
                                description?: ...;
                                descriptionAsHtml?: ...;
                                draft?: ...;
                                fromRef?: ...;
                                htmlDescription?: ...;
                                id?: ...;
                                links?: ...;
                                locked?: ...;
                                open?: ...;
                                participants?: ...;
                                reviewers?: ...;
                                state?: ...;
                                title?: ...;
                                toRef?: ...;
                                updatedDate?: ...;
                                version?: ...;
                            };
                            srcPath?: {
                                components?: ...;
                                extension?: ...;
                                name?: ...;
                                parent?: ...;
                            };
                            toHash?: string;
                        };
                        anchored?: boolean;
                        author?: {
                            active?: boolean;
                            avatarUrl?: string;
                            displayName?: string;
                            emailAddress?: string;
                            id?: number;
                            links?: Record<(...), (...)>;
                            name?: string;
                            slug?: string;
                            type?: "NORMAL" | "SERVICE";
                        };
                        comments?: readonly (
                            { readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineType?: "ADDED" | "CONTEXT" | "REMOVED"; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }
                        )[];
                        createdDate?: number;
                        html?: string;
                        id?: number;
                        pending?: boolean;
                        properties?: Record<string, unknown>;
                        reply?: boolean;
                        resolvedDate?: number;
                        resolver?: {
                            active?: boolean;
                            avatarUrl?: string;
                            displayName?: string;
                            emailAddress?: string;
                            id?: number;
                            links?: Record<(...), (...)>;
                            name?: string;
                            slug?: string;
                            type?: "NORMAL" | "SERVICE";
                        };
                        severity?: string;
                        state?: string;
                        text?: string;
                        threadResolved?: boolean;
                        threadResolvedDate?: number;
                        threadResolver?: {
                            active?: boolean;
                            avatarUrl?: string;
                            displayName?: string;
                            emailAddress?: string;
                            id?: number;
                            links?: Record<(...), (...)>;
                            name?: string;
                            slug?: string;
                            type?: "NORMAL" | "SERVICE";
                        };
                        updatedDate?: number;
                        version?: number;
                    };
                    pending?: boolean;
                    properties?: Record<string, unknown>;
                    reply?: boolean;
                    resolvedDate?: number;
                    resolver?: {
                        active?: boolean;
                        avatarUrl?: string;
                        displayName?: string;
                        emailAddress?: string;
                        id?: number;
                        links?: Record<string, unknown>;
                        name?: string;
                        slug?: string;
                        type?: "NORMAL" | "SERVICE";
                    };
                    severity?: string;
                    state?: string;
                    text?: string;
                    threadResolved?: boolean;
                    threadResolvedDate?: number;
                    threadResolver?: {
                        active?: boolean;
                        avatarUrl?: string;
                        displayName?: string;
                        emailAddress?: string;
                        id?: number;
                        links?: Record<string, unknown>;
                        name?: string;
                        slug?: string;
                        type?: "NORMAL" | "SERVICE";
                    };
                    updatedDate?: number;
                    version?: number;
                };
            };
        };
        responses: {
            "201": {
                content: {
                    "application/json": {
                        anchor?: {
                            diffType?: "COMMIT"
                            | "EFFECTIVE"
                            | "RANGE";
                            fileType?: "FROM" | "TO";
                            fromHash?: string;
                            line?: number;
                            lineType?: "ADDED" | "CONTEXT" | "REMOVED";
                            multilineMarker?: {
                                startLine?: number;
                                startLineType: "ADDED" | "CONTEXT" | "REMOVED";
                            };
                            path?: {
                                components?: readonly (...)[];
                                extension?: string;
                                name?: string;
                                parent?: string;
                            };
                            pullRequest?: {
                                closed?: boolean;
                                closedDate?: number;
                                createdDate?: number;
                                description?: string;
                                descriptionAsHtml?: string;
                                draft?: boolean;
                                fromRef?: {
                                    displayId?: ...;
                                    id?: ...;
                                    latestCommit?: ...;
                                    repository?: ...;
                                    type?: ...;
                                };
                                htmlDescription?: string;
                                id?: number;
                                links?: Record<(...), (...)>;
                                locked?: boolean;
                                open?: boolean;
                                participants?: readonly (...)[];
                                reviewers?: readonly (...)[];
                                state?: "DECLINED" | "MERGED" | "OPEN";
                                title?: string;
                                toRef?: {
                                    displayId?: ...;
                                    id?: ...;
                                    latestCommit?: ...;
                                    repository?: ...;
                                    type?: ...;
                                };
                                updatedDate?: number;
                                version?: number;
                            };
                            srcPath?: {
                                components?: readonly (...)[];
                                extension?: string;
                                name?: string;
                                parent?: string;
                            };
                            toHash?: string;
                        };
                        anchored?: boolean;
                        author?: {
                            active?: boolean;
                            avatarUrl?: string;
                            displayName?: string;
                            emailAddress?: string;
                            id?: number;
                            links?: Record<string, unknown>;
                            name?: string;
                            slug?: string;
                            type?: "NORMAL" | "SERVICE";
                        };
                        comments?: readonly (
                            { readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineType?: "ADDED" | "CONTEXT" | "REMOVED"; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }
                        )[];
                        createdDate?: number;
                        html?: string;
                        id?: number;
                        parent?: {
                            anchor?: {
                                diffType?: "COMMIT"
                                | "EFFECTIVE"
                                | "RANGE";
                                fileType?: "FROM" | "TO";
                                fromHash?: string;
                                line?: number;
                                lineType?: "ADDED" | "CONTEXT" | "REMOVED";
                                multilineMarker?: { startLine?: ...; startLineType: ... };
                                path?: {
                                    components?: ...;
                                    extension?: ...;
                                    name?: ...;
                                    parent?: ...;
                                };
                                pullRequest?: {
                                    closed?: ...;
                                    closedDate?: ...;
                                    createdDate?: ...;
                                    description?: ...;
                                    descriptionAsHtml?: ...;
                                    draft?: ...;
                                    fromRef?: ...;
                                    htmlDescription?: ...;
                                    id?: ...;
                                    links?: ...;
                                    locked?: ...;
                                    open?: ...;
                                    participants?: ...;
                                    reviewers?: ...;
                                    state?: ...;
                                    title?: ...;
                                    toRef?: ...;
                                    updatedDate?: ...;
                                    version?: ...;
                                };
                                srcPath?: {
                                    components?: ...;
                                    extension?: ...;
                                    name?: ...;
                                    parent?: ...;
                                };
                                toHash?: string;
                            };
                            anchored?: boolean;
                            author?: {
                                active?: boolean;
                                avatarUrl?: string;
                                displayName?: string;
                                emailAddress?: string;
                                id?: number;
                                links?: Record<(...), (...)>;
                                name?: string;
                                slug?: string;
                                type?: "NORMAL" | "SERVICE";
                            };
                            comments?: readonly (
                                { readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineType?: "ADDED" | "CONTEXT" | "REMOVED"; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }
                            )[];
                            createdDate?: number;
                            html?: string;
                            id?: number;
                            pending?: boolean;
                            properties?: Record<string, unknown>;
                            reply?: boolean;
                            resolvedDate?: number;
                            resolver?: {
                                active?: boolean;
                                avatarUrl?: string;
                                displayName?: string;
                                emailAddress?: string;
                                id?: number;
                                links?: Record<(...), (...)>;
                                name?: string;
                                slug?: string;
                                type?: "NORMAL" | "SERVICE";
                            };
                            severity?: string;
                            state?: string;
                            text?: string;
                            threadResolved?: boolean;
                            threadResolvedDate?: number;
                            threadResolver?: {
                                active?: boolean;
                                avatarUrl?: string;
                                displayName?: string;
                                emailAddress?: string;
                                id?: number;
                                links?: Record<(...), (...)>;
                                name?: string;
                                slug?: string;
                                type?: "NORMAL" | "SERVICE";
                            };
                            updatedDate?: number;
                            version?: number;
                        };
                        pending?: boolean;
                        properties?: Record<string, unknown>;
                        reply?: boolean;
                        resolvedDate?: number;
                        resolver?: {
                            active?: boolean;
                            avatarUrl?: string;
                            displayName?: string;
                            emailAddress?: string;
                            id?: number;
                            links?: Record<string, unknown>;
                            name?: string;
                            slug?: string;
                            type?: "NORMAL" | "SERVICE";
                        };
                        severity?: string;
                        state?: string;
                        text?: string;
                        threadResolved?: boolean;
                        threadResolvedDate?: number;
                        threadResolver?: {
                            active?: boolean;
                            avatarUrl?: string;
                            displayName?: string;
                            emailAddress?: string;
                            id?: number;
                            links?: Record<string, unknown>;
                            name?: string;
                            slug?: string;
                            type?: "NORMAL" | "SERVICE";
                        };
                        updatedDate?: number;
                        version?: number;
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "409": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }

    Type declaration

    • Readonlyparameters: {
          cookie?: undefined;
          header?: undefined;
          path: { projectKey: string; pullRequestId: string; repositorySlug: string };
          query?: undefined;
      }
      • Optional Readonlycookie?: undefined
      • Optional Readonlyheader?: undefined
      • Readonlypath: { projectKey: string; pullRequestId: string; repositorySlug: string }
        • ReadonlyprojectKey: string

          The project key.

        • ReadonlypullRequestId: string

          The pull request ID.

        • ReadonlyrepositorySlug: string

          The repository slug.

      • Optional Readonlyquery?: undefined
    • Optional ReadonlyrequestBody?: {
          content: {
              "application/json": {
                  anchor?: {
                      diffType?: "COMMIT" | "EFFECTIVE" | "RANGE";
                      fileType?: "FROM" | "TO";
                      fromHash?: string;
                      line?: number;
                      lineType?: "ADDED" | "CONTEXT" | "REMOVED";
                      multilineMarker?: {
                          startLine?: number;
                          startLineType: "ADDED" | "CONTEXT" | "REMOVED";
                      };
                      path?: {
                          components?: readonly (...)[];
                          extension?: string;
                          name?: string;
                          parent?: string;
                      };
                      pullRequest?: {
                          closed?: boolean;
                          closedDate?: number;
                          createdDate?: number;
                          description?: string;
                          descriptionAsHtml?: string;
                          draft?: boolean;
                          fromRef?: {
                              displayId?: ...;
                              id?: ...;
                              latestCommit?: ...;
                              repository?: ...;
                              type?: ...;
                          };
                          htmlDescription?: string;
                          id?: number;
                          links?: Record<(...), (...)>;
                          locked?: boolean;
                          open?: boolean;
                          participants?: readonly (...)[];
                          reviewers?: readonly (...)[];
                          state?: "DECLINED" | "MERGED" | "OPEN";
                          title?: string;
                          toRef?: {
                              displayId?: ...;
                              id?: ...;
                              latestCommit?: ...;
                              repository?: ...;
                              type?: ...;
                          };
                          updatedDate?: number;
                          version?: number;
                      };
                      srcPath?: {
                          components?: readonly (...)[];
                          extension?: string;
                          name?: string;
                          parent?: string;
                      };
                      toHash?: string;
                  };
                  anchored?: boolean;
                  author?: {
                      active?: boolean;
                      avatarUrl?: string;
                      displayName?: string;
                      emailAddress?: string;
                      id?: number;
                      links?: Record<string, unknown>;
                      name?: string;
                      slug?: string;
                      type?: "NORMAL" | "SERVICE";
                  };
                  comments?: readonly (
                      { readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineType?: "ADDED" | "CONTEXT" | "REMOVED"; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }
                  )[];
                  createdDate?: number;
                  html?: string;
                  id?: number;
                  parent?: {
                      anchor?: {
                          diffType?: "COMMIT"
                          | "EFFECTIVE"
                          | "RANGE";
                          fileType?: "FROM" | "TO";
                          fromHash?: string;
                          line?: number;
                          lineType?: "ADDED" | "CONTEXT" | "REMOVED";
                          multilineMarker?: { startLine?: ...; startLineType: ... };
                          path?: { components?: ...; extension?: ...; name?: ...; parent?: ... };
                          pullRequest?: {
                              closed?: ...;
                              closedDate?: ...;
                              createdDate?: ...;
                              description?: ...;
                              descriptionAsHtml?: ...;
                              draft?: ...;
                              fromRef?: ...;
                              htmlDescription?: ...;
                              id?: ...;
                              links?: ...;
                              locked?: ...;
                              open?: ...;
                              participants?: ...;
                              reviewers?: ...;
                              state?: ...;
                              title?: ...;
                              toRef?: ...;
                              updatedDate?: ...;
                              version?: ...;
                          };
                          srcPath?: {
                              components?: ...;
                              extension?: ...;
                              name?: ...;
                              parent?: ...;
                          };
                          toHash?: string;
                      };
                      anchored?: boolean;
                      author?: {
                          active?: boolean;
                          avatarUrl?: string;
                          displayName?: string;
                          emailAddress?: string;
                          id?: number;
                          links?: Record<(...), (...)>;
                          name?: string;
                          slug?: string;
                          type?: "NORMAL" | "SERVICE";
                      };
                      comments?: readonly (
                          { readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineType?: "ADDED" | "CONTEXT" | "REMOVED"; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }
                      )[];
                      createdDate?: number;
                      html?: string;
                      id?: number;
                      pending?: boolean;
                      properties?: Record<string, unknown>;
                      reply?: boolean;
                      resolvedDate?: number;
                      resolver?: {
                          active?: boolean;
                          avatarUrl?: string;
                          displayName?: string;
                          emailAddress?: string;
                          id?: number;
                          links?: Record<(...), (...)>;
                          name?: string;
                          slug?: string;
                          type?: "NORMAL" | "SERVICE";
                      };
                      severity?: string;
                      state?: string;
                      text?: string;
                      threadResolved?: boolean;
                      threadResolvedDate?: number;
                      threadResolver?: {
                          active?: boolean;
                          avatarUrl?: string;
                          displayName?: string;
                          emailAddress?: string;
                          id?: number;
                          links?: Record<(...), (...)>;
                          name?: string;
                          slug?: string;
                          type?: "NORMAL" | "SERVICE";
                      };
                      updatedDate?: number;
                      version?: number;
                  };
                  pending?: boolean;
                  properties?: Record<string, unknown>;
                  reply?: boolean;
                  resolvedDate?: number;
                  resolver?: {
                      active?: boolean;
                      avatarUrl?: string;
                      displayName?: string;
                      emailAddress?: string;
                      id?: number;
                      links?: Record<string, unknown>;
                      name?: string;
                      slug?: string;
                      type?: "NORMAL" | "SERVICE";
                  };
                  severity?: string;
                  state?: string;
                  text?: string;
                  threadResolved?: boolean;
                  threadResolvedDate?: number;
                  threadResolver?: {
                      active?: boolean;
                      avatarUrl?: string;
                      displayName?: string;
                      emailAddress?: string;
                      id?: number;
                      links?: Record<string, unknown>;
                      name?: string;
                      slug?: string;
                      type?: "NORMAL" | "SERVICE";
                  };
                  updatedDate?: number;
                  version?: number;
              };
          };
      }

      The comment to add

    • Readonlyresponses: {
          "201": {
              content: {
                  "application/json": {
                      anchor?: {
                          diffType?: "COMMIT" | "EFFECTIVE" | "RANGE";
                          fileType?: "FROM" | "TO";
                          fromHash?: string;
                          line?: number;
                          lineType?: "ADDED" | "CONTEXT" | "REMOVED";
                          multilineMarker?: {
                              startLine?: number;
                              startLineType: "ADDED" | "CONTEXT" | "REMOVED";
                          };
                          path?: {
                              components?: readonly (...)[];
                              extension?: string;
                              name?: string;
                              parent?: string;
                          };
                          pullRequest?: {
                              closed?: boolean;
                              closedDate?: number;
                              createdDate?: number;
                              description?: string;
                              descriptionAsHtml?: string;
                              draft?: boolean;
                              fromRef?: {
                                  displayId?: ...;
                                  id?: ...;
                                  latestCommit?: ...;
                                  repository?: ...;
                                  type?: ...;
                              };
                              htmlDescription?: string;
                              id?: number;
                              links?: Record<(...), (...)>;
                              locked?: boolean;
                              open?: boolean;
                              participants?: readonly (...)[];
                              reviewers?: readonly (...)[];
                              state?: "DECLINED" | "MERGED" | "OPEN";
                              title?: string;
                              toRef?: {
                                  displayId?: ...;
                                  id?: ...;
                                  latestCommit?: ...;
                                  repository?: ...;
                                  type?: ...;
                              };
                              updatedDate?: number;
                              version?: number;
                          };
                          srcPath?: {
                              components?: readonly (...)[];
                              extension?: string;
                              name?: string;
                              parent?: string;
                          };
                          toHash?: string;
                      };
                      anchored?: boolean;
                      author?: {
                          active?: boolean;
                          avatarUrl?: string;
                          displayName?: string;
                          emailAddress?: string;
                          id?: number;
                          links?: Record<string, unknown>;
                          name?: string;
                          slug?: string;
                          type?: "NORMAL" | "SERVICE";
                      };
                      comments?: readonly (
                          { readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineType?: "ADDED" | "CONTEXT" | "REMOVED"; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }
                      )[];
                      createdDate?: number;
                      html?: string;
                      id?: number;
                      parent?: {
                          anchor?: {
                              diffType?: "COMMIT"
                              | "EFFECTIVE"
                              | "RANGE";
                              fileType?: "FROM" | "TO";
                              fromHash?: string;
                              line?: number;
                              lineType?: "ADDED" | "CONTEXT" | "REMOVED";
                              multilineMarker?: { startLine?: ...; startLineType: ... };
                              path?: { components?: ...; extension?: ...; name?: ...; parent?: ... };
                              pullRequest?: {
                                  closed?: ...;
                                  closedDate?: ...;
                                  createdDate?: ...;
                                  description?: ...;
                                  descriptionAsHtml?: ...;
                                  draft?: ...;
                                  fromRef?: ...;
                                  htmlDescription?: ...;
                                  id?: ...;
                                  links?: ...;
                                  locked?: ...;
                                  open?: ...;
                                  participants?: ...;
                                  reviewers?: ...;
                                  state?: ...;
                                  title?: ...;
                                  toRef?: ...;
                                  updatedDate?: ...;
                                  version?: ...;
                              };
                              srcPath?: {
                                  components?: ...;
                                  extension?: ...;
                                  name?: ...;
                                  parent?: ...;
                              };
                              toHash?: string;
                          };
                          anchored?: boolean;
                          author?: {
                              active?: boolean;
                              avatarUrl?: string;
                              displayName?: string;
                              emailAddress?: string;
                              id?: number;
                              links?: Record<(...), (...)>;
                              name?: string;
                              slug?: string;
                              type?: "NORMAL" | "SERVICE";
                          };
                          comments?: readonly (
                              { readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineType?: "ADDED" | "CONTEXT" | "REMOVED"; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }
                          )[];
                          createdDate?: number;
                          html?: string;
                          id?: number;
                          pending?: boolean;
                          properties?: Record<string, unknown>;
                          reply?: boolean;
                          resolvedDate?: number;
                          resolver?: {
                              active?: boolean;
                              avatarUrl?: string;
                              displayName?: string;
                              emailAddress?: string;
                              id?: number;
                              links?: Record<(...), (...)>;
                              name?: string;
                              slug?: string;
                              type?: "NORMAL" | "SERVICE";
                          };
                          severity?: string;
                          state?: string;
                          text?: string;
                          threadResolved?: boolean;
                          threadResolvedDate?: number;
                          threadResolver?: {
                              active?: boolean;
                              avatarUrl?: string;
                              displayName?: string;
                              emailAddress?: string;
                              id?: number;
                              links?: Record<(...), (...)>;
                              name?: string;
                              slug?: string;
                              type?: "NORMAL" | "SERVICE";
                          };
                          updatedDate?: number;
                          version?: number;
                      };
                      pending?: boolean;
                      properties?: Record<string, unknown>;
                      reply?: boolean;
                      resolvedDate?: number;
                      resolver?: {
                          active?: boolean;
                          avatarUrl?: string;
                          displayName?: string;
                          emailAddress?: string;
                          id?: number;
                          links?: Record<string, unknown>;
                          name?: string;
                          slug?: string;
                          type?: "NORMAL" | "SERVICE";
                      };
                      severity?: string;
                      state?: string;
                      text?: string;
                      threadResolved?: boolean;
                      threadResolvedDate?: number;
                      threadResolver?: {
                          active?: boolean;
                          avatarUrl?: string;
                          displayName?: string;
                          emailAddress?: string;
                          id?: number;
                          links?: Record<string, unknown>;
                          name?: string;
                          slug?: string;
                          type?: "NORMAL" | "SERVICE";
                      };
                      updatedDate?: number;
                      version?: number;
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "400": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "401": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "404": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "409": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
      }
      • Readonly201: {
            content: {
                "application/json": {
                    anchor?: {
                        diffType?: "COMMIT" | "EFFECTIVE" | "RANGE";
                        fileType?: "FROM" | "TO";
                        fromHash?: string;
                        line?: number;
                        lineType?: "ADDED" | "CONTEXT" | "REMOVED";
                        multilineMarker?: {
                            startLine?: number;
                            startLineType: "ADDED" | "CONTEXT" | "REMOVED";
                        };
                        path?: {
                            components?: readonly (...)[];
                            extension?: string;
                            name?: string;
                            parent?: string;
                        };
                        pullRequest?: {
                            closed?: boolean;
                            closedDate?: number;
                            createdDate?: number;
                            description?: string;
                            descriptionAsHtml?: string;
                            draft?: boolean;
                            fromRef?: {
                                displayId?: ...;
                                id?: ...;
                                latestCommit?: ...;
                                repository?: ...;
                                type?: ...;
                            };
                            htmlDescription?: string;
                            id?: number;
                            links?: Record<(...), (...)>;
                            locked?: boolean;
                            open?: boolean;
                            participants?: readonly (...)[];
                            reviewers?: readonly (...)[];
                            state?: "DECLINED" | "MERGED" | "OPEN";
                            title?: string;
                            toRef?: {
                                displayId?: ...;
                                id?: ...;
                                latestCommit?: ...;
                                repository?: ...;
                                type?: ...;
                            };
                            updatedDate?: number;
                            version?: number;
                        };
                        srcPath?: {
                            components?: readonly (...)[];
                            extension?: string;
                            name?: string;
                            parent?: string;
                        };
                        toHash?: string;
                    };
                    anchored?: boolean;
                    author?: {
                        active?: boolean;
                        avatarUrl?: string;
                        displayName?: string;
                        emailAddress?: string;
                        id?: number;
                        links?: Record<string, unknown>;
                        name?: string;
                        slug?: string;
                        type?: "NORMAL" | "SERVICE";
                    };
                    comments?: readonly (
                        { readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineType?: "ADDED" | "CONTEXT" | "REMOVED"; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }
                    )[];
                    createdDate?: number;
                    html?: string;
                    id?: number;
                    parent?: {
                        anchor?: {
                            diffType?: "COMMIT"
                            | "EFFECTIVE"
                            | "RANGE";
                            fileType?: "FROM" | "TO";
                            fromHash?: string;
                            line?: number;
                            lineType?: "ADDED" | "CONTEXT" | "REMOVED";
                            multilineMarker?: { startLine?: ...; startLineType: ... };
                            path?: { components?: ...; extension?: ...; name?: ...; parent?: ... };
                            pullRequest?: {
                                closed?: ...;
                                closedDate?: ...;
                                createdDate?: ...;
                                description?: ...;
                                descriptionAsHtml?: ...;
                                draft?: ...;
                                fromRef?: ...;
                                htmlDescription?: ...;
                                id?: ...;
                                links?: ...;
                                locked?: ...;
                                open?: ...;
                                participants?: ...;
                                reviewers?: ...;
                                state?: ...;
                                title?: ...;
                                toRef?: ...;
                                updatedDate?: ...;
                                version?: ...;
                            };
                            srcPath?: {
                                components?: ...;
                                extension?: ...;
                                name?: ...;
                                parent?: ...;
                            };
                            toHash?: string;
                        };
                        anchored?: boolean;
                        author?: {
                            active?: boolean;
                            avatarUrl?: string;
                            displayName?: string;
                            emailAddress?: string;
                            id?: number;
                            links?: Record<(...), (...)>;
                            name?: string;
                            slug?: string;
                            type?: "NORMAL" | "SERVICE";
                        };
                        comments?: readonly (
                            { readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineType?: "ADDED" | "CONTEXT" | "REMOVED"; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }
                        )[];
                        createdDate?: number;
                        html?: string;
                        id?: number;
                        pending?: boolean;
                        properties?: Record<string, unknown>;
                        reply?: boolean;
                        resolvedDate?: number;
                        resolver?: {
                            active?: boolean;
                            avatarUrl?: string;
                            displayName?: string;
                            emailAddress?: string;
                            id?: number;
                            links?: Record<(...), (...)>;
                            name?: string;
                            slug?: string;
                            type?: "NORMAL" | "SERVICE";
                        };
                        severity?: string;
                        state?: string;
                        text?: string;
                        threadResolved?: boolean;
                        threadResolvedDate?: number;
                        threadResolver?: {
                            active?: boolean;
                            avatarUrl?: string;
                            displayName?: string;
                            emailAddress?: string;
                            id?: number;
                            links?: Record<(...), (...)>;
                            name?: string;
                            slug?: string;
                            type?: "NORMAL" | "SERVICE";
                        };
                        updatedDate?: number;
                        version?: number;
                    };
                    pending?: boolean;
                    properties?: Record<string, unknown>;
                    reply?: boolean;
                    resolvedDate?: number;
                    resolver?: {
                        active?: boolean;
                        avatarUrl?: string;
                        displayName?: string;
                        emailAddress?: string;
                        id?: number;
                        links?: Record<string, unknown>;
                        name?: string;
                        slug?: string;
                        type?: "NORMAL" | "SERVICE";
                    };
                    severity?: string;
                    state?: string;
                    text?: string;
                    threadResolved?: boolean;
                    threadResolvedDate?: number;
                    threadResolver?: {
                        active?: boolean;
                        avatarUrl?: string;
                        displayName?: string;
                        emailAddress?: string;
                        id?: number;
                        links?: Record<string, unknown>;
                        name?: string;
                        slug?: string;
                        type?: "NORMAL" | "SERVICE";
                    };
                    updatedDate?: number;
                    version?: number;
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The newly created comment.

      • Readonly400: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The comment was not created due to a validation error.

      • Readonly401: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The currently authenticated user has insufficient permissions to view the pull request, create a comment or watch the pull request.

      • Readonly404: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        Unable to find the supplied project, repository, pull request or parent comment.

      • Readonly409: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        Adding, deleting, or editing comments isn't supported on archived repositories.

    createGroup: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query: { name: string };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": { deletable?: boolean; name?: string };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "409": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    createHookScript: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: undefined;
        };
        requestBody?: {
            content: {
                "multipart/form-data": {
                    content?: string;
                    description?: string;
                    name?: string;
                    type?: string;
                };
            };
        };
        responses: {
            "200": {
                content: {
                    "application/json": {
                        createdDate?: string;
                        description?: string;
                        id?: number;
                        name?: string;
                        pluginKey?: string;
                        type?: "POST"
                        | "PRE";
                        updatedDate?: string;
                        version?: number;
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }

    Type declaration

    • Readonlyparameters: { cookie?: undefined; header?: undefined; path?: undefined; query?: undefined }
    • Optional ReadonlyrequestBody?: {
          content: {
              "multipart/form-data": {
                  content?: string;
                  description?: string;
                  name?: string;
                  type?: string;
              };
          };
      }

      The multipart form data containing the hook script

    • Readonlyresponses: {
          "200": {
              content: {
                  "application/json": {
                      createdDate?: string;
                      description?: string;
                      id?: number;
                      name?: string;
                      pluginKey?: string;
                      type?: "POST" | "PRE";
                      updatedDate?: string;
                      version?: number;
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "400": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "401": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
      }
      • Readonly200: {
            content: {
                "application/json": {
                    createdDate?: string;
                    description?: string;
                    id?: number;
                    name?: string;
                    pluginKey?: string;
                    type?: "POST" | "PRE";
                    updatedDate?: string;
                    version?: number;
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The newly created hook script.

      • Readonly400: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The hook script was not created due to a validation error.

      • Readonly401: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The currently authenticated user has insufficient permissions.

    createIssue: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { commentId: string };
            query?: { applicationId?: string };
        };
        requestBody?: { content: { "application/json": string } };
        responses: {
            "200": {
                content: {
                    "application/json": { commentId?: number; issueKey?: string };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }

    Type declaration

    • Readonlyparameters: {
          cookie?: undefined;
          header?: undefined;
          path: { commentId: string };
          query?: { applicationId?: string };
      }
      • Optional Readonlycookie?: undefined
      • Optional Readonlyheader?: undefined
      • Readonlypath: { commentId: string }
        • ReadonlycommentId: string

          the comment to associate the created Jira issue to

      • Optional Readonlyquery?: { applicationId?: string }
        • Optional ReadonlyapplicationId?: string

          id of the Jira server

    • Optional ReadonlyrequestBody?: { content: { "application/json": string } }

      A String representation of the JSON format Jira create issue request see: Jira REST API

    • Readonlyresponses: {
          "200": {
              content: {
                  "application/json": { commentId?: number; issueKey?: string };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "400": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "401": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
      }
      • Readonly200: {
            content: {
                "application/json": { commentId?: number; issueKey?: string };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The created Jira issue key and the associated comment ID

      • Readonly400: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The specified application link ID does not match any linked Jira instance.

      • Readonly401: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        Authentication with the Jira instance is required.

    createOrUpdateDeployment: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { commitId: string; projectKey: string; repositorySlug: string };
            query?: undefined;
        };
        requestBody?: {
            content: {
                "*/*": {
                    deploymentSequenceNumber: number;
                    description: string;
                    displayName: string;
                    environment: {
                        displayName?: string;
                        key?: string;
                        type?: string;
                        url?: string;
                    };
                    key: string;
                    lastUpdated?: number;
                    state: | "FAILED"
                    | "SUCCESSFUL"
                    | "IN_PROGRESS"
                    | "PENDING"
                    | "UNKNOWN"
                    | "CANCELLED"
                    | "ROLLED_BACK";
                    url: string;
                };
            };
        };
        responses: {
            "200": {
                content: {
                    "application/json": {
                        deploymentSequenceNumber?: number;
                        description?: string;
                        displayName?: string;
                        environment?: {
                            displayName: string;
                            key: string;
                            type?: string;
                            url?: string;
                        };
                        fromCommit?: { displayId?: string; id?: string };
                        key?: string;
                        lastUpdated?: number;
                        repository?: {
                            archived?: boolean;
                            defaultBranch?: string;
                            description?: string;
                            forkable?: boolean;
                            hierarchyId?: string;
                            id?: number;
                            links?: Record<string, unknown>;
                            name?: string;
                            origin?: {
                                archived?: boolean;
                                defaultBranch?: string;
                                description?: string;
                                forkable?: boolean;
                                hierarchyId?: string;
                                id?: number;
                                links?: Record<(...), (...)>;
                                name?: string;
                                partition?: number;
                                project?: {
                                    avatar?: ...;
                                    avatarUrl?: ...;
                                    description?: ...;
                                    id?: ...;
                                    key: ...;
                                    links?: ...;
                                    name?: ...;
                                    public?: ...;
                                    scope?: ...;
                                    type?: ...;
                                };
                                public?: boolean;
                                relatedLinks?: Record<(...), (...)>;
                                scmId?: string;
                                scope?: string;
                                slug?: string;
                                state?:
                                    | "AVAILABLE"
                                    | "INITIALISATION_FAILED"
                                    | "INITIALISING"
                                    | "OFFLINE";
                                statusMessage?: string;
                            };
                            partition?: number;
                            project?: {
                                avatar?: string;
                                avatarUrl?: string;
                                description?: string;
                                id?: number;
                                key: string;
                                links?: Record<(...), (...)>;
                                name?: string;
                                public?: boolean;
                                scope?: string;
                                type?: "NORMAL" | "PERSONAL";
                            };
                            public?: boolean;
                            relatedLinks?: Record<string, unknown>;
                            scmId?: string;
                            scope?: string;
                            slug?: string;
                            state?:
                                | "AVAILABLE"
                                | "INITIALISATION_FAILED"
                                | "INITIALISING"
                                | "OFFLINE";
                            statusMessage?: string;
                        };
                        state?: | "FAILED"
                        | "SUCCESSFUL"
                        | "IN_PROGRESS"
                        | "PENDING"
                        | "UNKNOWN"
                        | "CANCELLED"
                        | "ROLLED_BACK";
                        toCommit?: { displayId?: string; id?: string };
                        url?: string;
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }

    Type declaration

    • Readonlyparameters: {
          cookie?: undefined;
          header?: undefined;
          path: { commitId: string; projectKey: string; repositorySlug: string };
          query?: undefined;
      }
      • Optional Readonlycookie?: undefined
      • Optional Readonlyheader?: undefined
      • Readonlypath: { commitId: string; projectKey: string; repositorySlug: string }
        • ReadonlycommitId: string

          the commitId that was deployed as indicated by the path

        • ReadonlyprojectKey: string

          The project key

        • ReadonlyrepositorySlug: string

          The repository slug

      • Optional Readonlyquery?: undefined
    • Optional ReadonlyrequestBody?: {
          content: {
              "*/*": {
                  deploymentSequenceNumber: number;
                  description: string;
                  displayName: string;
                  environment: {
                      displayName?: string;
                      key?: string;
                      type?: string;
                      url?: string;
                  };
                  key: string;
                  lastUpdated?: number;
                  state: | "FAILED"
                  | "SUCCESSFUL"
                  | "IN_PROGRESS"
                  | "PENDING"
                  | "UNKNOWN"
                  | "CANCELLED"
                  | "ROLLED_BACK";
                  url: string;
              };
          };
      }

      the details of the deployment to create, as detailed by the request body

    • Readonlyresponses: {
          "200": {
              content: {
                  "application/json": {
                      deploymentSequenceNumber?: number;
                      description?: string;
                      displayName?: string;
                      environment?: {
                          displayName: string;
                          key: string;
                          type?: string;
                          url?: string;
                      };
                      fromCommit?: { displayId?: string; id?: string };
                      key?: string;
                      lastUpdated?: number;
                      repository?: {
                          archived?: boolean;
                          defaultBranch?: string;
                          description?: string;
                          forkable?: boolean;
                          hierarchyId?: string;
                          id?: number;
                          links?: Record<string, unknown>;
                          name?: string;
                          origin?: {
                              archived?: boolean;
                              defaultBranch?: string;
                              description?: string;
                              forkable?: boolean;
                              hierarchyId?: string;
                              id?: number;
                              links?: Record<(...), (...)>;
                              name?: string;
                              partition?: number;
                              project?: {
                                  avatar?: ...;
                                  avatarUrl?: ...;
                                  description?: ...;
                                  id?: ...;
                                  key: ...;
                                  links?: ...;
                                  name?: ...;
                                  public?: ...;
                                  scope?: ...;
                                  type?: ...;
                              };
                              public?: boolean;
                              relatedLinks?: Record<(...), (...)>;
                              scmId?: string;
                              scope?: string;
                              slug?: string;
                              state?:
                                  | "AVAILABLE"
                                  | "INITIALISATION_FAILED"
                                  | "INITIALISING"
                                  | "OFFLINE";
                              statusMessage?: string;
                          };
                          partition?: number;
                          project?: {
                              avatar?: string;
                              avatarUrl?: string;
                              description?: string;
                              id?: number;
                              key: string;
                              links?: Record<(...), (...)>;
                              name?: string;
                              public?: boolean;
                              scope?: string;
                              type?: "NORMAL" | "PERSONAL";
                          };
                          public?: boolean;
                          relatedLinks?: Record<string, unknown>;
                          scmId?: string;
                          scope?: string;
                          slug?: string;
                          state?:
                              | "AVAILABLE"
                              | "INITIALISATION_FAILED"
                              | "INITIALISING"
                              | "OFFLINE";
                          statusMessage?: string;
                      };
                      state?: | "FAILED"
                      | "SUCCESSFUL"
                      | "IN_PROGRESS"
                      | "PENDING"
                      | "UNKNOWN"
                      | "CANCELLED"
                      | "ROLLED_BACK";
                      toCommit?: { displayId?: string; id?: string };
                      url?: string;
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "400": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "401": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "404": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
      }
      • Readonly200: {
            content: {
                "application/json": {
                    deploymentSequenceNumber?: number;
                    description?: string;
                    displayName?: string;
                    environment?: {
                        displayName: string;
                        key: string;
                        type?: string;
                        url?: string;
                    };
                    fromCommit?: { displayId?: string; id?: string };
                    key?: string;
                    lastUpdated?: number;
                    repository?: {
                        archived?: boolean;
                        defaultBranch?: string;
                        description?: string;
                        forkable?: boolean;
                        hierarchyId?: string;
                        id?: number;
                        links?: Record<string, unknown>;
                        name?: string;
                        origin?: {
                            archived?: boolean;
                            defaultBranch?: string;
                            description?: string;
                            forkable?: boolean;
                            hierarchyId?: string;
                            id?: number;
                            links?: Record<(...), (...)>;
                            name?: string;
                            partition?: number;
                            project?: {
                                avatar?: ...;
                                avatarUrl?: ...;
                                description?: ...;
                                id?: ...;
                                key: ...;
                                links?: ...;
                                name?: ...;
                                public?: ...;
                                scope?: ...;
                                type?: ...;
                            };
                            public?: boolean;
                            relatedLinks?: Record<(...), (...)>;
                            scmId?: string;
                            scope?: string;
                            slug?: string;
                            state?:
                                | "AVAILABLE"
                                | "INITIALISATION_FAILED"
                                | "INITIALISING"
                                | "OFFLINE";
                            statusMessage?: string;
                        };
                        partition?: number;
                        project?: {
                            avatar?: string;
                            avatarUrl?: string;
                            description?: string;
                            id?: number;
                            key: string;
                            links?: Record<(...), (...)>;
                            name?: string;
                            public?: boolean;
                            scope?: string;
                            type?: "NORMAL" | "PERSONAL";
                        };
                        public?: boolean;
                        relatedLinks?: Record<string, unknown>;
                        scmId?: string;
                        scope?: string;
                        slug?: string;
                        state?:
                            | "AVAILABLE"
                            | "INITIALISATION_FAILED"
                            | "INITIALISING"
                            | "OFFLINE";
                        statusMessage?: string;
                    };
                    state?: | "FAILED"
                    | "SUCCESSFUL"
                    | "IN_PROGRESS"
                    | "PENDING"
                    | "UNKNOWN"
                    | "CANCELLED"
                    | "ROLLED_BACK";
                    toCommit?: { displayId?: string; id?: string };
                    url?: string;
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The deployment was created

      • Readonly400: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        the deployment was not created because the request was invalid

      • Readonly401: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The currently authenticated user has insufficient permissions to view the repository

      • Readonly404: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The specified repository does not exist

    createProject: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: undefined;
        };
        requestBody?: {
            content: {
                "application/json": {
                    avatar?: string;
                    avatarUrl?: string;
                    description?: string;
                    id?: number;
                    key?: string;
                    links?: Record<string, unknown>;
                    name?: string;
                    public?: boolean;
                    scope?: string;
                    type?: "NORMAL" | "PERSONAL";
                };
            };
        };
        responses: {
            "201": {
                content: {
                    "application/json": {
                        avatar?: string;
                        avatarUrl?: string;
                        description?: string;
                        id?: number;
                        key?: string;
                        links?: Record<string, unknown>;
                        name?: string;
                        public?: boolean;
                        scope?: string;
                        type?: "NORMAL" | "PERSONAL";
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "409": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }

    Type declaration

    • Readonlyparameters: { cookie?: undefined; header?: undefined; path?: undefined; query?: undefined }
    • Optional ReadonlyrequestBody?: {
          content: {
              "application/json": {
                  avatar?: string;
                  avatarUrl?: string;
                  description?: string;
                  id?: number;
                  key?: string;
                  links?: Record<string, unknown>;
                  name?: string;
                  public?: boolean;
                  scope?: string;
                  type?: "NORMAL" | "PERSONAL";
              };
          };
      }

      The project.

    • Readonlyresponses: {
          "201": {
              content: {
                  "application/json": {
                      avatar?: string;
                      avatarUrl?: string;
                      description?: string;
                      id?: number;
                      key?: string;
                      links?: Record<string, unknown>;
                      name?: string;
                      public?: boolean;
                      scope?: string;
                      type?: "NORMAL" | "PERSONAL";
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "400": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "401": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "409": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
      }
      • Readonly201: {
            content: {
                "application/json": {
                    avatar?: string;
                    avatarUrl?: string;
                    description?: string;
                    id?: number;
                    key?: string;
                    links?: Record<string, unknown>;
                    name?: string;
                    public?: boolean;
                    scope?: string;
                    type?: "NORMAL" | "PERSONAL";
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The newly created project.

      • Readonly400: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The currently authenticated user has insufficient permissions to update the project.

      • Readonly401: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The currently authenticated user has insufficient permissions to create a project.

      • Readonly409: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The project key or name is already in use.

    createPullRequestCondition: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string };
            query?: undefined;
        };
        requestBody?: {
            content: {
                "application/json": {
                    requiredApprovals?: number;
                    reviewers?: readonly {
                        active?: boolean;
                        avatarUrl?: string;
                        displayName?: string;
                        emailAddress?: string;
                        id?: number;
                        links?: Record<string, unknown>;
                        name?: string;
                        slug?: string;
                        type?: "NORMAL" | "SERVICE";
                    }[];
                    sourceMatcher?: {
                        displayId?: string;
                        id?: string;
                        type?: {
                            id?: | "BRANCH"
                            | "ANY_REF"
                            | "MODEL_BRANCH"
                            | "MODEL_CATEGORY"
                            | "PATTERN";
                            name?: string;
                        };
                    };
                    targetMatcher?: {
                        displayId?: string;
                        id?: string;
                        type?: {
                            id?: | "BRANCH"
                            | "ANY_REF"
                            | "MODEL_BRANCH"
                            | "MODEL_CATEGORY"
                            | "PATTERN";
                            name?: string;
                        };
                    };
                };
            };
        };
        responses: {
            "200": {
                content: {
                    "application/json": {
                        id?: number;
                        requiredApprovals?: number;
                        reviewers?: readonly {
                            active?: boolean;
                            avatarUrl?: string;
                            displayName?: string;
                            emailAddress?: string;
                            id?: number;
                            links?: Record<string, unknown>;
                            name?: string;
                            slug?: string;
                            type?: "NORMAL" | "SERVICE";
                        }[];
                        scope?: {
                            resourceId?: number;
                            type?: "GLOBAL"
                            | "PROJECT"
                            | "REPOSITORY";
                        };
                        sourceRefMatcher?: {
                            displayId?: string;
                            id?: string;
                            type?: {
                                id?: | "BRANCH"
                                | "ANY_REF"
                                | "MODEL_BRANCH"
                                | "MODEL_CATEGORY"
                                | "PATTERN";
                                name?: string;
                            };
                        };
                        targetRefMatcher?: {
                            displayId?: string;
                            id?: string;
                            type?: {
                                id?: | "BRANCH"
                                | "ANY_REF"
                                | "MODEL_BRANCH"
                                | "MODEL_CATEGORY"
                                | "PATTERN";
                                name?: string;
                            };
                        };
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }

    Type declaration

    • Readonlyparameters: {
          cookie?: undefined;
          header?: undefined;
          path: { projectKey: string };
          query?: undefined;
      }
      • Optional Readonlycookie?: undefined
      • Optional Readonlyheader?: undefined
      • Readonlypath: { projectKey: string }
        • ReadonlyprojectKey: string

          The project key.

      • Optional Readonlyquery?: undefined
    • Optional ReadonlyrequestBody?: {
          content: {
              "application/json": {
                  requiredApprovals?: number;
                  reviewers?: readonly {
                      active?: boolean;
                      avatarUrl?: string;
                      displayName?: string;
                      emailAddress?: string;
                      id?: number;
                      links?: Record<string, unknown>;
                      name?: string;
                      slug?: string;
                      type?: "NORMAL" | "SERVICE";
                  }[];
                  sourceMatcher?: {
                      displayId?: string;
                      id?: string;
                      type?: {
                          id?: | "BRANCH"
                          | "ANY_REF"
                          | "MODEL_BRANCH"
                          | "MODEL_CATEGORY"
                          | "PATTERN";
                          name?: string;
                      };
                  };
                  targetMatcher?: {
                      displayId?: string;
                      id?: string;
                      type?: {
                          id?: | "BRANCH"
                          | "ANY_REF"
                          | "MODEL_BRANCH"
                          | "MODEL_CATEGORY"
                          | "PATTERN";
                          name?: string;
                      };
                  };
              };
          };
      }

      The details needed to create a default reviewer pull request condition.

    • Readonlyresponses: {
          "200": {
              content: {
                  "application/json": {
                      id?: number;
                      requiredApprovals?: number;
                      reviewers?: readonly {
                          active?: boolean;
                          avatarUrl?: string;
                          displayName?: string;
                          emailAddress?: string;
                          id?: number;
                          links?: Record<string, unknown>;
                          name?: string;
                          slug?: string;
                          type?: "NORMAL" | "SERVICE";
                      }[];
                      scope?: {
                          resourceId?: number;
                          type?: "GLOBAL"
                          | "PROJECT"
                          | "REPOSITORY";
                      };
                      sourceRefMatcher?: {
                          displayId?: string;
                          id?: string;
                          type?: {
                              id?: | "BRANCH"
                              | "ANY_REF"
                              | "MODEL_BRANCH"
                              | "MODEL_CATEGORY"
                              | "PATTERN";
                              name?: string;
                          };
                      };
                      targetRefMatcher?: {
                          displayId?: string;
                          id?: string;
                          type?: {
                              id?: | "BRANCH"
                              | "ANY_REF"
                              | "MODEL_BRANCH"
                              | "MODEL_CATEGORY"
                              | "PATTERN";
                              name?: string;
                          };
                      };
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "400": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
      }
      • Readonly200: {
            content: {
                "application/json": {
                    id?: number;
                    requiredApprovals?: number;
                    reviewers?: readonly {
                        active?: boolean;
                        avatarUrl?: string;
                        displayName?: string;
                        emailAddress?: string;
                        id?: number;
                        links?: Record<string, unknown>;
                        name?: string;
                        slug?: string;
                        type?: "NORMAL" | "SERVICE";
                    }[];
                    scope?: {
                        resourceId?: number;
                        type?: "GLOBAL"
                        | "PROJECT"
                        | "REPOSITORY";
                    };
                    sourceRefMatcher?: {
                        displayId?: string;
                        id?: string;
                        type?: {
                            id?: | "BRANCH"
                            | "ANY_REF"
                            | "MODEL_BRANCH"
                            | "MODEL_CATEGORY"
                            | "PATTERN";
                            name?: string;
                        };
                    };
                    targetRefMatcher?: {
                        displayId?: string;
                        id?: string;
                        type?: {
                            id?: | "BRANCH"
                            | "ANY_REF"
                            | "MODEL_BRANCH"
                            | "MODEL_CATEGORY"
                            | "PATTERN";
                            name?: string;
                        };
                    };
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The default reviewer pull request condition that was created.

      • Readonly400: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The request was malformed.

    createPullRequestCondition_1: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string; repositorySlug: string };
            query?: undefined;
        };
        requestBody?: {
            content: {
                "application/json": {
                    requiredApprovals?: number;
                    reviewers?: readonly {
                        active?: boolean;
                        avatarUrl?: string;
                        displayName?: string;
                        emailAddress?: string;
                        id?: number;
                        links?: Record<string, unknown>;
                        name?: string;
                        slug?: string;
                        type?: "NORMAL" | "SERVICE";
                    }[];
                    sourceMatcher?: {
                        displayId?: string;
                        id?: string;
                        type?: {
                            id?: | "BRANCH"
                            | "ANY_REF"
                            | "MODEL_BRANCH"
                            | "MODEL_CATEGORY"
                            | "PATTERN";
                            name?: string;
                        };
                    };
                    targetMatcher?: {
                        displayId?: string;
                        id?: string;
                        type?: {
                            id?: | "BRANCH"
                            | "ANY_REF"
                            | "MODEL_BRANCH"
                            | "MODEL_CATEGORY"
                            | "PATTERN";
                            name?: string;
                        };
                    };
                };
            };
        };
        responses: {
            "200": {
                content: {
                    "application/json": {
                        id?: number;
                        requiredApprovals?: number;
                        reviewers?: readonly {
                            active?: boolean;
                            avatarUrl?: string;
                            displayName?: string;
                            emailAddress?: string;
                            id?: number;
                            links?: Record<string, unknown>;
                            name?: string;
                            slug?: string;
                            type?: "NORMAL" | "SERVICE";
                        }[];
                        scope?: {
                            resourceId?: number;
                            type?: "GLOBAL"
                            | "PROJECT"
                            | "REPOSITORY";
                        };
                        sourceRefMatcher?: {
                            displayId?: string;
                            id?: string;
                            type?: {
                                id?: | "BRANCH"
                                | "ANY_REF"
                                | "MODEL_BRANCH"
                                | "MODEL_CATEGORY"
                                | "PATTERN";
                                name?: string;
                            };
                        };
                        targetRefMatcher?: {
                            displayId?: string;
                            id?: string;
                            type?: {
                                id?: | "BRANCH"
                                | "ANY_REF"
                                | "MODEL_BRANCH"
                                | "MODEL_CATEGORY"
                                | "PATTERN";
                                name?: string;
                            };
                        };
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }

    Type declaration

    • Readonlyparameters: {
          cookie?: undefined;
          header?: undefined;
          path: { projectKey: string; repositorySlug: string };
          query?: undefined;
      }
      • Optional Readonlycookie?: undefined
      • Optional Readonlyheader?: undefined
      • Readonlypath: { projectKey: string; repositorySlug: string }
        • ReadonlyprojectKey: string

          The project key.

        • ReadonlyrepositorySlug: string

          The repository slug.

      • Optional Readonlyquery?: undefined
    • Optional ReadonlyrequestBody?: {
          content: {
              "application/json": {
                  requiredApprovals?: number;
                  reviewers?: readonly {
                      active?: boolean;
                      avatarUrl?: string;
                      displayName?: string;
                      emailAddress?: string;
                      id?: number;
                      links?: Record<string, unknown>;
                      name?: string;
                      slug?: string;
                      type?: "NORMAL" | "SERVICE";
                  }[];
                  sourceMatcher?: {
                      displayId?: string;
                      id?: string;
                      type?: {
                          id?: | "BRANCH"
                          | "ANY_REF"
                          | "MODEL_BRANCH"
                          | "MODEL_CATEGORY"
                          | "PATTERN";
                          name?: string;
                      };
                  };
                  targetMatcher?: {
                      displayId?: string;
                      id?: string;
                      type?: {
                          id?: | "BRANCH"
                          | "ANY_REF"
                          | "MODEL_BRANCH"
                          | "MODEL_CATEGORY"
                          | "PATTERN";
                          name?: string;
                      };
                  };
              };
          };
      }

      The details needed to create a default reviewer pull request condition.

    • Readonlyresponses: {
          "200": {
              content: {
                  "application/json": {
                      id?: number;
                      requiredApprovals?: number;
                      reviewers?: readonly {
                          active?: boolean;
                          avatarUrl?: string;
                          displayName?: string;
                          emailAddress?: string;
                          id?: number;
                          links?: Record<string, unknown>;
                          name?: string;
                          slug?: string;
                          type?: "NORMAL" | "SERVICE";
                      }[];
                      scope?: {
                          resourceId?: number;
                          type?: "GLOBAL"
                          | "PROJECT"
                          | "REPOSITORY";
                      };
                      sourceRefMatcher?: {
                          displayId?: string;
                          id?: string;
                          type?: {
                              id?: | "BRANCH"
                              | "ANY_REF"
                              | "MODEL_BRANCH"
                              | "MODEL_CATEGORY"
                              | "PATTERN";
                              name?: string;
                          };
                      };
                      targetRefMatcher?: {
                          displayId?: string;
                          id?: string;
                          type?: {
                              id?: | "BRANCH"
                              | "ANY_REF"
                              | "MODEL_BRANCH"
                              | "MODEL_CATEGORY"
                              | "PATTERN";
                              name?: string;
                          };
                      };
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "400": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
      }
      • Readonly200: {
            content: {
                "application/json": {
                    id?: number;
                    requiredApprovals?: number;
                    reviewers?: readonly {
                        active?: boolean;
                        avatarUrl?: string;
                        displayName?: string;
                        emailAddress?: string;
                        id?: number;
                        links?: Record<string, unknown>;
                        name?: string;
                        slug?: string;
                        type?: "NORMAL" | "SERVICE";
                    }[];
                    scope?: {
                        resourceId?: number;
                        type?: "GLOBAL"
                        | "PROJECT"
                        | "REPOSITORY";
                    };
                    sourceRefMatcher?: {
                        displayId?: string;
                        id?: string;
                        type?: {
                            id?: | "BRANCH"
                            | "ANY_REF"
                            | "MODEL_BRANCH"
                            | "MODEL_CATEGORY"
                            | "PATTERN";
                            name?: string;
                        };
                    };
                    targetRefMatcher?: {
                        displayId?: string;
                        id?: string;
                        type?: {
                            id?: | "BRANCH"
                            | "ANY_REF"
                            | "MODEL_BRANCH"
                            | "MODEL_CATEGORY"
                            | "PATTERN";
                            name?: string;
                        };
                    };
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The default reviewer pull request condition that was created.

      • Readonly400: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The request was malformed.

    createRepository: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string };
            query?: undefined;
        };
        requestBody?: {
            content: {
                "application/json": {
                    archived?: boolean;
                    defaultBranch?: string;
                    description?: string;
                    forkable?: boolean;
                    hierarchyId?: string;
                    id?: number;
                    links?: Record<string, unknown>;
                    name?: string;
                    origin?: {
                        archived?: boolean;
                        defaultBranch?: string;
                        description?: string;
                        forkable?: boolean;
                        hierarchyId?: string;
                        id?: number;
                        links?: Record<string, unknown>;
                        name?: string;
                        partition?: number;
                        project?: {
                            avatar?: string;
                            avatarUrl?: string;
                            description?: string;
                            id?: number;
                            key: string;
                            links?: Record<(...), (...)>;
                            name?: string;
                            public?: boolean;
                            scope?: string;
                            type?: "NORMAL" | "PERSONAL";
                        };
                        public?: boolean;
                        relatedLinks?: Record<string, unknown>;
                        scmId?: string;
                        scope?: string;
                        slug?: string;
                        state?:
                            | "AVAILABLE"
                            | "INITIALISATION_FAILED"
                            | "INITIALISING"
                            | "OFFLINE";
                        statusMessage?: string;
                    };
                    partition?: number;
                    project?: {
                        avatar?: string;
                        avatarUrl?: string;
                        description?: string;
                        id?: number;
                        key: string;
                        links?: Record<string, unknown>;
                        name?: string;
                        public?: boolean;
                        scope?: string;
                        type?: "NORMAL" | "PERSONAL";
                    };
                    public?: boolean;
                    relatedLinks?: Record<string, unknown>;
                    scmId?: string;
                    scope?: string;
                    slug?: string;
                    state?:
                        | "AVAILABLE"
                        | "INITIALISATION_FAILED"
                        | "INITIALISING"
                        | "OFFLINE";
                    statusMessage?: string;
                };
            };
        };
        responses: {
            "201": {
                content: {
                    "application/json": {
                        archived?: boolean;
                        defaultBranch?: string;
                        description?: string;
                        forkable?: boolean;
                        hierarchyId?: string;
                        id?: number;
                        links?: Record<string, unknown>;
                        name?: string;
                        origin?: {
                            archived?: boolean;
                            defaultBranch?: string;
                            description?: string;
                            forkable?: boolean;
                            hierarchyId?: string;
                            id?: number;
                            links?: Record<string, unknown>;
                            name?: string;
                            partition?: number;
                            project?: {
                                avatar?: string;
                                avatarUrl?: string;
                                description?: string;
                                id?: number;
                                key: string;
                                links?: Record<(...), (...)>;
                                name?: string;
                                public?: boolean;
                                scope?: string;
                                type?: "NORMAL" | "PERSONAL";
                            };
                            public?: boolean;
                            relatedLinks?: Record<string, unknown>;
                            scmId?: string;
                            scope?: string;
                            slug?: string;
                            state?:
                                | "AVAILABLE"
                                | "INITIALISATION_FAILED"
                                | "INITIALISING"
                                | "OFFLINE";
                            statusMessage?: string;
                        };
                        partition?: number;
                        project?: {
                            avatar?: string;
                            avatarUrl?: string;
                            description?: string;
                            id?: number;
                            key: string;
                            links?: Record<string, unknown>;
                            name?: string;
                            public?: boolean;
                            scope?: string;
                            type?: "NORMAL" | "PERSONAL";
                        };
                        public?: boolean;
                        relatedLinks?: Record<string, unknown>;
                        scmId?: string;
                        scope?: string;
                        slug?: string;
                        state?:
                            | "AVAILABLE"
                            | "INITIALISATION_FAILED"
                            | "INITIALISING"
                            | "OFFLINE";
                        statusMessage?: string;
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "409": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }

    Type declaration

    • Readonlyparameters: {
          cookie?: undefined;
          header?: undefined;
          path: { projectKey: string };
          query?: undefined;
      }
      • Optional Readonlycookie?: undefined
      • Optional Readonlyheader?: undefined
      • Readonlypath: { projectKey: string }
        • ReadonlyprojectKey: string

          The project key.

      • Optional Readonlyquery?: undefined
    • Optional ReadonlyrequestBody?: {
          content: {
              "application/json": {
                  archived?: boolean;
                  defaultBranch?: string;
                  description?: string;
                  forkable?: boolean;
                  hierarchyId?: string;
                  id?: number;
                  links?: Record<string, unknown>;
                  name?: string;
                  origin?: {
                      archived?: boolean;
                      defaultBranch?: string;
                      description?: string;
                      forkable?: boolean;
                      hierarchyId?: string;
                      id?: number;
                      links?: Record<string, unknown>;
                      name?: string;
                      partition?: number;
                      project?: {
                          avatar?: string;
                          avatarUrl?: string;
                          description?: string;
                          id?: number;
                          key: string;
                          links?: Record<(...), (...)>;
                          name?: string;
                          public?: boolean;
                          scope?: string;
                          type?: "NORMAL" | "PERSONAL";
                      };
                      public?: boolean;
                      relatedLinks?: Record<string, unknown>;
                      scmId?: string;
                      scope?: string;
                      slug?: string;
                      state?:
                          | "AVAILABLE"
                          | "INITIALISATION_FAILED"
                          | "INITIALISING"
                          | "OFFLINE";
                      statusMessage?: string;
                  };
                  partition?: number;
                  project?: {
                      avatar?: string;
                      avatarUrl?: string;
                      description?: string;
                      id?: number;
                      key: string;
                      links?: Record<string, unknown>;
                      name?: string;
                      public?: boolean;
                      scope?: string;
                      type?: "NORMAL" | "PERSONAL";
                  };
                  public?: boolean;
                  relatedLinks?: Record<string, unknown>;
                  scmId?: string;
                  scope?: string;
                  slug?: string;
                  state?:
                      | "AVAILABLE"
                      | "INITIALISATION_FAILED"
                      | "INITIALISING"
                      | "OFFLINE";
                  statusMessage?: string;
              };
          };
      }

      The repository

    • Readonlyresponses: {
          "201": {
              content: {
                  "application/json": {
                      archived?: boolean;
                      defaultBranch?: string;
                      description?: string;
                      forkable?: boolean;
                      hierarchyId?: string;
                      id?: number;
                      links?: Record<string, unknown>;
                      name?: string;
                      origin?: {
                          archived?: boolean;
                          defaultBranch?: string;
                          description?: string;
                          forkable?: boolean;
                          hierarchyId?: string;
                          id?: number;
                          links?: Record<string, unknown>;
                          name?: string;
                          partition?: number;
                          project?: {
                              avatar?: string;
                              avatarUrl?: string;
                              description?: string;
                              id?: number;
                              key: string;
                              links?: Record<(...), (...)>;
                              name?: string;
                              public?: boolean;
                              scope?: string;
                              type?: "NORMAL" | "PERSONAL";
                          };
                          public?: boolean;
                          relatedLinks?: Record<string, unknown>;
                          scmId?: string;
                          scope?: string;
                          slug?: string;
                          state?:
                              | "AVAILABLE"
                              | "INITIALISATION_FAILED"
                              | "INITIALISING"
                              | "OFFLINE";
                          statusMessage?: string;
                      };
                      partition?: number;
                      project?: {
                          avatar?: string;
                          avatarUrl?: string;
                          description?: string;
                          id?: number;
                          key: string;
                          links?: Record<string, unknown>;
                          name?: string;
                          public?: boolean;
                          scope?: string;
                          type?: "NORMAL" | "PERSONAL";
                      };
                      public?: boolean;
                      relatedLinks?: Record<string, unknown>;
                      scmId?: string;
                      scope?: string;
                      slug?: string;
                      state?:
                          | "AVAILABLE"
                          | "INITIALISATION_FAILED"
                          | "INITIALISING"
                          | "OFFLINE";
                      statusMessage?: string;
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "400": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "401": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "409": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
      }
      • Readonly201: {
            content: {
                "application/json": {
                    archived?: boolean;
                    defaultBranch?: string;
                    description?: string;
                    forkable?: boolean;
                    hierarchyId?: string;
                    id?: number;
                    links?: Record<string, unknown>;
                    name?: string;
                    origin?: {
                        archived?: boolean;
                        defaultBranch?: string;
                        description?: string;
                        forkable?: boolean;
                        hierarchyId?: string;
                        id?: number;
                        links?: Record<string, unknown>;
                        name?: string;
                        partition?: number;
                        project?: {
                            avatar?: string;
                            avatarUrl?: string;
                            description?: string;
                            id?: number;
                            key: string;
                            links?: Record<(...), (...)>;
                            name?: string;
                            public?: boolean;
                            scope?: string;
                            type?: "NORMAL" | "PERSONAL";
                        };
                        public?: boolean;
                        relatedLinks?: Record<string, unknown>;
                        scmId?: string;
                        scope?: string;
                        slug?: string;
                        state?:
                            | "AVAILABLE"
                            | "INITIALISATION_FAILED"
                            | "INITIALISING"
                            | "OFFLINE";
                        statusMessage?: string;
                    };
                    partition?: number;
                    project?: {
                        avatar?: string;
                        avatarUrl?: string;
                        description?: string;
                        id?: number;
                        key: string;
                        links?: Record<string, unknown>;
                        name?: string;
                        public?: boolean;
                        scope?: string;
                        type?: "NORMAL" | "PERSONAL";
                    };
                    public?: boolean;
                    relatedLinks?: Record<string, unknown>;
                    scmId?: string;
                    scope?: string;
                    slug?: string;
                    state?:
                        | "AVAILABLE"
                        | "INITIALISATION_FAILED"
                        | "INITIALISING"
                        | "OFFLINE";
                    statusMessage?: string;
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The newly created repository.

      • Readonly400: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The repository was not created due to a validation error.

      • Readonly401: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The currently authenticated user has insufficient permissions to create a repository.

      • Readonly409: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        A repository with same name already exists.

    createRequiredBuildsMergeCheck: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string; repositorySlug: string };
            query?: undefined;
        };
        requestBody?: {
            content: {
                "*/*": {
                    buildParentKeys: readonly string[];
                    exemptRefMatcher?: {
                        displayId?: string;
                        id?: string;
                        type?: {
                            id?: | "BRANCH"
                            | "ANY_REF"
                            | "MODEL_BRANCH"
                            | "MODEL_CATEGORY"
                            | "PATTERN";
                            name?: string;
                        };
                    };
                    refMatcher: {
                        displayId?: string;
                        id?: string;
                        type?: {
                            id?: | "BRANCH"
                            | "ANY_REF"
                            | "MODEL_BRANCH"
                            | "MODEL_CATEGORY"
                            | "PATTERN";
                            name?: string;
                        };
                    };
                };
            };
        };
        responses: {
            "200": {
                content: {
                    "application/json": {
                        buildParentKeys?: readonly string[];
                        exemptRefMatcher?: {
                            displayId?: string;
                            id?: string;
                            type?: {
                                id?: | "BRANCH"
                                | "ANY_REF"
                                | "MODEL_BRANCH"
                                | "MODEL_CATEGORY"
                                | "PATTERN";
                                name?: string;
                            };
                        };
                        id?: number;
                        refMatcher?: {
                            displayId?: string;
                            id?: string;
                            type?: {
                                id?: | "BRANCH"
                                | "ANY_REF"
                                | "MODEL_BRANCH"
                                | "MODEL_CATEGORY"
                                | "PATTERN";
                                name?: string;
                            };
                        };
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }

    Type declaration

    • Readonlyparameters: {
          cookie?: undefined;
          header?: undefined;
          path: { projectKey: string; repositorySlug: string };
          query?: undefined;
      }
      • Optional Readonlycookie?: undefined
      • Optional Readonlyheader?: undefined
      • Readonlypath: { projectKey: string; repositorySlug: string }
        • ReadonlyprojectKey: string

          The project that the repository belongs to

        • ReadonlyrepositorySlug: string

          The repository being used

      • Optional Readonlyquery?: undefined
    • Optional ReadonlyrequestBody?: {
          content: {
              "*/*": {
                  buildParentKeys: readonly string[];
                  exemptRefMatcher?: {
                      displayId?: string;
                      id?: string;
                      type?: {
                          id?:
                              | "BRANCH"
                              | "ANY_REF"
                              | "MODEL_BRANCH"
                              | "MODEL_CATEGORY"
                              | "PATTERN";
                          name?: string;
                      };
                  };
                  refMatcher: {
                      displayId?: string;
                      id?: string;
                      type?: {
                          id?: | "BRANCH"
                          | "ANY_REF"
                          | "MODEL_BRANCH"
                          | "MODEL_CATEGORY"
                          | "PATTERN";
                          name?: string;
                      };
                  };
              };
          };
      }

      The request specifying the required build parent keys, ref matcher and exemption matcher

    • Readonlyresponses: {
          "200": {
              content: {
                  "application/json": {
                      buildParentKeys?: readonly string[];
                      exemptRefMatcher?: {
                          displayId?: string;
                          id?: string;
                          type?: {
                              id?:
                                  | "BRANCH"
                                  | "ANY_REF"
                                  | "MODEL_BRANCH"
                                  | "MODEL_CATEGORY"
                                  | "PATTERN";
                              name?: string;
                          };
                      };
                      id?: number;
                      refMatcher?: {
                          displayId?: string;
                          id?: string;
                          type?: {
                              id?: | "BRANCH"
                              | "ANY_REF"
                              | "MODEL_BRANCH"
                              | "MODEL_CATEGORY"
                              | "PATTERN";
                              name?: string;
                          };
                      };
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "400": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "401": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
      }
      • Readonly200: {
            content: {
                "application/json": {
                    buildParentKeys?: readonly string[];
                    exemptRefMatcher?: {
                        displayId?: string;
                        id?: string;
                        type?: {
                            id?:
                                | "BRANCH"
                                | "ANY_REF"
                                | "MODEL_BRANCH"
                                | "MODEL_CATEGORY"
                                | "PATTERN";
                            name?: string;
                        };
                    };
                    id?: number;
                    refMatcher?: {
                        displayId?: string;
                        id?: string;
                        type?: {
                            id?: | "BRANCH"
                            | "ANY_REF"
                            | "MODEL_BRANCH"
                            | "MODEL_CATEGORY"
                            | "PATTERN";
                            name?: string;
                        };
                    };
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        A response containing the newly created required build merge check.

      • Readonly400: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The request was malformed. This could be caused because:

        - The build parent key list is empty
        - Either of the provided ref matchers is of an unrecognized type
        - Either of the provided ref matchers could not be created with the provided type and id
        
      • Readonly401: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The currently authenticated user has insufficient permissions to create a required build merge check in this repository.

    createRestrictions: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string };
            query?: undefined;
        };
        requestBody?: {
            content: {
                "application/vnd.atl.bitbucket.bulk+json": readonly {
                    accessKeyIds?: readonly number[];
                    accessKeys?: readonly {
                        key?: {
                            algorithmType?: ...;
                            bitLength?: ...;
                            createdDate?: ...;
                            expiryDays?: ...;
                            fingerprint?: ...;
                            id?: ...;
                            label?: ...;
                            lastAuthenticated?: ...;
                            text?: ...;
                        };
                        permission?: | "ADMIN"
                        | "LICENSED_USER"
                        | "PROJECT_ADMIN"
                        | "PROJECT_CREATE"
                        | "PROJECT_READ"
                        | "PROJECT_VIEW"
                        | "PROJECT_WRITE"
                        | "REPO_ADMIN"
                        | "REPO_CREATE"
                        | "REPO_READ"
                        | "REPO_WRITE"
                        | "SYS_ADMIN"
                        | "USER_ADMIN";
                        project?: {
                            avatar?: ...;
                            avatarUrl?: ...;
                            description?: ...;
                            id?: ...;
                            key: ...;
                            links?: ...;
                            name?: ...;
                            public?: ...;
                            scope?: ...;
                            type?: ...;
                        };
                        repository?: {
                            archived?: ...;
                            defaultBranch?: ...;
                            description?: ...;
                            forkable?: ...;
                            hierarchyId?: ...;
                            id?: ...;
                            links?: ...;
                            name?: ...;
                            origin?: ...;
                            partition?: ...;
                            project?: ...;
                            public?: ...;
                            relatedLinks?: ...;
                            scmId?: ...;
                            scope?: ...;
                            slug?: ...;
                            state?: ...;
                            statusMessage?: ...;
                        };
                    }[];
                    groupNames?: readonly string[];
                    groups?: readonly string[];
                    id?: number;
                    matcher?: {
                        displayId?: string;
                        id?: string;
                        type?: {
                            id?: (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...);
                            name?: (...) | (...);
                        };
                    };
                    scope?: {
                        resourceId?: number;
                        type?: "GLOBAL"
                        | "PROJECT"
                        | "REPOSITORY";
                    };
                    type?: string;
                    users?: readonly {
                        active?: boolean;
                        avatarUrl?: string;
                        displayName?: string;
                        emailAddress?: string;
                        id?: number;
                        links?: Record<(...), (...)>;
                        name?: string;
                        slug?: string;
                        type?: "NORMAL" | "SERVICE";
                    }[];
                    userSlugs?: readonly string[];
                }[];
            };
        };
        responses: {
            "200": {
                content: {
                    "application/json": {
                        accessKeys?: readonly {
                            key?: {
                                algorithmType?: (...)
                                | (...);
                                bitLength?: (...) | (...);
                                createdDate?: (...) | (...);
                                expiryDays?: (...) | (...);
                                fingerprint?: (...) | (...);
                                id?: (...) | (...);
                                label?: (...) | (...);
                                lastAuthenticated?: (...) | (...);
                                text?: (...) | (...);
                            };
                            permission?: | "ADMIN"
                            | "LICENSED_USER"
                            | "PROJECT_ADMIN"
                            | "PROJECT_CREATE"
                            | "PROJECT_READ"
                            | "PROJECT_VIEW"
                            | "PROJECT_WRITE"
                            | "REPO_ADMIN"
                            | "REPO_CREATE"
                            | "REPO_READ"
                            | "REPO_WRITE"
                            | "SYS_ADMIN"
                            | "USER_ADMIN";
                            project?: {
                                avatar?: (...)
                                | (...);
                                avatarUrl?: (...) | (...);
                                description?: (...) | (...);
                                id?: (...) | (...);
                                key: string;
                                links?: (...) | (...);
                                name?: (...) | (...);
                                public?: (...) | (...) | (...);
                                scope?: (...) | (...);
                                type?: (...) | (...) | (...);
                            };
                            repository?: {
                                archived?: (...)
                                | (...)
                                | (...);
                                defaultBranch?: (...) | (...);
                                description?: (...) | (...);
                                forkable?: (...) | (...) | (...);
                                hierarchyId?: (...) | (...);
                                id?: (...) | (...);
                                links?: (...) | (...);
                                name?: (...) | (...);
                                origin?: (...) | (...);
                                partition?: (...) | (...);
                                project?: (...) | (...);
                                public?: (...) | (...) | (...);
                                relatedLinks?: (...) | (...);
                                scmId?: (...) | (...);
                                scope?: (...) | (...);
                                slug?: (...) | (...);
                                state?: (...) | (...) | (...) | (...) | (...);
                                statusMessage?: (...) | (...);
                            };
                        }[];
                        groups?: readonly string[];
                        id?: number;
                        matcher?: {
                            displayId?: string;
                            id?: string;
                            type?: {
                                id?: | "BRANCH"
                                | "ANY_REF"
                                | "MODEL_BRANCH"
                                | "MODEL_CATEGORY"
                                | "PATTERN";
                                name?: string;
                            };
                        };
                        scope?: {
                            resourceId?: number;
                            type?: "GLOBAL"
                            | "PROJECT"
                            | "REPOSITORY";
                        };
                        type?: string;
                        users?: readonly {
                            active?: boolean;
                            avatarUrl?: string;
                            displayName?: string;
                            emailAddress?: string;
                            id?: number;
                            links?: Record<string, unknown>;
                            name?: string;
                            slug?: string;
                            type?: "NORMAL" | "SERVICE";
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }

    Type declaration

    • Readonlyparameters: {
          cookie?: undefined;
          header?: undefined;
          path: { projectKey: string };
          query?: undefined;
      }
      • Optional Readonlycookie?: undefined
      • Optional Readonlyheader?: undefined
      • Readonlypath: { projectKey: string }
        • ReadonlyprojectKey: string

          The project key.

      • Optional Readonlyquery?: undefined
    • Optional ReadonlyrequestBody?: {
          content: {
              "application/vnd.atl.bitbucket.bulk+json": readonly {
                  accessKeyIds?: readonly number[];
                  accessKeys?: readonly {
                      key?: {
                          algorithmType?: ...;
                          bitLength?: ...;
                          createdDate?: ...;
                          expiryDays?: ...;
                          fingerprint?: ...;
                          id?: ...;
                          label?: ...;
                          lastAuthenticated?: ...;
                          text?: ...;
                      };
                      permission?: | "ADMIN"
                      | "LICENSED_USER"
                      | "PROJECT_ADMIN"
                      | "PROJECT_CREATE"
                      | "PROJECT_READ"
                      | "PROJECT_VIEW"
                      | "PROJECT_WRITE"
                      | "REPO_ADMIN"
                      | "REPO_CREATE"
                      | "REPO_READ"
                      | "REPO_WRITE"
                      | "SYS_ADMIN"
                      | "USER_ADMIN";
                      project?: {
                          avatar?: ...;
                          avatarUrl?: ...;
                          description?: ...;
                          id?: ...;
                          key: ...;
                          links?: ...;
                          name?: ...;
                          public?: ...;
                          scope?: ...;
                          type?: ...;
                      };
                      repository?: {
                          archived?: ...;
                          defaultBranch?: ...;
                          description?: ...;
                          forkable?: ...;
                          hierarchyId?: ...;
                          id?: ...;
                          links?: ...;
                          name?: ...;
                          origin?: ...;
                          partition?: ...;
                          project?: ...;
                          public?: ...;
                          relatedLinks?: ...;
                          scmId?: ...;
                          scope?: ...;
                          slug?: ...;
                          state?: ...;
                          statusMessage?: ...;
                      };
                  }[];
                  groupNames?: readonly string[];
                  groups?: readonly string[];
                  id?: number;
                  matcher?: {
                      displayId?: string;
                      id?: string;
                      type?: {
                          id?: (...)
                          | (...)
                          | (...)
                          | (...)
                          | (...)
                          | (...);
                          name?: (...) | (...);
                      };
                  };
                  scope?: {
                      resourceId?: number;
                      type?: "GLOBAL"
                      | "PROJECT"
                      | "REPOSITORY";
                  };
                  type?: string;
                  users?: readonly {
                      active?: boolean;
                      avatarUrl?: string;
                      displayName?: string;
                      emailAddress?: string;
                      id?: number;
                      links?: Record<(...), (...)>;
                      name?: string;
                      slug?: string;
                      type?: "NORMAL" | "SERVICE";
                  }[];
                  userSlugs?: readonly string[];
              }[];
          };
      }

      The request containing a list of the details of the restrictions to create.

    • Readonlyresponses: {
          "200": {
              content: {
                  "application/json": {
                      accessKeys?: readonly {
                          key?: {
                              algorithmType?: (...) | (...);
                              bitLength?: (...) | (...);
                              createdDate?: (...) | (...);
                              expiryDays?: (...) | (...);
                              fingerprint?: (...) | (...);
                              id?: (...) | (...);
                              label?: (...) | (...);
                              lastAuthenticated?: (...) | (...);
                              text?: (...) | (...);
                          };
                          permission?: | "ADMIN"
                          | "LICENSED_USER"
                          | "PROJECT_ADMIN"
                          | "PROJECT_CREATE"
                          | "PROJECT_READ"
                          | "PROJECT_VIEW"
                          | "PROJECT_WRITE"
                          | "REPO_ADMIN"
                          | "REPO_CREATE"
                          | "REPO_READ"
                          | "REPO_WRITE"
                          | "SYS_ADMIN"
                          | "USER_ADMIN";
                          project?: {
                              avatar?: (...)
                              | (...);
                              avatarUrl?: (...) | (...);
                              description?: (...) | (...);
                              id?: (...) | (...);
                              key: string;
                              links?: (...) | (...);
                              name?: (...) | (...);
                              public?: (...) | (...) | (...);
                              scope?: (...) | (...);
                              type?: (...) | (...) | (...);
                          };
                          repository?: {
                              archived?: (...)
                              | (...)
                              | (...);
                              defaultBranch?: (...) | (...);
                              description?: (...) | (...);
                              forkable?: (...) | (...) | (...);
                              hierarchyId?: (...) | (...);
                              id?: (...) | (...);
                              links?: (...) | (...);
                              name?: (...) | (...);
                              origin?: (...) | (...);
                              partition?: (...) | (...);
                              project?: (...) | (...);
                              public?: (...) | (...) | (...);
                              relatedLinks?: (...) | (...);
                              scmId?: (...) | (...);
                              scope?: (...) | (...);
                              slug?: (...) | (...);
                              state?: (...) | (...) | (...) | (...) | (...);
                              statusMessage?: (...) | (...);
                          };
                      }[];
                      groups?: readonly string[];
                      id?: number;
                      matcher?: {
                          displayId?: string;
                          id?: string;
                          type?: {
                              id?: | "BRANCH"
                              | "ANY_REF"
                              | "MODEL_BRANCH"
                              | "MODEL_CATEGORY"
                              | "PATTERN";
                              name?: string;
                          };
                      };
                      scope?: {
                          resourceId?: number;
                          type?: "GLOBAL"
                          | "PROJECT"
                          | "REPOSITORY";
                      };
                      type?: string;
                      users?: readonly {
                          active?: boolean;
                          avatarUrl?: string;
                          displayName?: string;
                          emailAddress?: string;
                          id?: number;
                          links?: Record<string, unknown>;
                          name?: string;
                          slug?: string;
                          type?: "NORMAL" | "SERVICE";
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "400": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "401": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
      }
      • Readonly200: {
            content: {
                "application/json": {
                    accessKeys?: readonly {
                        key?: {
                            algorithmType?: (...) | (...);
                            bitLength?: (...) | (...);
                            createdDate?: (...) | (...);
                            expiryDays?: (...) | (...);
                            fingerprint?: (...) | (...);
                            id?: (...) | (...);
                            label?: (...) | (...);
                            lastAuthenticated?: (...) | (...);
                            text?: (...) | (...);
                        };
                        permission?: | "ADMIN"
                        | "LICENSED_USER"
                        | "PROJECT_ADMIN"
                        | "PROJECT_CREATE"
                        | "PROJECT_READ"
                        | "PROJECT_VIEW"
                        | "PROJECT_WRITE"
                        | "REPO_ADMIN"
                        | "REPO_CREATE"
                        | "REPO_READ"
                        | "REPO_WRITE"
                        | "SYS_ADMIN"
                        | "USER_ADMIN";
                        project?: {
                            avatar?: (...)
                            | (...);
                            avatarUrl?: (...) | (...);
                            description?: (...) | (...);
                            id?: (...) | (...);
                            key: string;
                            links?: (...) | (...);
                            name?: (...) | (...);
                            public?: (...) | (...) | (...);
                            scope?: (...) | (...);
                            type?: (...) | (...) | (...);
                        };
                        repository?: {
                            archived?: (...)
                            | (...)
                            | (...);
                            defaultBranch?: (...) | (...);
                            description?: (...) | (...);
                            forkable?: (...) | (...) | (...);
                            hierarchyId?: (...) | (...);
                            id?: (...) | (...);
                            links?: (...) | (...);
                            name?: (...) | (...);
                            origin?: (...) | (...);
                            partition?: (...) | (...);
                            project?: (...) | (...);
                            public?: (...) | (...) | (...);
                            relatedLinks?: (...) | (...);
                            scmId?: (...) | (...);
                            scope?: (...) | (...);
                            slug?: (...) | (...);
                            state?: (...) | (...) | (...) | (...) | (...);
                            statusMessage?: (...) | (...);
                        };
                    }[];
                    groups?: readonly string[];
                    id?: number;
                    matcher?: {
                        displayId?: string;
                        id?: string;
                        type?: {
                            id?: | "BRANCH"
                            | "ANY_REF"
                            | "MODEL_BRANCH"
                            | "MODEL_CATEGORY"
                            | "PATTERN";
                            name?: string;
                        };
                    };
                    scope?: {
                        resourceId?: number;
                        type?: "GLOBAL"
                        | "PROJECT"
                        | "REPOSITORY";
                    };
                    type?: string;
                    users?: readonly {
                        active?: boolean;
                        avatarUrl?: string;
                        displayName?: string;
                        emailAddress?: string;
                        id?: number;
                        links?: Record<string, unknown>;
                        name?: string;
                        slug?: string;
                        type?: "NORMAL" | "SERVICE";
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        Response contains the ref restriction that was just created.

      • Readonly400: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The request has failed validation.

      • Readonly401: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The currently authenticated user has insufficient permissions to perform this operation.

    createRestrictions_1: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string; repositorySlug: string };
            query?: undefined;
        };
        requestBody?: {
            content: {
                "application/vnd.atl.bitbucket.bulk+json": readonly {
                    accessKeyIds?: readonly number[];
                    accessKeys?: readonly {
                        key?: {
                            algorithmType?: ...;
                            bitLength?: ...;
                            createdDate?: ...;
                            expiryDays?: ...;
                            fingerprint?: ...;
                            id?: ...;
                            label?: ...;
                            lastAuthenticated?: ...;
                            text?: ...;
                        };
                        permission?: | "ADMIN"
                        | "LICENSED_USER"
                        | "PROJECT_ADMIN"
                        | "PROJECT_CREATE"
                        | "PROJECT_READ"
                        | "PROJECT_VIEW"
                        | "PROJECT_WRITE"
                        | "REPO_ADMIN"
                        | "REPO_CREATE"
                        | "REPO_READ"
                        | "REPO_WRITE"
                        | "SYS_ADMIN"
                        | "USER_ADMIN";
                        project?: {
                            avatar?: ...;
                            avatarUrl?: ...;
                            description?: ...;
                            id?: ...;
                            key: ...;
                            links?: ...;
                            name?: ...;
                            public?: ...;
                            scope?: ...;
                            type?: ...;
                        };
                        repository?: {
                            archived?: ...;
                            defaultBranch?: ...;
                            description?: ...;
                            forkable?: ...;
                            hierarchyId?: ...;
                            id?: ...;
                            links?: ...;
                            name?: ...;
                            origin?: ...;
                            partition?: ...;
                            project?: ...;
                            public?: ...;
                            relatedLinks?: ...;
                            scmId?: ...;
                            scope?: ...;
                            slug?: ...;
                            state?: ...;
                            statusMessage?: ...;
                        };
                    }[];
                    groupNames?: readonly string[];
                    groups?: readonly string[];
                    id?: number;
                    matcher?: {
                        displayId?: string;
                        id?: string;
                        type?: {
                            id?: (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...);
                            name?: (...) | (...);
                        };
                    };
                    scope?: {
                        resourceId?: number;
                        type?: "GLOBAL"
                        | "PROJECT"
                        | "REPOSITORY";
                    };
                    type?: string;
                    users?: readonly {
                        active?: boolean;
                        avatarUrl?: string;
                        displayName?: string;
                        emailAddress?: string;
                        id?: number;
                        links?: Record<(...), (...)>;
                        name?: string;
                        slug?: string;
                        type?: "NORMAL" | "SERVICE";
                    }[];
                    userSlugs?: readonly string[];
                }[];
            };
        };
        responses: {
            "200": {
                content: {
                    "application/json": {
                        accessKeys?: readonly {
                            key?: {
                                algorithmType?: (...)
                                | (...);
                                bitLength?: (...) | (...);
                                createdDate?: (...) | (...);
                                expiryDays?: (...) | (...);
                                fingerprint?: (...) | (...);
                                id?: (...) | (...);
                                label?: (...) | (...);
                                lastAuthenticated?: (...) | (...);
                                text?: (...) | (...);
                            };
                            permission?: | "ADMIN"
                            | "LICENSED_USER"
                            | "PROJECT_ADMIN"
                            | "PROJECT_CREATE"
                            | "PROJECT_READ"
                            | "PROJECT_VIEW"
                            | "PROJECT_WRITE"
                            | "REPO_ADMIN"
                            | "REPO_CREATE"
                            | "REPO_READ"
                            | "REPO_WRITE"
                            | "SYS_ADMIN"
                            | "USER_ADMIN";
                            project?: {
                                avatar?: (...)
                                | (...);
                                avatarUrl?: (...) | (...);
                                description?: (...) | (...);
                                id?: (...) | (...);
                                key: string;
                                links?: (...) | (...);
                                name?: (...) | (...);
                                public?: (...) | (...) | (...);
                                scope?: (...) | (...);
                                type?: (...) | (...) | (...);
                            };
                            repository?: {
                                archived?: (...)
                                | (...)
                                | (...);
                                defaultBranch?: (...) | (...);
                                description?: (...) | (...);
                                forkable?: (...) | (...) | (...);
                                hierarchyId?: (...) | (...);
                                id?: (...) | (...);
                                links?: (...) | (...);
                                name?: (...) | (...);
                                origin?: (...) | (...);
                                partition?: (...) | (...);
                                project?: (...) | (...);
                                public?: (...) | (...) | (...);
                                relatedLinks?: (...) | (...);
                                scmId?: (...) | (...);
                                scope?: (...) | (...);
                                slug?: (...) | (...);
                                state?: (...) | (...) | (...) | (...) | (...);
                                statusMessage?: (...) | (...);
                            };
                        }[];
                        groups?: readonly string[];
                        id?: number;
                        matcher?: {
                            displayId?: string;
                            id?: string;
                            type?: {
                                id?: | "BRANCH"
                                | "ANY_REF"
                                | "MODEL_BRANCH"
                                | "MODEL_CATEGORY"
                                | "PATTERN";
                                name?: string;
                            };
                        };
                        scope?: {
                            resourceId?: number;
                            type?: "GLOBAL"
                            | "PROJECT"
                            | "REPOSITORY";
                        };
                        type?: string;
                        users?: readonly {
                            active?: boolean;
                            avatarUrl?: string;
                            displayName?: string;
                            emailAddress?: string;
                            id?: number;
                            links?: Record<string, unknown>;
                            name?: string;
                            slug?: string;
                            type?: "NORMAL" | "SERVICE";
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }

    Type declaration

    • Readonlyparameters: {
          cookie?: undefined;
          header?: undefined;
          path: { projectKey: string; repositorySlug: string };
          query?: undefined;
      }
      • Optional Readonlycookie?: undefined
      • Optional Readonlyheader?: undefined
      • Readonlypath: { projectKey: string; repositorySlug: string }
        • ReadonlyprojectKey: string

          The project key.

        • ReadonlyrepositorySlug: string

          The repository slug.

      • Optional Readonlyquery?: undefined
    • Optional ReadonlyrequestBody?: {
          content: {
              "application/vnd.atl.bitbucket.bulk+json": readonly {
                  accessKeyIds?: readonly number[];
                  accessKeys?: readonly {
                      key?: {
                          algorithmType?: ...;
                          bitLength?: ...;
                          createdDate?: ...;
                          expiryDays?: ...;
                          fingerprint?: ...;
                          id?: ...;
                          label?: ...;
                          lastAuthenticated?: ...;
                          text?: ...;
                      };
                      permission?: | "ADMIN"
                      | "LICENSED_USER"
                      | "PROJECT_ADMIN"
                      | "PROJECT_CREATE"
                      | "PROJECT_READ"
                      | "PROJECT_VIEW"
                      | "PROJECT_WRITE"
                      | "REPO_ADMIN"
                      | "REPO_CREATE"
                      | "REPO_READ"
                      | "REPO_WRITE"
                      | "SYS_ADMIN"
                      | "USER_ADMIN";
                      project?: {
                          avatar?: ...;
                          avatarUrl?: ...;
                          description?: ...;
                          id?: ...;
                          key: ...;
                          links?: ...;
                          name?: ...;
                          public?: ...;
                          scope?: ...;
                          type?: ...;
                      };
                      repository?: {
                          archived?: ...;
                          defaultBranch?: ...;
                          description?: ...;
                          forkable?: ...;
                          hierarchyId?: ...;
                          id?: ...;
                          links?: ...;
                          name?: ...;
                          origin?: ...;
                          partition?: ...;
                          project?: ...;
                          public?: ...;
                          relatedLinks?: ...;
                          scmId?: ...;
                          scope?: ...;
                          slug?: ...;
                          state?: ...;
                          statusMessage?: ...;
                      };
                  }[];
                  groupNames?: readonly string[];
                  groups?: readonly string[];
                  id?: number;
                  matcher?: {
                      displayId?: string;
                      id?: string;
                      type?: {
                          id?: (...)
                          | (...)
                          | (...)
                          | (...)
                          | (...)
                          | (...);
                          name?: (...) | (...);
                      };
                  };
                  scope?: {
                      resourceId?: number;
                      type?: "GLOBAL"
                      | "PROJECT"
                      | "REPOSITORY";
                  };
                  type?: string;
                  users?: readonly {
                      active?: boolean;
                      avatarUrl?: string;
                      displayName?: string;
                      emailAddress?: string;
                      id?: number;
                      links?: Record<(...), (...)>;
                      name?: string;
                      slug?: string;
                      type?: "NORMAL" | "SERVICE";
                  }[];
                  userSlugs?: readonly string[];
              }[];
          };
      }

      The request containing a list of the details of the restrictions to create.

    • Readonlyresponses: {
          "200": {
              content: {
                  "application/json": {
                      accessKeys?: readonly {
                          key?: {
                              algorithmType?: (...) | (...);
                              bitLength?: (...) | (...);
                              createdDate?: (...) | (...);
                              expiryDays?: (...) | (...);
                              fingerprint?: (...) | (...);
                              id?: (...) | (...);
                              label?: (...) | (...);
                              lastAuthenticated?: (...) | (...);
                              text?: (...) | (...);
                          };
                          permission?: | "ADMIN"
                          | "LICENSED_USER"
                          | "PROJECT_ADMIN"
                          | "PROJECT_CREATE"
                          | "PROJECT_READ"
                          | "PROJECT_VIEW"
                          | "PROJECT_WRITE"
                          | "REPO_ADMIN"
                          | "REPO_CREATE"
                          | "REPO_READ"
                          | "REPO_WRITE"
                          | "SYS_ADMIN"
                          | "USER_ADMIN";
                          project?: {
                              avatar?: (...)
                              | (...);
                              avatarUrl?: (...) | (...);
                              description?: (...) | (...);
                              id?: (...) | (...);
                              key: string;
                              links?: (...) | (...);
                              name?: (...) | (...);
                              public?: (...) | (...) | (...);
                              scope?: (...) | (...);
                              type?: (...) | (...) | (...);
                          };
                          repository?: {
                              archived?: (...)
                              | (...)
                              | (...);
                              defaultBranch?: (...) | (...);
                              description?: (...) | (...);
                              forkable?: (...) | (...) | (...);
                              hierarchyId?: (...) | (...);
                              id?: (...) | (...);
                              links?: (...) | (...);
                              name?: (...) | (...);
                              origin?: (...) | (...);
                              partition?: (...) | (...);
                              project?: (...) | (...);
                              public?: (...) | (...) | (...);
                              relatedLinks?: (...) | (...);
                              scmId?: (...) | (...);
                              scope?: (...) | (...);
                              slug?: (...) | (...);
                              state?: (...) | (...) | (...) | (...) | (...);
                              statusMessage?: (...) | (...);
                          };
                      }[];
                      groups?: readonly string[];
                      id?: number;
                      matcher?: {
                          displayId?: string;
                          id?: string;
                          type?: {
                              id?: | "BRANCH"
                              | "ANY_REF"
                              | "MODEL_BRANCH"
                              | "MODEL_CATEGORY"
                              | "PATTERN";
                              name?: string;
                          };
                      };
                      scope?: {
                          resourceId?: number;
                          type?: "GLOBAL"
                          | "PROJECT"
                          | "REPOSITORY";
                      };
                      type?: string;
                      users?: readonly {
                          active?: boolean;
                          avatarUrl?: string;
                          displayName?: string;
                          emailAddress?: string;
                          id?: number;
                          links?: Record<string, unknown>;
                          name?: string;
                          slug?: string;
                          type?: "NORMAL" | "SERVICE";
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "400": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "401": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
      }
      • Readonly200: {
            content: {
                "application/json": {
                    accessKeys?: readonly {
                        key?: {
                            algorithmType?: (...) | (...);
                            bitLength?: (...) | (...);
                            createdDate?: (...) | (...);
                            expiryDays?: (...) | (...);
                            fingerprint?: (...) | (...);
                            id?: (...) | (...);
                            label?: (...) | (...);
                            lastAuthenticated?: (...) | (...);
                            text?: (...) | (...);
                        };
                        permission?: | "ADMIN"
                        | "LICENSED_USER"
                        | "PROJECT_ADMIN"
                        | "PROJECT_CREATE"
                        | "PROJECT_READ"
                        | "PROJECT_VIEW"
                        | "PROJECT_WRITE"
                        | "REPO_ADMIN"
                        | "REPO_CREATE"
                        | "REPO_READ"
                        | "REPO_WRITE"
                        | "SYS_ADMIN"
                        | "USER_ADMIN";
                        project?: {
                            avatar?: (...)
                            | (...);
                            avatarUrl?: (...) | (...);
                            description?: (...) | (...);
                            id?: (...) | (...);
                            key: string;
                            links?: (...) | (...);
                            name?: (...) | (...);
                            public?: (...) | (...) | (...);
                            scope?: (...) | (...);
                            type?: (...) | (...) | (...);
                        };
                        repository?: {
                            archived?: (...)
                            | (...)
                            | (...);
                            defaultBranch?: (...) | (...);
                            description?: (...) | (...);
                            forkable?: (...) | (...) | (...);
                            hierarchyId?: (...) | (...);
                            id?: (...) | (...);
                            links?: (...) | (...);
                            name?: (...) | (...);
                            origin?: (...) | (...);
                            partition?: (...) | (...);
                            project?: (...) | (...);
                            public?: (...) | (...) | (...);
                            relatedLinks?: (...) | (...);
                            scmId?: (...) | (...);
                            scope?: (...) | (...);
                            slug?: (...) | (...);
                            state?: (...) | (...) | (...) | (...) | (...);
                            statusMessage?: (...) | (...);
                        };
                    }[];
                    groups?: readonly string[];
                    id?: number;
                    matcher?: {
                        displayId?: string;
                        id?: string;
                        type?: {
                            id?: | "BRANCH"
                            | "ANY_REF"
                            | "MODEL_BRANCH"
                            | "MODEL_CATEGORY"
                            | "PATTERN";
                            name?: string;
                        };
                    };
                    scope?: {
                        resourceId?: number;
                        type?: "GLOBAL"
                        | "PROJECT"
                        | "REPOSITORY";
                    };
                    type?: string;
                    users?: readonly {
                        active?: boolean;
                        avatarUrl?: string;
                        displayName?: string;
                        emailAddress?: string;
                        id?: number;
                        links?: Record<string, unknown>;
                        name?: string;
                        slug?: string;
                        type?: "NORMAL" | "SERVICE";
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        Response contains the ref restriction that was just created.

      • Readonly400: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The request has failed validation.

      • Readonly401: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The currently authenticated user has insufficient permissions to perform this operation.

    createRule: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string };
            query?: undefined;
        };
        requestBody: {
            content: {
                "*/*": { lineRegex?: string; name?: string; pathRegex?: string };
            };
        };
        responses: {
            "200": {
                content: {
                    "application/json": {
                        id?: number;
                        lineRegex?: string;
                        name?: string;
                        pathRegex?: string;
                        scope?: {
                            resourceId?: number;
                            type?: "GLOBAL"
                            | "PROJECT"
                            | "REPOSITORY";
                        };
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }

    Type declaration

    • Readonlyparameters: {
          cookie?: undefined;
          header?: undefined;
          path: { projectKey: string };
          query?: undefined;
      }
      • Optional Readonlycookie?: undefined
      • Optional Readonlyheader?: undefined
      • Readonlypath: { projectKey: string }
        • ReadonlyprojectKey: string

          The project key.

      • Optional Readonlyquery?: undefined
    • ReadonlyrequestBody: {
          content: {
              "*/*": { lineRegex?: string; name?: string; pathRegex?: string };
          };
      }

      Rule to create, either the line regular expression or the path regular expression must be present

    • Readonlyresponses: {
          "200": {
              content: {
                  "application/json": {
                      id?: number;
                      lineRegex?: string;
                      name?: string;
                      pathRegex?: string;
                      scope?: {
                          resourceId?: number;
                          type?: "GLOBAL" | "PROJECT" | "REPOSITORY";
                      };
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "400": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "401": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
      }
      • Readonly200: {
            content: {
                "application/json": {
                    id?: number;
                    lineRegex?: string;
                    name?: string;
                    pathRegex?: string;
                    scope?: {
                        resourceId?: number;
                        type?: "GLOBAL" | "PROJECT" | "REPOSITORY";
                    };
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The created rule

      • Readonly400: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The request did not contain a correctly formed rule. See returned error for more details

      • Readonly401: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The authenticated user is not permitted to create project rules.

    createRule_1: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string; repositorySlug: string };
            query?: undefined;
        };
        requestBody: {
            content: {
                "*/*": { lineRegex?: string; name?: string; pathRegex?: string };
            };
        };
        responses: {
            "200": {
                content: {
                    "application/json": {
                        id?: number;
                        lineRegex?: string;
                        name?: string;
                        pathRegex?: string;
                        scope?: {
                            resourceId?: number;
                            type?: "GLOBAL"
                            | "PROJECT"
                            | "REPOSITORY";
                        };
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }

    Type declaration

    • Readonlyparameters: {
          cookie?: undefined;
          header?: undefined;
          path: { projectKey: string; repositorySlug: string };
          query?: undefined;
      }
      • Optional Readonlycookie?: undefined
      • Optional Readonlyheader?: undefined
      • Readonlypath: { projectKey: string; repositorySlug: string }
        • ReadonlyprojectKey: string

          The project key.

        • ReadonlyrepositorySlug: string

          The repository slug.

      • Optional Readonlyquery?: undefined
    • ReadonlyrequestBody: {
          content: {
              "*/*": { lineRegex?: string; name?: string; pathRegex?: string };
          };
      }

      Rule to create, either the line regular expression or the path regular expression must be present

    • Readonlyresponses: {
          "200": {
              content: {
                  "application/json": {
                      id?: number;
                      lineRegex?: string;
                      name?: string;
                      pathRegex?: string;
                      scope?: {
                          resourceId?: number;
                          type?: "GLOBAL" | "PROJECT" | "REPOSITORY";
                      };
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "400": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "401": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
      }
      • Readonly200: {
            content: {
                "application/json": {
                    id?: number;
                    lineRegex?: string;
                    name?: string;
                    pathRegex?: string;
                    scope?: {
                        resourceId?: number;
                        type?: "GLOBAL" | "PROJECT" | "REPOSITORY";
                    };
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The created rule

      • Readonly400: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The request did not contain a correctly formed rule. See returned error for more details

      • Readonly401: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The authenticated user is not permitted to create repository rules

    createRule_2: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: undefined;
        };
        requestBody: {
            content: {
                "*/*": { lineRegex?: string; name?: string; pathRegex?: string };
            };
        };
        responses: {
            "200": {
                content: {
                    "application/json": {
                        id?: number;
                        lineRegex?: string;
                        name?: string;
                        pathRegex?: string;
                        scope?: {
                            resourceId?: number;
                            type?: "GLOBAL"
                            | "PROJECT"
                            | "REPOSITORY";
                        };
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }

    Type declaration

    • Readonlyparameters: { cookie?: undefined; header?: undefined; path?: undefined; query?: undefined }
    • ReadonlyrequestBody: {
          content: {
              "*/*": { lineRegex?: string; name?: string; pathRegex?: string };
          };
      }

      Rule to create, either the line regular expression or the path regular expression must be present

    • Readonlyresponses: {
          "200": {
              content: {
                  "application/json": {
                      id?: number;
                      lineRegex?: string;
                      name?: string;
                      pathRegex?: string;
                      scope?: {
                          resourceId?: number;
                          type?: "GLOBAL" | "PROJECT" | "REPOSITORY";
                      };
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "400": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "401": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
      }
      • Readonly200: {
            content: {
                "application/json": {
                    id?: number;
                    lineRegex?: string;
                    name?: string;
                    pathRegex?: string;
                    scope?: {
                        resourceId?: number;
                        type?: "GLOBAL" | "PROJECT" | "REPOSITORY";
                    };
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The created rule

      • Readonly400: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The request did not contain a correctly formed rule. See returned error for more details

      • Readonly401: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The authenticated user is not permitted to create global rules

    createTag: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string; repositorySlug: string };
            query?: undefined;
        };
        requestBody?: {
            content: {
                "application/json": {
                    force?: boolean;
                    message?: string;
                    name?: string;
                    startPoint?: string;
                    type?: "ANNOTATED"
                    | "LIGHTWEIGHT";
                };
            };
        };
        responses: {
            "201": {
                content: {
                    "application/json": {
                        displayId?: string;
                        hash?: string;
                        id?: string;
                        latestChangeset?: string;
                        latestCommit?: string;
                        type?: "BRANCH"
                        | "TAG";
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }

    Type declaration

    • Readonlyparameters: {
          cookie?: undefined;
          header?: undefined;
          path: { projectKey: string; repositorySlug: string };
          query?: undefined;
      }
      • Optional Readonlycookie?: undefined
      • Optional Readonlyheader?: undefined
      • Readonlypath: { projectKey: string; repositorySlug: string }
        • ReadonlyprojectKey: string

          The project key.

        • ReadonlyrepositorySlug: string

          The repository slug.

      • Optional Readonlyquery?: undefined
    • Optional ReadonlyrequestBody?: {
          content: {
              "application/json": {
                  force?: boolean;
                  message?: string;
                  name?: string;
                  startPoint?: string;
                  type?: "ANNOTATED" | "LIGHTWEIGHT";
              };
          };
      }

      The create git tag request.

    • Readonlyresponses: {
          "201": {
              content: {
                  "application/json": {
                      displayId?: string;
                      hash?: string;
                      id?: string;
                      latestChangeset?: string;
                      latestCommit?: string;
                      type?: "BRANCH" | "TAG";
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "400": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "401": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
      }
      • Readonly201: {
            content: {
                "application/json": {
                    displayId?: string;
                    hash?: string;
                    id?: string;
                    latestChangeset?: string;
                    latestCommit?: string;
                    type?: "BRANCH" | "TAG";
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        A JSON representation of the newly created tag.

      • Readonly400: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The tag was not created because the request was invalid, e.g. the provided ref name already existed in the repository, or was not a valid ref name in the repository, or the start point is invalid.

      • Readonly401: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The currently authenticated user has insufficient permissions to create a tag. This could be due to insufficient repository permissions.

    createTagForRepository: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string; repositorySlug: string };
            query?: undefined;
        };
        requestBody?: {
            content: {
                "application/json": {
                    message?: string;
                    name?: string;
                    startPoint?: string;
                };
            };
        };
        responses: {
            "200": {
                content: {
                    "application/json": {
                        displayId?: string;
                        hash?: string;
                        id?: string;
                        latestChangeset?: string;
                        latestCommit?: string;
                        type?: "BRANCH"
                        | "TAG";
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }

    Type declaration

    • Readonlyparameters: {
          cookie?: undefined;
          header?: undefined;
          path: { projectKey: string; repositorySlug: string };
          query?: undefined;
      }
      • Optional Readonlycookie?: undefined
      • Optional Readonlyheader?: undefined
      • Readonlypath: { projectKey: string; repositorySlug: string }
        • ReadonlyprojectKey: string

          The project key.

        • ReadonlyrepositorySlug: string

          The repository slug.

      • Optional Readonlyquery?: undefined
    • Optional ReadonlyrequestBody?: {
          content: {
              "application/json": {
                  message?: string;
                  name?: string;
                  startPoint?: string;
              };
          };
      }

      The request to create a tag containing a name, startPoint, and optionally a message

    • Readonlyresponses: {
          "200": {
              content: {
                  "application/json": {
                      displayId?: string;
                      hash?: string;
                      id?: string;
                      latestChangeset?: string;
                      latestCommit?: string;
                      type?: "BRANCH" | "TAG";
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "401": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "404": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
      }
      • Readonly200: {
            content: {
                "application/json": {
                    displayId?: string;
                    hash?: string;
                    id?: string;
                    latestChangeset?: string;
                    latestCommit?: string;
                    type?: "BRANCH" | "TAG";
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The created tag.

      • Readonly401: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The currently authenticated user has insufficient permissions to write to the repository.

      • Readonly404: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The specified repository does not exist.

    createUser: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query: {
                addToDefaultGroup?: boolean;
                displayName: string;
                emailAddress: string;
                name: string;
                notify?: boolean;
                password?: string;
            };
        };
        requestBody?: undefined;
        responses: {
            "204": {
                content?: undefined;
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "403": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "409": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    createWebhook: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string };
            query?: undefined;
        };
        requestBody?: {
            content: {
                "application/json": {
                    active?: boolean;
                    configuration?: Record<string, unknown>;
                    credentials?: { password?: string; username?: string };
                    events?: readonly string[];
                    name?: string;
                    scopeType?: string;
                    sslVerificationRequired?: boolean;
                    statistics?: Record<string, unknown>;
                    url?: string;
                };
            };
        };
        responses: {
            "200": {
                content: {
                    "application/json": {
                        active?: boolean;
                        configuration?: Record<string, unknown>;
                        credentials?: { password?: string; username?: string };
                        events?: readonly string[];
                        name?: string;
                        scopeType?: string;
                        sslVerificationRequired?: boolean;
                        statistics?: Record<string, unknown>;
                        url?: string;
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }

    Type declaration

    • Readonlyparameters: {
          cookie?: undefined;
          header?: undefined;
          path: { projectKey: string };
          query?: undefined;
      }
      • Optional Readonlycookie?: undefined
      • Optional Readonlyheader?: undefined
      • Readonlypath: { projectKey: string }
        • ReadonlyprojectKey: string

          The project key.

      • Optional Readonlyquery?: undefined
    • Optional ReadonlyrequestBody?: {
          content: {
              "application/json": {
                  active?: boolean;
                  configuration?: Record<string, unknown>;
                  credentials?: { password?: string; username?: string };
                  events?: readonly string[];
                  name?: string;
                  scopeType?: string;
                  sslVerificationRequired?: boolean;
                  statistics?: Record<string, unknown>;
                  url?: string;
              };
          };
      }

      The webhook to be created for this project.

    • Readonlyresponses: {
          "200": {
              content: {
                  "application/json": {
                      active?: boolean;
                      configuration?: Record<string, unknown>;
                      credentials?: { password?: string; username?: string };
                      events?: readonly string[];
                      name?: string;
                      scopeType?: string;
                      sslVerificationRequired?: boolean;
                      statistics?: Record<string, unknown>;
                      url?: string;
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "400": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "401": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "404": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
      }
      • Readonly200: {
            content: {
                "application/json": {
                    active?: boolean;
                    configuration?: Record<string, unknown>;
                    credentials?: { password?: string; username?: string };
                    events?: readonly string[];
                    name?: string;
                    scopeType?: string;
                    sslVerificationRequired?: boolean;
                    statistics?: Record<string, unknown>;
                    url?: string;
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        A created webhook.

      • Readonly400: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The webhook parameters were invalid or not supplied.

      • Readonly401: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The currently authenticated user has insufficient permissions to create webhooks in the project.

      • Readonly404: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The project does not exist.

    createWebhook_1: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string; repositorySlug: string };
            query?: undefined;
        };
        requestBody?: {
            content: {
                "application/json": {
                    active?: boolean;
                    configuration?: Record<string, unknown>;
                    credentials?: { password?: string; username?: string };
                    events?: readonly string[];
                    name?: string;
                    scopeType?: string;
                    sslVerificationRequired?: boolean;
                    statistics?: Record<string, unknown>;
                    url?: string;
                };
            };
        };
        responses: {
            "200": {
                content: {
                    "application/json": {
                        active?: boolean;
                        configuration?: Record<string, unknown>;
                        credentials?: { password?: string; username?: string };
                        events?: readonly string[];
                        name?: string;
                        scopeType?: string;
                        sslVerificationRequired?: boolean;
                        statistics?: Record<string, unknown>;
                        url?: string;
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }

    Type declaration

    • Readonlyparameters: {
          cookie?: undefined;
          header?: undefined;
          path: { projectKey: string; repositorySlug: string };
          query?: undefined;
      }
      • Optional Readonlycookie?: undefined
      • Optional Readonlyheader?: undefined
      • Readonlypath: { projectKey: string; repositorySlug: string }
        • ReadonlyprojectKey: string

          The project key.

        • ReadonlyrepositorySlug: string

          The repository slug.

      • Optional Readonlyquery?: undefined
    • Optional ReadonlyrequestBody?: {
          content: {
              "application/json": {
                  active?: boolean;
                  configuration?: Record<string, unknown>;
                  credentials?: { password?: string; username?: string };
                  events?: readonly string[];
                  name?: string;
                  scopeType?: string;
                  sslVerificationRequired?: boolean;
                  statistics?: Record<string, unknown>;
                  url?: string;
              };
          };
      }

      The webhook to be created for this repository.

    • Readonlyresponses: {
          "200": {
              content: {
                  "application/json": {
                      active?: boolean;
                      configuration?: Record<string, unknown>;
                      credentials?: { password?: string; username?: string };
                      events?: readonly string[];
                      name?: string;
                      scopeType?: string;
                      sslVerificationRequired?: boolean;
                      statistics?: Record<string, unknown>;
                      url?: string;
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "400": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "401": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "404": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
      }
      • Readonly200: {
            content: {
                "application/json": {
                    active?: boolean;
                    configuration?: Record<string, unknown>;
                    credentials?: { password?: string; username?: string };
                    events?: readonly string[];
                    name?: string;
                    scopeType?: string;
                    sslVerificationRequired?: boolean;
                    statistics?: Record<string, unknown>;
                    url?: string;
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        A created webhook.

      • Readonly400: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The webhook parameters were invalid or not supplied.

      • Readonly401: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The currently authenticated user has insufficient permissions to create webhooks in the repository.

      • Readonly404: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The repository does not exist.

    decline: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: {
                projectKey: string;
                pullRequestId: string;
                repositorySlug: string;
            };
            query?: { version?: string };
        };
        requestBody?: {
            content: { "application/json": { comment?: string; version?: number } };
        };
        responses: {
            "200": {
                content: {
                    "application/json": {
                        closed?: boolean;
                        closedDate?: number;
                        createdDate?: number;
                        description?: string;
                        descriptionAsHtml?: string;
                        draft?: boolean;
                        fromRef?: {
                            displayId?: string;
                            id?: string;
                            latestCommit?: string;
                            repository?: {
                                archived?: boolean;
                                defaultBranch?: string;
                                description?: string;
                                forkable?: boolean;
                                hierarchyId?: string;
                                id?: number;
                                links?: Record<(...), (...)>;
                                name?: string;
                                origin?: {
                                    archived?: ...;
                                    defaultBranch?: ...;
                                    description?: ...;
                                    forkable?: ...;
                                    hierarchyId?: ...;
                                    id?: ...;
                                    links?: ...;
                                    name?: ...;
                                    partition?: ...;
                                    project?: ...;
                                    public?: ...;
                                    relatedLinks?: ...;
                                    scmId?: ...;
                                    scope?: ...;
                                    slug?: ...;
                                    state?: ...;
                                    statusMessage?: ...;
                                };
                                partition?: number;
                                project?: {
                                    avatar?: ...;
                                    avatarUrl?: ...;
                                    description?: ...;
                                    id?: ...;
                                    key: ...;
                                    links?: ...;
                                    name?: ...;
                                    public?: ...;
                                    scope?: ...;
                                    type?: ...;
                                };
                                public?: boolean;
                                relatedLinks?: Record<(...), (...)>;
                                scmId?: string;
                                scope?: string;
                                slug?: string;
                                state?:
                                    | "AVAILABLE"
                                    | "INITIALISATION_FAILED"
                                    | "INITIALISING"
                                    | "OFFLINE";
                                statusMessage?: string;
                            };
                            type?: "BRANCH"
                            | "TAG";
                        };
                        htmlDescription?: string;
                        id?: number;
                        links?: Record<string, unknown>;
                        locked?: boolean;
                        open?: boolean;
                        participants?: readonly {
                            approved?: boolean;
                            lastReviewedCommit?: string;
                            role?: "PARTICIPANT" | "REVIEWER" | "AUTHOR";
                            status?: "APPROVED" | "NEEDS_WORK" | "UNAPPROVED";
                            user?: {
                                active?: (...) | (...) | (...);
                                avatarUrl?: (...) | (...);
                                displayName?: (...) | (...);
                                emailAddress?: (...) | (...);
                                id?: (...) | (...);
                                links?: (...) | (...);
                                name?: (...) | (...);
                                slug?: (...) | (...);
                                type?: (...) | (...) | (...);
                            };
                        }[];
                        reviewers?: readonly {
                            approved?: boolean;
                            lastReviewedCommit?: string;
                            role?: "PARTICIPANT"
                            | "REVIEWER"
                            | "AUTHOR";
                            status?: "APPROVED" | "NEEDS_WORK" | "UNAPPROVED";
                            user?: {
                                active?: (...) | (...) | (...);
                                avatarUrl?: (...) | (...);
                                displayName?: (...) | (...);
                                emailAddress?: (...) | (...);
                                id?: (...) | (...);
                                links?: (...) | (...);
                                name?: (...) | (...);
                                slug?: (...) | (...);
                                type?: (...) | (...) | (...);
                            };
                        }[];
                        state?: "DECLINED"
                        | "MERGED"
                        | "OPEN";
                        title?: string;
                        toRef?: {
                            displayId?: string;
                            id?: string;
                            latestCommit?: string;
                            repository?: {
                                archived?: boolean;
                                defaultBranch?: string;
                                description?: string;
                                forkable?: boolean;
                                hierarchyId?: string;
                                id?: number;
                                links?: Record<(...), (...)>;
                                name?: string;
                                origin?: {
                                    archived?: ...;
                                    defaultBranch?: ...;
                                    description?: ...;
                                    forkable?: ...;
                                    hierarchyId?: ...;
                                    id?: ...;
                                    links?: ...;
                                    name?: ...;
                                    partition?: ...;
                                    project?: ...;
                                    public?: ...;
                                    relatedLinks?: ...;
                                    scmId?: ...;
                                    scope?: ...;
                                    slug?: ...;
                                    state?: ...;
                                    statusMessage?: ...;
                                };
                                partition?: number;
                                project?: {
                                    avatar?: ...;
                                    avatarUrl?: ...;
                                    description?: ...;
                                    id?: ...;
                                    key: ...;
                                    links?: ...;
                                    name?: ...;
                                    public?: ...;
                                    scope?: ...;
                                    type?: ...;
                                };
                                public?: boolean;
                                relatedLinks?: Record<(...), (...)>;
                                scmId?: string;
                                scope?: string;
                                slug?: string;
                                state?:
                                    | "AVAILABLE"
                                    | "INITIALISATION_FAILED"
                                    | "INITIALISING"
                                    | "OFFLINE";
                                statusMessage?: string;
                            };
                            type?: "BRANCH"
                            | "TAG";
                        };
                        updatedDate?: number;
                        version?: number;
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "409": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }

    Type declaration

    • Readonlyparameters: {
          cookie?: undefined;
          header?: undefined;
          path: { projectKey: string; pullRequestId: string; repositorySlug: string };
          query?: { version?: string };
      }
      • Optional Readonlycookie?: undefined
      • Optional Readonlyheader?: undefined
      • Readonlypath: { projectKey: string; pullRequestId: string; repositorySlug: string }
        • ReadonlyprojectKey: string

          The project key.

        • ReadonlypullRequestId: string

          The pullrequest ID provided by the path

        • ReadonlyrepositorySlug: string

          The repository slug.

      • Optional Readonlyquery?: { version?: string }
        • Optional Readonlyversion?: string

          The current version of the pull request. If the server's version isn't the same as the specified version the operation will fail. To determine the current version of the pull request it should be fetched from the server prior to this operation. Look for the 'version' attribute in the returned JSON structure.

    • Optional ReadonlyrequestBody?: { content: { "application/json": { comment?: string; version?: number } } }

      Optional body

    • Readonlyresponses: {
          "200": {
              content: {
                  "application/json": {
                      closed?: boolean;
                      closedDate?: number;
                      createdDate?: number;
                      description?: string;
                      descriptionAsHtml?: string;
                      draft?: boolean;
                      fromRef?: {
                          displayId?: string;
                          id?: string;
                          latestCommit?: string;
                          repository?: {
                              archived?: boolean;
                              defaultBranch?: string;
                              description?: string;
                              forkable?: boolean;
                              hierarchyId?: string;
                              id?: number;
                              links?: Record<(...), (...)>;
                              name?: string;
                              origin?: {
                                  archived?: ...;
                                  defaultBranch?: ...;
                                  description?: ...;
                                  forkable?: ...;
                                  hierarchyId?: ...;
                                  id?: ...;
                                  links?: ...;
                                  name?: ...;
                                  partition?: ...;
                                  project?: ...;
                                  public?: ...;
                                  relatedLinks?: ...;
                                  scmId?: ...;
                                  scope?: ...;
                                  slug?: ...;
                                  state?: ...;
                                  statusMessage?: ...;
                              };
                              partition?: number;
                              project?: {
                                  avatar?: ...;
                                  avatarUrl?: ...;
                                  description?: ...;
                                  id?: ...;
                                  key: ...;
                                  links?: ...;
                                  name?: ...;
                                  public?: ...;
                                  scope?: ...;
                                  type?: ...;
                              };
                              public?: boolean;
                              relatedLinks?: Record<(...), (...)>;
                              scmId?: string;
                              scope?: string;
                              slug?: string;
                              state?:
                                  | "AVAILABLE"
                                  | "INITIALISATION_FAILED"
                                  | "INITIALISING"
                                  | "OFFLINE";
                              statusMessage?: string;
                          };
                          type?: "BRANCH"
                          | "TAG";
                      };
                      htmlDescription?: string;
                      id?: number;
                      links?: Record<string, unknown>;
                      locked?: boolean;
                      open?: boolean;
                      participants?: readonly {
                          approved?: boolean;
                          lastReviewedCommit?: string;
                          role?: "PARTICIPANT" | "REVIEWER" | "AUTHOR";
                          status?: "APPROVED" | "NEEDS_WORK" | "UNAPPROVED";
                          user?: {
                              active?: (...) | (...) | (...);
                              avatarUrl?: (...) | (...);
                              displayName?: (...) | (...);
                              emailAddress?: (...) | (...);
                              id?: (...) | (...);
                              links?: (...) | (...);
                              name?: (...) | (...);
                              slug?: (...) | (...);
                              type?: (...) | (...) | (...);
                          };
                      }[];
                      reviewers?: readonly {
                          approved?: boolean;
                          lastReviewedCommit?: string;
                          role?: "PARTICIPANT"
                          | "REVIEWER"
                          | "AUTHOR";
                          status?: "APPROVED" | "NEEDS_WORK" | "UNAPPROVED";
                          user?: {
                              active?: (...) | (...) | (...);
                              avatarUrl?: (...) | (...);
                              displayName?: (...) | (...);
                              emailAddress?: (...) | (...);
                              id?: (...) | (...);
                              links?: (...) | (...);
                              name?: (...) | (...);
                              slug?: (...) | (...);
                              type?: (...) | (...) | (...);
                          };
                      }[];
                      state?: "DECLINED"
                      | "MERGED"
                      | "OPEN";
                      title?: string;
                      toRef?: {
                          displayId?: string;
                          id?: string;
                          latestCommit?: string;
                          repository?: {
                              archived?: boolean;
                              defaultBranch?: string;
                              description?: string;
                              forkable?: boolean;
                              hierarchyId?: string;
                              id?: number;
                              links?: Record<(...), (...)>;
                              name?: string;
                              origin?: {
                                  archived?: ...;
                                  defaultBranch?: ...;
                                  description?: ...;
                                  forkable?: ...;
                                  hierarchyId?: ...;
                                  id?: ...;
                                  links?: ...;
                                  name?: ...;
                                  partition?: ...;
                                  project?: ...;
                                  public?: ...;
                                  relatedLinks?: ...;
                                  scmId?: ...;
                                  scope?: ...;
                                  slug?: ...;
                                  state?: ...;
                                  statusMessage?: ...;
                              };
                              partition?: number;
                              project?: {
                                  avatar?: ...;
                                  avatarUrl?: ...;
                                  description?: ...;
                                  id?: ...;
                                  key: ...;
                                  links?: ...;
                                  name?: ...;
                                  public?: ...;
                                  scope?: ...;
                                  type?: ...;
                              };
                              public?: boolean;
                              relatedLinks?: Record<(...), (...)>;
                              scmId?: string;
                              scope?: string;
                              slug?: string;
                              state?:
                                  | "AVAILABLE"
                                  | "INITIALISATION_FAILED"
                                  | "INITIALISING"
                                  | "OFFLINE";
                              statusMessage?: string;
                          };
                          type?: "BRANCH"
                          | "TAG";
                      };
                      updatedDate?: number;
                      version?: number;
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "401": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "404": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "409": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
      }
      • Readonly200: {
            content: {
                "application/json": {
                    closed?: boolean;
                    closedDate?: number;
                    createdDate?: number;
                    description?: string;
                    descriptionAsHtml?: string;
                    draft?: boolean;
                    fromRef?: {
                        displayId?: string;
                        id?: string;
                        latestCommit?: string;
                        repository?: {
                            archived?: boolean;
                            defaultBranch?: string;
                            description?: string;
                            forkable?: boolean;
                            hierarchyId?: string;
                            id?: number;
                            links?: Record<(...), (...)>;
                            name?: string;
                            origin?: {
                                archived?: ...;
                                defaultBranch?: ...;
                                description?: ...;
                                forkable?: ...;
                                hierarchyId?: ...;
                                id?: ...;
                                links?: ...;
                                name?: ...;
                                partition?: ...;
                                project?: ...;
                                public?: ...;
                                relatedLinks?: ...;
                                scmId?: ...;
                                scope?: ...;
                                slug?: ...;
                                state?: ...;
                                statusMessage?: ...;
                            };
                            partition?: number;
                            project?: {
                                avatar?: ...;
                                avatarUrl?: ...;
                                description?: ...;
                                id?: ...;
                                key: ...;
                                links?: ...;
                                name?: ...;
                                public?: ...;
                                scope?: ...;
                                type?: ...;
                            };
                            public?: boolean;
                            relatedLinks?: Record<(...), (...)>;
                            scmId?: string;
                            scope?: string;
                            slug?: string;
                            state?:
                                | "AVAILABLE"
                                | "INITIALISATION_FAILED"
                                | "INITIALISING"
                                | "OFFLINE";
                            statusMessage?: string;
                        };
                        type?: "BRANCH"
                        | "TAG";
                    };
                    htmlDescription?: string;
                    id?: number;
                    links?: Record<string, unknown>;
                    locked?: boolean;
                    open?: boolean;
                    participants?: readonly {
                        approved?: boolean;
                        lastReviewedCommit?: string;
                        role?: "PARTICIPANT" | "REVIEWER" | "AUTHOR";
                        status?: "APPROVED" | "NEEDS_WORK" | "UNAPPROVED";
                        user?: {
                            active?: (...) | (...) | (...);
                            avatarUrl?: (...) | (...);
                            displayName?: (...) | (...);
                            emailAddress?: (...) | (...);
                            id?: (...) | (...);
                            links?: (...) | (...);
                            name?: (...) | (...);
                            slug?: (...) | (...);
                            type?: (...) | (...) | (...);
                        };
                    }[];
                    reviewers?: readonly {
                        approved?: boolean;
                        lastReviewedCommit?: string;
                        role?: "PARTICIPANT"
                        | "REVIEWER"
                        | "AUTHOR";
                        status?: "APPROVED" | "NEEDS_WORK" | "UNAPPROVED";
                        user?: {
                            active?: (...) | (...) | (...);
                            avatarUrl?: (...) | (...);
                            displayName?: (...) | (...);
                            emailAddress?: (...) | (...);
                            id?: (...) | (...);
                            links?: (...) | (...);
                            name?: (...) | (...);
                            slug?: (...) | (...);
                            type?: (...) | (...) | (...);
                        };
                    }[];
                    state?: "DECLINED"
                    | "MERGED"
                    | "OPEN";
                    title?: string;
                    toRef?: {
                        displayId?: string;
                        id?: string;
                        latestCommit?: string;
                        repository?: {
                            archived?: boolean;
                            defaultBranch?: string;
                            description?: string;
                            forkable?: boolean;
                            hierarchyId?: string;
                            id?: number;
                            links?: Record<(...), (...)>;
                            name?: string;
                            origin?: {
                                archived?: ...;
                                defaultBranch?: ...;
                                description?: ...;
                                forkable?: ...;
                                hierarchyId?: ...;
                                id?: ...;
                                links?: ...;
                                name?: ...;
                                partition?: ...;
                                project?: ...;
                                public?: ...;
                                relatedLinks?: ...;
                                scmId?: ...;
                                scope?: ...;
                                slug?: ...;
                                state?: ...;
                                statusMessage?: ...;
                            };
                            partition?: number;
                            project?: {
                                avatar?: ...;
                                avatarUrl?: ...;
                                description?: ...;
                                id?: ...;
                                key: ...;
                                links?: ...;
                                name?: ...;
                                public?: ...;
                                scope?: ...;
                                type?: ...;
                            };
                            public?: boolean;
                            relatedLinks?: Record<(...), (...)>;
                            scmId?: string;
                            scope?: string;
                            slug?: string;
                            state?:
                                | "AVAILABLE"
                                | "INITIALISATION_FAILED"
                                | "INITIALISING"
                                | "OFFLINE";
                            statusMessage?: string;
                        };
                        type?: "BRANCH"
                        | "TAG";
                    };
                    updatedDate?: number;
                    version?: number;
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The pull request was declined.

      • Readonly401: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The currently authenticated user has insufficient permissions to view the pull request.

      • Readonly404: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The specified repository or pull request does not exist.

      • Readonly409: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The pull request is not OPEN or has been updated since the version specified by the request.

    delete: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { commitId: string; projectKey: string; repositorySlug: string };
            query?: { key?: string };
        };
        requestBody?: undefined;
        responses: {
            "204": {
                content?: undefined;
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    delete_1: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { commitId: string; projectKey: string; repositorySlug: string };
            query?: {
                deploymentSequenceNumber?: string;
                environmentKey?: string;
                key?: string;
            };
        };
        requestBody?: undefined;
        responses: {
            "204": {
                content?: undefined;
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    delete_2: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { id: number };
            query?: { force?: boolean };
        };
        requestBody?: undefined;
        responses: {
            default: {
                content: { "application/json;charset=UTF-8": unknown };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    delete_3: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: {
                projectKey: string;
                pullRequestId: string;
                repositorySlug: string;
            };
            query?: undefined;
        };
        requestBody?: { content: { "application/json": { version?: number } } };
        responses: {
            "204": {
                content?: undefined;
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "409": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }

    Type declaration

    • Readonlyparameters: {
          cookie?: undefined;
          header?: undefined;
          path: { projectKey: string; pullRequestId: string; repositorySlug: string };
          query?: undefined;
      }
      • Optional Readonlycookie?: undefined
      • Optional Readonlyheader?: undefined
      • Readonlypath: { projectKey: string; pullRequestId: string; repositorySlug: string }
        • ReadonlyprojectKey: string

          The project key.

        • ReadonlypullRequestId: string

          The ID of the pull request within the repository

        • ReadonlyrepositorySlug: string

          The repository slug.

      • Optional Readonlyquery?: undefined
    • Optional ReadonlyrequestBody?: { content: { "application/json": { version?: number } } }

      A body containing the version of the pull request

    • Readonlyresponses: {
          "204": {
              content?: undefined;
              headers: Readonly<Record<string, unknown>>;
          };
          "401": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "404": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "409": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
      }
      • Readonly204: { content?: undefined; headers: Readonly<Record<string, unknown>> }

        The pull request was deleted.

      • Readonly401: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The currently authenticated user has insufficient permissions to view the specified pull request.

      • Readonly404: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The specified repository or pull request does not exist.

      • Readonly409: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        Deleting pull requests isn't supported on archived repositories.

    delete_4: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "204": {
                content?: undefined;
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    delete_5: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string; repositorySlug: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "204": {
                content?: undefined;
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "403": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    delete_6: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { id: string; projectKey: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "204": {
                content?: undefined;
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    delete_7: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { id: string; projectKey: string; repositorySlug: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "204": {
                content?: undefined;
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    delete_8: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { userSlug: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "204": {
                content?: undefined;
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    delete_9: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string };
            query: { componentKey?: string; featureKey: string; namespace: string };
        };
        requestBody?: undefined;
        responses: {
            "204": {
                content?: undefined;
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    deleteACodeInsightsReport: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: {
                commitId: string;
                key: string;
                projectKey: string;
                repositorySlug: string;
            };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "204": {
                content?: undefined;
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    deleteAllDefaultTasks: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "204": {
                content?: undefined;
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    deleteAllDefaultTasks_1: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string; repositorySlug: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "204": {
                content?: undefined;
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    deleteAllowlistRule: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { id: string; projectKey: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "204": {
                content?: undefined;
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    deleteAllowlistRule_1: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { id: string; projectKey: string; repositorySlug: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "204": {
                content?: undefined;
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    deleteAnnotations: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: {
                commitId: string;
                key: string;
                projectKey: string;
                repositorySlug: string;
            };
            query?: { externalId?: string };
        };
        requestBody?: undefined;
        responses: {
            "204": {
                content?: undefined;
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    deleteAttachment: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { attachmentId: string; projectKey: string; repositorySlug: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "204": {
                content?: undefined;
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    deleteAttachmentMetadata: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { attachmentId: string; projectKey: string; repositorySlug: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "204": {
                content?: undefined;
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    deleteAutoDeclineSettings: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "204": {
                content?: undefined;
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    deleteAutoDeclineSettings_1: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string; repositorySlug: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "204": {
                content?: undefined;
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    deleteAvatar: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { userSlug: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: { "application/json": { href?: string; name?: string } };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    deleteBanner: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "204": {
                content?: undefined;
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    deleteBranch: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string; repositorySlug: string };
            query?: undefined;
        };
        requestBody?: {
            content: {
                "application/json": {
                    dryRun?: boolean;
                    endPoint?: string;
                    name?: string;
                };
            };
        };
        responses: {
            "204": {
                content?: undefined;
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }

    Type declaration

    • Readonlyparameters: {
          cookie?: undefined;
          header?: undefined;
          path: { projectKey: string; repositorySlug: string };
          query?: undefined;
      }
      • Optional Readonlycookie?: undefined
      • Optional Readonlyheader?: undefined
      • Readonlypath: { projectKey: string; repositorySlug: string }
        • ReadonlyprojectKey: string

          The project key.

        • ReadonlyrepositorySlug: string

          The repository slug.

      • Optional Readonlyquery?: undefined
    • Optional ReadonlyrequestBody?: {
          content: {
              "application/json": {
                  dryRun?: boolean;
                  endPoint?: string;
                  name?: string;
              };
          };
      }

      Branch delete request

    • Readonlyresponses: {
          "204": {
              content?: undefined;
              headers: Readonly<Record<string, unknown>>;
          };
          "400": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "401": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
      }
      • Readonly204: { content?: undefined; headers: Readonly<Record<string, unknown>> }

        An empty response indicating that the branch no longer exists in the repository

      • Readonly400: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The branch was not deleted because the request was invalid, e.g. no ref name to delete was provided, or the provided ref name points to the default branch in the repository that cannot be deleted

      • Readonly401: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The currently authenticated user has insufficient permissions to delete a branch. This could be due to insufficient repository permissions, or lack of branch permission for the provided ref name.

    deleteById: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string; tokenId: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "204": {
                content?: undefined;
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    deleteById_1: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string; repositorySlug: string; tokenId: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "204": {
                content?: undefined;
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    deleteById_2: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { tokenId: string; userSlug: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "204": {
                content?: undefined;
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    deleteCertificate: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { id: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "204": {
                content: { "application/json": { fingerprint?: string; id?: number } };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    deleteComment: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: {
                commentId: string;
                commitId: string;
                projectKey: string;
                repositorySlug: string;
            };
            query?: { version?: string };
        };
        requestBody?: undefined;
        responses: {
            "204": {
                content?: undefined;
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "409": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    deleteComment_1: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: {
                commentId: string;
                projectKey: string;
                pullRequestId: string;
                repositorySlug: string;
            };
            query?: { version?: string };
        };
        requestBody?: undefined;
        responses: {
            "204": {
                content?: undefined;
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "409": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    deleteComment_2: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: {
                commentId: string;
                projectKey: string;
                pullRequestId: string;
                repositorySlug: string;
            };
            query?: { version?: string };
        };
        requestBody?: undefined;
        responses: {
            "204": {
                content?: undefined;
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "409": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    deleteDefaultTask: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string; taskId: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "204": {
                content?: undefined;
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    deleteDefaultTask_1: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string; repositorySlug: string; taskId: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "204": {
                content?: undefined;
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    deleteExemptRepo: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "204": {
                content?: undefined;
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    deleteForUser: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: { user?: string };
        };
        requestBody?: undefined;
        responses: {
            "204": {
                content?: undefined;
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    deleteGroup: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query: { name: string };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": { deletable?: boolean; name?: string };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "403": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "409": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    deleteHookScript: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { scriptId: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "204": {
                content?: undefined;
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    deleteKey: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { fingerprintOrId: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "204": {
                content?: undefined;
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    deleteMailConfig: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "204": {
                content?: undefined;
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    deleteMirroringRequest: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { mirroringRequestId: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "204": {
                content?: undefined;
                headers: Readonly<Record<string, unknown>>;
            };
            "409": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    deletePreferredMirrorId: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "204": {
                content?: undefined;
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    deleteProject: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "204": {
                content?: undefined;
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "409": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    deletePullRequestCondition: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { id: string; projectKey: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "204": {
                content?: undefined;
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    deletePullRequestCondition_1: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { id: number; projectKey: string; repositorySlug: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "204": {
                content?: undefined;
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    deleteRepository: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string; repositorySlug: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "202": {
                content: { "application/json": unknown };
                headers: Readonly<Record<string, unknown>>;
            };
            "204": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    deleteRepositoryHook: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { hookKey: string; projectKey: string; repositorySlug: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "204": {
                content?: undefined;
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    deleteRequiredBuildsMergeCheck: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { id: number; projectKey: string; repositorySlug: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "204": {
                content?: undefined;
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    deleteRestriction: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { id: string; projectKey: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "204": {
                content?: undefined;
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    deleteRestriction_1: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { id: string; projectKey: string; repositorySlug: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "204": {
                content?: undefined;
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    deleteRule: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { id: string; projectKey: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "204": {
                content?: undefined;
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    deleteRule_1: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { id: string; projectKey: string; repositorySlug: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "204": {
                content?: undefined;
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    deleteRule_2: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { id: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "204": {
                content?: undefined;
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    deleteSshKey: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { keyId: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "204": {
                content?: undefined;
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    deleteSshKeys: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: { user?: string; userName?: string };
        };
        requestBody?: undefined;
        responses: {
            "204": {
                content?: undefined;
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    deleteTag: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { name: string; projectKey: string; repositorySlug: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "204": {
                content?: undefined;
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    deleteUser: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query: { name: string };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        active?: boolean;
                        avatarUrl?: string;
                        deletable?: boolean;
                        directoryName?: string;
                        displayName?: string;
                        emailAddress?: string;
                        id?: number;
                        lastAuthenticationTimestamp?: number;
                        links?: Record<string, unknown>;
                        mutableDetails?: boolean;
                        mutableGroups?: boolean;
                        name?: string;
                        slug?: string;
                        type?: "NORMAL" | "SERVICE";
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "403": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "409": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    deleteWebhook: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string; webhookId: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "204": {
                content?: undefined;
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    deleteWebhook_1: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string; repositorySlug: string; webhookId: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "204": {
                content?: undefined;
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    disableHook: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { hookKey: string; projectKey: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        configured?: boolean;
                        details?: {
                            configFormKey?: string;
                            description?: string;
                            key?: string;
                            name?: string;
                            supportedScopes?: readonly ("GLOBAL" | "PROJECT" | "REPOSITORY")[];
                            type?: "POST_RECEIVE" | "PRE_PULL_REQUEST_MERGE" | "PRE_RECEIVE";
                            version?: string;
                        };
                        enabled?: boolean;
                        scope?: {
                            resourceId?: number;
                            type?: "GLOBAL"
                            | "PROJECT"
                            | "REPOSITORY";
                        };
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    disableHook_1: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { hookKey: string; projectKey: string; repositorySlug: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        configured?: boolean;
                        details?: {
                            configFormKey?: string;
                            description?: string;
                            key?: string;
                            name?: string;
                            supportedScopes?: readonly ("GLOBAL" | "PROJECT" | "REPOSITORY")[];
                            type?: "POST_RECEIVE" | "PRE_PULL_REQUEST_MERGE" | "PRE_RECEIVE";
                            version?: string;
                        };
                        enabled?: boolean;
                        scope?: {
                            resourceId?: number;
                            type?: "GLOBAL"
                            | "PROJECT"
                            | "REPOSITORY";
                        };
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    discardReview: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: {
                projectKey: string;
                pullRequestId: string;
                repositorySlug: string;
            };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "204": {
                content?: undefined;
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    dismissRetentionConfigReviewNotification: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: { "application/json": unknown };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    editAllowlistRule: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { id: string; projectKey: string };
            query?: undefined;
        };
        requestBody: {
            content: {
                "*/*": { lineRegex?: string; name?: string; pathRegex?: string };
            };
        };
        responses: {
            "200": {
                content: {
                    "application/json": {
                        id?: number;
                        lineRegex?: string;
                        name?: string;
                        pathRegex?: string;
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    editAllowlistRule_1: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { id: string; projectKey: string; repositorySlug: string };
            query?: undefined;
        };
        requestBody: {
            content: {
                "*/*": { lineRegex?: string; name?: string; pathRegex?: string };
            };
        };
        responses: {
            "200": {
                content: {
                    "application/json": {
                        id?: number;
                        lineRegex?: string;
                        name?: string;
                        pathRegex?: string;
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    editFile: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { path: string; projectKey: string; repositorySlug: string };
            query?: undefined;
        };
        requestBody?: {
            content: {
                "multipart/form-data": {
                    branch?: string;
                    content?: string;
                    message?: string;
                    sourceBranch?: string;
                    sourceCommitId?: string;
                };
            };
        };
        responses: {
            "200": {
                content: {
                    "application/json": {
                        author?: {
                            avatarUrl?: string;
                            emailAddress?: string;
                            name?: string;
                        };
                        authorTimestamp?: number;
                        committer?: {
                            avatarUrl?: string;
                            emailAddress?: string;
                            name?: string;
                        };
                        committerTimestamp?: number;
                        displayId?: string;
                        id?: string;
                        message?: string;
                        parents?: readonly { displayId?: string; id?: string }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "403": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "409": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }

    Type declaration

    • Readonlyparameters: {
          cookie?: undefined;
          header?: undefined;
          path: { path: string; projectKey: string; repositorySlug: string };
          query?: undefined;
      }
      • Optional Readonlycookie?: undefined
      • Optional Readonlyheader?: undefined
      • Readonlypath: { path: string; projectKey: string; repositorySlug: string }
        • Readonlypath: string

          The path of the file that is to be modified or created

        • ReadonlyprojectKey: string

          The project key.

        • ReadonlyrepositorySlug: string

          The repository slug.

      • Optional Readonlyquery?: undefined
    • Optional ReadonlyrequestBody?: {
          content: {
              "multipart/form-data": {
                  branch?: string;
                  content?: string;
                  message?: string;
                  sourceBranch?: string;
                  sourceCommitId?: string;
              };
          };
      }

      The multipart form data containing the file

    • Readonlyresponses: {
          "200": {
              content: {
                  "application/json": {
                      author?: { avatarUrl?: string; emailAddress?: string; name?: string };
                      authorTimestamp?: number;
                      committer?: { avatarUrl?: string; emailAddress?: string; name?: string };
                      committerTimestamp?: number;
                      displayId?: string;
                      id?: string;
                      message?: string;
                      parents?: readonly { displayId?: string; id?: string }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "400": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "401": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "403": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "404": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "409": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
      }
      • Readonly200: {
            content: {
                "application/json": {
                    author?: { avatarUrl?: string; emailAddress?: string; name?: string };
                    authorTimestamp?: number;
                    committer?: { avatarUrl?: string; emailAddress?: string; name?: string };
                    committerTimestamp?: number;
                    displayId?: string;
                    id?: string;
                    message?: string;
                    parents?: readonly { displayId?: string; id?: string }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The newly created commit.

      • Readonly400: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        There are validation errors, e.g. The branch or content parameters were not supplied.

      • Readonly401: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The currently authenticated user does not have write permission for the given repository.

      • Readonly403: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The request was authenticated using a project or repository access token, which does not have a valid user associated with it

      • Readonly404: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The repository does not exist.

      • Readonly409: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The file already exists when trying to create a file, or the given content does not modify the file, or the file has changed since the given sourceCommitId, or the repository is archived.

    editRule: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { id: string; projectKey: string };
            query?: undefined;
        };
        requestBody: {
            content: {
                "*/*": { lineRegex?: string; name?: string; pathRegex?: string };
            };
        };
        responses: {
            "200": {
                content: {
                    "application/json": {
                        id?: number;
                        lineRegex?: string;
                        name?: string;
                        pathRegex?: string;
                        scope?: {
                            resourceId?: number;
                            type?: "GLOBAL"
                            | "PROJECT"
                            | "REPOSITORY";
                        };
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    editRule_1: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { id: string; projectKey: string; repositorySlug: string };
            query?: undefined;
        };
        requestBody: {
            content: {
                "*/*": { lineRegex?: string; name?: string; pathRegex?: string };
            };
        };
        responses: {
            "200": {
                content: {
                    "application/json": {
                        id?: number;
                        lineRegex?: string;
                        name?: string;
                        pathRegex?: string;
                        scope?: {
                            resourceId?: number;
                            type?: "GLOBAL"
                            | "PROJECT"
                            | "REPOSITORY";
                        };
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    editRule_2: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { id: string };
            query?: undefined;
        };
        requestBody: {
            content: {
                "*/*": { lineRegex?: string; name?: string; pathRegex?: string };
            };
        };
        responses: {
            "200": {
                content: {
                    "application/json": {
                        id?: number;
                        lineRegex?: string;
                        name?: string;
                        pathRegex?: string;
                        scope?: {
                            resourceId?: number;
                            type?: "GLOBAL"
                            | "PROJECT"
                            | "REPOSITORY";
                        };
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    enableHook: {
        parameters: {
            cookie?: undefined;
            header?: { "Content-Length"?: number };
            path: { hookKey: string; projectKey: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        configured?: boolean;
                        details?: {
                            configFormKey?: string;
                            description?: string;
                            key?: string;
                            name?: string;
                            supportedScopes?: readonly ("GLOBAL" | "PROJECT" | "REPOSITORY")[];
                            type?: "POST_RECEIVE" | "PRE_PULL_REQUEST_MERGE" | "PRE_RECEIVE";
                            version?: string;
                        };
                        enabled?: boolean;
                        scope?: {
                            resourceId?: number;
                            type?: "GLOBAL"
                            | "PROJECT"
                            | "REPOSITORY";
                        };
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    enableHook_1: {
        parameters: {
            cookie?: undefined;
            header?: { "Content-Length"?: string };
            path: { hookKey: string; projectKey: string; repositorySlug: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        configured?: boolean;
                        details?: {
                            configFormKey?: string;
                            description?: string;
                            key?: string;
                            name?: string;
                            supportedScopes?: readonly ("GLOBAL" | "PROJECT" | "REPOSITORY")[];
                            type?: "POST_RECEIVE" | "PRE_PULL_REQUEST_MERGE" | "PRE_RECEIVE";
                            version?: string;
                        };
                        enabled?: boolean;
                        scope?: {
                            resourceId?: number;
                            type?: "GLOBAL"
                            | "PROJECT"
                            | "REPOSITORY";
                        };
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    endRollingUpgrade: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        rollingUpgradeEnabled?: boolean;
                        version?: string;
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    eraseUser: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query: { name: string };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: { "application/json": { newIdentifier?: string } };
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "409": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    findBranches: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string; repositorySlug: string };
            query?: { filterText?: string; limit?: number; start?: number };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        isLastPage?: boolean;
                        limit?: number;
                        nextPageStart?: number;
                        size?: number;
                        start?: number;
                        values?: readonly {
                            displayId?: string;
                            id?: string;
                            type?: "BRANCH"
                            | "TAG";
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    findByCommit: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { commitId: string; projectKey: string; repositorySlug: string };
            query?: { limit?: number; start?: number };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        isLastPage?: boolean;
                        limit?: number;
                        nextPageStart?: number;
                        size?: number;
                        start?: number;
                        values?: readonly {
                            displayId?: string;
                            id?: string;
                            type?: "BRANCH"
                            | "TAG";
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "500": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    findExemptReposByProject: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: {
                limit?: number;
                order?: "NAME_ASC" | "NAME_DESC";
                start?: number;
            };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        isLastPage?: boolean;
                        limit?: number;
                        nextPageStart?: number;
                        size?: number;
                        start?: number;
                        values?: readonly {
                            archived?: boolean;
                            defaultBranch?: string;
                            description?: string;
                            forkable?: boolean;
                            hierarchyId?: string;
                            id?: number;
                            links?: Record<string, unknown>;
                            name?: string;
                            origin?: {
                                archived?: (...) | (...) | (...);
                                defaultBranch?: (...) | (...);
                                description?: (...) | (...);
                                forkable?: (...) | (...) | (...);
                                hierarchyId?: (...) | (...);
                                id?: (...) | (...);
                                links?: (...) | (...);
                                name?: (...) | (...);
                                partition?: (...) | (...);
                                project?: (...) | (...);
                                public?: (...) | (...) | (...);
                                relatedLinks?: (...) | (...);
                                scmId?: (...) | (...);
                                scope?: (...) | (...);
                                slug?: (...) | (...);
                                state?: (...) | (...) | (...) | (...) | (...);
                                statusMessage?: (...) | (...);
                            };
                            partition?: number;
                            project?: {
                                avatar?: (...)
                                | (...);
                                avatarUrl?: (...) | (...);
                                description?: (...) | (...);
                                id?: (...) | (...);
                                key: string;
                                links?: (...) | (...);
                                name?: (...) | (...);
                                public?: (...) | (...) | (...);
                                scope?: (...) | (...);
                                type?: (...) | (...) | (...);
                            };
                            public?: boolean;
                            relatedLinks?: Record<string, unknown>;
                            scmId?: string;
                            scope?: string;
                            slug?: string;
                            state?:
                                | "AVAILABLE"
                                | "INITIALISATION_FAILED"
                                | "INITIALISING"
                                | "OFFLINE";
                            statusMessage?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    findExemptReposByScope: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: {
                limit?: number;
                order?: "NAME_ASC" | "NAME_DESC";
                start?: number;
            };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        isLastPage?: boolean;
                        limit?: number;
                        nextPageStart?: number;
                        size?: number;
                        start?: number;
                        values?: readonly {
                            archived?: boolean;
                            defaultBranch?: string;
                            description?: string;
                            forkable?: boolean;
                            hierarchyId?: string;
                            id?: number;
                            links?: Record<string, unknown>;
                            name?: string;
                            origin?: {
                                archived?: (...) | (...) | (...);
                                defaultBranch?: (...) | (...);
                                description?: (...) | (...);
                                forkable?: (...) | (...) | (...);
                                hierarchyId?: (...) | (...);
                                id?: (...) | (...);
                                links?: (...) | (...);
                                name?: (...) | (...);
                                partition?: (...) | (...);
                                project?: (...) | (...);
                                public?: (...) | (...) | (...);
                                relatedLinks?: (...) | (...);
                                scmId?: (...) | (...);
                                scope?: (...) | (...);
                                slug?: (...) | (...);
                                state?: (...) | (...) | (...) | (...) | (...);
                                statusMessage?: (...) | (...);
                            };
                            partition?: number;
                            project?: {
                                avatar?: (...)
                                | (...);
                                avatarUrl?: (...) | (...);
                                description?: (...) | (...);
                                id?: (...) | (...);
                                key: string;
                                links?: (...) | (...);
                                name?: (...) | (...);
                                public?: (...) | (...) | (...);
                                scope?: (...) | (...);
                                type?: (...) | (...) | (...);
                            };
                            public?: boolean;
                            relatedLinks?: Record<string, unknown>;
                            scmId?: string;
                            scope?: string;
                            slug?: string;
                            state?:
                                | "AVAILABLE"
                                | "INITIALISATION_FAILED"
                                | "INITIALISING"
                                | "OFFLINE";
                            statusMessage?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    findGroupsForUser: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query: {
                context: string;
                filter?: string;
                limit?: number;
                start?: number;
            };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        isLastPage?: boolean;
                        limit?: number;
                        nextPageStart?: number;
                        size?: number;
                        start?: number;
                        values?: readonly {
                            active?: boolean;
                            avatarUrl?: string;
                            deletable?: boolean;
                            directoryName?: string;
                            displayName?: string;
                            emailAddress?: string;
                            id?: number;
                            lastAuthenticationTimestamp?: number;
                            links?: Record<string, unknown>;
                            mutableDetails?: boolean;
                            mutableGroups?: boolean;
                            name?: string;
                            slug?: string;
                            type?: "NORMAL" | "SERVICE";
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    findOtherGroupsForUser: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query: {
                context: string;
                filter?: string;
                limit?: number;
                start?: number;
            };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        isLastPage?: boolean;
                        limit?: number;
                        nextPageStart?: number;
                        size?: number;
                        start?: number;
                        values?: readonly { deletable?: boolean; name?: string }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    findUsersInGroup: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query: {
                context: string;
                filter?: string;
                limit?: number;
                start?: number;
            };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        isLastPage?: boolean;
                        limit?: number;
                        nextPageStart?: number;
                        size?: number;
                        start?: number;
                        values?: readonly {
                            active?: boolean;
                            avatarUrl?: string;
                            deletable?: boolean;
                            directoryName?: string;
                            displayName?: string;
                            emailAddress?: string;
                            id?: number;
                            lastAuthenticationTimestamp?: number;
                            links?: Record<string, unknown>;
                            mutableDetails?: boolean;
                            mutableGroups?: boolean;
                            name?: string;
                            slug?: string;
                            type?: "NORMAL" | "SERVICE";
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    findUsersNotInGroup: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query: {
                context: string;
                filter?: string;
                limit?: number;
                start?: number;
            };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        isLastPage?: boolean;
                        limit?: number;
                        nextPageStart?: number;
                        size?: number;
                        start?: number;
                        values?: readonly {
                            active?: boolean;
                            avatarUrl?: string;
                            deletable?: boolean;
                            directoryName?: string;
                            displayName?: string;
                            emailAddress?: string;
                            id?: number;
                            lastAuthenticationTimestamp?: number;
                            links?: Record<string, unknown>;
                            mutableDetails?: boolean;
                            mutableGroups?: boolean;
                            name?: string;
                            slug?: string;
                            type?: "NORMAL" | "SERVICE";
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    findWebhooks: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string };
            query?: { event?: string; statistics?: boolean };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: { "application/json": unknown };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    findWebhooks_1: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string; repositorySlug: string };
            query?: { event?: string; statistics?: boolean };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: { "application/json": unknown };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    finishReview: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: {
                projectKey: string;
                pullRequestId: string;
                repositorySlug: string;
            };
            query?: { version?: string };
        };
        requestBody?: {
            content: {
                "application/json": {
                    commentText?: string;
                    lastReviewedCommit?: string;
                    participantStatus?: string;
                };
            };
        };
        responses: {
            "200": {
                content: { "application/json": unknown };
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "409": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }

    Type declaration

    • Readonlyparameters: {
          cookie?: undefined;
          header?: undefined;
          path: { projectKey: string; pullRequestId: string; repositorySlug: string };
          query?: { version?: string };
      }
      • Optional Readonlycookie?: undefined
      • Optional Readonlyheader?: undefined
      • Readonlypath: { projectKey: string; pullRequestId: string; repositorySlug: string }
        • ReadonlyprojectKey: string

          The project key.

        • ReadonlypullRequestId: string

          The pull request ID.

        • ReadonlyrepositorySlug: string

          The repository slug.

      • Optional Readonlyquery?: { version?: string }
        • Optional Readonlyversion?: string

          The current version of the pull request. If the server's version isn't the same as the specified version the operation will fail. To determine the current version of the pull request it should be fetched from the server prior to this operation. Look for the 'version' attribute in the returned JSON structure. Note: This parameter is deprecated. Use last reviewed commit in request body instead

    • Optional ReadonlyrequestBody?: {
          content: {
              "application/json": {
                  commentText?: string;
                  lastReviewedCommit?: string;
                  participantStatus?: string;
              };
          };
      }

      The REST request which contains comment text, last reviewed commit and participant status. If last reviewed commit is provided, it will be used to update the participant status. The operation will fail if the latest commit of the pull request does not match the provided last reviewed commit. If last reviewed commit is not provided, the latest commit of the pull request will be used for the update by default.

    • Readonlyresponses: {
          "200": {
              content: { "application/json": unknown };
              headers: Readonly<Record<string, unknown>>;
          };
          "400": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "401": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "404": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "409": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
      }
      • Readonly200: {
            content: { "application/json": unknown };
            headers: Readonly<Record<string, unknown>>;
        }

        Getting back the number of published comments and completing the review on a pull request.

      • Readonly400: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The request is invalid when there is no request body provided, or the participant status in the request is invalid.

      • Readonly401: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The currently authenticated user has insufficient permissions to view the pull request, update a comment or watch the pull request.

      • Readonly404: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        There is no pull request review for the user to finish.

      • Readonly409: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The pull request has been updated since the last reviewed commit specified by the request, or reviews cannot be made on pull requests in archived repositories.

    forkRepository: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string; repositorySlug: string };
            query?: undefined;
        };
        requestBody?: {
            content: {
                "application/json": {
                    archived?: boolean;
                    defaultBranch?: string;
                    description?: string;
                    forkable?: boolean;
                    hierarchyId?: string;
                    id?: number;
                    links?: Record<string, unknown>;
                    name?: string;
                    origin?: {
                        archived?: boolean;
                        defaultBranch?: string;
                        description?: string;
                        forkable?: boolean;
                        hierarchyId?: string;
                        id?: number;
                        links?: Record<string, unknown>;
                        name?: string;
                        partition?: number;
                        project?: {
                            avatar?: string;
                            avatarUrl?: string;
                            description?: string;
                            id?: number;
                            key: string;
                            links?: Record<(...), (...)>;
                            name?: string;
                            public?: boolean;
                            scope?: string;
                            type?: "NORMAL" | "PERSONAL";
                        };
                        public?: boolean;
                        relatedLinks?: Record<string, unknown>;
                        scmId?: string;
                        scope?: string;
                        slug?: string;
                        state?:
                            | "AVAILABLE"
                            | "INITIALISATION_FAILED"
                            | "INITIALISING"
                            | "OFFLINE";
                        statusMessage?: string;
                    };
                    partition?: number;
                    project?: {
                        avatar?: string;
                        avatarUrl?: string;
                        description?: string;
                        id?: number;
                        key: string;
                        links?: Record<string, unknown>;
                        name?: string;
                        public?: boolean;
                        scope?: string;
                        type?: "NORMAL" | "PERSONAL";
                    };
                    public?: boolean;
                    relatedLinks?: Record<string, unknown>;
                    scmId?: string;
                    scope?: string;
                    slug?: string;
                    state?:
                        | "AVAILABLE"
                        | "INITIALISATION_FAILED"
                        | "INITIALISING"
                        | "OFFLINE";
                    statusMessage?: string;
                };
            };
        };
        responses: {
            "201": {
                content: {
                    "application/json": {
                        archived?: boolean;
                        defaultBranch?: string;
                        description?: string;
                        forkable?: boolean;
                        hierarchyId?: string;
                        id?: number;
                        links?: Record<string, unknown>;
                        name?: string;
                        origin?: {
                            archived?: boolean;
                            defaultBranch?: string;
                            description?: string;
                            forkable?: boolean;
                            hierarchyId?: string;
                            id?: number;
                            links?: Record<string, unknown>;
                            name?: string;
                            partition?: number;
                            project?: {
                                avatar?: string;
                                avatarUrl?: string;
                                description?: string;
                                id?: number;
                                key: string;
                                links?: Record<(...), (...)>;
                                name?: string;
                                public?: boolean;
                                scope?: string;
                                type?: "NORMAL" | "PERSONAL";
                            };
                            public?: boolean;
                            relatedLinks?: Record<string, unknown>;
                            scmId?: string;
                            scope?: string;
                            slug?: string;
                            state?:
                                | "AVAILABLE"
                                | "INITIALISATION_FAILED"
                                | "INITIALISING"
                                | "OFFLINE";
                            statusMessage?: string;
                        };
                        partition?: number;
                        project?: {
                            avatar?: string;
                            avatarUrl?: string;
                            description?: string;
                            id?: number;
                            key: string;
                            links?: Record<string, unknown>;
                            name?: string;
                            public?: boolean;
                            scope?: string;
                            type?: "NORMAL" | "PERSONAL";
                        };
                        public?: boolean;
                        relatedLinks?: Record<string, unknown>;
                        scmId?: string;
                        scope?: string;
                        slug?: string;
                        state?:
                            | "AVAILABLE"
                            | "INITIALISATION_FAILED"
                            | "INITIALISING"
                            | "OFFLINE";
                        statusMessage?: string;
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }

    Type declaration

    • Readonlyparameters: {
          cookie?: undefined;
          header?: undefined;
          path: { projectKey: string; repositorySlug: string };
          query?: undefined;
      }
      • Optional Readonlycookie?: undefined
      • Optional Readonlyheader?: undefined
      • Readonlypath: { projectKey: string; repositorySlug: string }
        • ReadonlyprojectKey: string

          The project key.

        • ReadonlyrepositorySlug: string

          The repository slug.

      • Optional Readonlyquery?: undefined
    • Optional ReadonlyrequestBody?: {
          content: {
              "application/json": {
                  archived?: boolean;
                  defaultBranch?: string;
                  description?: string;
                  forkable?: boolean;
                  hierarchyId?: string;
                  id?: number;
                  links?: Record<string, unknown>;
                  name?: string;
                  origin?: {
                      archived?: boolean;
                      defaultBranch?: string;
                      description?: string;
                      forkable?: boolean;
                      hierarchyId?: string;
                      id?: number;
                      links?: Record<string, unknown>;
                      name?: string;
                      partition?: number;
                      project?: {
                          avatar?: string;
                          avatarUrl?: string;
                          description?: string;
                          id?: number;
                          key: string;
                          links?: Record<(...), (...)>;
                          name?: string;
                          public?: boolean;
                          scope?: string;
                          type?: "NORMAL" | "PERSONAL";
                      };
                      public?: boolean;
                      relatedLinks?: Record<string, unknown>;
                      scmId?: string;
                      scope?: string;
                      slug?: string;
                      state?:
                          | "AVAILABLE"
                          | "INITIALISATION_FAILED"
                          | "INITIALISING"
                          | "OFFLINE";
                      statusMessage?: string;
                  };
                  partition?: number;
                  project?: {
                      avatar?: string;
                      avatarUrl?: string;
                      description?: string;
                      id?: number;
                      key: string;
                      links?: Record<string, unknown>;
                      name?: string;
                      public?: boolean;
                      scope?: string;
                      type?: "NORMAL" | "PERSONAL";
                  };
                  public?: boolean;
                  relatedLinks?: Record<string, unknown>;
                  scmId?: string;
                  scope?: string;
                  slug?: string;
                  state?:
                      | "AVAILABLE"
                      | "INITIALISATION_FAILED"
                      | "INITIALISING"
                      | "OFFLINE";
                  statusMessage?: string;
              };
          };
      }

      The rest fork.

    • Readonlyresponses: {
          "201": {
              content: {
                  "application/json": {
                      archived?: boolean;
                      defaultBranch?: string;
                      description?: string;
                      forkable?: boolean;
                      hierarchyId?: string;
                      id?: number;
                      links?: Record<string, unknown>;
                      name?: string;
                      origin?: {
                          archived?: boolean;
                          defaultBranch?: string;
                          description?: string;
                          forkable?: boolean;
                          hierarchyId?: string;
                          id?: number;
                          links?: Record<string, unknown>;
                          name?: string;
                          partition?: number;
                          project?: {
                              avatar?: string;
                              avatarUrl?: string;
                              description?: string;
                              id?: number;
                              key: string;
                              links?: Record<(...), (...)>;
                              name?: string;
                              public?: boolean;
                              scope?: string;
                              type?: "NORMAL" | "PERSONAL";
                          };
                          public?: boolean;
                          relatedLinks?: Record<string, unknown>;
                          scmId?: string;
                          scope?: string;
                          slug?: string;
                          state?:
                              | "AVAILABLE"
                              | "INITIALISATION_FAILED"
                              | "INITIALISING"
                              | "OFFLINE";
                          statusMessage?: string;
                      };
                      partition?: number;
                      project?: {
                          avatar?: string;
                          avatarUrl?: string;
                          description?: string;
                          id?: number;
                          key: string;
                          links?: Record<string, unknown>;
                          name?: string;
                          public?: boolean;
                          scope?: string;
                          type?: "NORMAL" | "PERSONAL";
                      };
                      public?: boolean;
                      relatedLinks?: Record<string, unknown>;
                      scmId?: string;
                      scope?: string;
                      slug?: string;
                      state?:
                          | "AVAILABLE"
                          | "INITIALISATION_FAILED"
                          | "INITIALISING"
                          | "OFFLINE";
                      statusMessage?: string;
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "400": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "401": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "404": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
      }
      • Readonly201: {
            content: {
                "application/json": {
                    archived?: boolean;
                    defaultBranch?: string;
                    description?: string;
                    forkable?: boolean;
                    hierarchyId?: string;
                    id?: number;
                    links?: Record<string, unknown>;
                    name?: string;
                    origin?: {
                        archived?: boolean;
                        defaultBranch?: string;
                        description?: string;
                        forkable?: boolean;
                        hierarchyId?: string;
                        id?: number;
                        links?: Record<string, unknown>;
                        name?: string;
                        partition?: number;
                        project?: {
                            avatar?: string;
                            avatarUrl?: string;
                            description?: string;
                            id?: number;
                            key: string;
                            links?: Record<(...), (...)>;
                            name?: string;
                            public?: boolean;
                            scope?: string;
                            type?: "NORMAL" | "PERSONAL";
                        };
                        public?: boolean;
                        relatedLinks?: Record<string, unknown>;
                        scmId?: string;
                        scope?: string;
                        slug?: string;
                        state?:
                            | "AVAILABLE"
                            | "INITIALISATION_FAILED"
                            | "INITIALISING"
                            | "OFFLINE";
                        statusMessage?: string;
                    };
                    partition?: number;
                    project?: {
                        avatar?: string;
                        avatarUrl?: string;
                        description?: string;
                        id?: number;
                        key: string;
                        links?: Record<string, unknown>;
                        name?: string;
                        public?: boolean;
                        scope?: string;
                        type?: "NORMAL" | "PERSONAL";
                    };
                    public?: boolean;
                    relatedLinks?: Record<string, unknown>;
                    scmId?: string;
                    scope?: string;
                    slug?: string;
                    state?:
                        | "AVAILABLE"
                        | "INITIALISATION_FAILED"
                        | "INITIALISING"
                        | "OFFLINE";
                    statusMessage?: string;
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The newly created fork.

      • Readonly400: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        A validation error prevented the fork from being created. Possible validation errors include: The name or slug for the fork collides with another repository in the target project; an SCM type was specified in the JSON body; a project was specified in the JSON body without a "key" property.

      • Readonly401: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The currently authenticated user has insufficient permissions to create a fork.

      • Readonly404: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The specified repository does not exist, or, if a target project was specified, the target project does not exist.

    get: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { commitId: string; projectKey: string; repositorySlug: string };
            query: { key: string };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        buildNumber?: string;
                        createdDate?: number;
                        description?: string;
                        duration?: number;
                        key?: string;
                        name?: string;
                        parent?: string;
                        ref?: string;
                        state?: | "FAILED"
                        | "INPROGRESS"
                        | "SUCCESSFUL"
                        | "UNKNOWN"
                        | "CANCELLED";
                        testResults?: {
                            failed?: number;
                            skipped?: number;
                            successful?: number;
                        };
                        updatedDate?: number;
                        url?: string;
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    get_1: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { commitId: string; projectKey: string; repositorySlug: string };
            query?: {
                deploymentSequenceNumber?: string;
                environmentKey?: string;
                key?: string;
            };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        deploymentSequenceNumber?: number;
                        description?: string;
                        displayName?: string;
                        environment?: {
                            displayName: string;
                            key: string;
                            type?: string;
                            url?: string;
                        };
                        fromCommit?: { displayId?: string; id?: string };
                        key?: string;
                        lastUpdated?: number;
                        repository?: {
                            archived?: boolean;
                            defaultBranch?: string;
                            description?: string;
                            forkable?: boolean;
                            hierarchyId?: string;
                            id?: number;
                            links?: Record<string, unknown>;
                            name?: string;
                            origin?: {
                                archived?: boolean;
                                defaultBranch?: string;
                                description?: string;
                                forkable?: boolean;
                                hierarchyId?: string;
                                id?: number;
                                links?: Record<(...), (...)>;
                                name?: string;
                                partition?: number;
                                project?: {
                                    avatar?: ...;
                                    avatarUrl?: ...;
                                    description?: ...;
                                    id?: ...;
                                    key: ...;
                                    links?: ...;
                                    name?: ...;
                                    public?: ...;
                                    scope?: ...;
                                    type?: ...;
                                };
                                public?: boolean;
                                relatedLinks?: Record<(...), (...)>;
                                scmId?: string;
                                scope?: string;
                                slug?: string;
                                state?:
                                    | "AVAILABLE"
                                    | "INITIALISATION_FAILED"
                                    | "INITIALISING"
                                    | "OFFLINE";
                                statusMessage?: string;
                            };
                            partition?: number;
                            project?: {
                                avatar?: string;
                                avatarUrl?: string;
                                description?: string;
                                id?: number;
                                key: string;
                                links?: Record<(...), (...)>;
                                name?: string;
                                public?: boolean;
                                scope?: string;
                                type?: "NORMAL" | "PERSONAL";
                            };
                            public?: boolean;
                            relatedLinks?: Record<string, unknown>;
                            scmId?: string;
                            scope?: string;
                            slug?: string;
                            state?:
                                | "AVAILABLE"
                                | "INITIALISATION_FAILED"
                                | "INITIALISING"
                                | "OFFLINE";
                            statusMessage?: string;
                        };
                        state?: | "FAILED"
                        | "SUCCESSFUL"
                        | "IN_PROGRESS"
                        | "PENDING"
                        | "UNKNOWN"
                        | "CANCELLED"
                        | "ROLLED_BACK";
                        toCommit?: { displayId?: string; id?: string };
                        url?: string;
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    get_2: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        creationDate?: number;
                        daysBeforeExpiry?: number;
                        expiryDate?: number;
                        gracePeriodEndDate?: number;
                        license?: string;
                        maintenanceExpiryDate?: number;
                        maximumNumberOfUsers?: number;
                        numberOfDaysBeforeExpiry?: number;
                        numberOfDaysBeforeGracePeriodExpiry?: number;
                        numberOfDaysBeforeMaintenanceExpiry?: number;
                        purchaseDate?: number;
                        serverId?: string;
                        status?: { currentNumberOfUsers?: number; serverId?: string };
                        supportEntitlementNumber?: string;
                        unlimitedNumberOfUsers?: boolean;
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    get_3: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: {
                projectKey: string;
                pullRequestId: string;
                repositorySlug: string;
            };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        closed?: boolean;
                        closedDate?: number;
                        createdDate?: number;
                        description?: string;
                        descriptionAsHtml?: string;
                        draft?: boolean;
                        fromRef?: {
                            displayId?: string;
                            id?: string;
                            latestCommit?: string;
                            repository?: {
                                archived?: boolean;
                                defaultBranch?: string;
                                description?: string;
                                forkable?: boolean;
                                hierarchyId?: string;
                                id?: number;
                                links?: Record<(...), (...)>;
                                name?: string;
                                origin?: {
                                    archived?: ...;
                                    defaultBranch?: ...;
                                    description?: ...;
                                    forkable?: ...;
                                    hierarchyId?: ...;
                                    id?: ...;
                                    links?: ...;
                                    name?: ...;
                                    partition?: ...;
                                    project?: ...;
                                    public?: ...;
                                    relatedLinks?: ...;
                                    scmId?: ...;
                                    scope?: ...;
                                    slug?: ...;
                                    state?: ...;
                                    statusMessage?: ...;
                                };
                                partition?: number;
                                project?: {
                                    avatar?: ...;
                                    avatarUrl?: ...;
                                    description?: ...;
                                    id?: ...;
                                    key: ...;
                                    links?: ...;
                                    name?: ...;
                                    public?: ...;
                                    scope?: ...;
                                    type?: ...;
                                };
                                public?: boolean;
                                relatedLinks?: Record<(...), (...)>;
                                scmId?: string;
                                scope?: string;
                                slug?: string;
                                state?:
                                    | "AVAILABLE"
                                    | "INITIALISATION_FAILED"
                                    | "INITIALISING"
                                    | "OFFLINE";
                                statusMessage?: string;
                            };
                            type?: "BRANCH"
                            | "TAG";
                        };
                        htmlDescription?: string;
                        id?: number;
                        links?: Record<string, unknown>;
                        locked?: boolean;
                        open?: boolean;
                        participants?: readonly {
                            approved?: boolean;
                            lastReviewedCommit?: string;
                            role?: "PARTICIPANT" | "REVIEWER" | "AUTHOR";
                            status?: "APPROVED" | "NEEDS_WORK" | "UNAPPROVED";
                            user?: {
                                active?: (...) | (...) | (...);
                                avatarUrl?: (...) | (...);
                                displayName?: (...) | (...);
                                emailAddress?: (...) | (...);
                                id?: (...) | (...);
                                links?: (...) | (...);
                                name?: (...) | (...);
                                slug?: (...) | (...);
                                type?: (...) | (...) | (...);
                            };
                        }[];
                        reviewers?: readonly {
                            approved?: boolean;
                            lastReviewedCommit?: string;
                            role?: "PARTICIPANT"
                            | "REVIEWER"
                            | "AUTHOR";
                            status?: "APPROVED" | "NEEDS_WORK" | "UNAPPROVED";
                            user?: {
                                active?: (...) | (...) | (...);
                                avatarUrl?: (...) | (...);
                                displayName?: (...) | (...);
                                emailAddress?: (...) | (...);
                                id?: (...) | (...);
                                links?: (...) | (...);
                                name?: (...) | (...);
                                slug?: (...) | (...);
                                type?: (...) | (...) | (...);
                            };
                        }[];
                        state?: "DECLINED"
                        | "MERGED"
                        | "OPEN";
                        title?: string;
                        toRef?: {
                            displayId?: string;
                            id?: string;
                            latestCommit?: string;
                            repository?: {
                                archived?: boolean;
                                defaultBranch?: string;
                                description?: string;
                                forkable?: boolean;
                                hierarchyId?: string;
                                id?: number;
                                links?: Record<(...), (...)>;
                                name?: string;
                                origin?: {
                                    archived?: ...;
                                    defaultBranch?: ...;
                                    description?: ...;
                                    forkable?: ...;
                                    hierarchyId?: ...;
                                    id?: ...;
                                    links?: ...;
                                    name?: ...;
                                    partition?: ...;
                                    project?: ...;
                                    public?: ...;
                                    relatedLinks?: ...;
                                    scmId?: ...;
                                    scope?: ...;
                                    slug?: ...;
                                    state?: ...;
                                    statusMessage?: ...;
                                };
                                partition?: number;
                                project?: {
                                    avatar?: ...;
                                    avatarUrl?: ...;
                                    description?: ...;
                                    id?: ...;
                                    key: ...;
                                    links?: ...;
                                    name?: ...;
                                    public?: ...;
                                    scope?: ...;
                                    type?: ...;
                                };
                                public?: boolean;
                                relatedLinks?: Record<(...), (...)>;
                                scmId?: string;
                                scope?: string;
                                slug?: string;
                                state?:
                                    | "AVAILABLE"
                                    | "INITIALISATION_FAILED"
                                    | "INITIALISING"
                                    | "OFFLINE";
                                statusMessage?: string;
                            };
                            type?: "BRANCH"
                            | "TAG";
                        };
                        updatedDate?: number;
                        version?: number;
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    get_4: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        enabled?: boolean;
                        restrictionState?: | "NONE"
                        | "RESTRICTED_MODIFIABLE"
                        | "RESTRICTED_UNMODIFIABLE";
                        scope?: {
                            resourceId?: number;
                            type?: "GLOBAL"
                            | "PROJECT"
                            | "REPOSITORY";
                        };
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    get_5: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string; repositorySlug: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        enabled?: boolean;
                        restrictionState?: | "NONE"
                        | "RESTRICTED_MODIFIABLE"
                        | "RESTRICTED_UNMODIFIABLE";
                        scope?: {
                            resourceId?: number;
                            type?: "GLOBAL"
                            | "PROJECT"
                            | "REPOSITORY";
                        };
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    get_6: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { userSlug: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        settings?: { capacity?: number; fillRate?: number };
                        user?: {
                            active?: boolean;
                            avatarUrl?: string;
                            displayName?: string;
                            emailAddress?: string;
                            id?: number;
                            links?: Record<string, unknown>;
                            name?: string;
                            slug?: string;
                            type?: "NORMAL" | "SERVICE";
                        };
                        whitelisted?: boolean;
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    get_7: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string };
            query: { componentKey?: string; featureKey: string; namespace: string };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        componentKey?: string;
                        featureKey?: string;
                        namespace?: string;
                        processedState?: "FAILED"
                        | "IN_PROGRESS"
                        | "PROCESSED"
                        | "UNPROCESSED";
                        project?: {
                            avatar?: string;
                            avatarUrl?: string;
                            description?: string;
                            id?: number;
                            key: string;
                            links?: Record<string, unknown>;
                            name?: string;
                            public?: boolean;
                            scope?: string;
                            type?: "NORMAL" | "PERSONAL";
                        };
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getACodeInsightsReport: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: {
                commitId: string;
                key: string;
                projectKey: string;
                repositorySlug: string;
            };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        createdDate?: number;
                        data?: readonly {
                            title?: string;
                            type?: string;
                            value?: Record<string, unknown>;
                        }[];
                        details?: string;
                        key?: string;
                        link?: string;
                        logoUrl?: string;
                        reporter?: string;
                        result?: "FAIL"
                        | "PASS";
                        title?: string;
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getActiveMeshMigrationSummary: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        endTime?: number;
                        jobId?: number;
                        maxBandwidth?: number;
                        progress?: number;
                        queue?: Record<string, unknown>;
                        startTime?: number;
                        state?: string;
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getActivities: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: {
                projectKey: string;
                pullRequestId: string;
                repositorySlug: string;
            };
            query?: {
                fromId?: string;
                fromType?: string;
                limit?: number;
                start?: number;
            };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        isLastPage?: boolean;
                        limit?: number;
                        nextPageStart?: number;
                        size?: number;
                        start?: number;
                        values?: readonly {
                            action?: | "DECLINED"
                            | "MERGED"
                            | "APPROVED"
                            | "UNAPPROVED"
                            | "AUTO_MERGE_CANCELLED"
                            | "AUTO_MERGE_REQUESTED"
                            | "COMMENTED"
                            | "DELETED"
                            | "OPENED"
                            | "REOPENED"
                            | "RESCOPED"
                            | "REVIEW_COMMENTED"
                            | "REVIEW_DISCARDED"
                            | "REVIEW_FINISHED"
                            | "REVIEWED"
                            | "UPDATED";
                            createdDate?: number;
                            id?: number;
                            user?: {
                                active?: (...)
                                | (...)
                                | (...);
                                avatarUrl?: (...) | (...);
                                displayName?: (...) | (...);
                                emailAddress?: (...) | (...);
                                id?: (...) | (...);
                                links?: (...) | (...);
                                name?: (...) | (...);
                                slug?: (...) | (...);
                                type?: (...) | (...) | (...);
                            };
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getAll: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string };
            query: {
                featureKey: string;
                limit?: number;
                namespace: string;
                start?: number;
            };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        isLastPage?: boolean;
                        limit?: number;
                        nextPageStart?: number;
                        size?: number;
                        start?: number;
                        values?: readonly {
                            componentKey?: string;
                            featureKey?: string;
                            namespace?: string;
                            processedState?: | "FAILED"
                            | "IN_PROGRESS"
                            | "PROCESSED"
                            | "UNPROCESSED";
                            project?: {
                                avatar?: (...)
                                | (...);
                                avatarUrl?: (...) | (...);
                                description?: (...) | (...);
                                id?: (...) | (...);
                                key: string;
                                links?: (...) | (...);
                                name?: (...) | (...);
                                public?: (...) | (...) | (...);
                                scope?: (...) | (...);
                                type?: (...) | (...) | (...);
                            };
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getAllAccessTokens: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string };
            query?: { limit?: number; start?: number };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        isLastPage?: boolean;
                        limit?: number;
                        nextPageStart?: number;
                        size?: number;
                        start?: number;
                        values?: readonly { createdDate?: string; id?: string; name?: string }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getAllAccessTokens_1: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string; repositorySlug: string };
            query?: { limit?: number; start?: number };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        isLastPage?: boolean;
                        limit?: number;
                        nextPageStart?: number;
                        size?: number;
                        start?: number;
                        values?: readonly { createdDate?: string; id?: string; name?: string }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getAllAccessTokens_2: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { userSlug: string };
            query?: { limit?: number; start?: number };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        isLastPage?: boolean;
                        limit?: number;
                        nextPageStart?: number;
                        size?: number;
                        start?: number;
                        values?: readonly { createdDate?: string; id?: string; name?: string }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getAllCertificates: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: { "application/json": { fingerprint?: string; id?: number } };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getAllContentHashes: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: { includeDefaultBranch?: "true" | "false" };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        archived?: boolean;
                        defaultBranch?: string;
                        description?: string;
                        forkable?: boolean;
                        hierarchyId?: string;
                        id?: number;
                        links?: Record<string, unknown>;
                        name?: string;
                        origin?: {
                            archived?: boolean;
                            defaultBranch?: string;
                            description?: string;
                            forkable?: boolean;
                            hierarchyId?: string;
                            id?: number;
                            links?: Record<string, unknown>;
                            name?: string;
                            partition?: number;
                            project?: {
                                avatar?: string;
                                avatarUrl?: string;
                                description?: string;
                                id?: number;
                                key: string;
                                links?: Record<(...), (...)>;
                                name?: string;
                                public?: boolean;
                                scope?: string;
                                type?: "NORMAL" | "PERSONAL";
                            };
                            public?: boolean;
                            relatedLinks?: Record<string, unknown>;
                            scmId?: string;
                            scope?: string;
                            slug?: string;
                            state?:
                                | "AVAILABLE"
                                | "INITIALISATION_FAILED"
                                | "INITIALISING"
                                | "OFFLINE";
                            statusMessage?: string;
                        };
                        partition?: number;
                        project?: {
                            avatar?: string;
                            avatarUrl?: string;
                            description?: string;
                            id?: number;
                            key: string;
                            links?: Record<string, unknown>;
                            name?: string;
                            public?: boolean;
                            scope?: string;
                            type?: "NORMAL" | "PERSONAL";
                        };
                        properties?: {
                            contentHash?: string;
                            defaultBranchId?: string;
                            metadataHash?: string;
                        };
                        public?: boolean;
                        relatedLinks?: Record<string, unknown>;
                        scmId?: string;
                        scope?: string;
                        slug?: string;
                        state?:
                            | "AVAILABLE"
                            | "INITIALISATION_FAILED"
                            | "INITIALISING"
                            | "OFFLINE";
                        statusMessage?: string;
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "409": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getAllLabelsForRepository: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string; repositorySlug: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: { "application/json": { name?: string } };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getAllMeshMigrationSummaries: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: { limit?: number; start?: number };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        isLastPage?: boolean;
                        limit?: number;
                        nextPageStart?: number;
                        size?: number;
                        start?: number;
                        values?: readonly {
                            endTime?: number;
                            jobId?: number;
                            maxBandwidth?: number;
                            progress?: number;
                            queue?: Record<string, unknown>;
                            startTime?: number;
                            state?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getAllowlistRule: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { id: string; projectKey: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        id?: number;
                        lineRegex?: string;
                        name?: string;
                        pathRegex?: string;
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getAllowlistRule_1: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { id: string; projectKey: string; repositorySlug: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        id?: number;
                        lineRegex?: string;
                        name?: string;
                        pathRegex?: string;
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getAllRateLimitSettings: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: { filter?: string; limit?: number; start?: number };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        isLastPage?: boolean;
                        limit?: number;
                        nextPageStart?: number;
                        size?: number;
                        start?: number;
                        values?: readonly {
                            settings?: { capacity?: (...)
                            | (...); fillRate?: (...) | (...) };
                            user?: {
                                active?: (...) | (...) | (...);
                                avatarUrl?: (...) | (...);
                                displayName?: (...) | (...);
                                emailAddress?: (...) | (...);
                                id?: (...) | (...);
                                links?: (...) | (...);
                                name?: (...) | (...);
                                slug?: (...) | (...);
                                type?: (...) | (...) | (...);
                            };
                            whitelisted?: boolean;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getAllRegisteredMeshNodes: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        id?: string;
                        lastSeenDate?: number;
                        name?: string;
                        offline?: boolean;
                        rpcId?: string;
                        rpcUrl?: string;
                        state?: "AVAILABLE"
                        | "OFFLINE"
                        | "DELETING"
                        | "DISABLED"
                        | "DRAINING";
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getAllReposForProject: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectId: string };
            query?: {
                includeDefaultBranch?: "true" | "false";
                limit?: number;
                start?: number;
            };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        isLastPage?: boolean;
                        limit?: number;
                        nextPageStart?: number;
                        size?: number;
                        start?: number;
                        values?: readonly {
                            archived?: boolean;
                            defaultBranch?: string;
                            description?: string;
                            forkable?: boolean;
                            hierarchyId?: string;
                            id?: number;
                            links?: Record<string, unknown>;
                            name?: string;
                            origin?: {
                                archived?: (...) | (...) | (...);
                                defaultBranch?: (...) | (...);
                                description?: (...) | (...);
                                forkable?: (...) | (...) | (...);
                                hierarchyId?: (...) | (...);
                                id?: (...) | (...);
                                links?: (...) | (...);
                                name?: (...) | (...);
                                partition?: (...) | (...);
                                project?: (...) | (...);
                                public?: (...) | (...) | (...);
                                relatedLinks?: (...) | (...);
                                scmId?: (...) | (...);
                                scope?: (...) | (...);
                                slug?: (...) | (...);
                                state?: (...) | (...) | (...) | (...) | (...);
                                statusMessage?: (...) | (...);
                            };
                            partition?: number;
                            project?: {
                                avatar?: (...)
                                | (...);
                                avatarUrl?: (...) | (...);
                                description?: (...) | (...);
                                id?: (...) | (...);
                                key: string;
                                links?: (...) | (...);
                                name?: (...) | (...);
                                public?: (...) | (...) | (...);
                                scope?: (...) | (...);
                                type?: (...) | (...) | (...);
                            };
                            properties?: {
                                contentHash?: (...)
                                | (...);
                                defaultBranchId?: (...) | (...);
                                metadataHash?: (...) | (...);
                            };
                            public?: boolean;
                            relatedLinks?: Record<string, unknown>;
                            scmId?: string;
                            scope?: string;
                            slug?: string;
                            state?:
                                | "AVAILABLE"
                                | "INITIALISATION_FAILED"
                                | "INITIALISING"
                                | "OFFLINE";
                            statusMessage?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "409": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getAnnotations: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: {
                commitId: string;
                key: string;
                projectKey: string;
                repositorySlug: string;
            };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        annotations?: readonly {
                            externalId?: string;
                            line?: number;
                            link?: string;
                            message?: string;
                            path?: string;
                            reportKey?: string;
                            severity?: string;
                            type?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getAnnotations_1: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { commitId: string; projectKey: string; repositorySlug: string };
            query?: {
                externalId?: string;
                key?: string;
                path?: string;
                severity?: string;
                type?: string;
            };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        annotations?: readonly {
                            externalId?: string;
                            line?: number;
                            link?: string;
                            message?: string;
                            path?: string;
                            reportKey?: string;
                            severity?: string;
                            type?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getApplicationProperties: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        buildDate?: string;
                        buildNumber?: string;
                        displayName?: string;
                        version?: string;
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getArchive: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string; repositorySlug: string };
            query?: {
                at?: string;
                filename?: string;
                format?: string;
                path?: string;
                prefix?: string;
            };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: { "application/json": unknown };
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getAttachment: {
        parameters: {
            cookie?: undefined;
            header?: { Range?: string; "User-Agent"?: string };
            path: { attachmentId: string; projectKey: string; repositorySlug: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: { "application/json": unknown };
                headers: Readonly<Record<string, unknown>>;
            };
            "206": {
                content: { "application/json": unknown };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getAttachmentMetadata: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { attachmentId: string; projectKey: string; repositorySlug: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": { id?: number; metadata?: string; url?: string };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getAutoDeclineSettings: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        enabled?: boolean;
                        inactivityWeeks?: number;
                        scope?: {
                            resourceId?: number;
                            type?: "GLOBAL"
                            | "PROJECT"
                            | "REPOSITORY";
                        };
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getAutoDeclineSettings_1: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string; repositorySlug: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        enabled?: boolean;
                        inactivityWeeks?: number;
                        scope?: {
                            resourceId?: number;
                            type?: "GLOBAL"
                            | "PROJECT"
                            | "REPOSITORY";
                        };
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getAutoMergeRequest: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: {
                projectKey: string;
                pullRequestId: string;
                repositorySlug: string;
            };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        autoSubject?: boolean;
                        createdDate?: number;
                        fromHash?: string;
                        message?: string;
                        strategyId?: string;
                        toRefId?: string;
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getAvatar: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { hookKey: string };
            query?: { version?: string };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: { "application/json": unknown };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getBanner: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        audience?: "ALL"
                        | "AUTHENTICATED";
                        enabled?: boolean;
                        message?: string;
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "204": { content?: undefined; headers: Readonly<Record<string, unknown>> };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getBranches: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string; repositorySlug: string };
            query?: {
                base?: string;
                boostMatches?: boolean;
                context?: string;
                details?: boolean;
                filterText?: string;
                limit?: number;
                orderBy?: "ALPHABETICAL" | "MODIFICATION";
                start?: number;
            };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        isLastPage?: boolean;
                        limit?: number;
                        nextPageStart?: number;
                        size?: number;
                        start?: number;
                        values?: readonly {
                            default?: boolean;
                            displayId?: string;
                            id?: string;
                            latestChangeset?: string;
                            latestCommit?: string;
                            type?: unknown;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getBuildStatus: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { commitId: string };
            query?: { limit?: number; orderBy?: string; start?: number };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        isLastPage?: boolean;
                        limit?: number;
                        nextPageStart?: number;
                        size?: number;
                        start?: number;
                        values?: readonly {
                            buildNumber?: string;
                            createdDate?: number;
                            description?: string;
                            duration?: number;
                            key?: string;
                            name?: string;
                            parent?: string;
                            ref?: string;
                            state?: | "FAILED"
                            | "INPROGRESS"
                            | "SUCCESSFUL"
                            | "UNKNOWN"
                            | "CANCELLED";
                            testResults?: {
                                failed?: (...)
                                | (...);
                                skipped?: (...) | (...);
                                successful?: (...) | (...);
                            };
                            updatedDate?: number;
                            url?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getBuildStatusStats: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { commitId: string };
            query?: { includeUnique?: boolean };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        cancelled?: number;
                        failed?: number;
                        inProgress?: number;
                        successful?: number;
                        unknown?: number;
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getById: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string; tokenId: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        createdDate?: string;
                        id?: string;
                        name?: string;
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getById_1: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string; repositorySlug: string; tokenId: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        createdDate?: string;
                        id?: string;
                        name?: string;
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getById_2: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { tokenId: string; userSlug: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        createdDate?: string;
                        id?: string;
                        name?: string;
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getCapabilities: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: { "application/json": { buildStatus?: readonly string[] } };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getCapabilities_1: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: { "application/json": unknown };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getChanges: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { commitId: string; projectKey: string; repositorySlug: string };
            query?: {
                limit?: number;
                since?: string;
                start?: number;
                withComments?: string;
            };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        isLastPage?: boolean;
                        limit?: number;
                        nextPageStart?: number;
                        size?: number;
                        start?: number;
                        values?: readonly {
                            conflict?: {
                                ourChange?: (...)
                                | (...);
                                theirChange?: (...) | (...);
                            };
                            contentId?: string;
                            executable?: boolean;
                            fromContentId?: string;
                            links?: Record<string, unknown>;
                            nodeType?: "DIRECTORY" | "FILE" | "SUBMODULE";
                            path?: {
                                components?: (...) | (...);
                                extension?: (...) | (...);
                                name?: (...) | (...);
                                parent?: (...) | (...);
                            };
                            percentUnchanged?: number;
                            srcExecutable?: boolean;
                            srcPath?: {
                                components?: (...)
                                | (...);
                                extension?: (...) | (...);
                                name?: (...) | (...);
                                parent?: (...) | (...);
                            };
                            type?: "UNKNOWN"
                            | "DELETE"
                            | "ADD"
                            | "COPY"
                            | "MODIFY"
                            | "MOVE";
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getChanges_1: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string; repositorySlug: string };
            query?: { limit?: number; since?: string; start?: number; until?: string };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        isLastPage?: boolean;
                        limit?: number;
                        nextPageStart?: number;
                        size?: number;
                        start?: number;
                        values?: readonly {
                            conflict?: {
                                ourChange?: (...)
                                | (...);
                                theirChange?: (...) | (...);
                            };
                            contentId?: string;
                            executable?: boolean;
                            fromContentId?: string;
                            links?: Record<string, unknown>;
                            nodeType?: "DIRECTORY" | "FILE" | "SUBMODULE";
                            path?: {
                                components?: (...) | (...);
                                extension?: (...) | (...);
                                name?: (...) | (...);
                                parent?: (...) | (...);
                            };
                            percentUnchanged?: number;
                            srcExecutable?: boolean;
                            srcPath?: {
                                components?: (...)
                                | (...);
                                extension?: (...) | (...);
                                name?: (...) | (...);
                                parent?: (...) | (...);
                            };
                            type?: "UNKNOWN"
                            | "DELETE"
                            | "ADD"
                            | "COPY"
                            | "MODIFY"
                            | "MOVE";
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getComment: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: {
                commentId: string;
                commitId: string;
                projectKey: string;
                repositorySlug: string;
            };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        anchor?: {
                            diffType?: "COMMIT"
                            | "EFFECTIVE"
                            | "RANGE";
                            fileType?: "FROM" | "TO";
                            fromHash?: string;
                            line?: number;
                            lineType?: "ADDED" | "CONTEXT" | "REMOVED";
                            multilineMarker?: {
                                startLine?: number;
                                startLineType: "ADDED" | "CONTEXT" | "REMOVED";
                            };
                            path?: {
                                components?: readonly (...)[];
                                extension?: string;
                                name?: string;
                                parent?: string;
                            };
                            pullRequest?: {
                                closed?: boolean;
                                closedDate?: number;
                                createdDate?: number;
                                description?: string;
                                descriptionAsHtml?: string;
                                draft?: boolean;
                                fromRef?: {
                                    displayId?: ...;
                                    id?: ...;
                                    latestCommit?: ...;
                                    repository?: ...;
                                    type?: ...;
                                };
                                htmlDescription?: string;
                                id?: number;
                                links?: Record<(...), (...)>;
                                locked?: boolean;
                                open?: boolean;
                                participants?: readonly (...)[];
                                reviewers?: readonly (...)[];
                                state?: "DECLINED" | "MERGED" | "OPEN";
                                title?: string;
                                toRef?: {
                                    displayId?: ...;
                                    id?: ...;
                                    latestCommit?: ...;
                                    repository?: ...;
                                    type?: ...;
                                };
                                updatedDate?: number;
                                version?: number;
                            };
                            srcPath?: {
                                components?: readonly (...)[];
                                extension?: string;
                                name?: string;
                                parent?: string;
                            };
                            toHash?: string;
                        };
                        anchored?: boolean;
                        author?: {
                            active?: boolean;
                            avatarUrl?: string;
                            displayName?: string;
                            emailAddress?: string;
                            id?: number;
                            links?: Record<string, unknown>;
                            name?: string;
                            slug?: string;
                            type?: "NORMAL" | "SERVICE";
                        };
                        comments?: readonly (
                            { readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineType?: "ADDED" | "CONTEXT" | "REMOVED"; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }
                        )[];
                        createdDate?: number;
                        html?: string;
                        id?: number;
                        parent?: {
                            anchor?: {
                                diffType?: "COMMIT"
                                | "EFFECTIVE"
                                | "RANGE";
                                fileType?: "FROM" | "TO";
                                fromHash?: string;
                                line?: number;
                                lineType?: "ADDED" | "CONTEXT" | "REMOVED";
                                multilineMarker?: { startLine?: ...; startLineType: ... };
                                path?: {
                                    components?: ...;
                                    extension?: ...;
                                    name?: ...;
                                    parent?: ...;
                                };
                                pullRequest?: {
                                    closed?: ...;
                                    closedDate?: ...;
                                    createdDate?: ...;
                                    description?: ...;
                                    descriptionAsHtml?: ...;
                                    draft?: ...;
                                    fromRef?: ...;
                                    htmlDescription?: ...;
                                    id?: ...;
                                    links?: ...;
                                    locked?: ...;
                                    open?: ...;
                                    participants?: ...;
                                    reviewers?: ...;
                                    state?: ...;
                                    title?: ...;
                                    toRef?: ...;
                                    updatedDate?: ...;
                                    version?: ...;
                                };
                                srcPath?: {
                                    components?: ...;
                                    extension?: ...;
                                    name?: ...;
                                    parent?: ...;
                                };
                                toHash?: string;
                            };
                            anchored?: boolean;
                            author?: {
                                active?: boolean;
                                avatarUrl?: string;
                                displayName?: string;
                                emailAddress?: string;
                                id?: number;
                                links?: Record<(...), (...)>;
                                name?: string;
                                slug?: string;
                                type?: "NORMAL" | "SERVICE";
                            };
                            comments?: readonly (
                                { readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineType?: "ADDED" | "CONTEXT" | "REMOVED"; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }
                            )[];
                            createdDate?: number;
                            html?: string;
                            id?: number;
                            pending?: boolean;
                            properties?: Record<string, unknown>;
                            reply?: boolean;
                            resolvedDate?: number;
                            resolver?: {
                                active?: boolean;
                                avatarUrl?: string;
                                displayName?: string;
                                emailAddress?: string;
                                id?: number;
                                links?: Record<(...), (...)>;
                                name?: string;
                                slug?: string;
                                type?: "NORMAL" | "SERVICE";
                            };
                            severity?: string;
                            state?: string;
                            text?: string;
                            threadResolved?: boolean;
                            threadResolvedDate?: number;
                            threadResolver?: {
                                active?: boolean;
                                avatarUrl?: string;
                                displayName?: string;
                                emailAddress?: string;
                                id?: number;
                                links?: Record<(...), (...)>;
                                name?: string;
                                slug?: string;
                                type?: "NORMAL" | "SERVICE";
                            };
                            updatedDate?: number;
                            version?: number;
                        };
                        pending?: boolean;
                        properties?: Record<string, unknown>;
                        reply?: boolean;
                        resolvedDate?: number;
                        resolver?: {
                            active?: boolean;
                            avatarUrl?: string;
                            displayName?: string;
                            emailAddress?: string;
                            id?: number;
                            links?: Record<string, unknown>;
                            name?: string;
                            slug?: string;
                            type?: "NORMAL" | "SERVICE";
                        };
                        severity?: string;
                        state?: string;
                        text?: string;
                        threadResolved?: boolean;
                        threadResolvedDate?: number;
                        threadResolver?: {
                            active?: boolean;
                            avatarUrl?: string;
                            displayName?: string;
                            emailAddress?: string;
                            id?: number;
                            links?: Record<string, unknown>;
                            name?: string;
                            slug?: string;
                            type?: "NORMAL" | "SERVICE";
                        };
                        updatedDate?: number;
                        version?: number;
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getComment_1: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: {
                commentId: string;
                projectKey: string;
                pullRequestId: string;
                repositorySlug: string;
            };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        anchor?: {
                            diffType?: "COMMIT"
                            | "EFFECTIVE"
                            | "RANGE";
                            fileType?: "FROM" | "TO";
                            fromHash?: string;
                            line?: number;
                            lineType?: "ADDED" | "CONTEXT" | "REMOVED";
                            multilineMarker?: {
                                startLine?: number;
                                startLineType: "ADDED" | "CONTEXT" | "REMOVED";
                            };
                            path?: {
                                components?: readonly (...)[];
                                extension?: string;
                                name?: string;
                                parent?: string;
                            };
                            pullRequest?: {
                                closed?: boolean;
                                closedDate?: number;
                                createdDate?: number;
                                description?: string;
                                descriptionAsHtml?: string;
                                draft?: boolean;
                                fromRef?: {
                                    displayId?: ...;
                                    id?: ...;
                                    latestCommit?: ...;
                                    repository?: ...;
                                    type?: ...;
                                };
                                htmlDescription?: string;
                                id?: number;
                                links?: Record<(...), (...)>;
                                locked?: boolean;
                                open?: boolean;
                                participants?: readonly (...)[];
                                reviewers?: readonly (...)[];
                                state?: "DECLINED" | "MERGED" | "OPEN";
                                title?: string;
                                toRef?: {
                                    displayId?: ...;
                                    id?: ...;
                                    latestCommit?: ...;
                                    repository?: ...;
                                    type?: ...;
                                };
                                updatedDate?: number;
                                version?: number;
                            };
                            srcPath?: {
                                components?: readonly (...)[];
                                extension?: string;
                                name?: string;
                                parent?: string;
                            };
                            toHash?: string;
                        };
                        anchored?: boolean;
                        author?: {
                            active?: boolean;
                            avatarUrl?: string;
                            displayName?: string;
                            emailAddress?: string;
                            id?: number;
                            links?: Record<string, unknown>;
                            name?: string;
                            slug?: string;
                            type?: "NORMAL" | "SERVICE";
                        };
                        comments?: readonly (
                            { readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineType?: "ADDED" | "CONTEXT" | "REMOVED"; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }
                        )[];
                        createdDate?: number;
                        html?: string;
                        id?: number;
                        parent?: {
                            anchor?: {
                                diffType?: "COMMIT"
                                | "EFFECTIVE"
                                | "RANGE";
                                fileType?: "FROM" | "TO";
                                fromHash?: string;
                                line?: number;
                                lineType?: "ADDED" | "CONTEXT" | "REMOVED";
                                multilineMarker?: { startLine?: ...; startLineType: ... };
                                path?: {
                                    components?: ...;
                                    extension?: ...;
                                    name?: ...;
                                    parent?: ...;
                                };
                                pullRequest?: {
                                    closed?: ...;
                                    closedDate?: ...;
                                    createdDate?: ...;
                                    description?: ...;
                                    descriptionAsHtml?: ...;
                                    draft?: ...;
                                    fromRef?: ...;
                                    htmlDescription?: ...;
                                    id?: ...;
                                    links?: ...;
                                    locked?: ...;
                                    open?: ...;
                                    participants?: ...;
                                    reviewers?: ...;
                                    state?: ...;
                                    title?: ...;
                                    toRef?: ...;
                                    updatedDate?: ...;
                                    version?: ...;
                                };
                                srcPath?: {
                                    components?: ...;
                                    extension?: ...;
                                    name?: ...;
                                    parent?: ...;
                                };
                                toHash?: string;
                            };
                            anchored?: boolean;
                            author?: {
                                active?: boolean;
                                avatarUrl?: string;
                                displayName?: string;
                                emailAddress?: string;
                                id?: number;
                                links?: Record<(...), (...)>;
                                name?: string;
                                slug?: string;
                                type?: "NORMAL" | "SERVICE";
                            };
                            comments?: readonly (
                                { readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineType?: "ADDED" | "CONTEXT" | "REMOVED"; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }
                            )[];
                            createdDate?: number;
                            html?: string;
                            id?: number;
                            pending?: boolean;
                            properties?: Record<string, unknown>;
                            reply?: boolean;
                            resolvedDate?: number;
                            resolver?: {
                                active?: boolean;
                                avatarUrl?: string;
                                displayName?: string;
                                emailAddress?: string;
                                id?: number;
                                links?: Record<(...), (...)>;
                                name?: string;
                                slug?: string;
                                type?: "NORMAL" | "SERVICE";
                            };
                            severity?: string;
                            state?: string;
                            text?: string;
                            threadResolved?: boolean;
                            threadResolvedDate?: number;
                            threadResolver?: {
                                active?: boolean;
                                avatarUrl?: string;
                                displayName?: string;
                                emailAddress?: string;
                                id?: number;
                                links?: Record<(...), (...)>;
                                name?: string;
                                slug?: string;
                                type?: "NORMAL" | "SERVICE";
                            };
                            updatedDate?: number;
                            version?: number;
                        };
                        pending?: boolean;
                        properties?: Record<string, unknown>;
                        reply?: boolean;
                        resolvedDate?: number;
                        resolver?: {
                            active?: boolean;
                            avatarUrl?: string;
                            displayName?: string;
                            emailAddress?: string;
                            id?: number;
                            links?: Record<string, unknown>;
                            name?: string;
                            slug?: string;
                            type?: "NORMAL" | "SERVICE";
                        };
                        severity?: string;
                        state?: string;
                        text?: string;
                        threadResolved?: boolean;
                        threadResolvedDate?: number;
                        threadResolver?: {
                            active?: boolean;
                            avatarUrl?: string;
                            displayName?: string;
                            emailAddress?: string;
                            id?: number;
                            links?: Record<string, unknown>;
                            name?: string;
                            slug?: string;
                            type?: "NORMAL" | "SERVICE";
                        };
                        updatedDate?: number;
                        version?: number;
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getComment_2: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: {
                commentId: string;
                projectKey: string;
                pullRequestId: string;
                repositorySlug: string;
            };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        anchor?: {
                            diffType?: "COMMIT"
                            | "EFFECTIVE"
                            | "RANGE";
                            fileType?: "FROM" | "TO";
                            fromHash?: string;
                            line?: number;
                            lineType?: "ADDED" | "CONTEXT" | "REMOVED";
                            multilineMarker?: {
                                startLine?: number;
                                startLineType: "ADDED" | "CONTEXT" | "REMOVED";
                            };
                            path?: {
                                components?: readonly (...)[];
                                extension?: string;
                                name?: string;
                                parent?: string;
                            };
                            pullRequest?: {
                                closed?: boolean;
                                closedDate?: number;
                                createdDate?: number;
                                description?: string;
                                descriptionAsHtml?: string;
                                draft?: boolean;
                                fromRef?: {
                                    displayId?: ...;
                                    id?: ...;
                                    latestCommit?: ...;
                                    repository?: ...;
                                    type?: ...;
                                };
                                htmlDescription?: string;
                                id?: number;
                                links?: Record<(...), (...)>;
                                locked?: boolean;
                                open?: boolean;
                                participants?: readonly (...)[];
                                reviewers?: readonly (...)[];
                                state?: "DECLINED" | "MERGED" | "OPEN";
                                title?: string;
                                toRef?: {
                                    displayId?: ...;
                                    id?: ...;
                                    latestCommit?: ...;
                                    repository?: ...;
                                    type?: ...;
                                };
                                updatedDate?: number;
                                version?: number;
                            };
                            srcPath?: {
                                components?: readonly (...)[];
                                extension?: string;
                                name?: string;
                                parent?: string;
                            };
                            toHash?: string;
                        };
                        anchored?: boolean;
                        author?: {
                            active?: boolean;
                            avatarUrl?: string;
                            displayName?: string;
                            emailAddress?: string;
                            id?: number;
                            links?: Record<string, unknown>;
                            name?: string;
                            slug?: string;
                            type?: "NORMAL" | "SERVICE";
                        };
                        comments?: readonly (
                            { readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineType?: "ADDED" | "CONTEXT" | "REMOVED"; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }
                        )[];
                        createdDate?: number;
                        html?: string;
                        id?: number;
                        parent?: {
                            anchor?: {
                                diffType?: "COMMIT"
                                | "EFFECTIVE"
                                | "RANGE";
                                fileType?: "FROM" | "TO";
                                fromHash?: string;
                                line?: number;
                                lineType?: "ADDED" | "CONTEXT" | "REMOVED";
                                multilineMarker?: { startLine?: ...; startLineType: ... };
                                path?: {
                                    components?: ...;
                                    extension?: ...;
                                    name?: ...;
                                    parent?: ...;
                                };
                                pullRequest?: {
                                    closed?: ...;
                                    closedDate?: ...;
                                    createdDate?: ...;
                                    description?: ...;
                                    descriptionAsHtml?: ...;
                                    draft?: ...;
                                    fromRef?: ...;
                                    htmlDescription?: ...;
                                    id?: ...;
                                    links?: ...;
                                    locked?: ...;
                                    open?: ...;
                                    participants?: ...;
                                    reviewers?: ...;
                                    state?: ...;
                                    title?: ...;
                                    toRef?: ...;
                                    updatedDate?: ...;
                                    version?: ...;
                                };
                                srcPath?: {
                                    components?: ...;
                                    extension?: ...;
                                    name?: ...;
                                    parent?: ...;
                                };
                                toHash?: string;
                            };
                            anchored?: boolean;
                            author?: {
                                active?: boolean;
                                avatarUrl?: string;
                                displayName?: string;
                                emailAddress?: string;
                                id?: number;
                                links?: Record<(...), (...)>;
                                name?: string;
                                slug?: string;
                                type?: "NORMAL" | "SERVICE";
                            };
                            comments?: readonly (
                                { readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineType?: "ADDED" | "CONTEXT" | "REMOVED"; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }
                            )[];
                            createdDate?: number;
                            html?: string;
                            id?: number;
                            pending?: boolean;
                            properties?: Record<string, unknown>;
                            reply?: boolean;
                            resolvedDate?: number;
                            resolver?: {
                                active?: boolean;
                                avatarUrl?: string;
                                displayName?: string;
                                emailAddress?: string;
                                id?: number;
                                links?: Record<(...), (...)>;
                                name?: string;
                                slug?: string;
                                type?: "NORMAL" | "SERVICE";
                            };
                            severity?: string;
                            state?: string;
                            text?: string;
                            threadResolved?: boolean;
                            threadResolvedDate?: number;
                            threadResolver?: {
                                active?: boolean;
                                avatarUrl?: string;
                                displayName?: string;
                                emailAddress?: string;
                                id?: number;
                                links?: Record<(...), (...)>;
                                name?: string;
                                slug?: string;
                                type?: "NORMAL" | "SERVICE";
                            };
                            updatedDate?: number;
                            version?: number;
                        };
                        pending?: boolean;
                        properties?: Record<string, unknown>;
                        reply?: boolean;
                        resolvedDate?: number;
                        resolver?: {
                            active?: boolean;
                            avatarUrl?: string;
                            displayName?: string;
                            emailAddress?: string;
                            id?: number;
                            links?: Record<string, unknown>;
                            name?: string;
                            slug?: string;
                            type?: "NORMAL" | "SERVICE";
                        };
                        severity?: string;
                        state?: string;
                        text?: string;
                        threadResolved?: boolean;
                        threadResolvedDate?: number;
                        threadResolver?: {
                            active?: boolean;
                            avatarUrl?: string;
                            displayName?: string;
                            emailAddress?: string;
                            id?: number;
                            links?: Record<string, unknown>;
                            name?: string;
                            slug?: string;
                            type?: "NORMAL" | "SERVICE";
                        };
                        updatedDate?: number;
                        version?: number;
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getComments: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { commitId: string; projectKey: string; repositorySlug: string };
            query?: { limit?: number; path?: string; since?: string; start?: number };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        isLastPage?: boolean;
                        limit?: number;
                        nextPageStart?: number;
                        size?: number;
                        start?: number;
                        values?: readonly {
                            anchor?: {
                                diffType?: (...)
                                | (...)
                                | (...)
                                | (...);
                                fileType?: (...) | (...) | (...);
                                fromHash?: (...) | (...);
                                line?: (...) | (...);
                                lineType?: (...) | (...) | (...) | (...);
                                multilineMarker?: (...) | (...);
                                path?: (...) | (...);
                                pullRequest?: (...) | (...);
                                srcPath?: (...) | (...);
                                toHash?: (...) | (...);
                            };
                            anchored?: boolean;
                            author?: {
                                active?: (...)
                                | (...)
                                | (...);
                                avatarUrl?: (...) | (...);
                                displayName?: (...) | (...);
                                emailAddress?: (...) | (...);
                                id?: (...) | (...);
                                links?: (...) | (...);
                                name?: (...) | (...);
                                slug?: (...) | (...);
                                type?: (...) | (...) | (...);
                            };
                            comments?: readonly { readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineType?: "ADDED" | "CONTEXT" | "REMOVED"; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }[]...;
                            createdDate?: number;
                            html?: string;
                            id?: number;
                            parent?: {
                                anchor?: (...)
                                | (...);
                                anchored?: (...) | (...) | (...);
                                author?: (...) | (...);
                                comments?: readonly { readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineType?: "ADDED" | "CONTEXT" | "REMOVED"; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }[]...;
                                createdDate?: (...) | (...);
                                html?: (...) | (...);
                                id?: (...) | (...);
                                pending?: (...) | (...) | (...);
                                properties?: (...) | (...);
                                reply?: (...) | (...) | (...);
                                resolvedDate?: (...) | (...);
                                resolver?: (...) | (...);
                                severity?: (...) | (...);
                                state?: (...) | (...);
                                text?: (...) | (...);
                                threadResolved?: (...) | (...) | (...);
                                threadResolvedDate?: (...) | (...);
                                threadResolver?: (...) | (...);
                                updatedDate?: (...) | (...);
                                version?: (...) | (...);
                            };
                            pending?: boolean;
                            properties?: Record<string, unknown>;
                            reply?: boolean;
                            resolvedDate?: number;
                            resolver?: {
                                active?: (...) | (...) | (...);
                                avatarUrl?: (...) | (...);
                                displayName?: (...) | (...);
                                emailAddress?: (...) | (...);
                                id?: (...) | (...);
                                links?: (...) | (...);
                                name?: (...) | (...);
                                slug?: (...) | (...);
                                type?: (...) | (...) | (...);
                            };
                            severity?: string;
                            state?: string;
                            text?: string;
                            threadResolved?: boolean;
                            threadResolvedDate?: number;
                            threadResolver?: {
                                active?: (...)
                                | (...)
                                | (...);
                                avatarUrl?: (...) | (...);
                                displayName?: (...) | (...);
                                emailAddress?: (...) | (...);
                                id?: (...) | (...);
                                links?: (...) | (...);
                                name?: (...) | (...);
                                slug?: (...) | (...);
                                type?: (...) | (...) | (...);
                            };
                            updatedDate?: number;
                            version?: number;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getComments_1: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: {
                projectKey: string;
                pullRequestId: string;
                repositorySlug: string;
            };
            query?: {
                count?: string;
                limit?: number;
                start?: number;
                state?: readonly string[];
                states?: string;
            };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        isLastPage?: boolean;
                        limit?: number;
                        nextPageStart?: number;
                        size?: number;
                        start?: number;
                        values?: readonly {
                            anchor?: {
                                diffType?: (...)
                                | (...)
                                | (...)
                                | (...);
                                fileType?: (...) | (...) | (...);
                                fromHash?: (...) | (...);
                                line?: (...) | (...);
                                lineType?: (...) | (...) | (...) | (...);
                                multilineMarker?: (...) | (...);
                                path?: (...) | (...);
                                pullRequest?: (...) | (...);
                                srcPath?: (...) | (...);
                                toHash?: (...) | (...);
                            };
                            anchored?: boolean;
                            author?: {
                                active?: (...)
                                | (...)
                                | (...);
                                avatarUrl?: (...) | (...);
                                displayName?: (...) | (...);
                                emailAddress?: (...) | (...);
                                id?: (...) | (...);
                                links?: (...) | (...);
                                name?: (...) | (...);
                                slug?: (...) | (...);
                                type?: (...) | (...) | (...);
                            };
                            comments?: readonly { readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineType?: "ADDED" | "CONTEXT" | "REMOVED"; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }[]...;
                            createdDate?: number;
                            html?: string;
                            id?: number;
                            parent?: {
                                anchor?: (...)
                                | (...);
                                anchored?: (...) | (...) | (...);
                                author?: (...) | (...);
                                comments?: readonly { readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineType?: "ADDED" | "CONTEXT" | "REMOVED"; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }[]...;
                                createdDate?: (...) | (...);
                                html?: (...) | (...);
                                id?: (...) | (...);
                                pending?: (...) | (...) | (...);
                                properties?: (...) | (...);
                                reply?: (...) | (...) | (...);
                                resolvedDate?: (...) | (...);
                                resolver?: (...) | (...);
                                severity?: (...) | (...);
                                state?: (...) | (...);
                                text?: (...) | (...);
                                threadResolved?: (...) | (...) | (...);
                                threadResolvedDate?: (...) | (...);
                                threadResolver?: (...) | (...);
                                updatedDate?: (...) | (...);
                                version?: (...) | (...);
                            };
                            pending?: boolean;
                            properties?: Record<string, unknown>;
                            reply?: boolean;
                            resolvedDate?: number;
                            resolver?: {
                                active?: (...) | (...) | (...);
                                avatarUrl?: (...) | (...);
                                displayName?: (...) | (...);
                                emailAddress?: (...) | (...);
                                id?: (...) | (...);
                                links?: (...) | (...);
                                name?: (...) | (...);
                                slug?: (...) | (...);
                                type?: (...) | (...) | (...);
                            };
                            severity?: string;
                            state?: string;
                            text?: string;
                            threadResolved?: boolean;
                            threadResolvedDate?: number;
                            threadResolver?: {
                                active?: (...)
                                | (...)
                                | (...);
                                avatarUrl?: (...) | (...);
                                displayName?: (...) | (...);
                                emailAddress?: (...) | (...);
                                id?: (...) | (...);
                                links?: (...) | (...);
                                name?: (...) | (...);
                                slug?: (...) | (...);
                                type?: (...) | (...) | (...);
                            };
                            updatedDate?: number;
                            version?: number;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getComments_2: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: {
                projectKey: string;
                pullRequestId: string;
                repositorySlug: string;
            };
            query: {
                anchorState?: string;
                diffType?: readonly string[];
                diffTypes?: string;
                fromHash?: string;
                limit?: number;
                path: string;
                start?: number;
                state?: readonly string[];
                states?: string;
                toHash?: string;
            };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        isLastPage?: boolean;
                        limit?: number;
                        nextPageStart?: number;
                        size?: number;
                        start?: number;
                        values?: readonly {
                            anchor?: {
                                diffType?: (...)
                                | (...)
                                | (...)
                                | (...);
                                fileType?: (...) | (...) | (...);
                                fromHash?: (...) | (...);
                                line?: (...) | (...);
                                lineType?: (...) | (...) | (...) | (...);
                                multilineMarker?: (...) | (...);
                                path?: (...) | (...);
                                pullRequest?: (...) | (...);
                                srcPath?: (...) | (...);
                                toHash?: (...) | (...);
                            };
                            anchored?: boolean;
                            author?: {
                                active?: (...)
                                | (...)
                                | (...);
                                avatarUrl?: (...) | (...);
                                displayName?: (...) | (...);
                                emailAddress?: (...) | (...);
                                id?: (...) | (...);
                                links?: (...) | (...);
                                name?: (...) | (...);
                                slug?: (...) | (...);
                                type?: (...) | (...) | (...);
                            };
                            comments?: readonly { readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineType?: "ADDED" | "CONTEXT" | "REMOVED"; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }[]...;
                            createdDate?: number;
                            html?: string;
                            id?: number;
                            parent?: {
                                anchor?: (...)
                                | (...);
                                anchored?: (...) | (...) | (...);
                                author?: (...) | (...);
                                comments?: readonly { readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineType?: "ADDED" | "CONTEXT" | "REMOVED"; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }[]...;
                                createdDate?: (...) | (...);
                                html?: (...) | (...);
                                id?: (...) | (...);
                                pending?: (...) | (...) | (...);
                                properties?: (...) | (...);
                                reply?: (...) | (...) | (...);
                                resolvedDate?: (...) | (...);
                                resolver?: (...) | (...);
                                severity?: (...) | (...);
                                state?: (...) | (...);
                                text?: (...) | (...);
                                threadResolved?: (...) | (...) | (...);
                                threadResolvedDate?: (...) | (...);
                                threadResolver?: (...) | (...);
                                updatedDate?: (...) | (...);
                                version?: (...) | (...);
                            };
                            pending?: boolean;
                            properties?: Record<string, unknown>;
                            reply?: boolean;
                            resolvedDate?: number;
                            resolver?: {
                                active?: (...) | (...) | (...);
                                avatarUrl?: (...) | (...);
                                displayName?: (...) | (...);
                                emailAddress?: (...) | (...);
                                id?: (...) | (...);
                                links?: (...) | (...);
                                name?: (...) | (...);
                                slug?: (...) | (...);
                                type?: (...) | (...) | (...);
                            };
                            severity?: string;
                            state?: string;
                            text?: string;
                            threadResolved?: boolean;
                            threadResolvedDate?: number;
                            threadResolver?: {
                                active?: (...)
                                | (...)
                                | (...);
                                avatarUrl?: (...) | (...);
                                displayName?: (...) | (...);
                                emailAddress?: (...) | (...);
                                id?: (...) | (...);
                                links?: (...) | (...);
                                name?: (...) | (...);
                                slug?: (...) | (...);
                                type?: (...) | (...) | (...);
                            };
                            updatedDate?: number;
                            version?: number;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getCommit: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { commitId: string; projectKey: string; repositorySlug: string };
            query?: { path?: string };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        author?: {
                            avatarUrl?: string;
                            emailAddress?: string;
                            name?: string;
                        };
                        authorTimestamp?: number;
                        committer?: {
                            avatarUrl?: string;
                            emailAddress?: string;
                            name?: string;
                        };
                        committerTimestamp?: number;
                        displayId?: string;
                        id?: string;
                        message?: string;
                        parents?: readonly { displayId?: string; id?: string }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getCommitMessageSuggestion: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: {
                projectKey: string;
                pullRequestId: string;
                repositorySlug: string;
            };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: { "application/json": { body?: string; title?: string } };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getCommits: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string; repositorySlug: string };
            query?: {
                avatarScheme?: string;
                avatarSize?: string;
                followRenames?: string;
                ignoreMissing?: string;
                limit?: number;
                merges?: string;
                path?: string;
                since?: string;
                start?: number;
                until?: string;
                withCounts?: string;
            };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        isLastPage?: boolean;
                        limit?: number;
                        nextPageStart?: number;
                        size?: number;
                        start?: number;
                        values?: readonly {
                            author?: {
                                avatarUrl?: (...)
                                | (...);
                                emailAddress?: (...) | (...);
                                name?: (...) | (...);
                            };
                            authorTimestamp?: number;
                            committer?: {
                                avatarUrl?: (...)
                                | (...);
                                emailAddress?: (...) | (...);
                                name?: (...) | (...);
                            };
                            committerTimestamp?: number;
                            displayId?: string;
                            id?: string;
                            message?: string;
                            parents?: readonly { displayId?: ...; id?: ... }[];
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getCommits_1: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: {
                projectKey: string;
                pullRequestId: string;
                repositorySlug: string;
            };
            query?: {
                avatarScheme?: string;
                avatarSize?: string;
                limit?: number;
                start?: number;
                withCounts?: string;
            };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        isLastPage?: boolean;
                        limit?: number;
                        nextPageStart?: number;
                        size?: number;
                        start?: number;
                        values?: readonly {
                            author?: {
                                avatarUrl?: (...)
                                | (...);
                                emailAddress?: (...) | (...);
                                name?: (...) | (...);
                            };
                            authorTimestamp?: number;
                            committer?: {
                                avatarUrl?: (...)
                                | (...);
                                emailAddress?: (...) | (...);
                                name?: (...) | (...);
                            };
                            committerTimestamp?: number;
                            displayId?: string;
                            id?: string;
                            message?: string;
                            parents?: readonly { displayId?: ...; id?: ... }[];
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getCommitsByIssueKey: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { issueKey: string };
            query?: { limit?: number; maxChanges?: string; start?: number };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        isLastPage?: boolean;
                        limit?: number;
                        nextPageStart?: number;
                        size?: number;
                        start?: number;
                        values?: readonly {
                            changes?: {
                                isLastPage?: (...)
                                | (...)
                                | (...);
                                limit?: (...) | (...);
                                nextPageStart?: (...) | (...);
                                size?: (...) | (...);
                                start?: (...) | (...);
                                values?: (...) | (...);
                            };
                            fromCommit?: { displayId?: (...)
                            | (...); id?: (...) | (...) };
                            links?: Record<string, unknown>;
                            repository?: {
                                archived?: (...) | (...) | (...);
                                defaultBranch?: (...) | (...);
                                description?: (...) | (...);
                                forkable?: (...) | (...) | (...);
                                hierarchyId?: (...) | (...);
                                id?: (...) | (...);
                                links?: (...) | (...);
                                name?: (...) | (...);
                                origin?: (...) | (...);
                                partition?: (...) | (...);
                                project?: (...) | (...);
                                public?: (...) | (...) | (...);
                                relatedLinks?: (...) | (...);
                                scmId?: (...) | (...);
                                scope?: (...) | (...);
                                slug?: (...) | (...);
                                state?: (...) | (...) | (...) | (...) | (...);
                                statusMessage?: (...) | (...);
                            };
                            toCommit?: {
                                author?: (...)
                                | (...);
                                authorTimestamp?: (...) | (...);
                                committer?: (...) | (...);
                                committerTimestamp?: (...) | (...);
                                displayId?: (...) | (...);
                                id?: (...) | (...);
                                message?: (...) | (...);
                                parents?: (...) | (...);
                            };
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getConfigurations: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string };
            query?: { limit?: number; start?: number };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        isLastPage?: boolean;
                        limit?: number;
                        nextPageStart?: number;
                        size?: number;
                        start?: number;
                        values?: readonly {
                            scope?: {
                                resourceId?: (...)
                                | (...);
                                type?: (...) | (...) | (...) | (...);
                            };
                            script?: {
                                createdDate?: (...)
                                | (...);
                                description?: (...) | (...);
                                id?: (...) | (...);
                                name?: (...) | (...);
                                pluginKey?: (...) | (...);
                                type?: (...) | (...) | (...);
                                updatedDate?: (...) | (...);
                                version?: (...) | (...);
                            };
                            triggerIds?: readonly string[];
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getConfigurations_1: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string; repositorySlug: string };
            query?: { limit?: number; start?: number };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        isLastPage?: boolean;
                        limit?: number;
                        nextPageStart?: number;
                        size?: number;
                        start?: number;
                        values?: readonly {
                            scope?: {
                                resourceId?: (...)
                                | (...);
                                type?: (...) | (...) | (...) | (...);
                            };
                            script?: {
                                createdDate?: (...)
                                | (...);
                                description?: (...) | (...);
                                id?: (...) | (...);
                                name?: (...) | (...);
                                pluginKey?: (...) | (...);
                                type?: (...) | (...) | (...);
                                updatedDate?: (...) | (...);
                                version?: (...) | (...);
                            };
                            triggerIds?: readonly string[];
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getContent: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string; repositorySlug: string };
            query?: {
                at?: string;
                blame?: string;
                noContent?: string;
                size?: string;
                type?: string;
            };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: { "application/json": unknown };
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getContent_1: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { path: string; projectKey: string; repositorySlug: string };
            query?: {
                at?: string;
                blame?: string;
                noContent?: string;
                size?: string;
                type?: string;
            };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: { "application/json": unknown };
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getContentHashById: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { repoId: string };
            query?: { includeDefaultBranch?: boolean };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        archived?: boolean;
                        defaultBranch?: string;
                        description?: string;
                        forkable?: boolean;
                        hierarchyId?: string;
                        id?: number;
                        links?: Record<string, unknown>;
                        name?: string;
                        origin?: {
                            archived?: boolean;
                            defaultBranch?: string;
                            description?: string;
                            forkable?: boolean;
                            hierarchyId?: string;
                            id?: number;
                            links?: Record<string, unknown>;
                            name?: string;
                            partition?: number;
                            project?: {
                                avatar?: string;
                                avatarUrl?: string;
                                description?: string;
                                id?: number;
                                key: string;
                                links?: Record<(...), (...)>;
                                name?: string;
                                public?: boolean;
                                scope?: string;
                                type?: "NORMAL" | "PERSONAL";
                            };
                            public?: boolean;
                            relatedLinks?: Record<string, unknown>;
                            scmId?: string;
                            scope?: string;
                            slug?: string;
                            state?:
                                | "AVAILABLE"
                                | "INITIALISATION_FAILED"
                                | "INITIALISING"
                                | "OFFLINE";
                            statusMessage?: string;
                        };
                        partition?: number;
                        project?: {
                            avatar?: string;
                            avatarUrl?: string;
                            description?: string;
                            id?: number;
                            key: string;
                            links?: Record<string, unknown>;
                            name?: string;
                            public?: boolean;
                            scope?: string;
                            type?: "NORMAL" | "PERSONAL";
                        };
                        properties?: {
                            contentHash?: string;
                            defaultBranchId?: string;
                            metadataHash?: string;
                        };
                        public?: boolean;
                        relatedLinks?: Record<string, unknown>;
                        scmId?: string;
                        scope?: string;
                        slug?: string;
                        state?:
                            | "AVAILABLE"
                            | "INITIALISATION_FAILED"
                            | "INITIALISING"
                            | "OFFLINE";
                        statusMessage?: string;
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getControlPlanePublicKey: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: { "text/plain": unknown };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getDefaultBranch: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: { "application/json": unknown };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getDefaultBranch_1: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string; repositorySlug: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        default?: boolean;
                        displayId?: string;
                        id?: string;
                        latestChangeset?: string;
                        latestCommit?: string;
                        type?: unknown;
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "204": { content?: undefined; headers: Readonly<Record<string, unknown>> };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getDefaultBranch_2: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string; repositorySlug: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        displayId?: string;
                        id?: string;
                        type?: "BRANCH"
                        | "TAG";
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getDefaultTasks: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string };
            query?: { limit?: number; markup?: string; start?: number };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        isLastPage?: boolean;
                        limit?: number;
                        nextPageStart?: number;
                        size?: number;
                        start?: number;
                        values?: readonly { description?: string; html?: string; id?: number }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getDefaultTasks_1: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string; repositorySlug: string };
            query?: { limit?: number; markup?: string; start?: number };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        isLastPage?: boolean;
                        limit?: number;
                        nextPageStart?: number;
                        size?: number;
                        start?: number;
                        values?: readonly { description?: string; html?: string; id?: number }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getDiffStatsSummary: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: {
                commitId: string;
                path: string;
                projectKey: string;
                repositorySlug: string;
            };
            query?: {
                autoSrcPath?: string;
                since?: string;
                srcPath?: string;
                whitespace?: string;
            };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: { "application/json": unknown };
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getDiffStatsSummary_1: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { path: string; projectKey: string; repositorySlug: string };
            query?: {
                from?: string;
                fromRepo?: string;
                srcPath?: string;
                to?: string;
                whitespace?: string;
            };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        binary?: boolean;
                        destination?: {
                            components?: readonly string[];
                            extension?: string;
                            name?: string;
                            parent?: string;
                        };
                        hunks?: readonly {
                            context?: string;
                            destinationLine?: number;
                            destinationSpan?: number;
                            segments?: readonly { lines?: ...; truncated?: ...; type?: ... }[];
                            sourceLine?: number;
                            sourceSpan?: number;
                            truncated?: boolean;
                        }[];
                        lineComments?: readonly {
                            anchor?: {
                                diffType?: (...)
                                | (...)
                                | (...)
                                | (...);
                                fileType?: (...) | (...) | (...);
                                fromHash?: (...) | (...);
                                line?: (...) | (...);
                                lineType?: (...) | (...) | (...) | (...);
                                multilineMarker?: (...) | (...);
                                path?: (...) | (...);
                                pullRequest?: (...) | (...);
                                srcPath?: (...) | (...);
                                toHash?: (...) | (...);
                            };
                            anchored?: boolean;
                            author?: {
                                active?: (...)
                                | (...)
                                | (...);
                                avatarUrl?: (...) | (...);
                                displayName?: (...) | (...);
                                emailAddress?: (...) | (...);
                                id?: (...) | (...);
                                links?: (...) | (...);
                                name?: (...) | (...);
                                slug?: (...) | (...);
                                type?: (...) | (...) | (...);
                            };
                            comments?: readonly { readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineType?: "ADDED" | "CONTEXT" | "REMOVED"; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }[]...;
                            createdDate?: number;
                            html?: string;
                            id?: number;
                            parent?: {
                                anchor?: (...)
                                | (...);
                                anchored?: (...) | (...) | (...);
                                author?: (...) | (...);
                                comments?: readonly { readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineType?: "ADDED" | "CONTEXT" | "REMOVED"; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }[]...;
                                createdDate?: (...) | (...);
                                html?: (...) | (...);
                                id?: (...) | (...);
                                pending?: (...) | (...) | (...);
                                properties?: (...) | (...);
                                reply?: (...) | (...) | (...);
                                resolvedDate?: (...) | (...);
                                resolver?: (...) | (...);
                                severity?: (...) | (...);
                                state?: (...) | (...);
                                text?: (...) | (...);
                                threadResolved?: (...) | (...) | (...);
                                threadResolvedDate?: (...) | (...);
                                threadResolver?: (...) | (...);
                                updatedDate?: (...) | (...);
                                version?: (...) | (...);
                            };
                            pending?: boolean;
                            properties?: Record<string, unknown>;
                            reply?: boolean;
                            resolvedDate?: number;
                            resolver?: {
                                active?: (...) | (...) | (...);
                                avatarUrl?: (...) | (...);
                                displayName?: (...) | (...);
                                emailAddress?: (...) | (...);
                                id?: (...) | (...);
                                links?: (...) | (...);
                                name?: (...) | (...);
                                slug?: (...) | (...);
                                type?: (...) | (...) | (...);
                            };
                            severity?: string;
                            state?: string;
                            text?: string;
                            threadResolved?: boolean;
                            threadResolvedDate?: number;
                            threadResolver?: {
                                active?: (...)
                                | (...)
                                | (...);
                                avatarUrl?: (...) | (...);
                                displayName?: (...) | (...);
                                emailAddress?: (...) | (...);
                                id?: (...) | (...);
                                links?: (...) | (...);
                                name?: (...) | (...);
                                slug?: (...) | (...);
                                type?: (...) | (...) | (...);
                            };
                            updatedDate?: number;
                            version?: number;
                        }[];
                        properties?: Record<string, unknown>;
                        source?: {
                            components?: readonly string[];
                            extension?: string;
                            name?: string;
                            parent?: string;
                        };
                        truncated?: boolean;
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getDiffStatsSummary_2: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: {
                path: string;
                projectKey: string;
                pullRequestId: string;
                repositorySlug: string;
            };
            query?: {
                sinceId?: string;
                srcPath?: string;
                untilId?: string;
                whitespace?: string;
            };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: { "application/json": unknown };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getEnhancedEntityLinkForProject: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        applicationLinkId?: string;
                        displayUrl?: string;
                        projectId?: number;
                        projectKey?: string;
                        projectName?: string;
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getExportJob: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { jobId: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        endDate?: number;
                        id?: number;
                        initiator?: {
                            active?: boolean;
                            avatarUrl?: string;
                            displayName?: string;
                            emailAddress?: string;
                            id?: number;
                            links?: Record<string, unknown>;
                            name?: string;
                            slug?: string;
                            type?: "NORMAL" | "SERVICE";
                        };
                        nodeId?: string;
                        progress?: { message?: string; percentage?: number };
                        startDate?: number;
                        state?:
                            | "FAILED"
                            | "COMPLETED"
                            | "RUNNING"
                            | "READY"
                            | "INITIALISING"
                            | "ABORTED"
                            | "CANCELED"
                            | "CANCELING"
                            | "FINALISING"
                            | "TIMED_OUT";
                        type?: string;
                        updatedDate?: number;
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getExportJobMessages: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { jobId: string };
            query?: {
                limit?: number;
                severity?: string;
                start?: number;
                subject?: string;
            };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        isLastPage?: boolean;
                        limit?: number;
                        nextPageStart?: number;
                        size?: number;
                        start?: number;
                        values?: readonly {
                            createdDate?: string;
                            id?: string;
                            severity?: "ERROR"
                            | "INFO"
                            | "WARN";
                            subject?: string;
                            text?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getFarmNodes: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json;charset=UTF-8": readonly {
                        address?: { address?: string; port?: number };
                        buildVersion?: string;
                        id?: string;
                        local?: boolean;
                        name?: string;
                    }[];
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json;charset=UTF-8": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getForkedRepositories: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string; repositorySlug: string };
            query?: { limit?: number; start?: number };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        isLastPage?: boolean;
                        limit?: number;
                        nextPageStart?: number;
                        size?: number;
                        start?: number;
                        values?: readonly {
                            archived?: boolean;
                            defaultBranch?: string;
                            description?: string;
                            forkable?: boolean;
                            hierarchyId?: string;
                            id?: number;
                            links?: Record<string, unknown>;
                            name?: string;
                            origin?: {
                                archived?: (...) | (...) | (...);
                                defaultBranch?: (...) | (...);
                                description?: (...) | (...);
                                forkable?: (...) | (...) | (...);
                                hierarchyId?: (...) | (...);
                                id?: (...) | (...);
                                links?: (...) | (...);
                                name?: (...) | (...);
                                partition?: (...) | (...);
                                project?: (...) | (...);
                                public?: (...) | (...) | (...);
                                relatedLinks?: (...) | (...);
                                scmId?: (...) | (...);
                                scope?: (...) | (...);
                                slug?: (...) | (...);
                                state?: (...) | (...) | (...) | (...) | (...);
                                statusMessage?: (...) | (...);
                            };
                            partition?: number;
                            project?: {
                                avatar?: (...)
                                | (...);
                                avatarUrl?: (...) | (...);
                                description?: (...) | (...);
                                id?: (...) | (...);
                                key: string;
                                links?: (...) | (...);
                                name?: (...) | (...);
                                public?: (...) | (...) | (...);
                                scope?: (...) | (...);
                                type?: (...) | (...) | (...);
                            };
                            public?: boolean;
                            relatedLinks?: Record<string, unknown>;
                            scmId?: string;
                            scope?: string;
                            slug?: string;
                            state?:
                                | "AVAILABLE"
                                | "INITIALISATION_FAILED"
                                | "INITIALISING"
                                | "OFFLINE";
                            statusMessage?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getForProject: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { keyId: string; projectKey: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        key?: {
                            algorithmType?: string;
                            bitLength?: number;
                            createdDate?: string;
                            expiryDays?: number;
                            fingerprint?: string;
                            id?: number;
                            label?: string;
                            lastAuthenticated?: string;
                            text?: string;
                        };
                        permission?: | "ADMIN"
                        | "LICENSED_USER"
                        | "PROJECT_ADMIN"
                        | "PROJECT_CREATE"
                        | "PROJECT_READ"
                        | "PROJECT_VIEW"
                        | "PROJECT_WRITE"
                        | "REPO_ADMIN"
                        | "REPO_CREATE"
                        | "REPO_READ"
                        | "REPO_WRITE"
                        | "SYS_ADMIN"
                        | "USER_ADMIN";
                        project?: {
                            avatar?: string;
                            avatarUrl?: string;
                            description?: string;
                            id?: number;
                            key: string;
                            links?: Record<string, unknown>;
                            name?: string;
                            public?: boolean;
                            scope?: string;
                            type?: "NORMAL" | "PERSONAL";
                        };
                        repository?: {
                            archived?: boolean;
                            defaultBranch?: string;
                            description?: string;
                            forkable?: boolean;
                            hierarchyId?: string;
                            id?: number;
                            links?: Record<string, unknown>;
                            name?: string;
                            origin?: {
                                archived?: boolean;
                                defaultBranch?: string;
                                description?: string;
                                forkable?: boolean;
                                hierarchyId?: string;
                                id?: number;
                                links?: Record<(...), (...)>;
                                name?: string;
                                partition?: number;
                                project?: {
                                    avatar?: ...;
                                    avatarUrl?: ...;
                                    description?: ...;
                                    id?: ...;
                                    key: ...;
                                    links?: ...;
                                    name?: ...;
                                    public?: ...;
                                    scope?: ...;
                                    type?: ...;
                                };
                                public?: boolean;
                                relatedLinks?: Record<(...), (...)>;
                                scmId?: string;
                                scope?: string;
                                slug?: string;
                                state?:
                                    | "AVAILABLE"
                                    | "INITIALISATION_FAILED"
                                    | "INITIALISING"
                                    | "OFFLINE";
                                statusMessage?: string;
                            };
                            partition?: number;
                            project?: {
                                avatar?: string;
                                avatarUrl?: string;
                                description?: string;
                                id?: number;
                                key: string;
                                links?: Record<(...), (...)>;
                                name?: string;
                                public?: boolean;
                                scope?: string;
                                type?: "NORMAL" | "PERSONAL";
                            };
                            public?: boolean;
                            relatedLinks?: Record<string, unknown>;
                            scmId?: string;
                            scope?: string;
                            slug?: string;
                            state?:
                                | "AVAILABLE"
                                | "INITIALISATION_FAILED"
                                | "INITIALISING"
                                | "OFFLINE";
                            statusMessage?: string;
                        };
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getForProjects: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { keyId: number };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: { "application/json": unknown };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getForRepositories: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { keyId: string };
            query?: { withRestrictions?: string };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: { "application/json": unknown };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getForRepository: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { keyId: string; projectKey: string; repositorySlug: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        key?: {
                            algorithmType?: string;
                            bitLength?: number;
                            createdDate?: string;
                            expiryDays?: number;
                            fingerprint?: string;
                            id?: number;
                            label?: string;
                            lastAuthenticated?: string;
                            text?: string;
                        };
                        permission?: | "ADMIN"
                        | "LICENSED_USER"
                        | "PROJECT_ADMIN"
                        | "PROJECT_CREATE"
                        | "PROJECT_READ"
                        | "PROJECT_VIEW"
                        | "PROJECT_WRITE"
                        | "REPO_ADMIN"
                        | "REPO_CREATE"
                        | "REPO_READ"
                        | "REPO_WRITE"
                        | "SYS_ADMIN"
                        | "USER_ADMIN";
                        project?: {
                            avatar?: string;
                            avatarUrl?: string;
                            description?: string;
                            id?: number;
                            key: string;
                            links?: Record<string, unknown>;
                            name?: string;
                            public?: boolean;
                            scope?: string;
                            type?: "NORMAL" | "PERSONAL";
                        };
                        repository?: {
                            archived?: boolean;
                            defaultBranch?: string;
                            description?: string;
                            forkable?: boolean;
                            hierarchyId?: string;
                            id?: number;
                            links?: Record<string, unknown>;
                            name?: string;
                            origin?: {
                                archived?: boolean;
                                defaultBranch?: string;
                                description?: string;
                                forkable?: boolean;
                                hierarchyId?: string;
                                id?: number;
                                links?: Record<(...), (...)>;
                                name?: string;
                                partition?: number;
                                project?: {
                                    avatar?: ...;
                                    avatarUrl?: ...;
                                    description?: ...;
                                    id?: ...;
                                    key: ...;
                                    links?: ...;
                                    name?: ...;
                                    public?: ...;
                                    scope?: ...;
                                    type?: ...;
                                };
                                public?: boolean;
                                relatedLinks?: Record<(...), (...)>;
                                scmId?: string;
                                scope?: string;
                                slug?: string;
                                state?:
                                    | "AVAILABLE"
                                    | "INITIALISATION_FAILED"
                                    | "INITIALISING"
                                    | "OFFLINE";
                                statusMessage?: string;
                            };
                            partition?: number;
                            project?: {
                                avatar?: string;
                                avatarUrl?: string;
                                description?: string;
                                id?: number;
                                key: string;
                                links?: Record<(...), (...)>;
                                name?: string;
                                public?: boolean;
                                scope?: string;
                                type?: "NORMAL" | "PERSONAL";
                            };
                            public?: boolean;
                            relatedLinks?: Record<string, unknown>;
                            scmId?: string;
                            scope?: string;
                            slug?: string;
                            state?:
                                | "AVAILABLE"
                                | "INITIALISATION_FAILED"
                                | "INITIALISING"
                                | "OFFLINE";
                            statusMessage?: string;
                        };
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getForRepository_1: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string; repositorySlug: string };
            query?: {
                effective?: string;
                filter?: string;
                limit?: number;
                minimumPermission?: string;
                permission?: string;
                start?: number;
            };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        isLastPage?: boolean;
                        limit?: number;
                        nextPageStart?: number;
                        size?: number;
                        start?: number;
                        values?: readonly {
                            key?: {
                                algorithmType?: (...)
                                | (...);
                                bitLength?: (...) | (...);
                                createdDate?: (...) | (...);
                                expiryDays?: (...) | (...);
                                fingerprint?: (...) | (...);
                                id?: (...) | (...);
                                label?: (...) | (...);
                                lastAuthenticated?: (...) | (...);
                                text?: (...) | (...);
                            };
                            permission?: | "ADMIN"
                            | "LICENSED_USER"
                            | "PROJECT_ADMIN"
                            | "PROJECT_CREATE"
                            | "PROJECT_READ"
                            | "PROJECT_VIEW"
                            | "PROJECT_WRITE"
                            | "REPO_ADMIN"
                            | "REPO_CREATE"
                            | "REPO_READ"
                            | "REPO_WRITE"
                            | "SYS_ADMIN"
                            | "USER_ADMIN";
                            project?: {
                                avatar?: (...)
                                | (...);
                                avatarUrl?: (...) | (...);
                                description?: (...) | (...);
                                id?: (...) | (...);
                                key: string;
                                links?: (...) | (...);
                                name?: (...) | (...);
                                public?: (...) | (...) | (...);
                                scope?: (...) | (...);
                                type?: (...) | (...) | (...);
                            };
                            repository?: {
                                archived?: (...)
                                | (...)
                                | (...);
                                defaultBranch?: (...) | (...);
                                description?: (...) | (...);
                                forkable?: (...) | (...) | (...);
                                hierarchyId?: (...) | (...);
                                id?: (...) | (...);
                                links?: (...) | (...);
                                name?: (...) | (...);
                                origin?: (...) | (...);
                                partition?: (...) | (...);
                                project?: (...) | (...);
                                public?: (...) | (...) | (...);
                                relatedLinks?: (...) | (...);
                                scmId?: (...) | (...);
                                scope?: (...) | (...);
                                slug?: (...) | (...);
                                state?: (...) | (...) | (...) | (...) | (...);
                                statusMessage?: (...) | (...);
                            };
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getGlobalSettings: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        keyTypeRestrictions?: readonly {
                            algorithm?: string;
                            allowed?: boolean;
                            minKeyLength?: {
                                asInt?: (...)
                                | (...);
                                present?: (...) | (...) | (...);
                            };
                        }[];
                        maxExpiryDays?: { asInt?: number; present?: boolean };
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getGroups: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: { filter?: string; limit?: number; start?: number };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        isLastPage?: boolean;
                        limit?: number;
                        nextPageStart?: number;
                        size?: number;
                        start?: number;
                        values?: readonly string[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getGroups_1: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: { filter?: string; limit?: number; start?: number };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        isLastPage?: boolean;
                        limit?: number;
                        nextPageStart?: number;
                        size?: number;
                        start?: number;
                        values?: readonly { deletable?: boolean; name?: string }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getGroupsWithAnyPermission: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: { filter?: string; limit?: number; start?: number };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        isLastPage?: boolean;
                        limit?: number;
                        nextPageStart?: number;
                        size?: number;
                        start?: number;
                        values?: readonly {
                            group?: { name?: (...)
                            | (...) };
                            permission?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getGroupsWithAnyPermission_1: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string };
            query?: { filter?: string; limit?: number; start?: number };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        isLastPage?: boolean;
                        limit?: number;
                        nextPageStart?: number;
                        size?: number;
                        start?: number;
                        values?: readonly {
                            group?: { name?: (...)
                            | (...) };
                            permission?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getGroupsWithAnyPermission_2: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string; repositorySlug: string };
            query?: { filter?: string; limit?: number; start?: number };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        isLastPage?: boolean;
                        limit?: number;
                        nextPageStart?: number;
                        size?: number;
                        start?: number;
                        values?: readonly {
                            group?: { name?: (...)
                            | (...) };
                            permission?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getGroupsWithoutAnyPermission: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: { filter?: string; limit?: number; start?: number };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        isLastPage?: boolean;
                        limit?: number;
                        nextPageStart?: number;
                        size?: number;
                        start?: number;
                        values?: readonly { deletable?: boolean; name?: string }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getGroupsWithoutAnyPermission_1: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string };
            query?: { filter?: string; limit?: number; start?: number };
        };
        requestBody?: undefined;
        responses: {
            "202": {
                content: {
                    "application/json": {
                        isLastPage?: boolean;
                        limit?: number;
                        nextPageStart?: number;
                        size?: number;
                        start?: number;
                        values?: readonly { deletable?: boolean; name?: string }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getGroupsWithoutAnyPermission_2: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string; repositorySlug: string };
            query?: { filter?: string; limit?: number; start?: number };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        isLastPage?: boolean;
                        limit?: number;
                        nextPageStart?: number;
                        size?: number;
                        start?: number;
                        values?: readonly { deletable?: boolean; name?: string }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getHistory: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: { limit?: number; order?: "FREQUENCY" | "NEWEST"; start?: number };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        isLastPage?: boolean;
                        limit?: number;
                        nextPageStart?: number;
                        size?: number;
                        start?: number;
                        values?: readonly {
                            lastRejectTime?: number;
                            rejectCount?: number;
                            user?: {
                                active?: (...)
                                | (...)
                                | (...);
                                avatarUrl?: (...) | (...);
                                displayName?: (...) | (...);
                                emailAddress?: (...) | (...);
                                id?: (...) | (...);
                                links?: (...) | (...);
                                name?: (...) | (...);
                                slug?: (...) | (...);
                                type?: (...) | (...) | (...);
                            };
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getHookScript: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { scriptId: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        createdDate?: string;
                        description?: string;
                        id?: number;
                        name?: string;
                        pluginKey?: string;
                        type?: "POST"
                        | "PRE";
                        updatedDate?: string;
                        version?: number;
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getImportJob: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { jobId: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        endDate?: number;
                        id?: number;
                        initiator?: {
                            active?: boolean;
                            avatarUrl?: string;
                            displayName?: string;
                            emailAddress?: string;
                            id?: number;
                            links?: Record<string, unknown>;
                            name?: string;
                            slug?: string;
                            type?: "NORMAL" | "SERVICE";
                        };
                        nodeId?: string;
                        progress?: { message?: string; percentage?: number };
                        startDate?: number;
                        state?:
                            | "FAILED"
                            | "COMPLETED"
                            | "RUNNING"
                            | "READY"
                            | "INITIALISING"
                            | "ABORTED"
                            | "CANCELED"
                            | "CANCELING"
                            | "FINALISING"
                            | "TIMED_OUT";
                        type?: string;
                        updatedDate?: number;
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getImportJobMessages: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { jobId: string };
            query?: {
                limit?: number;
                severity?: string;
                start?: number;
                subject?: string;
            };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        isLastPage?: boolean;
                        limit?: number;
                        nextPageStart?: number;
                        size?: number;
                        start?: number;
                        values?: readonly {
                            createdDate?: string;
                            id?: string;
                            severity?: "ERROR"
                            | "INFO"
                            | "WARN";
                            subject?: string;
                            text?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getInformation: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        localNode?: {
                            address?: { address?: string; port?: number };
                            buildVersion?: string;
                            id?: string;
                            local?: boolean;
                            name?: string;
                        };
                        nodes?: readonly {
                            address?: { address?: (...)
                            | (...); port?: (...) | (...) };
                            buildVersion?: string;
                            id?: string;
                            local?: boolean;
                            name?: string;
                        }[];
                        running?: boolean;
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getIssueKeysForPullRequest: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: {
                projectKey: string;
                pullRequestId: string;
                repositorySlug: string;
            };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json;charset=UTF-8": readonly {
                        key?: string;
                        url?: string;
                    }[];
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getKeysForUser: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: { limit?: number; start?: number; user?: string };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        isLastPage?: boolean;
                        limit?: number;
                        nextPageStart?: number;
                        size?: number;
                        start?: number;
                        values?: readonly {
                            emailAddress?: string;
                            expiryDate?: number;
                            fingerprint?: string;
                            id?: string;
                            subKeys?: readonly { expiryDate?: ...; fingerprint?: ... }[];
                            text?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getLabel: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { labelName: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: { "application/json": { name?: string } };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getLabelables: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { labelName: string };
            query?: { limit?: number; start?: number; type?: string };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        isLastPage?: boolean;
                        limit?: number;
                        nextPageStart?: number;
                        size?: number;
                        start?: number;
                        values?: readonly {
                            archived?: boolean;
                            defaultBranch?: string;
                            description?: string;
                            forkable?: boolean;
                            hierarchyId?: string;
                            id?: number;
                            labelableType?: "REPOSITORY";
                            links?: Record<string, unknown>;
                            name?: string;
                            origin?: {
                                archived?: (...) | (...) | (...);
                                defaultBranch?: (...) | (...);
                                description?: (...) | (...);
                                forkable?: (...) | (...) | (...);
                                hierarchyId?: (...) | (...);
                                id?: (...) | (...);
                                links?: (...) | (...);
                                name?: (...) | (...);
                                partition?: (...) | (...);
                                project?: (...) | (...);
                                public?: (...) | (...) | (...);
                                relatedLinks?: (...) | (...);
                                scmId?: (...) | (...);
                                scope?: (...) | (...);
                                slug?: (...) | (...);
                                state?: (...) | (...) | (...) | (...) | (...);
                                statusMessage?: (...) | (...);
                            };
                            partition?: number;
                            project?: {
                                avatar?: (...)
                                | (...);
                                avatarUrl?: (...) | (...);
                                description?: (...) | (...);
                                id?: (...) | (...);
                                key: string;
                                links?: (...) | (...);
                                name?: (...) | (...);
                                public?: (...) | (...) | (...);
                                scope?: (...) | (...);
                                type?: (...) | (...) | (...);
                            };
                            public?: boolean;
                            relatedLinks?: Record<string, unknown>;
                            scmId?: string;
                            scope?: string;
                            slug?: string;
                            state?:
                                | "AVAILABLE"
                                | "INITIALISATION_FAILED"
                                | "INITIALISING"
                                | "OFFLINE";
                            statusMessage?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getLabels: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: { limit?: number; prefix?: string; start?: number };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        isLastPage?: boolean;
                        limit?: number;
                        nextPageStart?: number;
                        size?: number;
                        start?: number;
                        values?: readonly { name?: string }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getLatestInvocation: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string; webhookId: string };
            query?: { event?: string; outcome?: string };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        duration?: number;
                        event?: string;
                        eventScope?: { id?: string; type?: string };
                        finish?: number;
                        id?: number;
                        request?: Record<string, unknown>;
                        result?: Record<string, unknown>;
                        start?: number;
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getLatestInvocation_1: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string; repositorySlug: string; webhookId: string };
            query?: { event?: string; outcome?: string };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        duration?: number;
                        event?: string;
                        eventScope?: { id?: string; type?: string };
                        finish?: number;
                        id?: number;
                        request?: Record<string, unknown>;
                        result?: Record<string, unknown>;
                        start?: number;
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "204": { content?: undefined; headers: Readonly<Record<string, unknown>> };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getLevel: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { loggerName: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: { "application/json": { logLevel?: string } };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getMailConfig: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        hostname?: string;
                        password?: string;
                        port?: number;
                        protocol?: "SMTP"
                        | "SMTPS";
                        requireStartTls?: boolean;
                        senderAddress?: string;
                        username?: string;
                        useStartTls?: boolean;
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getMergeBase: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { commitId: string; projectKey: string; repositorySlug: string };
            query?: { otherCommitId?: string };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        author?: {
                            avatarUrl?: string;
                            emailAddress?: string;
                            name?: string;
                        };
                        authorTimestamp?: number;
                        committer?: {
                            avatarUrl?: string;
                            emailAddress?: string;
                            name?: string;
                        };
                        committerTimestamp?: number;
                        displayId?: string;
                        id?: string;
                        message?: string;
                        parents?: readonly { displayId?: string; id?: string }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "204": { content?: undefined; headers: Readonly<Record<string, unknown>> };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getMergeBase_1: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: {
                projectKey: string;
                pullRequestId: string;
                repositorySlug: string;
            };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        author?: {
                            avatarUrl?: string;
                            emailAddress?: string;
                            name?: string;
                        };
                        authorTimestamp?: number;
                        committer?: {
                            avatarUrl?: string;
                            emailAddress?: string;
                            name?: string;
                        };
                        committerTimestamp?: number;
                        displayId?: string;
                        id?: string;
                        message?: string;
                        parents?: readonly { displayId?: string; id?: string }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "204": { content?: undefined; headers: Readonly<Record<string, unknown>> };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getMergeConfig: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { scmId: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        commitMessageTemplate?: { body?: string; title?: string };
                        commitSummaries?: number;
                        defaultStrategy?: {
                            description?: string;
                            enabled?: boolean;
                            flag?: string;
                            id?: string;
                            links?: Record<string, unknown>;
                            name?: string;
                        };
                        strategies?: readonly {
                            description?: string;
                            enabled?: boolean;
                            flag?: string;
                            id?: string;
                            links?: Record<string, unknown>;
                            name?: string;
                        }[];
                        type?: string;
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getMeshMigrationJob: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { jobId: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: { "application/json": unknown };
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getMeshMigrationJobMessages: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { jobId: string };
            query?: {
                limit?: number;
                severity?: string;
                start?: number;
                subject?: string;
            };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        isLastPage?: boolean;
                        limit?: number;
                        nextPageStart?: number;
                        size?: number;
                        start?: number;
                        values?: readonly {
                            createdDate?: string;
                            id?: string;
                            severity?: "ERROR"
                            | "INFO"
                            | "WARN";
                            subject?: string;
                            text?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getMeshMigrationJobSummary: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { jobId: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        endTime?: number;
                        jobId?: number;
                        maxBandwidth?: number;
                        progress?: number;
                        queue?: Record<string, unknown>;
                        startTime?: number;
                        state?: string;
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getMirror: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { mirrorId: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        baseUrl?: string;
                        enabled?: boolean;
                        id?: string;
                        lastSeenDate?: string;
                        mirrorType?: "FARM"
                        | "SINGLE";
                        name?: string;
                        productVersion?: string;
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getMirroredProjects: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: { "application/json": unknown };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getMirroredRepository: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { externalRepositoryId: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        available?: boolean;
                        cloneUrls?: readonly { href?: string; name?: string }[];
                        lastUpdated?: string;
                        mirrorName?: string;
                        pushUrls?: readonly { href?: string; name?: string }[];
                        repositoryId?: string;
                        status?:
                            | "AVAILABLE"
                            | "ERROR_AVAILABLE"
                            | "ERROR_INITIALIZING"
                            | "INITIALIZING"
                            | "NOT_MIRRORED";
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getMirroringRequest: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { mirroringRequestId: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        id?: number;
                        mirrorBaseUrl?: string;
                        mirrorId?: string;
                        mirrorName?: string;
                        mirrorType?: "FARM"
                        | "SINGLE";
                        productVersion?: string;
                        state?: "ACCEPTED" | "PENDING" | "REJECTED";
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "409": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getMirrorMode: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: { "application/json": unknown };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getMirrorSettings: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        mode?: "ALL_PROJECTS"
                        | "SELECTED_PROJECTS";
                        projectIds?: readonly string[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getMultipleBuildStatusStats: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: undefined;
        };
        requestBody?: { content: { "application/json": readonly string[] } };
        responses: {
            "200": {
                content: { "application/json": unknown };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }

    Type declaration

    • Readonlyparameters: { cookie?: undefined; header?: undefined; path?: undefined; query?: undefined }
    • Optional ReadonlyrequestBody?: { content: { "application/json": readonly string[] } }

      full SHA1 of each commit

    • Readonlyresponses: {
          "200": {
              content: { "application/json": unknown };
              headers: Readonly<Record<string, unknown>>;
          };
          "401": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
      }
      • Readonly200: {
            content: { "application/json": unknown };
            headers: Readonly<Record<string, unknown>>;
        }

        The number of successful/failed/in-progress/cancelled/unknown builds for each commit (with the caveat that the commits without any builds associated with them will not be present in the response)

      • Readonly401: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The user is not authenticated or does not have the LICENSED permission

    getOutOfSyncRepositories: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: { "application/json;charset=UTF-8": string };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json;charset=UTF-8": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "409": {
                content: {
                    "application/json;charset=UTF-8": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getPage: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string; repositorySlug: string };
            query?: {
                at?: string;
                direction?: string;
                draft?: string;
                filterText?: string;
                limit?: number;
                order?: string;
                start?: number;
                state?: string;
                withAttributes?: string;
                withProperties?: string;
            };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        isLastPage?: boolean;
                        limit?: number;
                        nextPageStart?: number;
                        size?: number;
                        start?: number;
                        values?: readonly {
                            closed?: boolean;
                            closedDate?: number;
                            createdDate?: number;
                            description?: string;
                            descriptionAsHtml?: string;
                            draft?: boolean;
                            fromRef?: {
                                displayId?: (...)
                                | (...);
                                id?: (...) | (...);
                                latestCommit?: (...) | (...);
                                repository?: (...) | (...);
                                type?: (...) | (...) | (...);
                            };
                            htmlDescription?: string;
                            id?: number;
                            links?: Record<string, unknown>;
                            locked?: boolean;
                            open?: boolean;
                            participants?: readonly {
                                approved?: ...;
                                lastReviewedCommit?: ...;
                                role?: ...;
                                status?: ...;
                                user?: ...;
                            }[];
                            reviewers?: readonly {
                                approved?: ...;
                                lastReviewedCommit?: ...;
                                role?: ...;
                                status?: ...;
                                user?: ...;
                            }[];
                            state?: "DECLINED"
                            | "MERGED"
                            | "OPEN";
                            title?: string;
                            toRef?: {
                                displayId?: (...) | (...);
                                id?: (...) | (...);
                                latestCommit?: (...) | (...);
                                repository?: (...) | (...);
                                type?: (...) | (...) | (...);
                            };
                            updatedDate?: number;
                            version?: number;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getPageOfRequiredBuildsMergeChecks: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string; repositorySlug: string };
            query?: { limit?: number; start?: number };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        isLastPage?: boolean;
                        limit?: number;
                        nextPageStart?: number;
                        size?: number;
                        start?: number;
                        values?: readonly {
                            buildParentKeys?: readonly string[];
                            exemptRefMatcher?: {
                                displayId?: (...)
                                | (...);
                                id?: (...) | (...);
                                type?: (...) | (...);
                            };
                            id?: number;
                            refMatcher?: {
                                displayId?: (...)
                                | (...);
                                id?: (...) | (...);
                                type?: (...) | (...);
                            };
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getPreferredMirrorId: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        baseUrl?: string;
                        enabled?: boolean;
                        id?: string;
                        lastSeenDate?: string;
                        mirrorType?: "FARM"
                        | "SINGLE";
                        name?: string;
                        productVersion?: string;
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getProject: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        avatar?: string;
                        avatarUrl?: string;
                        description?: string;
                        id?: number;
                        key?: string;
                        links?: Record<string, unknown>;
                        name?: string;
                        public?: boolean;
                        scope?: string;
                        type?: "NORMAL" | "PERSONAL";
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getProjectAvatar: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string };
            query?: { s?: string };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: { "application/json": unknown };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getProjectById: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectId: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        avatar?: string;
                        avatarUrl?: string;
                        description?: string;
                        id?: number;
                        key?: string;
                        links?: Record<string, unknown>;
                        name?: string;
                        public?: boolean;
                        scope?: string;
                        type?: "NORMAL" | "PERSONAL";
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getProjects: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: {
                limit?: number;
                name?: string;
                permission?: string;
                start?: number;
            };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        isLastPage?: boolean;
                        limit?: number;
                        nextPageStart?: number;
                        size?: number;
                        start?: number;
                        values?: readonly {
                            avatar?: string;
                            avatarUrl?: string;
                            description?: string;
                            id?: number;
                            key?: string;
                            links?: Record<string, unknown>;
                            name?: string;
                            public?: boolean;
                            scope?: string;
                            type?: "NORMAL" | "PERSONAL";
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getPullRequestConditions: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": readonly {
                        id?: number;
                        requiredApprovals?: number;
                        reviewers?: readonly {
                            active?: boolean;
                            avatarUrl?: string;
                            displayName?: string;
                            emailAddress?: string;
                            id?: number;
                            links?: Record<(...), (...)>;
                            name?: string;
                            slug?: string;
                            type?: "NORMAL" | "SERVICE";
                        }[];
                        scope?: {
                            resourceId?: number;
                            type?: "GLOBAL"
                            | "PROJECT"
                            | "REPOSITORY";
                        };
                        sourceRefMatcher?: {
                            displayId?: string;
                            id?: string;
                            type?: {
                                id?: (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...);
                                name?: (...) | (...);
                            };
                        };
                        targetRefMatcher?: {
                            displayId?: string;
                            id?: string;
                            type?: {
                                id?: (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...);
                                name?: (...) | (...);
                            };
                        };
                    }[];
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getPullRequestConditions_1: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string; repositorySlug: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": readonly {
                        id?: number;
                        requiredApprovals?: number;
                        reviewers?: readonly {
                            active?: boolean;
                            avatarUrl?: string;
                            displayName?: string;
                            emailAddress?: string;
                            id?: number;
                            links?: Record<(...), (...)>;
                            name?: string;
                            slug?: string;
                            type?: "NORMAL" | "SERVICE";
                        }[];
                        scope?: {
                            resourceId?: number;
                            type?: "GLOBAL"
                            | "PROJECT"
                            | "REPOSITORY";
                        };
                        sourceRefMatcher?: {
                            displayId?: string;
                            id?: string;
                            type?: {
                                id?: (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...);
                                name?: (...) | (...);
                            };
                        };
                        targetRefMatcher?: {
                            displayId?: string;
                            id?: string;
                            type?: {
                                id?: (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...);
                                name?: (...) | (...);
                            };
                        };
                    }[];
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getPullRequestCount: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            default: {
                content: { "application/json;charset=UTF-8": unknown };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getPullRequests: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { commitId: string; projectKey: string; repositorySlug: string };
            query?: { limit?: number; start?: number };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        isLastPage?: boolean;
                        limit?: number;
                        nextPageStart?: number;
                        size?: number;
                        start?: number;
                        values?: readonly {
                            closed?: boolean;
                            closedDate?: number;
                            createdDate?: number;
                            description?: string;
                            descriptionAsHtml?: string;
                            draft?: boolean;
                            fromRef?: {
                                displayId?: (...)
                                | (...);
                                id?: (...) | (...);
                                latestCommit?: (...) | (...);
                                repository?: (...) | (...);
                                type?: (...) | (...) | (...);
                            };
                            htmlDescription?: string;
                            id?: number;
                            links?: Record<string, unknown>;
                            locked?: boolean;
                            open?: boolean;
                            participants?: readonly {
                                approved?: ...;
                                lastReviewedCommit?: ...;
                                role?: ...;
                                status?: ...;
                                user?: ...;
                            }[];
                            reviewers?: readonly {
                                approved?: ...;
                                lastReviewedCommit?: ...;
                                role?: ...;
                                status?: ...;
                                user?: ...;
                            }[];
                            state?: "DECLINED"
                            | "MERGED"
                            | "OPEN";
                            title?: string;
                            toRef?: {
                                displayId?: (...) | (...);
                                id?: (...) | (...);
                                latestCommit?: (...) | (...);
                                repository?: (...) | (...);
                                type?: (...) | (...) | (...);
                            };
                            updatedDate?: number;
                            version?: number;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getPullRequests_1: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: {
                closedSince?: string;
                limit?: number;
                order?: string;
                participantStatus?: string;
                role?: string;
                start?: number;
                state?: string;
                user?: string;
            };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        isLastPage?: boolean;
                        limit?: number;
                        nextPageStart?: number;
                        size?: number;
                        start?: number;
                        values?: readonly {
                            closed?: boolean;
                            closedDate?: number;
                            createdDate?: number;
                            description?: string;
                            descriptionAsHtml?: string;
                            draft?: boolean;
                            fromRef?: {
                                displayId?: (...)
                                | (...);
                                id?: (...) | (...);
                                latestCommit?: (...) | (...);
                                repository?: (...) | (...);
                                type?: (...) | (...) | (...);
                            };
                            htmlDescription?: string;
                            id?: number;
                            links?: Record<string, unknown>;
                            locked?: boolean;
                            open?: boolean;
                            participants?: readonly {
                                approved?: ...;
                                lastReviewedCommit?: ...;
                                role?: ...;
                                status?: ...;
                                user?: ...;
                            }[];
                            reviewers?: readonly {
                                approved?: ...;
                                lastReviewedCommit?: ...;
                                role?: ...;
                                status?: ...;
                                user?: ...;
                            }[];
                            state?: "DECLINED"
                            | "MERGED"
                            | "OPEN";
                            title?: string;
                            toRef?: {
                                displayId?: (...) | (...);
                                id?: (...) | (...);
                                latestCommit?: (...) | (...);
                                repository?: (...) | (...);
                                type?: (...) | (...) | (...);
                            };
                            updatedDate?: number;
                            version?: number;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getPullRequests_2: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: { limit?: number; role?: string; start?: number };
        };
        requestBody?: undefined;
        responses: {
            default: {
                content: { "application/json;charset=UTF-8": unknown };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getPullRequestSettings: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string; scmId: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        mergeConfig?: {
                            commitMessageTemplate?: { body?: string; title?: string };
                            commitSummaries?: number;
                            defaultStrategy?: {
                                description?: string;
                                enabled?: boolean;
                                flag?: string;
                                id?: string;
                                links?: Record<(...), (...)>;
                                name?: string;
                            };
                            strategies?: readonly {
                                description?: (...)
                                | (...);
                                enabled?: (...) | (...) | (...);
                                flag?: (...) | (...);
                                id?: (...) | (...);
                                links?: (...) | (...);
                                name?: (...) | (...);
                            }[];
                            type?: string;
                        };
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getPullRequestSettings_1: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string; repositorySlug: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        mergeConfig?: {
                            commitMessageTemplate?: { body?: string; title?: string };
                            commitSummaries?: number;
                            defaultStrategy?: {
                                description?: string;
                                enabled?: boolean;
                                flag?: string;
                                id?: string;
                                links?: Record<(...), (...)>;
                                name?: string;
                            };
                            strategies?: readonly {
                                description?: (...)
                                | (...);
                                enabled?: (...) | (...) | (...);
                                flag?: (...) | (...);
                                id?: (...) | (...);
                                links?: (...) | (...);
                                name?: (...) | (...);
                            }[];
                            type?: string;
                        };
                        requiredAllApprovers?: boolean;
                        requiredAllTasksComplete?: boolean;
                        requiredApprovers?: { count?: string; enabled?: boolean };
                        requiredApproversDeprecated?: number;
                        requiredSuccessfulBuilds?: { count?: string; enabled?: boolean };
                        requiredSuccessfulBuildsDeprecated?: number;
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getPullRequestSuggestions: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: { changesSince?: string; limit?: string };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        isLastPage?: boolean;
                        limit?: number;
                        nextPageStart?: number;
                        size?: number;
                        start?: number;
                        values?: readonly {
                            changeTme?: number;
                            fromRef?: {
                                displayId?: (...)
                                | (...);
                                id?: (...) | (...);
                                type?: (...) | (...) | (...);
                            };
                            refChange?: {
                                fromHash?: (...)
                                | (...);
                                ref?: (...) | (...);
                                refId?: (...) | (...);
                                toHash?: (...) | (...);
                                type?: (...) | (...) | (...) | (...);
                            };
                            repository?: {
                                archived?: (...)
                                | (...)
                                | (...);
                                defaultBranch?: (...) | (...);
                                description?: (...) | (...);
                                forkable?: (...) | (...) | (...);
                                hierarchyId?: (...) | (...);
                                id?: (...) | (...);
                                links?: (...) | (...);
                                name?: (...) | (...);
                                origin?: (...) | (...);
                                partition?: (...) | (...);
                                project?: (...) | (...);
                                public?: (...) | (...) | (...);
                                relatedLinks?: (...) | (...);
                                scmId?: (...) | (...);
                                scope?: (...) | (...);
                                slug?: (...) | (...);
                                state?: (...) | (...) | (...) | (...) | (...);
                                statusMessage?: (...) | (...);
                            };
                            toRef?: {
                                displayId?: (...)
                                | (...);
                                id?: (...) | (...);
                                type?: (...) | (...) | (...);
                            };
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getRefChangeActivity: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string; repositorySlug: string };
            query?: { limit?: number; ref?: string; start?: number };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        isLastPage?: boolean;
                        limit?: number;
                        nextPageStart?: number;
                        size?: number;
                        start?: number;
                        values?: readonly {
                            createdDate?: number;
                            id?: number;
                            refChange?: {
                                fromHash?: (...)
                                | (...);
                                ref?: (...) | (...);
                                refId?: (...) | (...);
                                toHash?: (...) | (...);
                                type?: (...) | (...) | (...) | (...);
                                updatedType?: (...) | (...) | (...) | (...) | (...);
                            };
                            repository?: {
                                archived?: (...)
                                | (...)
                                | (...);
                                defaultBranch?: (...) | (...);
                                description?: (...) | (...);
                                forkable?: (...) | (...) | (...);
                                hierarchyId?: (...) | (...);
                                id?: (...) | (...);
                                links?: (...) | (...);
                                name?: (...) | (...);
                                origin?: (...) | (...);
                                partition?: (...) | (...);
                                project?: (...) | (...);
                                public?: (...) | (...) | (...);
                                relatedLinks?: (...) | (...);
                                scmId?: (...) | (...);
                                scope?: (...) | (...);
                                slug?: (...) | (...);
                                state?: (...) | (...) | (...) | (...) | (...);
                                statusMessage?: (...) | (...);
                            };
                            trigger?: string;
                            user?: {
                                active?: (...)
                                | (...)
                                | (...);
                                avatarUrl?: (...) | (...);
                                displayName?: (...) | (...);
                                emailAddress?: (...) | (...);
                                id?: (...) | (...);
                                links?: (...) | (...);
                                name?: (...) | (...);
                                slug?: (...) | (...);
                                type?: (...) | (...) | (...);
                            };
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getRefChangesQueue: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json;charset=UTF-8": {
                        values?: readonly {
                            attempt?: number;
                            createdAt?: string;
                            externalRepoId?: string;
                            type?: "incremental"
                            | "snapshot";
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getRefChangesQueueCount: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: { "application/json": unknown };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getRegisteredMeshNodeById: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { id: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        id?: string;
                        lastSeenDate?: number;
                        name?: string;
                        offline?: boolean;
                        rpcId?: string;
                        rpcUrl?: string;
                        state?: "AVAILABLE"
                        | "OFFLINE"
                        | "DELETING"
                        | "DISABLED"
                        | "DRAINING";
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getRelatedRepositories: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string; repositorySlug: string };
            query?: { limit?: number; start?: number };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        isLastPage?: boolean;
                        limit?: number;
                        nextPageStart?: number;
                        size?: number;
                        start?: number;
                        values?: readonly {
                            archived?: boolean;
                            defaultBranch?: string;
                            description?: string;
                            forkable?: boolean;
                            hierarchyId?: string;
                            id?: number;
                            links?: Record<string, unknown>;
                            name?: string;
                            origin?: {
                                archived?: (...) | (...) | (...);
                                defaultBranch?: (...) | (...);
                                description?: (...) | (...);
                                forkable?: (...) | (...) | (...);
                                hierarchyId?: (...) | (...);
                                id?: (...) | (...);
                                links?: (...) | (...);
                                name?: (...) | (...);
                                partition?: (...) | (...);
                                project?: (...) | (...);
                                public?: (...) | (...) | (...);
                                relatedLinks?: (...) | (...);
                                scmId?: (...) | (...);
                                scope?: (...) | (...);
                                slug?: (...) | (...);
                                state?: (...) | (...) | (...) | (...) | (...);
                                statusMessage?: (...) | (...);
                            };
                            partition?: number;
                            project?: {
                                avatar?: (...)
                                | (...);
                                avatarUrl?: (...) | (...);
                                description?: (...) | (...);
                                id?: (...) | (...);
                                key: string;
                                links?: (...) | (...);
                                name?: (...) | (...);
                                public?: (...) | (...) | (...);
                                scope?: (...) | (...);
                                type?: (...) | (...) | (...);
                            };
                            public?: boolean;
                            relatedLinks?: Record<string, unknown>;
                            scmId?: string;
                            scope?: string;
                            slug?: string;
                            state?:
                                | "AVAILABLE"
                                | "INITIALISATION_FAILED"
                                | "INITIALISING"
                                | "OFFLINE";
                            statusMessage?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getReports: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { commitId: string; projectKey: string; repositorySlug: string };
            query?: { limit?: number; start?: number };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        isLastPage?: boolean;
                        limit?: number;
                        nextPageStart?: number;
                        size?: number;
                        start?: number;
                        values?: readonly {
                            createdDate?: number;
                            data?: readonly { title?: ...; type?: ...; value?: ... }[];
                            details?: string;
                            key?: string;
                            link?: string;
                            logoUrl?: string;
                            reporter?: string;
                            result?: "FAIL" | "PASS";
                            title?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getRepositories: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string };
            query?: { limit?: number; start?: number };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        isLastPage?: boolean;
                        limit?: number;
                        nextPageStart?: number;
                        size?: number;
                        start?: number;
                        values?: readonly {
                            archived?: boolean;
                            defaultBranch?: string;
                            description?: string;
                            forkable?: boolean;
                            hierarchyId?: string;
                            id?: number;
                            links?: Record<string, unknown>;
                            name?: string;
                            origin?: {
                                archived?: (...) | (...) | (...);
                                defaultBranch?: (...) | (...);
                                description?: (...) | (...);
                                forkable?: (...) | (...) | (...);
                                hierarchyId?: (...) | (...);
                                id?: (...) | (...);
                                links?: (...) | (...);
                                name?: (...) | (...);
                                partition?: (...) | (...);
                                project?: (...) | (...);
                                public?: (...) | (...) | (...);
                                relatedLinks?: (...) | (...);
                                scmId?: (...) | (...);
                                scope?: (...) | (...);
                                slug?: (...) | (...);
                                state?: (...) | (...) | (...) | (...) | (...);
                                statusMessage?: (...) | (...);
                            };
                            partition?: number;
                            project?: {
                                avatar?: (...)
                                | (...);
                                avatarUrl?: (...) | (...);
                                description?: (...) | (...);
                                id?: (...) | (...);
                                key: string;
                                links?: (...) | (...);
                                name?: (...) | (...);
                                public?: (...) | (...) | (...);
                                scope?: (...) | (...);
                                type?: (...) | (...) | (...);
                            };
                            public?: boolean;
                            relatedLinks?: Record<string, unknown>;
                            scmId?: string;
                            scope?: string;
                            slug?: string;
                            state?:
                                | "AVAILABLE"
                                | "INITIALISATION_FAILED"
                                | "INITIALISING"
                                | "OFFLINE";
                            statusMessage?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getRepositories_1: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: {
                archived?: string;
                limit?: number;
                name?: string;
                permission?: "REPO_ADMIN" | "REPO_READ" | "REPO_WRITE";
                projectkey?: string;
                projectname?: string;
                start?: number;
                state?:
                    | "AVAILABLE"
                    | "INITIALISATION_FAILED"
                    | "INITIALISING"
                    | "OFFLINE";
                visibility?: "public"
                | "private";
            };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        isLastPage?: boolean;
                        limit?: number;
                        nextPageStart?: number;
                        size?: number;
                        start?: number;
                        values?: readonly {
                            archived?: boolean;
                            defaultBranch?: string;
                            description?: string;
                            forkable?: boolean;
                            hierarchyId?: string;
                            id?: number;
                            links?: Record<string, unknown>;
                            name?: string;
                            origin?: {
                                archived?: (...) | (...) | (...);
                                defaultBranch?: (...) | (...);
                                description?: (...) | (...);
                                forkable?: (...) | (...) | (...);
                                hierarchyId?: (...) | (...);
                                id?: (...) | (...);
                                links?: (...) | (...);
                                name?: (...) | (...);
                                partition?: (...) | (...);
                                project?: (...) | (...);
                                public?: (...) | (...) | (...);
                                relatedLinks?: (...) | (...);
                                scmId?: (...) | (...);
                                scope?: (...) | (...);
                                slug?: (...) | (...);
                                state?: (...) | (...) | (...) | (...) | (...);
                                statusMessage?: (...) | (...);
                            };
                            partition?: number;
                            project?: {
                                avatar?: (...)
                                | (...);
                                avatarUrl?: (...) | (...);
                                description?: (...) | (...);
                                id?: (...) | (...);
                                key: string;
                                links?: (...) | (...);
                                name?: (...) | (...);
                                public?: (...) | (...) | (...);
                                scope?: (...) | (...);
                                type?: (...) | (...) | (...);
                            };
                            public?: boolean;
                            relatedLinks?: Record<string, unknown>;
                            scmId?: string;
                            scope?: string;
                            slug?: string;
                            state?:
                                | "AVAILABLE"
                                | "INITIALISATION_FAILED"
                                | "INITIALISING"
                                | "OFFLINE";
                            statusMessage?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getRepositoriesRecentlyAccessed: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: { limit?: number; permission?: string; start?: number };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        isLastPage?: boolean;
                        limit?: number;
                        nextPageStart?: number;
                        size?: number;
                        start?: number;
                        values?: readonly {
                            archived?: boolean;
                            defaultBranch?: string;
                            description?: string;
                            forkable?: boolean;
                            hierarchyId?: string;
                            id?: number;
                            links?: Record<string, unknown>;
                            name?: string;
                            origin?: {
                                archived?: (...) | (...) | (...);
                                defaultBranch?: (...) | (...);
                                description?: (...) | (...);
                                forkable?: (...) | (...) | (...);
                                hierarchyId?: (...) | (...);
                                id?: (...) | (...);
                                links?: (...) | (...);
                                name?: (...) | (...);
                                partition?: (...) | (...);
                                project?: (...) | (...);
                                public?: (...) | (...) | (...);
                                relatedLinks?: (...) | (...);
                                scmId?: (...) | (...);
                                scope?: (...) | (...);
                                slug?: (...) | (...);
                                state?: (...) | (...) | (...) | (...) | (...);
                                statusMessage?: (...) | (...);
                            };
                            partition?: number;
                            project?: {
                                avatar?: (...)
                                | (...);
                                avatarUrl?: (...) | (...);
                                description?: (...) | (...);
                                id?: (...) | (...);
                                key: string;
                                links?: (...) | (...);
                                name?: (...) | (...);
                                public?: (...) | (...) | (...);
                                scope?: (...) | (...);
                                type?: (...) | (...) | (...);
                            };
                            public?: boolean;
                            relatedLinks?: Record<string, unknown>;
                            scmId?: string;
                            scope?: string;
                            slug?: string;
                            state?:
                                | "AVAILABLE"
                                | "INITIALISATION_FAILED"
                                | "INITIALISING"
                                | "OFFLINE";
                            statusMessage?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getRepository: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string; repositorySlug: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        archived?: boolean;
                        defaultBranch?: string;
                        description?: string;
                        forkable?: boolean;
                        hierarchyId?: string;
                        id?: number;
                        links?: Record<string, unknown>;
                        name?: string;
                        origin?: {
                            archived?: boolean;
                            defaultBranch?: string;
                            description?: string;
                            forkable?: boolean;
                            hierarchyId?: string;
                            id?: number;
                            links?: Record<string, unknown>;
                            name?: string;
                            partition?: number;
                            project?: {
                                avatar?: string;
                                avatarUrl?: string;
                                description?: string;
                                id?: number;
                                key: string;
                                links?: Record<(...), (...)>;
                                name?: string;
                                public?: boolean;
                                scope?: string;
                                type?: "NORMAL" | "PERSONAL";
                            };
                            public?: boolean;
                            relatedLinks?: Record<string, unknown>;
                            scmId?: string;
                            scope?: string;
                            slug?: string;
                            state?:
                                | "AVAILABLE"
                                | "INITIALISATION_FAILED"
                                | "INITIALISING"
                                | "OFFLINE";
                            statusMessage?: string;
                        };
                        partition?: number;
                        project?: {
                            avatar?: string;
                            avatarUrl?: string;
                            description?: string;
                            id?: number;
                            key: string;
                            links?: Record<string, unknown>;
                            name?: string;
                            public?: boolean;
                            scope?: string;
                            type?: "NORMAL" | "PERSONAL";
                        };
                        public?: boolean;
                        relatedLinks?: Record<string, unknown>;
                        scmId?: string;
                        scope?: string;
                        slug?: string;
                        state?:
                            | "AVAILABLE"
                            | "INITIALISATION_FAILED"
                            | "INITIALISING"
                            | "OFFLINE";
                        statusMessage?: string;
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getRepositoryArchivePolicy: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        permission?: "ADMIN"
                        | "PROJECT_ADMIN"
                        | "REPO_ADMIN"
                        | "SYS_ADMIN";
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getRepositoryDeletePolicy: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        permission?: "ADMIN"
                        | "PROJECT_ADMIN"
                        | "REPO_ADMIN"
                        | "SYS_ADMIN";
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getRepositoryHook: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { hookKey: string; projectKey: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        configured?: boolean;
                        details?: {
                            configFormKey?: string;
                            description?: string;
                            key?: string;
                            name?: string;
                            supportedScopes?: readonly ("GLOBAL" | "PROJECT" | "REPOSITORY")[];
                            type?: "POST_RECEIVE" | "PRE_PULL_REQUEST_MERGE" | "PRE_RECEIVE";
                            version?: string;
                        };
                        enabled?: boolean;
                        scope?: {
                            resourceId?: number;
                            type?: "GLOBAL"
                            | "PROJECT"
                            | "REPOSITORY";
                        };
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getRepositoryHook_1: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { hookKey: string; projectKey: string; repositorySlug: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        configured?: boolean;
                        details?: {
                            configFormKey?: string;
                            description?: string;
                            key?: string;
                            name?: string;
                            supportedScopes?: readonly ("GLOBAL" | "PROJECT" | "REPOSITORY")[];
                            type?: "POST_RECEIVE" | "PRE_PULL_REQUEST_MERGE" | "PRE_RECEIVE";
                            version?: string;
                        };
                        enabled?: boolean;
                        scope?: {
                            resourceId?: number;
                            type?: "GLOBAL"
                            | "PROJECT"
                            | "REPOSITORY";
                        };
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getRepositoryHooks: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string };
            query?: {
                limit?: number;
                start?: number;
                type?: "POST_RECEIVE" | "PRE_RECEIVE";
            };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        isLastPage?: boolean;
                        limit?: number;
                        nextPageStart?: number;
                        size?: number;
                        start?: number;
                        values?: readonly {
                            configured?: boolean;
                            details?: {
                                configFormKey?: (...)
                                | (...);
                                description?: (...) | (...);
                                key?: (...) | (...);
                                name?: (...) | (...);
                                supportedScopes?: (...) | (...);
                                type?: (...) | (...) | (...) | (...);
                                version?: (...) | (...);
                            };
                            enabled?: boolean;
                            scope?: {
                                resourceId?: (...)
                                | (...);
                                type?: (...) | (...) | (...) | (...);
                            };
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getRepositoryHooks_1: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string; repositorySlug: string };
            query?: {
                limit?: number;
                start?: number;
                type?: "POST_RECEIVE" | "PRE_RECEIVE";
            };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        isLastPage?: boolean;
                        limit?: number;
                        nextPageStart?: number;
                        size?: number;
                        start?: number;
                        values?: readonly {
                            configured?: boolean;
                            details?: {
                                configFormKey?: (...)
                                | (...);
                                description?: (...) | (...);
                                key?: (...) | (...);
                                name?: (...) | (...);
                                supportedScopes?: (...) | (...);
                                type?: (...) | (...) | (...) | (...);
                                version?: (...) | (...);
                            };
                            enabled?: boolean;
                            scope?: {
                                resourceId?: (...)
                                | (...);
                                type?: (...) | (...) | (...) | (...);
                            };
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getRepositoryLockOwner: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string; repositorySlug: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        externalRepositoryId?: string;
                        lockAcquireTime?: string;
                        nodeId?: string;
                        requestId?: string;
                        threadName?: string;
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getRepositoryLockOwners: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json;charset=UTF-8": readonly {
                        externalRepositoryId?: string;
                        lockAcquireTime?: string;
                        nodeId?: string;
                        requestId?: string;
                        threadName?: string;
                    }[];
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getRepositoryMirrors: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { repoId: string };
            query?: { preAuthorized?: boolean };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        links?: Record<string, unknown>;
                        mirrorServer?: {
                            baseUrl?: string;
                            enabled?: boolean;
                            id?: string;
                            lastSeenDate: string;
                            mirrorType?: "FARM" | "SINGLE";
                            name?: string;
                            productVersion?: string;
                        };
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "409": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getRepoSyncStatus: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: { limit?: number; start?: number };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        isLastPage?: boolean;
                        limit?: number;
                        nextPageStart?: number;
                        size?: number;
                        start?: number;
                        values?: readonly {
                            externalRepoId?: string;
                            failedSyncCount?: number;
                            hashes?: { content?: (...)
                            | (...); metadata?: (...) | (...) };
                            initialSyncDate?: string;
                            lastSyncDate?: string;
                            localProjectId?: number;
                            localRepoId?: number;
                            upstreamId?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getRepoSyncStatus_1: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string; repositorySlug: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        externalRepoId?: string;
                        failedSyncCount?: number;
                        hashes?: { content?: string; metadata?: string };
                        initialSyncDate?: string;
                        lastSyncDate?: string;
                        localProjectId?: number;
                        localRepoId?: number;
                        upstreamId?: string;
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getRestriction: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { id: string; projectKey: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        accessKeys?: readonly {
                            key?: {
                                algorithmType?: (...)
                                | (...);
                                bitLength?: (...) | (...);
                                createdDate?: (...) | (...);
                                expiryDays?: (...) | (...);
                                fingerprint?: (...) | (...);
                                id?: (...) | (...);
                                label?: (...) | (...);
                                lastAuthenticated?: (...) | (...);
                                text?: (...) | (...);
                            };
                            permission?: | "ADMIN"
                            | "LICENSED_USER"
                            | "PROJECT_ADMIN"
                            | "PROJECT_CREATE"
                            | "PROJECT_READ"
                            | "PROJECT_VIEW"
                            | "PROJECT_WRITE"
                            | "REPO_ADMIN"
                            | "REPO_CREATE"
                            | "REPO_READ"
                            | "REPO_WRITE"
                            | "SYS_ADMIN"
                            | "USER_ADMIN";
                            project?: {
                                avatar?: (...)
                                | (...);
                                avatarUrl?: (...) | (...);
                                description?: (...) | (...);
                                id?: (...) | (...);
                                key: string;
                                links?: (...) | (...);
                                name?: (...) | (...);
                                public?: (...) | (...) | (...);
                                scope?: (...) | (...);
                                type?: (...) | (...) | (...);
                            };
                            repository?: {
                                archived?: (...)
                                | (...)
                                | (...);
                                defaultBranch?: (...) | (...);
                                description?: (...) | (...);
                                forkable?: (...) | (...) | (...);
                                hierarchyId?: (...) | (...);
                                id?: (...) | (...);
                                links?: (...) | (...);
                                name?: (...) | (...);
                                origin?: (...) | (...);
                                partition?: (...) | (...);
                                project?: (...) | (...);
                                public?: (...) | (...) | (...);
                                relatedLinks?: (...) | (...);
                                scmId?: (...) | (...);
                                scope?: (...) | (...);
                                slug?: (...) | (...);
                                state?: (...) | (...) | (...) | (...) | (...);
                                statusMessage?: (...) | (...);
                            };
                        }[];
                        groups?: readonly string[];
                        id?: number;
                        matcher?: {
                            displayId?: string;
                            id?: string;
                            type?: {
                                id?: | "BRANCH"
                                | "ANY_REF"
                                | "MODEL_BRANCH"
                                | "MODEL_CATEGORY"
                                | "PATTERN";
                                name?: string;
                            };
                        };
                        scope?: {
                            resourceId?: number;
                            type?: "GLOBAL"
                            | "PROJECT"
                            | "REPOSITORY";
                        };
                        type?: string;
                        users?: readonly {
                            active?: boolean;
                            avatarUrl?: string;
                            displayName?: string;
                            emailAddress?: string;
                            id?: number;
                            links?: Record<string, unknown>;
                            name?: string;
                            slug?: string;
                            type?: "NORMAL" | "SERVICE";
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getRestriction_1: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { id: string; projectKey: string; repositorySlug: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        accessKeys?: readonly {
                            key?: {
                                algorithmType?: (...)
                                | (...);
                                bitLength?: (...) | (...);
                                createdDate?: (...) | (...);
                                expiryDays?: (...) | (...);
                                fingerprint?: (...) | (...);
                                id?: (...) | (...);
                                label?: (...) | (...);
                                lastAuthenticated?: (...) | (...);
                                text?: (...) | (...);
                            };
                            permission?: | "ADMIN"
                            | "LICENSED_USER"
                            | "PROJECT_ADMIN"
                            | "PROJECT_CREATE"
                            | "PROJECT_READ"
                            | "PROJECT_VIEW"
                            | "PROJECT_WRITE"
                            | "REPO_ADMIN"
                            | "REPO_CREATE"
                            | "REPO_READ"
                            | "REPO_WRITE"
                            | "SYS_ADMIN"
                            | "USER_ADMIN";
                            project?: {
                                avatar?: (...)
                                | (...);
                                avatarUrl?: (...) | (...);
                                description?: (...) | (...);
                                id?: (...) | (...);
                                key: string;
                                links?: (...) | (...);
                                name?: (...) | (...);
                                public?: (...) | (...) | (...);
                                scope?: (...) | (...);
                                type?: (...) | (...) | (...);
                            };
                            repository?: {
                                archived?: (...)
                                | (...)
                                | (...);
                                defaultBranch?: (...) | (...);
                                description?: (...) | (...);
                                forkable?: (...) | (...) | (...);
                                hierarchyId?: (...) | (...);
                                id?: (...) | (...);
                                links?: (...) | (...);
                                name?: (...) | (...);
                                origin?: (...) | (...);
                                partition?: (...) | (...);
                                project?: (...) | (...);
                                public?: (...) | (...) | (...);
                                relatedLinks?: (...) | (...);
                                scmId?: (...) | (...);
                                scope?: (...) | (...);
                                slug?: (...) | (...);
                                state?: (...) | (...) | (...) | (...) | (...);
                                statusMessage?: (...) | (...);
                            };
                        }[];
                        groups?: readonly string[];
                        id?: number;
                        matcher?: {
                            displayId?: string;
                            id?: string;
                            type?: {
                                id?: | "BRANCH"
                                | "ANY_REF"
                                | "MODEL_BRANCH"
                                | "MODEL_CATEGORY"
                                | "PATTERN";
                                name?: string;
                            };
                        };
                        scope?: {
                            resourceId?: number;
                            type?: "GLOBAL"
                            | "PROJECT"
                            | "REPOSITORY";
                        };
                        type?: string;
                        users?: readonly {
                            active?: boolean;
                            avatarUrl?: string;
                            displayName?: string;
                            emailAddress?: string;
                            id?: number;
                            links?: Record<string, unknown>;
                            name?: string;
                            slug?: string;
                            type?: "NORMAL" | "SERVICE";
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getRestrictions: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string };
            query?: {
                limit?: number;
                matcherId?: string;
                matcherType?: "BRANCH" | "MODEL_BRANCH" | "MODEL_CATEGORY" | "PATTERN";
                start?: number;
                type?:
                    | "fast-forward-only"
                    | "no-deletes"
                    | "pull-request-only"
                    | "read-only";
            };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        isLastPage?: boolean;
                        limit?: number;
                        nextPageStart?: number;
                        size?: number;
                        start?: number;
                        values?: readonly {
                            accessKeys?: readonly {
                                key?: ...;
                                permission?: ...;
                                project?: ...;
                                repository?: ...;
                            }[];
                            groups?: readonly string[];
                            id?: number;
                            matcher?: {
                                displayId?: (...)
                                | (...);
                                id?: (...) | (...);
                                type?: (...) | (...);
                            };
                            scope?: {
                                resourceId?: (...)
                                | (...);
                                type?: (...) | (...) | (...) | (...);
                            };
                            type?: string;
                            users?: readonly {
                                active?: ...;
                                avatarUrl?: ...;
                                displayName?: ...;
                                emailAddress?: ...;
                                id?: ...;
                                links?: ...;
                                name?: ...;
                                slug?: ...;
                                type?: ...;
                            }[];
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getRestrictions_1: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string; repositorySlug: string };
            query?: {
                limit?: number;
                matcherId?: string;
                matcherType?: "BRANCH" | "MODEL_BRANCH" | "MODEL_CATEGORY" | "PATTERN";
                start?: number;
                type?:
                    | "fast-forward-only"
                    | "no-deletes"
                    | "pull-request-only"
                    | "read-only";
            };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        isLastPage?: boolean;
                        limit?: number;
                        nextPageStart?: number;
                        size?: number;
                        start?: number;
                        values?: readonly {
                            accessKeys?: readonly {
                                key?: ...;
                                permission?: ...;
                                project?: ...;
                                repository?: ...;
                            }[];
                            groups?: readonly string[];
                            id?: number;
                            matcher?: {
                                displayId?: (...)
                                | (...);
                                id?: (...) | (...);
                                type?: (...) | (...);
                            };
                            scope?: {
                                resourceId?: (...)
                                | (...);
                                type?: (...) | (...) | (...) | (...);
                            };
                            type?: string;
                            users?: readonly {
                                active?: ...;
                                avatarUrl?: ...;
                                displayName?: ...;
                                emailAddress?: ...;
                                id?: ...;
                                links?: ...;
                                name?: ...;
                                slug?: ...;
                                type?: ...;
                            }[];
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getReview: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: {
                projectKey: string;
                pullRequestId: string;
                repositorySlug: string;
            };
            query?: { limit?: number; start?: number };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        isLastPage?: boolean;
                        limit?: number;
                        nextPageStart?: number;
                        size?: number;
                        start?: number;
                        values?: readonly {
                            anchor?: {
                                diffType?: (...)
                                | (...)
                                | (...)
                                | (...);
                                fileType?: (...) | (...) | (...);
                                fromHash?: (...) | (...);
                                line?: (...) | (...);
                                lineType?: (...) | (...) | (...) | (...);
                                multilineMarker?: (...) | (...);
                                path?: (...) | (...);
                                pullRequest?: (...) | (...);
                                srcPath?: (...) | (...);
                                toHash?: (...) | (...);
                            };
                            anchored?: boolean;
                            author?: {
                                active?: (...)
                                | (...)
                                | (...);
                                avatarUrl?: (...) | (...);
                                displayName?: (...) | (...);
                                emailAddress?: (...) | (...);
                                id?: (...) | (...);
                                links?: (...) | (...);
                                name?: (...) | (...);
                                slug?: (...) | (...);
                                type?: (...) | (...) | (...);
                            };
                            comments?: readonly { readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineType?: "ADDED" | "CONTEXT" | "REMOVED"; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }[]...;
                            createdDate?: number;
                            html?: string;
                            id?: number;
                            parent?: {
                                anchor?: (...)
                                | (...);
                                anchored?: (...) | (...) | (...);
                                author?: (...) | (...);
                                comments?: readonly { readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineType?: "ADDED" | "CONTEXT" | "REMOVED"; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }[]...;
                                createdDate?: (...) | (...);
                                html?: (...) | (...);
                                id?: (...) | (...);
                                pending?: (...) | (...) | (...);
                                properties?: (...) | (...);
                                reply?: (...) | (...) | (...);
                                resolvedDate?: (...) | (...);
                                resolver?: (...) | (...);
                                severity?: (...) | (...);
                                state?: (...) | (...);
                                text?: (...) | (...);
                                threadResolved?: (...) | (...) | (...);
                                threadResolvedDate?: (...) | (...);
                                threadResolver?: (...) | (...);
                                updatedDate?: (...) | (...);
                                version?: (...) | (...);
                            };
                            pending?: boolean;
                            properties?: Record<string, unknown>;
                            reply?: boolean;
                            resolvedDate?: number;
                            resolver?: {
                                active?: (...) | (...) | (...);
                                avatarUrl?: (...) | (...);
                                displayName?: (...) | (...);
                                emailAddress?: (...) | (...);
                                id?: (...) | (...);
                                links?: (...) | (...);
                                name?: (...) | (...);
                                slug?: (...) | (...);
                                type?: (...) | (...) | (...);
                            };
                            severity?: string;
                            state?: string;
                            text?: string;
                            threadResolved?: boolean;
                            threadResolvedDate?: number;
                            threadResolver?: {
                                active?: (...)
                                | (...)
                                | (...);
                                avatarUrl?: (...) | (...);
                                displayName?: (...) | (...);
                                emailAddress?: (...) | (...);
                                id?: (...) | (...);
                                links?: (...) | (...);
                                name?: (...) | (...);
                                slug?: (...) | (...);
                                type?: (...) | (...) | (...);
                            };
                            updatedDate?: number;
                            version?: number;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getReviewerGroup: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { id: string; projectKey: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        avatarUrl?: string;
                        description?: string;
                        id?: number;
                        name?: string;
                        scope?: {
                            resourceId?: number;
                            type?: "GLOBAL"
                            | "PROJECT"
                            | "REPOSITORY";
                        };
                        users?: readonly {
                            active?: boolean;
                            displayName?: string;
                            emailAddress?: string;
                            id?: number;
                            name?: string;
                            slug?: string;
                            type?: "NORMAL"
                            | "SERVICE";
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getReviewerGroup_1: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { id: string; projectKey: string; repositorySlug: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        avatarUrl?: string;
                        description?: string;
                        id?: number;
                        name?: string;
                        scope?: {
                            resourceId?: number;
                            type?: "GLOBAL"
                            | "PROJECT"
                            | "REPOSITORY";
                        };
                        users?: readonly {
                            active?: boolean;
                            displayName?: string;
                            emailAddress?: string;
                            id?: number;
                            name?: string;
                            slug?: string;
                            type?: "NORMAL"
                            | "SERVICE";
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getReviewerGroups: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string };
            query?: { limit?: number; start?: number };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        isLastPage?: boolean;
                        limit?: number;
                        nextPageStart?: number;
                        size?: number;
                        start?: number;
                        values?: readonly {
                            avatarUrl?: string;
                            description?: string;
                            id?: number;
                            name?: string;
                            scope?: {
                                resourceId?: (...)
                                | (...);
                                type?: (...) | (...) | (...) | (...);
                            };
                            users?: readonly {
                                active?: ...;
                                displayName?: ...;
                                emailAddress?: ...;
                                id?: ...;
                                name?: ...;
                                slug?: ...;
                                type?: ...;
                            }[];
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getReviewerGroups_1: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string; repositorySlug: string };
            query?: { limit?: number; start?: number };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        isLastPage?: boolean;
                        limit?: number;
                        nextPageStart?: number;
                        size?: number;
                        start?: number;
                        values?: readonly {
                            avatarUrl?: string;
                            description?: string;
                            id?: number;
                            name?: string;
                            scope?: {
                                resourceId?: (...)
                                | (...);
                                type?: (...) | (...) | (...) | (...);
                            };
                            users?: readonly {
                                active?: ...;
                                displayName?: ...;
                                emailAddress?: ...;
                                id?: ...;
                                name?: ...;
                                slug?: ...;
                                type?: ...;
                            }[];
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getReviewers: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string; repositorySlug: string };
            query?: {
                sourceRefId?: string;
                sourceRepoId?: string;
                targetRefId?: string;
                targetRepoId?: string;
            };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": readonly {
                        id?: number;
                        requiredApprovals?: number;
                        reviewers?: readonly {
                            active?: boolean;
                            avatarUrl?: string;
                            displayName?: string;
                            emailAddress?: string;
                            id?: number;
                            links?: Record<(...), (...)>;
                            name?: string;
                            slug?: string;
                            type?: "NORMAL" | "SERVICE";
                        }[];
                        scope?: {
                            resourceId?: number;
                            type?: "GLOBAL"
                            | "PROJECT"
                            | "REPOSITORY";
                        };
                        sourceRefMatcher?: {
                            displayId?: string;
                            id?: string;
                            type?: {
                                id?: (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...);
                                name?: (...) | (...);
                            };
                        };
                        targetRefMatcher?: {
                            displayId?: string;
                            id?: string;
                            type?: {
                                id?: (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...);
                                name?: (...) | (...);
                            };
                        };
                    }[];
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getRootLevel: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: { "application/json": { logLevel?: string } };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getRule: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { id: string; projectKey: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        id?: number;
                        lineRegex?: string;
                        name?: string;
                        pathRegex?: string;
                        scope?: {
                            resourceId?: number;
                            type?: "GLOBAL"
                            | "PROJECT"
                            | "REPOSITORY";
                        };
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getRule_1: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { id: string; projectKey: string; repositorySlug: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        id?: number;
                        lineRegex?: string;
                        name?: string;
                        pathRegex?: string;
                        scope?: {
                            resourceId?: number;
                            type?: "GLOBAL"
                            | "PROJECT"
                            | "REPOSITORY";
                        };
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getRule_2: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { id: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        id?: number;
                        lineRegex?: string;
                        name?: string;
                        pathRegex?: string;
                        scope?: {
                            resourceId?: number;
                            type?: "GLOBAL"
                            | "PROJECT"
                            | "REPOSITORY";
                        };
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getSenderAddress: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: { "application/json": unknown };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getSettings: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { hookKey: string; projectKey: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        booleanValue?: boolean;
                        doubleValue?: number;
                        integerValue?: number;
                        longValue?: number;
                        stringValue?: string;
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getSettings_1: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { hookKey: string; projectKey: string; repositorySlug: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        booleanValue?: boolean;
                        doubleValue?: number;
                        integerValue?: number;
                        longValue?: number;
                        stringValue?: string;
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getSettings_2: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        defaultSettings?: { capacity?: number; fillRate?: number };
                        enabled?: boolean;
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getSshKey: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { keyId: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        algorithmType?: string;
                        bitLength?: number;
                        createdDate?: string;
                        expiryDays?: number;
                        fingerprint?: string;
                        id?: number;
                        label?: string;
                        lastAuthenticated?: string;
                        text?: string;
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getSshKeys: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: {
                limit?: number;
                start?: number;
                user?: string;
                userName?: string;
            };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        isLastPage?: boolean;
                        limit?: number;
                        nextPageStart?: number;
                        size?: number;
                        start?: number;
                        values?: readonly {
                            algorithmType?: string;
                            bitLength?: number;
                            createdDate?: string;
                            expiryDays?: number;
                            fingerprint?: string;
                            id?: number;
                            label?: string;
                            lastAuthenticated?: string;
                            text?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getSshKeysForProject: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string };
            query?: {
                filter?: string;
                limit?: number;
                permission?: string;
                start?: number;
            };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        isLastPage?: boolean;
                        limit?: number;
                        nextPageStart?: number;
                        size?: number;
                        start?: number;
                        values?: readonly {
                            key?: {
                                algorithmType?: (...)
                                | (...);
                                bitLength?: (...) | (...);
                                createdDate?: (...) | (...);
                                expiryDays?: (...) | (...);
                                fingerprint?: (...) | (...);
                                id?: (...) | (...);
                                label?: (...) | (...);
                                lastAuthenticated?: (...) | (...);
                                text?: (...) | (...);
                            };
                            permission?: | "ADMIN"
                            | "LICENSED_USER"
                            | "PROJECT_ADMIN"
                            | "PROJECT_CREATE"
                            | "PROJECT_READ"
                            | "PROJECT_VIEW"
                            | "PROJECT_WRITE"
                            | "REPO_ADMIN"
                            | "REPO_CREATE"
                            | "REPO_READ"
                            | "REPO_WRITE"
                            | "SYS_ADMIN"
                            | "USER_ADMIN";
                            project?: {
                                avatar?: (...)
                                | (...);
                                avatarUrl?: (...) | (...);
                                description?: (...) | (...);
                                id?: (...) | (...);
                                key: string;
                                links?: (...) | (...);
                                name?: (...) | (...);
                                public?: (...) | (...) | (...);
                                scope?: (...) | (...);
                                type?: (...) | (...) | (...);
                            };
                            repository?: {
                                archived?: (...)
                                | (...)
                                | (...);
                                defaultBranch?: (...) | (...);
                                description?: (...) | (...);
                                forkable?: (...) | (...) | (...);
                                hierarchyId?: (...) | (...);
                                id?: (...) | (...);
                                links?: (...) | (...);
                                name?: (...) | (...);
                                origin?: (...) | (...);
                                partition?: (...) | (...);
                                project?: (...) | (...);
                                public?: (...) | (...) | (...);
                                relatedLinks?: (...) | (...);
                                scmId?: (...) | (...);
                                scope?: (...) | (...);
                                slug?: (...) | (...);
                                state?: (...) | (...) | (...) | (...) | (...);
                                statusMessage?: (...) | (...);
                            };
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getStatistics: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string; webhookId: string };
            query?: { event?: string };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: { "application/json": unknown };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getStatistics_1: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string; repositorySlug: string; webhookId: string };
            query?: { event?: string };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: { "application/json": unknown };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getStatisticsSummary: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string; webhookId: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: { "application/json": unknown };
                headers: Readonly<Record<string, unknown>>;
            };
            "204": { content?: undefined; headers: Readonly<Record<string, unknown>> };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getStatisticsSummary_1: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string; repositorySlug: string; webhookId: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: { "application/json": unknown };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getStatus: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string; repositorySlug: string };
            query?: { at?: string };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        aheadRefs?: {
                            displayId?: string;
                            id?: string;
                            state?: "AHEAD"
                            | "DIVERGED"
                            | "ORPHANED";
                            tag?: boolean;
                            type?: "BRANCH" | "TAG";
                        };
                        available?: boolean;
                        divergedRefs?: {
                            displayId?: string;
                            id?: string;
                            state?: "AHEAD"
                            | "DIVERGED"
                            | "ORPHANED";
                            tag?: boolean;
                            type?: "BRANCH" | "TAG";
                        };
                        enabled?: boolean;
                        lastSync?: number;
                        orphanedRefs?: {
                            displayId?: string;
                            id?: string;
                            state?: "AHEAD"
                            | "DIVERGED"
                            | "ORPHANED";
                            tag?: boolean;
                            type?: "BRANCH" | "TAG";
                        };
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getSupportedKeyTypes: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: { "application/json": unknown };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getSupportZip: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { id: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: { "application/octet-stream": unknown };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getSupportZips: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: { "application/octet-stream": unknown };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getSynchronizationProgress: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        discovering?: boolean;
                        syncedRepos?: number;
                        totalRepos?: number;
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getSystemSigningConfiguration: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: { "application/json": { enabled?: boolean } };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getTag: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { name: string; projectKey: string; repositorySlug: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        displayId?: string;
                        hash?: string;
                        id?: string;
                        latestChangeset?: string;
                        latestCommit?: string;
                        type?: "BRANCH"
                        | "TAG";
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getTags: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string; repositorySlug: string };
            query?: {
                filterText?: string;
                limit?: number;
                orderBy?: string;
                start?: number;
            };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        isLastPage?: boolean;
                        limit?: number;
                        nextPageStart?: number;
                        size?: number;
                        start?: number;
                        values?: readonly {
                            displayId?: string;
                            hash?: string;
                            id?: string;
                            latestChangeset?: string;
                            latestCommit?: string;
                            type?: "BRANCH"
                            | "TAG";
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getUpstreamServer: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        baseUrl?: string;
                        id?: string;
                        state?: | "PENDING"
                        | "UNKNOWN"
                        | "REMOVED"
                        | "INITIALIZING"
                        | "INSTALLED";
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getUser: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { userSlug: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        active?: boolean;
                        avatarUrl?: string;
                        displayName?: string;
                        emailAddress?: string;
                        id?: number;
                        links?: Record<string, unknown>;
                        name?: string;
                        slug?: string;
                        type?: "NORMAL" | "SERVICE";
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getUserDirectories: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: { includeInactive?: string };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        active?: boolean;
                        description?: string;
                        name?: string;
                        type?: string;
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getUsers: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { id: string; projectKey: string; repositorySlug: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json;charset=UTF-8": readonly {
                        active?: boolean;
                        avatarUrl?: string;
                        displayName?: string;
                        emailAddress?: string;
                        id?: number;
                        links?: Record<string, unknown>;
                        name?: string;
                        slug?: string;
                        type?: "NORMAL" | "SERVICE";
                    }[];
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json;charset=UTF-8": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json;charset=UTF-8": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getUsers_1: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: { filter?: string; limit?: number; start?: number };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        isLastPage?: boolean;
                        limit?: number;
                        nextPageStart?: number;
                        size?: number;
                        start?: number;
                        values?: readonly {
                            active?: boolean;
                            avatarUrl?: string;
                            deletable?: boolean;
                            directoryName?: string;
                            displayName?: string;
                            emailAddress?: string;
                            id?: number;
                            lastAuthenticationTimestamp?: number;
                            links?: Record<string, unknown>;
                            mutableDetails?: boolean;
                            mutableGroups?: boolean;
                            name?: string;
                            slug?: string;
                            type?: "NORMAL" | "SERVICE";
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getUsers_2: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: {
                filter?: string;
                group?: string;
                permission?: string;
                "permission.N"?: string;
            };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        active?: boolean;
                        avatarUrl?: string;
                        displayName?: string;
                        emailAddress?: string;
                        id?: number;
                        links?: Record<string, unknown>;
                        name?: string;
                        slug?: string;
                        type?: "NORMAL" | "SERVICE";
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getUserSettings: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { userSlug: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        "boolean key"?: boolean;
                        "long key"?: number;
                        "string key"?: string;
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getUsersWithAnyPermission: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: { filter?: string; limit?: number; start?: number };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        isLastPage?: boolean;
                        limit?: number;
                        nextPageStart?: number;
                        size?: number;
                        start?: number;
                        values?: readonly {
                            group?: { name?: (...)
                            | (...) };
                            permission?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getUsersWithAnyPermission_1: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string };
            query?: { filter?: string; limit?: number; start?: number };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        isLastPage?: boolean;
                        limit?: number;
                        nextPageStart?: number;
                        size?: number;
                        start?: number;
                        values?: readonly {
                            permission?: | "ADMIN"
                            | "LICENSED_USER"
                            | "PROJECT_ADMIN"
                            | "PROJECT_CREATE"
                            | "PROJECT_READ"
                            | "PROJECT_VIEW"
                            | "PROJECT_WRITE"
                            | "REPO_ADMIN"
                            | "REPO_CREATE"
                            | "REPO_READ"
                            | "REPO_WRITE"
                            | "SYS_ADMIN"
                            | "USER_ADMIN";
                            user?: {
                                active?: (...)
                                | (...)
                                | (...);
                                avatarUrl?: (...) | (...);
                                displayName?: (...) | (...);
                                emailAddress?: (...) | (...);
                                id?: (...) | (...);
                                links?: (...) | (...);
                                name?: (...) | (...);
                                slug?: (...) | (...);
                                type?: (...) | (...) | (...);
                            };
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getUsersWithAnyPermission_2: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string; repositorySlug: string };
            query?: { filter?: string; limit?: number; start?: number };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        isLastPage?: boolean;
                        limit?: number;
                        nextPageStart?: number;
                        size?: number;
                        start?: number;
                        values?: readonly {
                            permission?: | "ADMIN"
                            | "LICENSED_USER"
                            | "PROJECT_ADMIN"
                            | "PROJECT_CREATE"
                            | "PROJECT_READ"
                            | "PROJECT_VIEW"
                            | "PROJECT_WRITE"
                            | "REPO_ADMIN"
                            | "REPO_CREATE"
                            | "REPO_READ"
                            | "REPO_WRITE"
                            | "SYS_ADMIN"
                            | "USER_ADMIN";
                            user?: {
                                active?: (...)
                                | (...)
                                | (...);
                                avatarUrl?: (...) | (...);
                                displayName?: (...) | (...);
                                emailAddress?: (...) | (...);
                                id?: (...) | (...);
                                links?: (...) | (...);
                                name?: (...) | (...);
                                slug?: (...) | (...);
                                type?: (...) | (...) | (...);
                            };
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getUsersWithoutAnyPermission: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: { filter?: string; limit?: number; start?: number };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        isLastPage?: boolean;
                        limit?: number;
                        nextPageStart?: number;
                        size?: number;
                        start?: number;
                        values?: readonly {
                            active?: boolean;
                            avatarUrl?: string;
                            displayName?: string;
                            emailAddress?: string;
                            id?: number;
                            links?: Record<string, unknown>;
                            name?: string;
                            slug?: string;
                            type?: "NORMAL" | "SERVICE";
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getUsersWithoutPermission: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string };
            query?: { filter?: string; limit?: number; start?: number };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        isLastPage?: boolean;
                        limit?: number;
                        nextPageStart?: number;
                        size?: number;
                        start?: number;
                        values?: readonly {
                            active?: boolean;
                            avatarUrl?: string;
                            displayName?: string;
                            emailAddress?: string;
                            id?: number;
                            links?: Record<string, unknown>;
                            name?: string;
                            slug?: string;
                            type?: "NORMAL" | "SERVICE";
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getUsersWithoutPermission_1: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string; repositorySlug: string };
            query?: { filter?: string; limit?: number; start?: number };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        isLastPage?: boolean;
                        limit?: number;
                        nextPageStart?: number;
                        size?: number;
                        start?: number;
                        values?: readonly {
                            active?: boolean;
                            avatarUrl?: string;
                            displayName?: string;
                            emailAddress?: string;
                            id?: number;
                            links?: Record<string, unknown>;
                            name?: string;
                            slug?: string;
                            type?: "NORMAL" | "SERVICE";
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getWebhook: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string; webhookId: string };
            query?: { statistics?: string };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        active?: boolean;
                        configuration?: Record<string, unknown>;
                        credentials?: { password?: string; username?: string };
                        events?: readonly string[];
                        name?: string;
                        scopeType?: string;
                        sslVerificationRequired?: boolean;
                        statistics?: Record<string, unknown>;
                        url?: string;
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    getWebhook_1: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string; repositorySlug: string; webhookId: string };
            query?: { statistics?: string };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        active?: boolean;
                        configuration?: Record<string, unknown>;
                        credentials?: { password?: string; username?: string };
                        events?: readonly string[];
                        name?: string;
                        scopeType?: string;
                        sslVerificationRequired?: boolean;
                        statistics?: Record<string, unknown>;
                        url?: string;
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    hasAllUserPermission: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { permission: string; projectKey: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: { "application/json": { permitted?: boolean } };
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "403": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    isRepoExempt: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: { "application/json": unknown };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    listMirrors: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: { limit?: number; start?: number };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        isLastPage?: boolean;
                        limit?: number;
                        nextPageStart?: number;
                        size?: number;
                        start?: number;
                        values?: readonly {
                            baseUrl?: string;
                            enabled?: boolean;
                            id?: string;
                            lastSeenDate?: string;
                            mirrorType?: "FARM"
                            | "SINGLE";
                            name?: string;
                            productVersion?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    listParticipants: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: {
                projectKey: string;
                pullRequestId: string;
                repositorySlug: string;
            };
            query?: { limit?: number; start?: number };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        isLastPage?: boolean;
                        limit?: number;
                        nextPageStart?: number;
                        size?: number;
                        start?: number;
                        values?: readonly {
                            approved?: boolean;
                            lastReviewedCommit?: string;
                            role?: "PARTICIPANT"
                            | "REVIEWER"
                            | "AUTHOR";
                            status?: "APPROVED" | "NEEDS_WORK" | "UNAPPROVED";
                            user?: {
                                active?: (...) | (...) | (...);
                                avatarUrl?: (...) | (...);
                                displayName?: (...) | (...);
                                emailAddress?: (...) | (...);
                                id?: (...) | (...);
                                links?: (...) | (...);
                                name?: (...) | (...);
                                slug?: (...) | (...);
                                type?: (...) | (...) | (...);
                            };
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    listRequests: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: {
                limit?: number;
                start?: number;
                state?: "ACCEPTED" | "PENDING" | "REJECTED";
            };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        isLastPage?: boolean;
                        limit?: number;
                        nextPageStart?: number;
                        size?: number;
                        start?: number;
                        values?: readonly {
                            id?: number;
                            mirrorBaseUrl?: string;
                            mirrorId?: string;
                            mirrorName?: string;
                            mirrorType?: "FARM"
                            | "SINGLE";
                            productVersion?: string;
                            state?: "ACCEPTED" | "PENDING" | "REJECTED";
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    merge: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: {
                projectKey: string;
                pullRequestId: string;
                repositorySlug: string;
            };
            query?: { version?: string };
        };
        requestBody?: {
            content: {
                "application/json": {
                    autoMerge?: boolean;
                    autoSubject?: string;
                    message?: string;
                    strategyId?: string;
                    version?: number;
                };
            };
        };
        responses: {
            "200": {
                content: {
                    "application/json": {
                        closed?: boolean;
                        closedDate?: number;
                        createdDate?: number;
                        description?: string;
                        descriptionAsHtml?: string;
                        draft?: boolean;
                        fromRef?: {
                            displayId?: string;
                            id?: string;
                            latestCommit?: string;
                            repository?: {
                                archived?: boolean;
                                defaultBranch?: string;
                                description?: string;
                                forkable?: boolean;
                                hierarchyId?: string;
                                id?: number;
                                links?: Record<(...), (...)>;
                                name?: string;
                                origin?: {
                                    archived?: ...;
                                    defaultBranch?: ...;
                                    description?: ...;
                                    forkable?: ...;
                                    hierarchyId?: ...;
                                    id?: ...;
                                    links?: ...;
                                    name?: ...;
                                    partition?: ...;
                                    project?: ...;
                                    public?: ...;
                                    relatedLinks?: ...;
                                    scmId?: ...;
                                    scope?: ...;
                                    slug?: ...;
                                    state?: ...;
                                    statusMessage?: ...;
                                };
                                partition?: number;
                                project?: {
                                    avatar?: ...;
                                    avatarUrl?: ...;
                                    description?: ...;
                                    id?: ...;
                                    key: ...;
                                    links?: ...;
                                    name?: ...;
                                    public?: ...;
                                    scope?: ...;
                                    type?: ...;
                                };
                                public?: boolean;
                                relatedLinks?: Record<(...), (...)>;
                                scmId?: string;
                                scope?: string;
                                slug?: string;
                                state?:
                                    | "AVAILABLE"
                                    | "INITIALISATION_FAILED"
                                    | "INITIALISING"
                                    | "OFFLINE";
                                statusMessage?: string;
                            };
                            type?: "BRANCH"
                            | "TAG";
                        };
                        htmlDescription?: string;
                        id?: number;
                        links?: Record<string, unknown>;
                        locked?: boolean;
                        open?: boolean;
                        participants?: readonly {
                            approved?: boolean;
                            lastReviewedCommit?: string;
                            role?: "PARTICIPANT" | "REVIEWER" | "AUTHOR";
                            status?: "APPROVED" | "NEEDS_WORK" | "UNAPPROVED";
                            user?: {
                                active?: (...) | (...) | (...);
                                avatarUrl?: (...) | (...);
                                displayName?: (...) | (...);
                                emailAddress?: (...) | (...);
                                id?: (...) | (...);
                                links?: (...) | (...);
                                name?: (...) | (...);
                                slug?: (...) | (...);
                                type?: (...) | (...) | (...);
                            };
                        }[];
                        reviewers?: readonly {
                            approved?: boolean;
                            lastReviewedCommit?: string;
                            role?: "PARTICIPANT"
                            | "REVIEWER"
                            | "AUTHOR";
                            status?: "APPROVED" | "NEEDS_WORK" | "UNAPPROVED";
                            user?: {
                                active?: (...) | (...) | (...);
                                avatarUrl?: (...) | (...);
                                displayName?: (...) | (...);
                                emailAddress?: (...) | (...);
                                id?: (...) | (...);
                                links?: (...) | (...);
                                name?: (...) | (...);
                                slug?: (...) | (...);
                                type?: (...) | (...) | (...);
                            };
                        }[];
                        state?: "DECLINED"
                        | "MERGED"
                        | "OPEN";
                        title?: string;
                        toRef?: {
                            displayId?: string;
                            id?: string;
                            latestCommit?: string;
                            repository?: {
                                archived?: boolean;
                                defaultBranch?: string;
                                description?: string;
                                forkable?: boolean;
                                hierarchyId?: string;
                                id?: number;
                                links?: Record<(...), (...)>;
                                name?: string;
                                origin?: {
                                    archived?: ...;
                                    defaultBranch?: ...;
                                    description?: ...;
                                    forkable?: ...;
                                    hierarchyId?: ...;
                                    id?: ...;
                                    links?: ...;
                                    name?: ...;
                                    partition?: ...;
                                    project?: ...;
                                    public?: ...;
                                    relatedLinks?: ...;
                                    scmId?: ...;
                                    scope?: ...;
                                    slug?: ...;
                                    state?: ...;
                                    statusMessage?: ...;
                                };
                                partition?: number;
                                project?: {
                                    avatar?: ...;
                                    avatarUrl?: ...;
                                    description?: ...;
                                    id?: ...;
                                    key: ...;
                                    links?: ...;
                                    name?: ...;
                                    public?: ...;
                                    scope?: ...;
                                    type?: ...;
                                };
                                public?: boolean;
                                relatedLinks?: Record<(...), (...)>;
                                scmId?: string;
                                scope?: string;
                                slug?: string;
                                state?:
                                    | "AVAILABLE"
                                    | "INITIALISATION_FAILED"
                                    | "INITIALISING"
                                    | "OFFLINE";
                                statusMessage?: string;
                            };
                            type?: "BRANCH"
                            | "TAG";
                        };
                        updatedDate?: number;
                        version?: number;
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "403": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "409": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }

    Type declaration

    • Readonlyparameters: {
          cookie?: undefined;
          header?: undefined;
          path: { projectKey: string; pullRequestId: string; repositorySlug: string };
          query?: { version?: string };
      }
      • Optional Readonlycookie?: undefined
      • Optional Readonlyheader?: undefined
      • Readonlypath: { projectKey: string; pullRequestId: string; repositorySlug: string }
        • ReadonlyprojectKey: string

          The project key.

        • ReadonlypullRequestId: string

          The ID of the pull request within the repository

        • ReadonlyrepositorySlug: string

          The repository slug.

      • Optional Readonlyquery?: { version?: string }
        • Optional Readonlyversion?: string

          The current version of the pull request. If the server's version isn't the same as the specified version the operation will fail. To determine the current version of the pull request it should be fetched from the server prior to this operation. Look for the 'version' attribute in the returned JSON structure.

    • Optional ReadonlyrequestBody?: {
          content: {
              "application/json": {
                  autoMerge?: boolean;
                  autoSubject?: string;
                  message?: string;
                  strategyId?: string;
                  version?: number;
              };
          };
      }

      The body holder

    • Readonlyresponses: {
          "200": {
              content: {
                  "application/json": {
                      closed?: boolean;
                      closedDate?: number;
                      createdDate?: number;
                      description?: string;
                      descriptionAsHtml?: string;
                      draft?: boolean;
                      fromRef?: {
                          displayId?: string;
                          id?: string;
                          latestCommit?: string;
                          repository?: {
                              archived?: boolean;
                              defaultBranch?: string;
                              description?: string;
                              forkable?: boolean;
                              hierarchyId?: string;
                              id?: number;
                              links?: Record<(...), (...)>;
                              name?: string;
                              origin?: {
                                  archived?: ...;
                                  defaultBranch?: ...;
                                  description?: ...;
                                  forkable?: ...;
                                  hierarchyId?: ...;
                                  id?: ...;
                                  links?: ...;
                                  name?: ...;
                                  partition?: ...;
                                  project?: ...;
                                  public?: ...;
                                  relatedLinks?: ...;
                                  scmId?: ...;
                                  scope?: ...;
                                  slug?: ...;
                                  state?: ...;
                                  statusMessage?: ...;
                              };
                              partition?: number;
                              project?: {
                                  avatar?: ...;
                                  avatarUrl?: ...;
                                  description?: ...;
                                  id?: ...;
                                  key: ...;
                                  links?: ...;
                                  name?: ...;
                                  public?: ...;
                                  scope?: ...;
                                  type?: ...;
                              };
                              public?: boolean;
                              relatedLinks?: Record<(...), (...)>;
                              scmId?: string;
                              scope?: string;
                              slug?: string;
                              state?:
                                  | "AVAILABLE"
                                  | "INITIALISATION_FAILED"
                                  | "INITIALISING"
                                  | "OFFLINE";
                              statusMessage?: string;
                          };
                          type?: "BRANCH"
                          | "TAG";
                      };
                      htmlDescription?: string;
                      id?: number;
                      links?: Record<string, unknown>;
                      locked?: boolean;
                      open?: boolean;
                      participants?: readonly {
                          approved?: boolean;
                          lastReviewedCommit?: string;
                          role?: "PARTICIPANT" | "REVIEWER" | "AUTHOR";
                          status?: "APPROVED" | "NEEDS_WORK" | "UNAPPROVED";
                          user?: {
                              active?: (...) | (...) | (...);
                              avatarUrl?: (...) | (...);
                              displayName?: (...) | (...);
                              emailAddress?: (...) | (...);
                              id?: (...) | (...);
                              links?: (...) | (...);
                              name?: (...) | (...);
                              slug?: (...) | (...);
                              type?: (...) | (...) | (...);
                          };
                      }[];
                      reviewers?: readonly {
                          approved?: boolean;
                          lastReviewedCommit?: string;
                          role?: "PARTICIPANT"
                          | "REVIEWER"
                          | "AUTHOR";
                          status?: "APPROVED" | "NEEDS_WORK" | "UNAPPROVED";
                          user?: {
                              active?: (...) | (...) | (...);
                              avatarUrl?: (...) | (...);
                              displayName?: (...) | (...);
                              emailAddress?: (...) | (...);
                              id?: (...) | (...);
                              links?: (...) | (...);
                              name?: (...) | (...);
                              slug?: (...) | (...);
                              type?: (...) | (...) | (...);
                          };
                      }[];
                      state?: "DECLINED"
                      | "MERGED"
                      | "OPEN";
                      title?: string;
                      toRef?: {
                          displayId?: string;
                          id?: string;
                          latestCommit?: string;
                          repository?: {
                              archived?: boolean;
                              defaultBranch?: string;
                              description?: string;
                              forkable?: boolean;
                              hierarchyId?: string;
                              id?: number;
                              links?: Record<(...), (...)>;
                              name?: string;
                              origin?: {
                                  archived?: ...;
                                  defaultBranch?: ...;
                                  description?: ...;
                                  forkable?: ...;
                                  hierarchyId?: ...;
                                  id?: ...;
                                  links?: ...;
                                  name?: ...;
                                  partition?: ...;
                                  project?: ...;
                                  public?: ...;
                                  relatedLinks?: ...;
                                  scmId?: ...;
                                  scope?: ...;
                                  slug?: ...;
                                  state?: ...;
                                  statusMessage?: ...;
                              };
                              partition?: number;
                              project?: {
                                  avatar?: ...;
                                  avatarUrl?: ...;
                                  description?: ...;
                                  id?: ...;
                                  key: ...;
                                  links?: ...;
                                  name?: ...;
                                  public?: ...;
                                  scope?: ...;
                                  type?: ...;
                              };
                              public?: boolean;
                              relatedLinks?: Record<(...), (...)>;
                              scmId?: string;
                              scope?: string;
                              slug?: string;
                              state?:
                                  | "AVAILABLE"
                                  | "INITIALISATION_FAILED"
                                  | "INITIALISING"
                                  | "OFFLINE";
                              statusMessage?: string;
                          };
                          type?: "BRANCH"
                          | "TAG";
                      };
                      updatedDate?: number;
                      version?: number;
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "401": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "403": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "404": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "409": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
      }
      • Readonly200: {
            content: {
                "application/json": {
                    closed?: boolean;
                    closedDate?: number;
                    createdDate?: number;
                    description?: string;
                    descriptionAsHtml?: string;
                    draft?: boolean;
                    fromRef?: {
                        displayId?: string;
                        id?: string;
                        latestCommit?: string;
                        repository?: {
                            archived?: boolean;
                            defaultBranch?: string;
                            description?: string;
                            forkable?: boolean;
                            hierarchyId?: string;
                            id?: number;
                            links?: Record<(...), (...)>;
                            name?: string;
                            origin?: {
                                archived?: ...;
                                defaultBranch?: ...;
                                description?: ...;
                                forkable?: ...;
                                hierarchyId?: ...;
                                id?: ...;
                                links?: ...;
                                name?: ...;
                                partition?: ...;
                                project?: ...;
                                public?: ...;
                                relatedLinks?: ...;
                                scmId?: ...;
                                scope?: ...;
                                slug?: ...;
                                state?: ...;
                                statusMessage?: ...;
                            };
                            partition?: number;
                            project?: {
                                avatar?: ...;
                                avatarUrl?: ...;
                                description?: ...;
                                id?: ...;
                                key: ...;
                                links?: ...;
                                name?: ...;
                                public?: ...;
                                scope?: ...;
                                type?: ...;
                            };
                            public?: boolean;
                            relatedLinks?: Record<(...), (...)>;
                            scmId?: string;
                            scope?: string;
                            slug?: string;
                            state?:
                                | "AVAILABLE"
                                | "INITIALISATION_FAILED"
                                | "INITIALISING"
                                | "OFFLINE";
                            statusMessage?: string;
                        };
                        type?: "BRANCH"
                        | "TAG";
                    };
                    htmlDescription?: string;
                    id?: number;
                    links?: Record<string, unknown>;
                    locked?: boolean;
                    open?: boolean;
                    participants?: readonly {
                        approved?: boolean;
                        lastReviewedCommit?: string;
                        role?: "PARTICIPANT" | "REVIEWER" | "AUTHOR";
                        status?: "APPROVED" | "NEEDS_WORK" | "UNAPPROVED";
                        user?: {
                            active?: (...) | (...) | (...);
                            avatarUrl?: (...) | (...);
                            displayName?: (...) | (...);
                            emailAddress?: (...) | (...);
                            id?: (...) | (...);
                            links?: (...) | (...);
                            name?: (...) | (...);
                            slug?: (...) | (...);
                            type?: (...) | (...) | (...);
                        };
                    }[];
                    reviewers?: readonly {
                        approved?: boolean;
                        lastReviewedCommit?: string;
                        role?: "PARTICIPANT"
                        | "REVIEWER"
                        | "AUTHOR";
                        status?: "APPROVED" | "NEEDS_WORK" | "UNAPPROVED";
                        user?: {
                            active?: (...) | (...) | (...);
                            avatarUrl?: (...) | (...);
                            displayName?: (...) | (...);
                            emailAddress?: (...) | (...);
                            id?: (...) | (...);
                            links?: (...) | (...);
                            name?: (...) | (...);
                            slug?: (...) | (...);
                            type?: (...) | (...) | (...);
                        };
                    }[];
                    state?: "DECLINED"
                    | "MERGED"
                    | "OPEN";
                    title?: string;
                    toRef?: {
                        displayId?: string;
                        id?: string;
                        latestCommit?: string;
                        repository?: {
                            archived?: boolean;
                            defaultBranch?: string;
                            description?: string;
                            forkable?: boolean;
                            hierarchyId?: string;
                            id?: number;
                            links?: Record<(...), (...)>;
                            name?: string;
                            origin?: {
                                archived?: ...;
                                defaultBranch?: ...;
                                description?: ...;
                                forkable?: ...;
                                hierarchyId?: ...;
                                id?: ...;
                                links?: ...;
                                name?: ...;
                                partition?: ...;
                                project?: ...;
                                public?: ...;
                                relatedLinks?: ...;
                                scmId?: ...;
                                scope?: ...;
                                slug?: ...;
                                state?: ...;
                                statusMessage?: ...;
                            };
                            partition?: number;
                            project?: {
                                avatar?: ...;
                                avatarUrl?: ...;
                                description?: ...;
                                id?: ...;
                                key: ...;
                                links?: ...;
                                name?: ...;
                                public?: ...;
                                scope?: ...;
                                type?: ...;
                            };
                            public?: boolean;
                            relatedLinks?: Record<(...), (...)>;
                            scmId?: string;
                            scope?: string;
                            slug?: string;
                            state?:
                                | "AVAILABLE"
                                | "INITIALISATION_FAILED"
                                | "INITIALISING"
                                | "OFFLINE";
                            statusMessage?: string;
                        };
                        type?: "BRANCH"
                        | "TAG";
                    };
                    updatedDate?: number;
                    version?: number;
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The merged pull request.

      • Readonly401: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The currently authenticated user has insufficient permissions to merge the specified pull request

      • Readonly403: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The auto-merge setting is not enabled for the repository that this pull request targets.

      • Readonly404: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The specified repository or pull request does not exist.

      • Readonly409: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        One of the following error cases occurred (check the error message for more details):

        - The pull request has conflicts.
        - A merge check vetoed the merge.
        - The specified version is out of date.
        - The specified pull request is not open.
        - The <em>to</em> repository is archived.
        
    modifyAllUserPermission: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { permission: string; projectKey: string };
            query?: { allow?: string };
        };
        requestBody?: undefined;
        responses: {
            "204": {
                content?: undefined;
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    preview: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: {
                hardwrap?: string;
                htmlEscape?: string;
                includeHeadingId?: string;
                urlMode?: string;
            };
        };
        requestBody?: { content: { "*/*": string } };
        responses: {
            "200": {
                content: { "application/json": { html?: string } };
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    previewExport: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: undefined;
        };
        requestBody?: {
            content: {
                "application/json": {
                    exportLocation?: string;
                    repositoriesRequest: {
                        includes: readonly { projectKey?: string; slug?: string }[];
                    };
                };
            };
        };
        responses: {
            "200": {
                content: {
                    "application/json": {
                        links?: Record<string, unknown>;
                        scopes?: readonly Record<string, unknown>[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }

    Type declaration

    • Readonlyparameters: { cookie?: undefined; header?: undefined; path?: undefined; query?: undefined }
    • Optional ReadonlyrequestBody?: {
          content: {
              "application/json": {
                  exportLocation?: string;
                  repositoriesRequest: {
                      includes: readonly { projectKey?: string; slug?: string }[];
                  };
              };
          };
      }

      the export request

    • Readonlyresponses: {
          "200": {
              content: {
                  "application/json": {
                      links?: Record<string, unknown>;
                      scopes?: readonly Record<string, unknown>[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "400": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "401": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
      }
      • Readonly200: {
            content: {
                "application/json": {
                    links?: Record<string, unknown>;
                    scopes?: readonly Record<string, unknown>[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The effectively selected projects and repositories.

      • Readonly400: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The request was malformed.

      • Readonly401: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The currently authenticated user has insufficient permissions to generate a preview.

    previewMeshMigration: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: undefined;
        };
        requestBody?: {
            content: {
                "application/json": {
                    all?: boolean;
                    maxBytesPerSecond?: { asLong?: number; present?: boolean };
                    projectIds?: readonly number[];
                    repositoryIds?: readonly number[];
                };
            };
        };
        responses: {
            "200": {
                content: {
                    "application/json": {
                        repositories?: readonly {
                            archived?: boolean;
                            defaultBranch?: string;
                            description?: string;
                            forkable?: boolean;
                            hierarchyId?: string;
                            id?: number;
                            links?: Record<string, unknown>;
                            name?: string;
                            origin?: {
                                archived?: (...) | (...) | (...);
                                defaultBranch?: (...) | (...);
                                description?: (...) | (...);
                                forkable?: (...) | (...) | (...);
                                hierarchyId?: (...) | (...);
                                id?: (...) | (...);
                                links?: (...) | (...);
                                name?: (...) | (...);
                                partition?: (...) | (...);
                                project?: (...) | (...);
                                public?: (...) | (...) | (...);
                                relatedLinks?: (...) | (...);
                                scmId?: (...) | (...);
                                scope?: (...) | (...);
                                slug?: (...) | (...);
                                state?: (...) | (...) | (...) | (...) | (...);
                                statusMessage?: (...) | (...);
                            };
                            partition?: number;
                            project?: {
                                avatar?: (...)
                                | (...);
                                avatarUrl?: (...) | (...);
                                description?: (...) | (...);
                                id?: (...) | (...);
                                key: string;
                                links?: (...) | (...);
                                name?: (...) | (...);
                                public?: (...) | (...) | (...);
                                scope?: (...) | (...);
                                type?: (...) | (...) | (...);
                            };
                            public?: boolean;
                            relatedLinks?: Record<string, unknown>;
                            scmId?: string;
                            scope?: string;
                            slug?: string;
                            state?:
                                | "AVAILABLE"
                                | "INITIALISATION_FAILED"
                                | "INITIALISING"
                                | "OFFLINE";
                            statusMessage?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }

    Type declaration

    • Readonlyparameters: { cookie?: undefined; header?: undefined; path?: undefined; query?: undefined }
    • Optional ReadonlyrequestBody?: {
          content: {
              "application/json": {
                  all?: boolean;
                  maxBytesPerSecond?: { asLong?: number; present?: boolean };
                  projectIds?: readonly number[];
                  repositoryIds?: readonly number[];
              };
          };
      }

      The export request

    • Readonlyresponses: {
          "200": {
              content: {
                  "application/json": {
                      repositories?: readonly {
                          archived?: boolean;
                          defaultBranch?: string;
                          description?: string;
                          forkable?: boolean;
                          hierarchyId?: string;
                          id?: number;
                          links?: Record<string, unknown>;
                          name?: string;
                          origin?: {
                              archived?: (...) | (...) | (...);
                              defaultBranch?: (...) | (...);
                              description?: (...) | (...);
                              forkable?: (...) | (...) | (...);
                              hierarchyId?: (...) | (...);
                              id?: (...) | (...);
                              links?: (...) | (...);
                              name?: (...) | (...);
                              partition?: (...) | (...);
                              project?: (...) | (...);
                              public?: (...) | (...) | (...);
                              relatedLinks?: (...) | (...);
                              scmId?: (...) | (...);
                              scope?: (...) | (...);
                              slug?: (...) | (...);
                              state?: (...) | (...) | (...) | (...) | (...);
                              statusMessage?: (...) | (...);
                          };
                          partition?: number;
                          project?: {
                              avatar?: (...)
                              | (...);
                              avatarUrl?: (...) | (...);
                              description?: (...) | (...);
                              id?: (...) | (...);
                              key: string;
                              links?: (...) | (...);
                              name?: (...) | (...);
                              public?: (...) | (...) | (...);
                              scope?: (...) | (...);
                              type?: (...) | (...) | (...);
                          };
                          public?: boolean;
                          relatedLinks?: Record<string, unknown>;
                          scmId?: string;
                          scope?: string;
                          slug?: string;
                          state?:
                              | "AVAILABLE"
                              | "INITIALISATION_FAILED"
                              | "INITIALISING"
                              | "OFFLINE";
                          statusMessage?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "400": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "401": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
      }
      • Readonly200: {
            content: {
                "application/json": {
                    repositories?: readonly {
                        archived?: boolean;
                        defaultBranch?: string;
                        description?: string;
                        forkable?: boolean;
                        hierarchyId?: string;
                        id?: number;
                        links?: Record<string, unknown>;
                        name?: string;
                        origin?: {
                            archived?: (...) | (...) | (...);
                            defaultBranch?: (...) | (...);
                            description?: (...) | (...);
                            forkable?: (...) | (...) | (...);
                            hierarchyId?: (...) | (...);
                            id?: (...) | (...);
                            links?: (...) | (...);
                            name?: (...) | (...);
                            partition?: (...) | (...);
                            project?: (...) | (...);
                            public?: (...) | (...) | (...);
                            relatedLinks?: (...) | (...);
                            scmId?: (...) | (...);
                            scope?: (...) | (...);
                            slug?: (...) | (...);
                            state?: (...) | (...) | (...) | (...) | (...);
                            statusMessage?: (...) | (...);
                        };
                        partition?: number;
                        project?: {
                            avatar?: (...)
                            | (...);
                            avatarUrl?: (...) | (...);
                            description?: (...) | (...);
                            id?: (...) | (...);
                            key: string;
                            links?: (...) | (...);
                            name?: (...) | (...);
                            public?: (...) | (...) | (...);
                            scope?: (...) | (...);
                            type?: (...) | (...) | (...);
                        };
                        public?: boolean;
                        relatedLinks?: Record<string, unknown>;
                        scmId?: string;
                        scope?: string;
                        slug?: string;
                        state?:
                            | "AVAILABLE"
                            | "INITIALISATION_FAILED"
                            | "INITIALISING"
                            | "OFFLINE";
                        statusMessage?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        Enumeration of projects and repositories that would be migrated for a given request.

      • Readonly400: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The request was invalid or missing.

      • Readonly401: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The currently authenticated user has insufficient permissions to call this resource.

    publishEvent: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { mirrorId: string };
            query?: undefined;
        };
        requestBody?: {
            content: {
                "application/json": {
                    mirrorRepoId?: number;
                    type?: "SYNCHRONIZATION_FAILED"
                    | "SYNCHRONIZED";
                    upstreamRepoId?: string;
                };
            };
        };
        responses: {
            "204": {
                content?: undefined;
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    react: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: {
                commentId: string;
                commitId: string;
                emoticon: string;
                projectKey: string;
                repositorySlug: string;
            };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        comment?: {
                            anchor?: {
                                diffType?: "COMMIT"
                                | "EFFECTIVE"
                                | "RANGE";
                                fileType?: "FROM" | "TO";
                                fromHash?: string;
                                line?: number;
                                lineType?: "ADDED" | "CONTEXT" | "REMOVED";
                                multilineMarker?: { startLine?: ...; startLineType: ... };
                                path?: {
                                    components?: ...;
                                    extension?: ...;
                                    name?: ...;
                                    parent?: ...;
                                };
                                pullRequest?: {
                                    closed?: ...;
                                    closedDate?: ...;
                                    createdDate?: ...;
                                    description?: ...;
                                    descriptionAsHtml?: ...;
                                    draft?: ...;
                                    fromRef?: ...;
                                    htmlDescription?: ...;
                                    id?: ...;
                                    links?: ...;
                                    locked?: ...;
                                    open?: ...;
                                    participants?: ...;
                                    reviewers?: ...;
                                    state?: ...;
                                    title?: ...;
                                    toRef?: ...;
                                    updatedDate?: ...;
                                    version?: ...;
                                };
                                srcPath?: {
                                    components?: ...;
                                    extension?: ...;
                                    name?: ...;
                                    parent?: ...;
                                };
                                toHash?: string;
                            };
                            anchored?: boolean;
                            author?: {
                                active?: boolean;
                                avatarUrl?: string;
                                displayName?: string;
                                emailAddress?: string;
                                id?: number;
                                links?: Record<(...), (...)>;
                                name?: string;
                                slug?: string;
                                type?: "NORMAL" | "SERVICE";
                            };
                            comments?: readonly {
                                anchor?: (...)
                                | (...);
                                anchored?: (...) | (...) | (...);
                                author?: (...) | (...);
                                comments?: readonly { readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineType?: "ADDED" | "CONTEXT" | "REMOVED"; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }[]...;
                                createdDate?: (...) | (...);
                                html?: (...) | (...);
                                id?: (...) | (...);
                                parent?: (...) | (...);
                                pending?: (...) | (...) | (...);
                                properties?: (...) | (...);
                                reply?: (...) | (...) | (...);
                                resolvedDate?: (...) | (...);
                                resolver?: (...) | (...);
                                severity?: (...) | (...);
                                state?: (...) | (...);
                                text?: (...) | (...);
                                threadResolved?: (...) | (...) | (...);
                                threadResolvedDate?: (...) | (...);
                                threadResolver?: (...) | (...);
                                updatedDate?: (...) | (...);
                                version?: (...) | (...);
                            }[];
                            createdDate?: number;
                            html?: string;
                            id?: number;
                            parent?: {
                                anchor?: {
                                    diffType?: ...;
                                    fileType?: ...;
                                    fromHash?: ...;
                                    line?: ...;
                                    lineType?: ...;
                                    multilineMarker?: ...;
                                    path?: ...;
                                    pullRequest?: ...;
                                    srcPath?: ...;
                                    toHash?: ...;
                                };
                                anchored?: boolean;
                                author?: {
                                    active?: ...;
                                    avatarUrl?: ...;
                                    displayName?: ...;
                                    emailAddress?: ...;
                                    id?: ...;
                                    links?: ...;
                                    name?: ...;
                                    slug?: ...;
                                    type?: ...;
                                };
                                comments?: readonly (...)[];
                                createdDate?: number;
                                html?: string;
                                id?: number;
                                pending?: boolean;
                                properties?: Record<(...), (...)>;
                                reply?: boolean;
                                resolvedDate?: number;
                                resolver?: {
                                    active?: ...;
                                    avatarUrl?: ...;
                                    displayName?: ...;
                                    emailAddress?: ...;
                                    id?: ...;
                                    links?: ...;
                                    name?: ...;
                                    slug?: ...;
                                    type?: ...;
                                };
                                severity?: string;
                                state?: string;
                                text?: string;
                                threadResolved?: boolean;
                                threadResolvedDate?: number;
                                threadResolver?: {
                                    active?: ...;
                                    avatarUrl?: ...;
                                    displayName?: ...;
                                    emailAddress?: ...;
                                    id?: ...;
                                    links?: ...;
                                    name?: ...;
                                    slug?: ...;
                                    type?: ...;
                                };
                                updatedDate?: number;
                                version?: number;
                            };
                            pending?: boolean;
                            properties?: Record<string, unknown>;
                            reply?: boolean;
                            resolvedDate?: number;
                            resolver?: {
                                active?: boolean;
                                avatarUrl?: string;
                                displayName?: string;
                                emailAddress?: string;
                                id?: number;
                                links?: Record<(...), (...)>;
                                name?: string;
                                slug?: string;
                                type?: "NORMAL" | "SERVICE";
                            };
                            severity?: string;
                            state?: string;
                            text?: string;
                            threadResolved?: boolean;
                            threadResolvedDate?: number;
                            threadResolver?: {
                                active?: boolean;
                                avatarUrl?: string;
                                displayName?: string;
                                emailAddress?: string;
                                id?: number;
                                links?: Record<(...), (...)>;
                                name?: string;
                                slug?: string;
                                type?: "NORMAL" | "SERVICE";
                            };
                            updatedDate?: number;
                            version?: number;
                        };
                        emoticon?: { shortcut?: string; url?: string; value?: string };
                        user?: {
                            active?: boolean;
                            avatarUrl?: string;
                            displayName?: string;
                            emailAddress?: string;
                            id?: number;
                            links?: Record<string, unknown>;
                            name?: string;
                            slug?: string;
                            type?: "NORMAL" | "SERVICE";
                        };
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    react_1: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: {
                commentId: string;
                emoticon: string;
                projectKey: string;
                pullRequestId: string;
                repositorySlug: string;
            };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        comment?: {
                            anchor?: {
                                diffType?: "COMMIT"
                                | "EFFECTIVE"
                                | "RANGE";
                                fileType?: "FROM" | "TO";
                                fromHash?: string;
                                line?: number;
                                lineType?: "ADDED" | "CONTEXT" | "REMOVED";
                                multilineMarker?: { startLine?: ...; startLineType: ... };
                                path?: {
                                    components?: ...;
                                    extension?: ...;
                                    name?: ...;
                                    parent?: ...;
                                };
                                pullRequest?: {
                                    closed?: ...;
                                    closedDate?: ...;
                                    createdDate?: ...;
                                    description?: ...;
                                    descriptionAsHtml?: ...;
                                    draft?: ...;
                                    fromRef?: ...;
                                    htmlDescription?: ...;
                                    id?: ...;
                                    links?: ...;
                                    locked?: ...;
                                    open?: ...;
                                    participants?: ...;
                                    reviewers?: ...;
                                    state?: ...;
                                    title?: ...;
                                    toRef?: ...;
                                    updatedDate?: ...;
                                    version?: ...;
                                };
                                srcPath?: {
                                    components?: ...;
                                    extension?: ...;
                                    name?: ...;
                                    parent?: ...;
                                };
                                toHash?: string;
                            };
                            anchored?: boolean;
                            author?: {
                                active?: boolean;
                                avatarUrl?: string;
                                displayName?: string;
                                emailAddress?: string;
                                id?: number;
                                links?: Record<(...), (...)>;
                                name?: string;
                                slug?: string;
                                type?: "NORMAL" | "SERVICE";
                            };
                            comments?: readonly {
                                anchor?: (...)
                                | (...);
                                anchored?: (...) | (...) | (...);
                                author?: (...) | (...);
                                comments?: readonly { readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineType?: "ADDED" | "CONTEXT" | "REMOVED"; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }[]...;
                                createdDate?: (...) | (...);
                                html?: (...) | (...);
                                id?: (...) | (...);
                                parent?: (...) | (...);
                                pending?: (...) | (...) | (...);
                                properties?: (...) | (...);
                                reply?: (...) | (...) | (...);
                                resolvedDate?: (...) | (...);
                                resolver?: (...) | (...);
                                severity?: (...) | (...);
                                state?: (...) | (...);
                                text?: (...) | (...);
                                threadResolved?: (...) | (...) | (...);
                                threadResolvedDate?: (...) | (...);
                                threadResolver?: (...) | (...);
                                updatedDate?: (...) | (...);
                                version?: (...) | (...);
                            }[];
                            createdDate?: number;
                            html?: string;
                            id?: number;
                            parent?: {
                                anchor?: {
                                    diffType?: ...;
                                    fileType?: ...;
                                    fromHash?: ...;
                                    line?: ...;
                                    lineType?: ...;
                                    multilineMarker?: ...;
                                    path?: ...;
                                    pullRequest?: ...;
                                    srcPath?: ...;
                                    toHash?: ...;
                                };
                                anchored?: boolean;
                                author?: {
                                    active?: ...;
                                    avatarUrl?: ...;
                                    displayName?: ...;
                                    emailAddress?: ...;
                                    id?: ...;
                                    links?: ...;
                                    name?: ...;
                                    slug?: ...;
                                    type?: ...;
                                };
                                comments?: readonly (...)[];
                                createdDate?: number;
                                html?: string;
                                id?: number;
                                pending?: boolean;
                                properties?: Record<(...), (...)>;
                                reply?: boolean;
                                resolvedDate?: number;
                                resolver?: {
                                    active?: ...;
                                    avatarUrl?: ...;
                                    displayName?: ...;
                                    emailAddress?: ...;
                                    id?: ...;
                                    links?: ...;
                                    name?: ...;
                                    slug?: ...;
                                    type?: ...;
                                };
                                severity?: string;
                                state?: string;
                                text?: string;
                                threadResolved?: boolean;
                                threadResolvedDate?: number;
                                threadResolver?: {
                                    active?: ...;
                                    avatarUrl?: ...;
                                    displayName?: ...;
                                    emailAddress?: ...;
                                    id?: ...;
                                    links?: ...;
                                    name?: ...;
                                    slug?: ...;
                                    type?: ...;
                                };
                                updatedDate?: number;
                                version?: number;
                            };
                            pending?: boolean;
                            properties?: Record<string, unknown>;
                            reply?: boolean;
                            resolvedDate?: number;
                            resolver?: {
                                active?: boolean;
                                avatarUrl?: string;
                                displayName?: string;
                                emailAddress?: string;
                                id?: number;
                                links?: Record<(...), (...)>;
                                name?: string;
                                slug?: string;
                                type?: "NORMAL" | "SERVICE";
                            };
                            severity?: string;
                            state?: string;
                            text?: string;
                            threadResolved?: boolean;
                            threadResolvedDate?: number;
                            threadResolver?: {
                                active?: boolean;
                                avatarUrl?: string;
                                displayName?: string;
                                emailAddress?: string;
                                id?: number;
                                links?: Record<(...), (...)>;
                                name?: string;
                                slug?: string;
                                type?: "NORMAL" | "SERVICE";
                            };
                            updatedDate?: number;
                            version?: number;
                        };
                        emoticon?: { shortcut?: string; url?: string; value?: string };
                        user?: {
                            active?: boolean;
                            avatarUrl?: string;
                            displayName?: string;
                            emailAddress?: string;
                            id?: number;
                            links?: Record<string, unknown>;
                            name?: string;
                            slug?: string;
                            type?: "NORMAL" | "SERVICE";
                        };
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    read: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { scriptId: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: { "application/json": unknown };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    rebase: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: {
                projectKey: string;
                pullRequestId: string;
                repositorySlug: string;
            };
            query?: undefined;
        };
        requestBody?: { content: { "application/json": { version?: number } } };
        responses: {
            "200": {
                content: {
                    "application/json": {
                        refChange?: {
                            fromHash?: string;
                            ref?: { displayId?: string; id?: string; type?: "BRANCH" | "TAG" };
                            refId?: string;
                            toHash?: string;
                            type?: "DELETE" | "ADD" | "UPDATE";
                        };
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "409": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }

    Type declaration

    • Readonlyparameters: {
          cookie?: undefined;
          header?: undefined;
          path: { projectKey: string; pullRequestId: string; repositorySlug: string };
          query?: undefined;
      }
      • Optional Readonlycookie?: undefined
      • Optional Readonlyheader?: undefined
      • Readonlypath: { projectKey: string; pullRequestId: string; repositorySlug: string }
        • ReadonlyprojectKey: string

          The project key.

        • ReadonlypullRequestId: string

          The ID of the pull request within the repository.

        • ReadonlyrepositorySlug: string

          The repository slug.

      • Optional Readonlyquery?: undefined
    • Optional ReadonlyrequestBody?: { content: { "application/json": { version?: number } } }

      The pull request rebase request.

    • Readonlyresponses: {
          "200": {
              content: {
                  "application/json": {
                      refChange?: {
                          fromHash?: string;
                          ref?: { displayId?: string; id?: string; type?: "BRANCH" | "TAG" };
                          refId?: string;
                          toHash?: string;
                          type?: "DELETE" | "ADD" | "UPDATE";
                      };
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "401": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "404": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "409": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
      }
      • Readonly200: {
            content: {
                "application/json": {
                    refChange?: {
                        fromHash?: string;
                        ref?: { displayId?: string; id?: string; type?: "BRANCH" | "TAG" };
                        refId?: string;
                        toHash?: string;
                        type?: "DELETE" | "ADD" | "UPDATE";
                    };
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The merged pull request.

      • Readonly401: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The currently authenticated user has insufficient permissions to view the pull request and/or to update its source branch.

      • Readonly404: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The specified repository or pull request does not exist.

      • Readonly409: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        Any of the following error cases occurred (check the error message for more details):

        - The rebase encountered conflicts.
        - The rebase discarded all of the incoming commits and would have left the pull request empty
        - A <tt>PreRepositoryHook</tt> vetoed the rebase.
        - The specified version is out of date.
        - The specified pull request is not open.
        - The target repository is archived.
        
    register: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: undefined;
        };
        requestBody?: {
            content: {
                "application/json": {
                    id?: number;
                    mirrorBaseUrl?: string;
                    mirrorId?: string;
                    mirrorName?: string;
                    mirrorType?: "FARM"
                    | "SINGLE";
                    productVersion?: string;
                    state?: "ACCEPTED" | "PENDING" | "REJECTED";
                };
            };
        };
        responses: {
            "200": {
                content: {
                    "application/json": {
                        id?: number;
                        mirrorBaseUrl?: string;
                        mirrorId?: string;
                        mirrorName?: string;
                        mirrorType?: "FARM"
                        | "SINGLE";
                        productVersion?: string;
                        state?: "ACCEPTED" | "PENDING" | "REJECTED";
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "409": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    registerNewMeshNode: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: undefined;
        };
        requestBody?: {
            content: {
                "application/json": {
                    id?: string;
                    lastSeenDate?: number;
                    name?: string;
                    offline?: boolean;
                    rpcId?: string;
                    rpcUrl?: string;
                    state?: "AVAILABLE"
                    | "OFFLINE"
                    | "DELETING"
                    | "DISABLED"
                    | "DRAINING";
                };
            };
        };
        responses: {
            "200": {
                content: {
                    "application/json": {
                        id?: string;
                        lastSeenDate?: number;
                        name?: string;
                        offline?: boolean;
                        rpcId?: string;
                        rpcUrl?: string;
                        state?: "AVAILABLE"
                        | "OFFLINE"
                        | "DELETING"
                        | "DISABLED"
                        | "DRAINING";
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }

    Type declaration

    • Readonlyparameters: { cookie?: undefined; header?: undefined; path?: undefined; query?: undefined }
    • Optional ReadonlyrequestBody?: {
          content: {
              "application/json": {
                  id?: string;
                  lastSeenDate?: number;
                  name?: string;
                  offline?: boolean;
                  rpcId?: string;
                  rpcUrl?: string;
                  state?: "AVAILABLE" | "OFFLINE" | "DELETING" | "DISABLED" | "DRAINING";
              };
          };
      }

      The request specifying the new Mesh node.

    • Readonlyresponses: {
          "200": {
              content: {
                  "application/json": {
                      id?: string;
                      lastSeenDate?: number;
                      name?: string;
                      offline?: boolean;
                      rpcId?: string;
                      rpcUrl?: string;
                      state?: "AVAILABLE" | "OFFLINE" | "DELETING" | "DISABLED" | "DRAINING";
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "400": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "401": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
      }
      • Readonly200: {
            content: {
                "application/json": {
                    id?: string;
                    lastSeenDate?: number;
                    name?: string;
                    offline?: boolean;
                    rpcId?: string;
                    rpcUrl?: string;
                    state?: "AVAILABLE" | "OFFLINE" | "DELETING" | "DISABLED" | "DRAINING";
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The newly registered Mesh node.

      • Readonly400: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The request was malformed.

      • Readonly401: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The currently authenticated user has insufficient permissions to call this resource.

    reject: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { mirroringRequestId: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        baseUrl?: string;
                        enabled?: boolean;
                        id?: string;
                        lastSeenDate?: string;
                        mirrorType?: "FARM"
                        | "SINGLE";
                        name?: string;
                        productVersion?: string;
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "409": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    remove: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { mirrorId: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "204": {
                content?: undefined;
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    removeConfiguration: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string; scriptId: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "204": {
                content?: undefined;
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    removeConfiguration_1: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string; repositorySlug: string; scriptId: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "204": {
                content?: undefined;
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    removeGroupFromUser: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: undefined;
        };
        requestBody?: {
            content: {
                "application/json": { context?: string; itemName?: string };
            };
        };
        responses: {
            "200": {
                content: { "application/json": unknown };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "403": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    removeLabel: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { labelName: string; projectKey: string; repositorySlug: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "204": {
                content?: undefined;
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    removeUserFromGroup: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: undefined;
        };
        requestBody?: {
            content: {
                "application/json": { context?: string; itemName?: string };
            };
        };
        responses: {
            "200": {
                content: { "application/json": unknown };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "403": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    renameUser: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: undefined;
        };
        requestBody?: {
            content: { "application/json": { name?: string; newName?: string } };
        };
        responses: {
            "200": {
                content: {
                    "application/json": {
                        active?: boolean;
                        avatarUrl?: string;
                        deletable?: boolean;
                        directoryName?: string;
                        displayName?: string;
                        emailAddress?: string;
                        id?: number;
                        lastAuthenticationTimestamp?: number;
                        links?: Record<string, unknown>;
                        mutableDetails?: boolean;
                        mutableGroups?: boolean;
                        name?: string;
                        slug?: string;
                        type?: "NORMAL" | "SERVICE";
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    reopen: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: {
                projectKey: string;
                pullRequestId: string;
                repositorySlug: string;
            };
            query?: { version?: string };
        };
        requestBody?: { content: { "application/json": { version?: number } } };
        responses: {
            "200": {
                content: {
                    "application/json": {
                        closed?: boolean;
                        closedDate?: number;
                        createdDate?: number;
                        description?: string;
                        descriptionAsHtml?: string;
                        draft?: boolean;
                        fromRef?: {
                            displayId?: string;
                            id?: string;
                            latestCommit?: string;
                            repository?: {
                                archived?: boolean;
                                defaultBranch?: string;
                                description?: string;
                                forkable?: boolean;
                                hierarchyId?: string;
                                id?: number;
                                links?: Record<(...), (...)>;
                                name?: string;
                                origin?: {
                                    archived?: ...;
                                    defaultBranch?: ...;
                                    description?: ...;
                                    forkable?: ...;
                                    hierarchyId?: ...;
                                    id?: ...;
                                    links?: ...;
                                    name?: ...;
                                    partition?: ...;
                                    project?: ...;
                                    public?: ...;
                                    relatedLinks?: ...;
                                    scmId?: ...;
                                    scope?: ...;
                                    slug?: ...;
                                    state?: ...;
                                    statusMessage?: ...;
                                };
                                partition?: number;
                                project?: {
                                    avatar?: ...;
                                    avatarUrl?: ...;
                                    description?: ...;
                                    id?: ...;
                                    key: ...;
                                    links?: ...;
                                    name?: ...;
                                    public?: ...;
                                    scope?: ...;
                                    type?: ...;
                                };
                                public?: boolean;
                                relatedLinks?: Record<(...), (...)>;
                                scmId?: string;
                                scope?: string;
                                slug?: string;
                                state?:
                                    | "AVAILABLE"
                                    | "INITIALISATION_FAILED"
                                    | "INITIALISING"
                                    | "OFFLINE";
                                statusMessage?: string;
                            };
                            type?: "BRANCH"
                            | "TAG";
                        };
                        htmlDescription?: string;
                        id?: number;
                        links?: Record<string, unknown>;
                        locked?: boolean;
                        open?: boolean;
                        participants?: readonly {
                            approved?: boolean;
                            lastReviewedCommit?: string;
                            role?: "PARTICIPANT" | "REVIEWER" | "AUTHOR";
                            status?: "APPROVED" | "NEEDS_WORK" | "UNAPPROVED";
                            user?: {
                                active?: (...) | (...) | (...);
                                avatarUrl?: (...) | (...);
                                displayName?: (...) | (...);
                                emailAddress?: (...) | (...);
                                id?: (...) | (...);
                                links?: (...) | (...);
                                name?: (...) | (...);
                                slug?: (...) | (...);
                                type?: (...) | (...) | (...);
                            };
                        }[];
                        reviewers?: readonly {
                            approved?: boolean;
                            lastReviewedCommit?: string;
                            role?: "PARTICIPANT"
                            | "REVIEWER"
                            | "AUTHOR";
                            status?: "APPROVED" | "NEEDS_WORK" | "UNAPPROVED";
                            user?: {
                                active?: (...) | (...) | (...);
                                avatarUrl?: (...) | (...);
                                displayName?: (...) | (...);
                                emailAddress?: (...) | (...);
                                id?: (...) | (...);
                                links?: (...) | (...);
                                name?: (...) | (...);
                                slug?: (...) | (...);
                                type?: (...) | (...) | (...);
                            };
                        }[];
                        state?: "DECLINED"
                        | "MERGED"
                        | "OPEN";
                        title?: string;
                        toRef?: {
                            displayId?: string;
                            id?: string;
                            latestCommit?: string;
                            repository?: {
                                archived?: boolean;
                                defaultBranch?: string;
                                description?: string;
                                forkable?: boolean;
                                hierarchyId?: string;
                                id?: number;
                                links?: Record<(...), (...)>;
                                name?: string;
                                origin?: {
                                    archived?: ...;
                                    defaultBranch?: ...;
                                    description?: ...;
                                    forkable?: ...;
                                    hierarchyId?: ...;
                                    id?: ...;
                                    links?: ...;
                                    name?: ...;
                                    partition?: ...;
                                    project?: ...;
                                    public?: ...;
                                    relatedLinks?: ...;
                                    scmId?: ...;
                                    scope?: ...;
                                    slug?: ...;
                                    state?: ...;
                                    statusMessage?: ...;
                                };
                                partition?: number;
                                project?: {
                                    avatar?: ...;
                                    avatarUrl?: ...;
                                    description?: ...;
                                    id?: ...;
                                    key: ...;
                                    links?: ...;
                                    name?: ...;
                                    public?: ...;
                                    scope?: ...;
                                    type?: ...;
                                };
                                public?: boolean;
                                relatedLinks?: Record<(...), (...)>;
                                scmId?: string;
                                scope?: string;
                                slug?: string;
                                state?:
                                    | "AVAILABLE"
                                    | "INITIALISATION_FAILED"
                                    | "INITIALISING"
                                    | "OFFLINE";
                                statusMessage?: string;
                            };
                            type?: "BRANCH"
                            | "TAG";
                        };
                        updatedDate?: number;
                        version?: number;
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "409": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }

    Type declaration

    • Readonlyparameters: {
          cookie?: undefined;
          header?: undefined;
          path: { projectKey: string; pullRequestId: string; repositorySlug: string };
          query?: { version?: string };
      }
      • Optional Readonlycookie?: undefined
      • Optional Readonlyheader?: undefined
      • Readonlypath: { projectKey: string; pullRequestId: string; repositorySlug: string }
        • ReadonlyprojectKey: string

          The project key.

        • ReadonlypullRequestId: string

          The ID of the pull request within the repository

        • ReadonlyrepositorySlug: string

          The repository slug.

      • Optional Readonlyquery?: { version?: string }
        • Optional Readonlyversion?: string

          The current version of the pull request. If the server's version isn't the same as the specified version the operation will fail. To determine the current version of the pull request it should be fetched from the server prior to this operation. Look for the 'version' attribute in the returned JSON structure.

    • Optional ReadonlyrequestBody?: { content: { "application/json": { version?: number } } }

      The body holder

    • Readonlyresponses: {
          "200": {
              content: {
                  "application/json": {
                      closed?: boolean;
                      closedDate?: number;
                      createdDate?: number;
                      description?: string;
                      descriptionAsHtml?: string;
                      draft?: boolean;
                      fromRef?: {
                          displayId?: string;
                          id?: string;
                          latestCommit?: string;
                          repository?: {
                              archived?: boolean;
                              defaultBranch?: string;
                              description?: string;
                              forkable?: boolean;
                              hierarchyId?: string;
                              id?: number;
                              links?: Record<(...), (...)>;
                              name?: string;
                              origin?: {
                                  archived?: ...;
                                  defaultBranch?: ...;
                                  description?: ...;
                                  forkable?: ...;
                                  hierarchyId?: ...;
                                  id?: ...;
                                  links?: ...;
                                  name?: ...;
                                  partition?: ...;
                                  project?: ...;
                                  public?: ...;
                                  relatedLinks?: ...;
                                  scmId?: ...;
                                  scope?: ...;
                                  slug?: ...;
                                  state?: ...;
                                  statusMessage?: ...;
                              };
                              partition?: number;
                              project?: {
                                  avatar?: ...;
                                  avatarUrl?: ...;
                                  description?: ...;
                                  id?: ...;
                                  key: ...;
                                  links?: ...;
                                  name?: ...;
                                  public?: ...;
                                  scope?: ...;
                                  type?: ...;
                              };
                              public?: boolean;
                              relatedLinks?: Record<(...), (...)>;
                              scmId?: string;
                              scope?: string;
                              slug?: string;
                              state?:
                                  | "AVAILABLE"
                                  | "INITIALISATION_FAILED"
                                  | "INITIALISING"
                                  | "OFFLINE";
                              statusMessage?: string;
                          };
                          type?: "BRANCH"
                          | "TAG";
                      };
                      htmlDescription?: string;
                      id?: number;
                      links?: Record<string, unknown>;
                      locked?: boolean;
                      open?: boolean;
                      participants?: readonly {
                          approved?: boolean;
                          lastReviewedCommit?: string;
                          role?: "PARTICIPANT" | "REVIEWER" | "AUTHOR";
                          status?: "APPROVED" | "NEEDS_WORK" | "UNAPPROVED";
                          user?: {
                              active?: (...) | (...) | (...);
                              avatarUrl?: (...) | (...);
                              displayName?: (...) | (...);
                              emailAddress?: (...) | (...);
                              id?: (...) | (...);
                              links?: (...) | (...);
                              name?: (...) | (...);
                              slug?: (...) | (...);
                              type?: (...) | (...) | (...);
                          };
                      }[];
                      reviewers?: readonly {
                          approved?: boolean;
                          lastReviewedCommit?: string;
                          role?: "PARTICIPANT"
                          | "REVIEWER"
                          | "AUTHOR";
                          status?: "APPROVED" | "NEEDS_WORK" | "UNAPPROVED";
                          user?: {
                              active?: (...) | (...) | (...);
                              avatarUrl?: (...) | (...);
                              displayName?: (...) | (...);
                              emailAddress?: (...) | (...);
                              id?: (...) | (...);
                              links?: (...) | (...);
                              name?: (...) | (...);
                              slug?: (...) | (...);
                              type?: (...) | (...) | (...);
                          };
                      }[];
                      state?: "DECLINED"
                      | "MERGED"
                      | "OPEN";
                      title?: string;
                      toRef?: {
                          displayId?: string;
                          id?: string;
                          latestCommit?: string;
                          repository?: {
                              archived?: boolean;
                              defaultBranch?: string;
                              description?: string;
                              forkable?: boolean;
                              hierarchyId?: string;
                              id?: number;
                              links?: Record<(...), (...)>;
                              name?: string;
                              origin?: {
                                  archived?: ...;
                                  defaultBranch?: ...;
                                  description?: ...;
                                  forkable?: ...;
                                  hierarchyId?: ...;
                                  id?: ...;
                                  links?: ...;
                                  name?: ...;
                                  partition?: ...;
                                  project?: ...;
                                  public?: ...;
                                  relatedLinks?: ...;
                                  scmId?: ...;
                                  scope?: ...;
                                  slug?: ...;
                                  state?: ...;
                                  statusMessage?: ...;
                              };
                              partition?: number;
                              project?: {
                                  avatar?: ...;
                                  avatarUrl?: ...;
                                  description?: ...;
                                  id?: ...;
                                  key: ...;
                                  links?: ...;
                                  name?: ...;
                                  public?: ...;
                                  scope?: ...;
                                  type?: ...;
                              };
                              public?: boolean;
                              relatedLinks?: Record<(...), (...)>;
                              scmId?: string;
                              scope?: string;
                              slug?: string;
                              state?:
                                  | "AVAILABLE"
                                  | "INITIALISATION_FAILED"
                                  | "INITIALISING"
                                  | "OFFLINE";
                              statusMessage?: string;
                          };
                          type?: "BRANCH"
                          | "TAG";
                      };
                      updatedDate?: number;
                      version?: number;
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "401": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "404": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "409": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
      }
      • Readonly200: {
            content: {
                "application/json": {
                    closed?: boolean;
                    closedDate?: number;
                    createdDate?: number;
                    description?: string;
                    descriptionAsHtml?: string;
                    draft?: boolean;
                    fromRef?: {
                        displayId?: string;
                        id?: string;
                        latestCommit?: string;
                        repository?: {
                            archived?: boolean;
                            defaultBranch?: string;
                            description?: string;
                            forkable?: boolean;
                            hierarchyId?: string;
                            id?: number;
                            links?: Record<(...), (...)>;
                            name?: string;
                            origin?: {
                                archived?: ...;
                                defaultBranch?: ...;
                                description?: ...;
                                forkable?: ...;
                                hierarchyId?: ...;
                                id?: ...;
                                links?: ...;
                                name?: ...;
                                partition?: ...;
                                project?: ...;
                                public?: ...;
                                relatedLinks?: ...;
                                scmId?: ...;
                                scope?: ...;
                                slug?: ...;
                                state?: ...;
                                statusMessage?: ...;
                            };
                            partition?: number;
                            project?: {
                                avatar?: ...;
                                avatarUrl?: ...;
                                description?: ...;
                                id?: ...;
                                key: ...;
                                links?: ...;
                                name?: ...;
                                public?: ...;
                                scope?: ...;
                                type?: ...;
                            };
                            public?: boolean;
                            relatedLinks?: Record<(...), (...)>;
                            scmId?: string;
                            scope?: string;
                            slug?: string;
                            state?:
                                | "AVAILABLE"
                                | "INITIALISATION_FAILED"
                                | "INITIALISING"
                                | "OFFLINE";
                            statusMessage?: string;
                        };
                        type?: "BRANCH"
                        | "TAG";
                    };
                    htmlDescription?: string;
                    id?: number;
                    links?: Record<string, unknown>;
                    locked?: boolean;
                    open?: boolean;
                    participants?: readonly {
                        approved?: boolean;
                        lastReviewedCommit?: string;
                        role?: "PARTICIPANT" | "REVIEWER" | "AUTHOR";
                        status?: "APPROVED" | "NEEDS_WORK" | "UNAPPROVED";
                        user?: {
                            active?: (...) | (...) | (...);
                            avatarUrl?: (...) | (...);
                            displayName?: (...) | (...);
                            emailAddress?: (...) | (...);
                            id?: (...) | (...);
                            links?: (...) | (...);
                            name?: (...) | (...);
                            slug?: (...) | (...);
                            type?: (...) | (...) | (...);
                        };
                    }[];
                    reviewers?: readonly {
                        approved?: boolean;
                        lastReviewedCommit?: string;
                        role?: "PARTICIPANT"
                        | "REVIEWER"
                        | "AUTHOR";
                        status?: "APPROVED" | "NEEDS_WORK" | "UNAPPROVED";
                        user?: {
                            active?: (...) | (...) | (...);
                            avatarUrl?: (...) | (...);
                            displayName?: (...) | (...);
                            emailAddress?: (...) | (...);
                            id?: (...) | (...);
                            links?: (...) | (...);
                            name?: (...) | (...);
                            slug?: (...) | (...);
                            type?: (...) | (...) | (...);
                        };
                    }[];
                    state?: "DECLINED"
                    | "MERGED"
                    | "OPEN";
                    title?: string;
                    toRef?: {
                        displayId?: string;
                        id?: string;
                        latestCommit?: string;
                        repository?: {
                            archived?: boolean;
                            defaultBranch?: string;
                            description?: string;
                            forkable?: boolean;
                            hierarchyId?: string;
                            id?: number;
                            links?: Record<(...), (...)>;
                            name?: string;
                            origin?: {
                                archived?: ...;
                                defaultBranch?: ...;
                                description?: ...;
                                forkable?: ...;
                                hierarchyId?: ...;
                                id?: ...;
                                links?: ...;
                                name?: ...;
                                partition?: ...;
                                project?: ...;
                                public?: ...;
                                relatedLinks?: ...;
                                scmId?: ...;
                                scope?: ...;
                                slug?: ...;
                                state?: ...;
                                statusMessage?: ...;
                            };
                            partition?: number;
                            project?: {
                                avatar?: ...;
                                avatarUrl?: ...;
                                description?: ...;
                                id?: ...;
                                key: ...;
                                links?: ...;
                                name?: ...;
                                public?: ...;
                                scope?: ...;
                                type?: ...;
                            };
                            public?: boolean;
                            relatedLinks?: Record<(...), (...)>;
                            scmId?: string;
                            scope?: string;
                            slug?: string;
                            state?:
                                | "AVAILABLE"
                                | "INITIALISATION_FAILED"
                                | "INITIALISING"
                                | "OFFLINE";
                            statusMessage?: string;
                        };
                        type?: "BRANCH"
                        | "TAG";
                    };
                    updatedDate?: number;
                    version?: number;
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The merged pull request.

      • Readonly401: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The currently authenticated user has insufficient permissions to reopen the specified pull request.

      • Readonly404: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The specified repository or pull request does not exist.

      • Readonly409: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        One of the following error cases occurred (check the error message for more details):

        - The pull request is not in a declined state.
        - The specified version is out of date.
        - The <em>to</em> repository is archived.
        
    retryCreateRepository: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string; repositorySlug: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        archived?: boolean;
                        defaultBranch?: string;
                        description?: string;
                        forkable?: boolean;
                        hierarchyId?: string;
                        id?: number;
                        links?: Record<string, unknown>;
                        name?: string;
                        origin?: {
                            archived?: boolean;
                            defaultBranch?: string;
                            description?: string;
                            forkable?: boolean;
                            hierarchyId?: string;
                            id?: number;
                            links?: Record<string, unknown>;
                            name?: string;
                            partition?: number;
                            project?: {
                                avatar?: string;
                                avatarUrl?: string;
                                description?: string;
                                id?: number;
                                key: string;
                                links?: Record<(...), (...)>;
                                name?: string;
                                public?: boolean;
                                scope?: string;
                                type?: "NORMAL" | "PERSONAL";
                            };
                            public?: boolean;
                            relatedLinks?: Record<string, unknown>;
                            scmId?: string;
                            scope?: string;
                            slug?: string;
                            state?:
                                | "AVAILABLE"
                                | "INITIALISATION_FAILED"
                                | "INITIALISING"
                                | "OFFLINE";
                            statusMessage?: string;
                        };
                        partition?: number;
                        project?: {
                            avatar?: string;
                            avatarUrl?: string;
                            description?: string;
                            id?: number;
                            key: string;
                            links?: Record<string, unknown>;
                            name?: string;
                            public?: boolean;
                            scope?: string;
                            type?: "NORMAL" | "PERSONAL";
                        };
                        public?: boolean;
                        relatedLinks?: Record<string, unknown>;
                        scmId?: string;
                        scope?: string;
                        slug?: string;
                        state?:
                            | "AVAILABLE"
                            | "INITIALISATION_FAILED"
                            | "INITIALISING"
                            | "OFFLINE";
                        statusMessage?: string;
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    revokeForProject: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { keyId: string; projectKey: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "204": {
                content?: undefined;
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    revokeForRepository: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { keyId: string; projectKey: string; repositorySlug: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "204": {
                content?: undefined;
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    revokeMany: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { keyId: string };
            query?: undefined;
        };
        requestBody?: {
            content: {
                "application/json": {
                    projects?: {
                        avatar?: string;
                        avatarUrl?: string;
                        description?: string;
                        id?: number;
                        key?: string;
                        links?: Record<string, unknown>;
                        name?: string;
                        public?: boolean;
                        scope?: string;
                        type?: "NORMAL" | "PERSONAL";
                    };
                    repositories?: {
                        archived?: boolean;
                        defaultBranch?: string;
                        description?: string;
                        forkable?: boolean;
                        hierarchyId?: string;
                        id?: number;
                        links?: Record<string, unknown>;
                        name?: string;
                        origin?: {
                            archived?: boolean;
                            defaultBranch?: string;
                            description?: string;
                            forkable?: boolean;
                            hierarchyId?: string;
                            id?: number;
                            links?: Record<(...), (...)>;
                            name?: string;
                            partition?: number;
                            project?: {
                                avatar?: ...;
                                avatarUrl?: ...;
                                description?: ...;
                                id?: ...;
                                key: ...;
                                links?: ...;
                                name?: ...;
                                public?: ...;
                                scope?: ...;
                                type?: ...;
                            };
                            public?: boolean;
                            relatedLinks?: Record<(...), (...)>;
                            scmId?: string;
                            scope?: string;
                            slug?: string;
                            state?:
                                | "AVAILABLE"
                                | "INITIALISATION_FAILED"
                                | "INITIALISING"
                                | "OFFLINE";
                            statusMessage?: string;
                        };
                        partition?: number;
                        project?: {
                            avatar?: string;
                            avatarUrl?: string;
                            description?: string;
                            id?: number;
                            key: string;
                            links?: Record<(...), (...)>;
                            name?: string;
                            public?: boolean;
                            scope?: string;
                            type?: "NORMAL" | "PERSONAL";
                        };
                        public?: boolean;
                        relatedLinks?: Record<string, unknown>;
                        scmId?: string;
                        scope?: string;
                        slug?: string;
                        state?:
                            | "AVAILABLE"
                            | "INITIALISATION_FAILED"
                            | "INITIALISING"
                            | "OFFLINE";
                        statusMessage?: string;
                    };
                };
            };
        };
        responses: {
            "204": {
                content?: undefined;
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    revokePermissions: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string };
            query?: { group?: string; user?: string };
        };
        requestBody?: undefined;
        responses: {
            "204": {
                content?: undefined;
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: { "application/json": unknown };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "409": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    revokePermissions_1: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string; repositorySlug: string };
            query?: { group?: string; user?: string };
        };
        requestBody?: undefined;
        responses: {
            "204": {
                content?: undefined;
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: { "application/json": unknown };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "409": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    revokePermissionsForGroup: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query: { name: string };
        };
        requestBody?: undefined;
        responses: {
            "204": {
                content?: undefined;
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "409": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    revokePermissionsForGroup_1: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string };
            query?: { name?: string };
        };
        requestBody?: undefined;
        responses: {
            "204": {
                content?: undefined;
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "409": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    revokePermissionsForGroup_2: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string; repositorySlug: string };
            query: { name: string };
        };
        requestBody?: undefined;
        responses: {
            "204": {
                content?: undefined;
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "409": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    revokePermissionsForUser: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query: { name: string };
        };
        requestBody?: undefined;
        responses: {
            "204": {
                content?: undefined;
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "409": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    revokePermissionsForUser_1: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string };
            query?: { name?: string };
        };
        requestBody?: undefined;
        responses: {
            "204": {
                content?: undefined;
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "409": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    revokePermissionsForUser_2: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string; repositorySlug: string };
            query: { name: string };
        };
        requestBody?: undefined;
        responses: {
            "204": {
                content?: undefined;
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "409": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    saveAttachmentMetadata: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { attachmentId: string; projectKey: string; repositorySlug: string };
            query?: undefined;
        };
        requestBody?: { content: { "application/json": string } };
        responses: {
            "200": {
                content: { "application/json": unknown };
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }

    Type declaration

    • Readonlyparameters: {
          cookie?: undefined;
          header?: undefined;
          path: { attachmentId: string; projectKey: string; repositorySlug: string };
          query?: undefined;
      }
      • Optional Readonlycookie?: undefined
      • Optional Readonlyheader?: undefined
      • Readonlypath: { attachmentId: string; projectKey: string; repositorySlug: string }
        • ReadonlyattachmentId: string

          the attachment ID

        • ReadonlyprojectKey: string

          The project key

        • ReadonlyrepositorySlug: string

          The repository slug

      • Optional Readonlyquery?: undefined
    • Optional ReadonlyrequestBody?: { content: { "application/json": string } }

      The attachment metadata can be any valid JSON content

    • Readonlyresponses: {
          "200": {
              content: { "application/json": unknown };
              headers: Readonly<Record<string, unknown>>;
          };
          "400": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "401": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "404": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
      }
      • Readonly200: {
            content: { "application/json": unknown };
            headers: Readonly<Record<string, unknown>>;
        }

        The attachment metadata

      • Readonly400: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The supplied content is not valid JSON

      • Readonly401: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The currently authenticated user has insufficient permissions to save theattachment metadata

      • Readonly404: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The repository or the attachment does not exist

    search: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string; repositorySlug: string };
            query?: {
                direction?: string;
                filter?: string;
                limit?: number;
                role?: string;
                start?: number;
            };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        isLastPage?: boolean;
                        limit?: number;
                        nextPageStart?: number;
                        size?: number;
                        start?: number;
                        values?: readonly {
                            active?: boolean;
                            avatarUrl?: string;
                            displayName?: string;
                            emailAddress?: string;
                            id?: number;
                            links?: Record<string, unknown>;
                            name?: string;
                            slug?: string;
                            type?: "NORMAL" | "SERVICE";
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    search_1: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string };
            query?: {
                filter?: string;
                limit?: number;
                order?: "NAME_ASC" | "NAME_DESC";
                start?: number;
            };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        isLastPage?: boolean;
                        limit?: number;
                        nextPageStart?: number;
                        size?: number;
                        start?: number;
                        values?: readonly {
                            id?: number;
                            lineRegex?: string;
                            name?: string;
                            pathRegex?: string;
                            scope?: {
                                resourceId?: (...)
                                | (...);
                                type?: (...) | (...) | (...) | (...);
                            };
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    search_2: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string; repositorySlug: string };
            query?: {
                filter?: string;
                limit?: number;
                order?: "NAME_ASC" | "NAME_DESC";
                start?: number;
            };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        isLastPage?: boolean;
                        limit?: number;
                        nextPageStart?: number;
                        size?: number;
                        start?: number;
                        values?: readonly {
                            id?: number;
                            lineRegex?: string;
                            name?: string;
                            pathRegex?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    search_3: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string; repositorySlug: string };
            query?: {
                filter?: string;
                limit?: number;
                order?: "NAME_ASC" | "NAME_DESC";
                start?: number;
            };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        isLastPage?: boolean;
                        limit?: number;
                        nextPageStart?: number;
                        size?: number;
                        start?: number;
                        values?: readonly {
                            id?: number;
                            lineRegex?: string;
                            name?: string;
                            pathRegex?: string;
                            scope?: {
                                resourceId?: (...)
                                | (...);
                                type?: (...) | (...) | (...) | (...);
                            };
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    search_4: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: {
                filter?: string;
                limit?: number;
                order?: "NAME_ASC" | "NAME_DESC";
                start?: number;
            };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        isLastPage?: boolean;
                        limit?: number;
                        nextPageStart?: number;
                        size?: number;
                        start?: number;
                        values?: readonly {
                            id?: number;
                            lineRegex?: string;
                            name?: string;
                            pathRegex?: string;
                            scope?: {
                                resourceId?: (...)
                                | (...);
                                type?: (...) | (...) | (...) | (...);
                            };
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    searchAllowlistRule: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string };
            query?: {
                filter?: string;
                limit?: number;
                order?: "NAME_ASC" | "NAME_DESC";
                start?: number;
            };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        isLastPage?: boolean;
                        limit?: number;
                        nextPageStart?: number;
                        size?: number;
                        start?: number;
                        values?: readonly {
                            id?: number;
                            lineRegex?: string;
                            name?: string;
                            pathRegex?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    searchMeshMigrationRepos: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: {
                limit?: number;
                migrationId?: string;
                name?: string;
                projectKey?: string;
                remote?: string;
                start?: number;
                state?: string;
            };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        isLastPage?: boolean;
                        limit?: number;
                        nextPageStart?: number;
                        size?: number;
                        start?: number;
                        values?: readonly {
                            migrationState?: | "FAILED"
                            | "SKIPPED"
                            | "CANCELED"
                            | "MIGRATED"
                            | "QUEUED"
                            | "STAGED"
                            | "STAGING";
                            repository?: {
                                archived?: (...)
                                | (...)
                                | (...);
                                defaultBranch?: (...) | (...);
                                description?: (...) | (...);
                                forkable?: (...) | (...) | (...);
                                hierarchyId?: (...) | (...);
                                id?: (...) | (...);
                                links?: (...) | (...);
                                name?: (...) | (...);
                                origin?: (...) | (...);
                                partition?: (...) | (...);
                                project?: (...) | (...);
                                public?: (...) | (...) | (...);
                                relatedLinks?: (...) | (...);
                                scmId?: (...) | (...);
                                scope?: (...) | (...);
                                slug?: (...) | (...);
                                state?: (...) | (...) | (...) | (...) | (...);
                                statusMessage?: (...) | (...);
                            };
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    searchPermissions: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string };
            query?: { filterText?: string; permission?: string; type?: string };
        };
        requestBody?: undefined;
        responses: {
            default: {
                content: { "application/json;charset=UTF-8": unknown };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    searchPermissions_1: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string; repositorySlug: string };
            query?: { filterText?: string; permission?: string; type?: string };
        };
        requestBody?: undefined;
        responses: {
            default: {
                content: { "application/json;charset=UTF-8": unknown };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    searchWebhooks: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string; repositorySlug: string };
            query?: { event?: string; scopeType?: string; statistics?: boolean };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: { "application/json": unknown };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    set: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string };
            query?: undefined;
        };
        requestBody?: {
            content: {
                "application/json": {
                    enabled?: boolean;
                    restrictionAction?: "CREATE"
                    | "DELETE"
                    | "NONE";
                };
            };
        };
        responses: {
            "200": {
                content: {
                    "application/json": {
                        enabled?: boolean;
                        restrictionState?: | "NONE"
                        | "RESTRICTED_MODIFIABLE"
                        | "RESTRICTED_UNMODIFIABLE";
                        scope?: {
                            resourceId?: number;
                            type?: "GLOBAL"
                            | "PROJECT"
                            | "REPOSITORY";
                        };
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }

    Type declaration

    • Readonlyparameters: {
          cookie?: undefined;
          header?: undefined;
          path: { projectKey: string };
          query?: undefined;
      }
      • Optional Readonlycookie?: undefined
      • Optional Readonlyheader?: undefined
      • Readonlypath: { projectKey: string }
        • ReadonlyprojectKey: string

          The project key

      • Optional Readonlyquery?: undefined
    • Optional ReadonlyrequestBody?: {
          content: {
              "application/json": {
                  enabled?: boolean;
                  restrictionAction?: "CREATE" | "DELETE" | "NONE";
              };
          };
      }

      The settings to create or update

    • Readonlyresponses: {
          "200": {
              content: {
                  "application/json": {
                      enabled?: boolean;
                      restrictionState?:
                          | "NONE"
                          | "RESTRICTED_MODIFIABLE"
                          | "RESTRICTED_UNMODIFIABLE";
                      scope?: {
                          resourceId?: number;
                          type?: "GLOBAL"
                          | "PROJECT"
                          | "REPOSITORY";
                      };
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "400": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "401": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "404": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
      }
      • Readonly200: {
            content: {
                "application/json": {
                    enabled?: boolean;
                    restrictionState?:
                        | "NONE"
                        | "RESTRICTED_MODIFIABLE"
                        | "RESTRICTED_UNMODIFIABLE";
                    scope?: {
                        resourceId?: number;
                        type?: "GLOBAL"
                        | "PROJECT"
                        | "REPOSITORY";
                    };
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The pull request auto-merge settings

      • Readonly400: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The 'enabled' and 'restrictionAction' fields were not provided correctly.

      • Readonly401: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The currently authenticated user has insufficient permissions to create or update the pull request auto-merge settings.

      • Readonly404: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The specified project does not exist.

    set_1: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string; repositorySlug: string };
            query?: undefined;
        };
        requestBody?: { content: { "application/json": { enabled?: boolean } } };
        responses: {
            "200": {
                content: {
                    "application/json": {
                        enabled?: boolean;
                        restrictionState?:
                            | "NONE"
                            | "RESTRICTED_MODIFIABLE"
                            | "RESTRICTED_UNMODIFIABLE";
                        scope?: {
                            resourceId?: number;
                            type?: "GLOBAL"
                            | "PROJECT"
                            | "REPOSITORY";
                        };
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "403": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }

    Type declaration

    • Readonlyparameters: {
          cookie?: undefined;
          header?: undefined;
          path: { projectKey: string; repositorySlug: string };
          query?: undefined;
      }
      • Optional Readonlycookie?: undefined
      • Optional Readonlyheader?: undefined
      • Readonlypath: { projectKey: string; repositorySlug: string }
        • ReadonlyprojectKey: string

          The project key

        • ReadonlyrepositorySlug: string

          The repository slug

      • Optional Readonlyquery?: undefined
    • Optional ReadonlyrequestBody?: { content: { "application/json": { enabled?: boolean } } }

      The settings to create or update

    • Readonlyresponses: {
          "200": {
              content: {
                  "application/json": {
                      enabled?: boolean;
                      restrictionState?:
                          | "NONE"
                          | "RESTRICTED_MODIFIABLE"
                          | "RESTRICTED_UNMODIFIABLE";
                      scope?: {
                          resourceId?: number;
                          type?: "GLOBAL"
                          | "PROJECT"
                          | "REPOSITORY";
                      };
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "400": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "401": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "403": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "404": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
      }
      • Readonly200: {
            content: {
                "application/json": {
                    enabled?: boolean;
                    restrictionState?:
                        | "NONE"
                        | "RESTRICTED_MODIFIABLE"
                        | "RESTRICTED_UNMODIFIABLE";
                    scope?: {
                        resourceId?: number;
                        type?: "GLOBAL"
                        | "PROJECT"
                        | "REPOSITORY";
                    };
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The pull request auto-merge settings

      • Readonly400: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The 'enabled' field was not provided correctly.

      • Readonly401: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The currently authenticated user has insufficient permissions to create or update the pull request auto-merge settings.

      • Readonly403: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The pull request auto-merge settings cannot be modified due to a restriction enforced by the supplied repository's project.

      • Readonly404: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The specified repository does not exist.

    set_2: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: undefined;
        };
        requestBody?: {
            content: {
                "application/json": {
                    settings?: { capacity?: number; fillRate?: number };
                    usernames?: readonly string[];
                    whitelisted?: boolean;
                };
            };
        };
        responses: {
            "200": {
                content: {
                    "application/json": {
                        settings?: { capacity?: number; fillRate?: number };
                        user?: {
                            active?: boolean;
                            avatarUrl?: string;
                            displayName?: string;
                            emailAddress?: string;
                            id?: number;
                            links?: Record<string, unknown>;
                            name?: string;
                            slug?: string;
                            type?: "NORMAL" | "SERVICE";
                        };
                        whitelisted?: boolean;
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    set_3: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { userSlug: string };
            query?: undefined;
        };
        requestBody?: {
            content: {
                "application/json": {
                    settings?: { capacity?: number; fillRate?: number };
                    whitelisted?: boolean;
                };
            };
        };
        responses: {
            "200": {
                content: {
                    "application/json": {
                        settings?: { capacity?: number; fillRate?: number };
                        user?: {
                            active?: boolean;
                            avatarUrl?: string;
                            displayName?: string;
                            emailAddress?: string;
                            id?: number;
                            links?: Record<string, unknown>;
                            name?: string;
                            slug?: string;
                            type?: "NORMAL" | "SERVICE";
                        };
                        whitelisted?: boolean;
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    setACodeInsightsReport: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: {
                commitId: string;
                key: string;
                projectKey: string;
                repositorySlug: string;
            };
            query?: undefined;
        };
        requestBody?: {
            content: {
                "application/json": {
                    coverageProviderKey?: string;
                    createdDate?: number;
                    data: readonly {
                        title?: string;
                        type?: string;
                        value?: Record<string, unknown>;
                    }[];
                    details?: string;
                    link?: string;
                    logoUrl?: string;
                    reporter?: string;
                    result?: string;
                    title: string;
                };
            };
        };
        responses: {
            "200": {
                content: {
                    "application/json": {
                        createdDate?: number;
                        data?: readonly {
                            title?: string;
                            type?: string;
                            value?: Record<string, unknown>;
                        }[];
                        details?: string;
                        key?: string;
                        link?: string;
                        logoUrl?: string;
                        reporter?: string;
                        result?: "FAIL"
                        | "PASS";
                        title?: string;
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }

    Type declaration

    • Readonlyparameters: {
          cookie?: undefined;
          header?: undefined;
          path: {
              commitId: string;
              key: string;
              projectKey: string;
              repositorySlug: string;
          };
          query?: undefined;
      }
      • Optional Readonlycookie?: undefined
      • Optional Readonlyheader?: undefined
      • Readonlypath: { commitId: string; key: string; projectKey: string; repositorySlug: string }
        • ReadonlycommitId: string

          The commit ID on which to record the annotation. This must be a full 40 character commit hash.

        • Readonlykey: string

          A unique string representing the report as chosen by the reporter. This should be unique enough to not clash with other report's keys. To do this, we recommend namespacing the key using reverse DNS

        • ReadonlyprojectKey: string

          The project key.

        • ReadonlyrepositorySlug: string

          The repository slug.

      • Optional Readonlyquery?: undefined
    • Optional ReadonlyrequestBody?: {
          content: {
              "application/json": {
                  coverageProviderKey?: string;
                  createdDate?: number;
                  data: readonly {
                      title?: string;
                      type?: string;
                      value?: Record<string, unknown>;
                  }[];
                  details?: string;
                  link?: string;
                  logoUrl?: string;
                  reporter?: string;
                  result?: string;
                  title: string;
              };
          };
      }

      The request object containing the details of the report to create (see example).

    • Readonlyresponses: {
          "200": {
              content: {
                  "application/json": {
                      createdDate?: number;
                      data?: readonly {
                          title?: string;
                          type?: string;
                          value?: Record<string, unknown>;
                      }[];
                      details?: string;
                      key?: string;
                      link?: string;
                      logoUrl?: string;
                      reporter?: string;
                      result?: "FAIL"
                      | "PASS";
                      title?: string;
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "400": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "401": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
      }
      • Readonly200: {
            content: {
                "application/json": {
                    createdDate?: number;
                    data?: readonly {
                        title?: string;
                        type?: string;
                        value?: Record<string, unknown>;
                    }[];
                    details?: string;
                    key?: string;
                    link?: string;
                    logoUrl?: string;
                    reporter?: string;
                    result?: "FAIL"
                    | "PASS";
                    title?: string;
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The created report.

      • Readonly400: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        One of the following error cases occurred (check the error message for more details):

        - The request does not contain a report title.
        - The data field contains unsupported objects.
        - The request does not contain a report key/
        - The provided commit hash is invalid, according to  the validation rules mentioned for the commitId above.
        
      • Readonly401: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The currently authenticated user is not permitted to create an insight report or authentication failed.

    setAnnotation: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: {
                commitId: string;
                externalId: string;
                key: string;
                projectKey: string;
                repositorySlug: string;
            };
            query?: undefined;
        };
        requestBody?: {
            content: {
                "application/json": {
                    externalId?: string;
                    line?: number;
                    link?: string;
                    message: string;
                    path?: string;
                    severity: string;
                    type?: string;
                };
            };
        };
        responses: {
            "204": {
                content?: undefined;
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }

    Type declaration

    • Readonlyparameters: {
          cookie?: undefined;
          header?: undefined;
          path: {
              commitId: string;
              externalId: string;
              key: string;
              projectKey: string;
              repositorySlug: string;
          };
          query?: undefined;
      }
      • Optional Readonlycookie?: undefined
      • Optional Readonlyheader?: undefined
      • Readonlypath: {
            commitId: string;
            externalId: string;
            key: string;
            projectKey: string;
            repositorySlug: string;
        }
        • ReadonlycommitId: string

          The commit ID on which to record the annotation. This must be a full 40 character commit hash.

        • ReadonlyexternalId: string

          The external ID of the annotation that is to be updated or created

        • Readonlykey: string

          The key of the report to which this annotation belongs

        • ReadonlyprojectKey: string

          The project key.

        • ReadonlyrepositorySlug: string

          The repository slug.

      • Optional Readonlyquery?: undefined
    • Optional ReadonlyrequestBody?: {
          content: {
              "application/json": {
                  externalId?: string;
                  line?: number;
                  link?: string;
                  message: string;
                  path?: string;
                  severity: string;
                  type?: string;
              };
          };
      }

      The new annotation that is to replace the existing one.

    • Readonlyresponses: {
          "204": {
              content?: undefined;
              headers: Readonly<Record<string, unknown>>;
          };
          "401": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "404": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
      }
      • Readonly204: { content?: undefined; headers: Readonly<Record<string, unknown>> }

        No content, indicating that the request succeeded.

      • Readonly401: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The currently authenticated user is not the author of the report, or the author no longer has sufficient permissions (REPO_READ).

      • Readonly404: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The specified project, repository, commit, report or annotation does not exist.

    setAutoDeclineSettings: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string };
            query?: undefined;
        };
        requestBody?: {
            content: {
                "application/json": { enabled?: boolean; inactivityWeeks?: number };
            };
        };
        responses: {
            "200": {
                content: {
                    "application/json": {
                        enabled?: boolean;
                        inactivityWeeks?: number;
                        scope?: {
                            resourceId?: number;
                            type?: "GLOBAL"
                            | "PROJECT"
                            | "REPOSITORY";
                        };
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }

    Type declaration

    • Readonlyparameters: {
          cookie?: undefined;
          header?: undefined;
          path: { projectKey: string };
          query?: undefined;
      }
      • Optional Readonlycookie?: undefined
      • Optional Readonlyheader?: undefined
      • Readonlypath: { projectKey: string }
        • ReadonlyprojectKey: string

          The project key

      • Optional Readonlyquery?: undefined
    • Optional ReadonlyrequestBody?: {
          content: {
              "application/json": { enabled?: boolean; inactivityWeeks?: number };
          };
      }

      The settings to create or update

    • Readonlyresponses: {
          "200": {
              content: {
                  "application/json": {
                      enabled?: boolean;
                      inactivityWeeks?: number;
                      scope?: {
                          resourceId?: number;
                          type?: "GLOBAL" | "PROJECT" | "REPOSITORY";
                      };
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "400": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "401": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "404": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
      }
      • Readonly200: {
            content: {
                "application/json": {
                    enabled?: boolean;
                    inactivityWeeks?: number;
                    scope?: {
                        resourceId?: number;
                        type?: "GLOBAL" | "PROJECT" | "REPOSITORY";
                    };
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The auto decline settings

      • Readonly400: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        inactivityWeeks was not one of 1, 2, 4, 8, or, 12, or the enabled parameter was not included in the request.

      • Readonly401: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The currently authenticated user has insufficient permissions to create or update the auto decline settings.

      • Readonly404: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The specified project does not exist.

    setAutoDeclineSettings_1: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string; repositorySlug: string };
            query?: undefined;
        };
        requestBody?: {
            content: {
                "application/json": { enabled?: boolean; inactivityWeeks?: number };
            };
        };
        responses: {
            "200": {
                content: {
                    "application/json": {
                        enabled?: boolean;
                        inactivityWeeks?: number;
                        scope?: {
                            resourceId?: number;
                            type?: "GLOBAL"
                            | "PROJECT"
                            | "REPOSITORY";
                        };
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }

    Type declaration

    • Readonlyparameters: {
          cookie?: undefined;
          header?: undefined;
          path: { projectKey: string; repositorySlug: string };
          query?: undefined;
      }
      • Optional Readonlycookie?: undefined
      • Optional Readonlyheader?: undefined
      • Readonlypath: { projectKey: string; repositorySlug: string }
        • ReadonlyprojectKey: string

          The project key

        • ReadonlyrepositorySlug: string

          The repository slug

      • Optional Readonlyquery?: undefined
    • Optional ReadonlyrequestBody?: {
          content: {
              "application/json": { enabled?: boolean; inactivityWeeks?: number };
          };
      }

      The settings to create or update

    • Readonlyresponses: {
          "200": {
              content: {
                  "application/json": {
                      enabled?: boolean;
                      inactivityWeeks?: number;
                      scope?: {
                          resourceId?: number;
                          type?: "GLOBAL" | "PROJECT" | "REPOSITORY";
                      };
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "400": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "401": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "404": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
      }
      • Readonly200: {
            content: {
                "application/json": {
                    enabled?: boolean;
                    inactivityWeeks?: number;
                    scope?: {
                        resourceId?: number;
                        type?: "GLOBAL" | "PROJECT" | "REPOSITORY";
                    };
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The auto decline settings

      • Readonly400: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        inactivityWeeks was not one of 1, 2, 4, 8, or, 12, or the enabled parameter was not included in the request.

      • Readonly401: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The currently authenticated user has insufficient permissions to create or update the auto decline settings.

      • Readonly404: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The specified repository does not exist.

    setBanner: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: undefined;
        };
        requestBody?: {
            content: {
                "application/json": {
                    audience: "ALL"
                    | "AUTHENTICATED";
                    enabled?: boolean;
                    message?: string;
                };
            };
        };
        responses: {
            "204": {
                content?: undefined;
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    setConfiguration: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string; scriptId: string };
            query?: undefined;
        };
        requestBody?: {
            content: { "application/json": { triggerIds?: readonly string[] } };
        };
        responses: {
            "200": {
                content: {
                    "application/json": {
                        scope?: {
                            resourceId?: number;
                            type?: "GLOBAL"
                            | "PROJECT"
                            | "REPOSITORY";
                        };
                        script?: {
                            createdDate?: string;
                            description?: string;
                            id?: number;
                            name?: string;
                            pluginKey?: string;
                            type?: "POST"
                            | "PRE";
                            updatedDate?: string;
                            version?: number;
                        };
                        triggerIds?: readonly string[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }

    Type declaration

    • Readonlyparameters: {
          cookie?: undefined;
          header?: undefined;
          path: { projectKey: string; scriptId: string };
          query?: undefined;
      }
      • Optional Readonlycookie?: undefined
      • Optional Readonlyheader?: undefined
      • Readonlypath: { projectKey: string; scriptId: string }
        • ReadonlyprojectKey: string

          The project key.

        • ReadonlyscriptId: string

          The ID of the hook script

      • Optional Readonlyquery?: undefined
    • Optional ReadonlyrequestBody?: { content: { "application/json": { triggerIds?: readonly string[] } } }

      The hook triggers for which the hook script should be run

    • Readonlyresponses: {
          "200": {
              content: {
                  "application/json": {
                      scope?: {
                          resourceId?: number;
                          type?: "GLOBAL" | "PROJECT" | "REPOSITORY";
                      };
                      script?: {
                          createdDate?: string;
                          description?: string;
                          id?: number;
                          name?: string;
                          pluginKey?: string;
                          type?: "POST"
                          | "PRE";
                          updatedDate?: string;
                          version?: number;
                      };
                      triggerIds?: readonly string[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "400": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "401": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "404": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
      }
      • Readonly200: {
            content: {
                "application/json": {
                    scope?: {
                        resourceId?: number;
                        type?: "GLOBAL" | "PROJECT" | "REPOSITORY";
                    };
                    script?: {
                        createdDate?: string;
                        description?: string;
                        id?: number;
                        name?: string;
                        pluginKey?: string;
                        type?: "POST"
                        | "PRE";
                        updatedDate?: string;
                        version?: number;
                    };
                    triggerIds?: readonly string[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The updated hook script.

      • Readonly400: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The hook script was not created/updated due to a validation error.

      • Readonly401: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The currently authenticated user has insufficient permissions to view the specified project.

      • Readonly404: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The project key supplied does not exist.

    setConfiguration_1: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string; repositorySlug: string; scriptId: string };
            query?: undefined;
        };
        requestBody?: {
            content: { "application/json": { triggerIds?: readonly string[] } };
        };
        responses: {
            "200": {
                content: {
                    "application/json": {
                        scope?: {
                            resourceId?: number;
                            type?: "GLOBAL"
                            | "PROJECT"
                            | "REPOSITORY";
                        };
                        script?: {
                            createdDate?: string;
                            description?: string;
                            id?: number;
                            name?: string;
                            pluginKey?: string;
                            type?: "POST"
                            | "PRE";
                            updatedDate?: string;
                            version?: number;
                        };
                        triggerIds?: readonly string[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }

    Type declaration

    • Readonlyparameters: {
          cookie?: undefined;
          header?: undefined;
          path: { projectKey: string; repositorySlug: string; scriptId: string };
          query?: undefined;
      }
      • Optional Readonlycookie?: undefined
      • Optional Readonlyheader?: undefined
      • Readonlypath: { projectKey: string; repositorySlug: string; scriptId: string }
        • ReadonlyprojectKey: string

          The project key.

        • ReadonlyrepositorySlug: string

          The repository slug.

        • ReadonlyscriptId: string

          The ID of the hook script

      • Optional Readonlyquery?: undefined
    • Optional ReadonlyrequestBody?: { content: { "application/json": { triggerIds?: readonly string[] } } }

      The hook triggers for which the hook script should be run

    • Readonlyresponses: {
          "200": {
              content: {
                  "application/json": {
                      scope?: {
                          resourceId?: number;
                          type?: "GLOBAL" | "PROJECT" | "REPOSITORY";
                      };
                      script?: {
                          createdDate?: string;
                          description?: string;
                          id?: number;
                          name?: string;
                          pluginKey?: string;
                          type?: "POST"
                          | "PRE";
                          updatedDate?: string;
                          version?: number;
                      };
                      triggerIds?: readonly string[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "400": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "401": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "404": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
      }
      • Readonly200: {
            content: {
                "application/json": {
                    scope?: {
                        resourceId?: number;
                        type?: "GLOBAL" | "PROJECT" | "REPOSITORY";
                    };
                    script?: {
                        createdDate?: string;
                        description?: string;
                        id?: number;
                        name?: string;
                        pluginKey?: string;
                        type?: "POST"
                        | "PRE";
                        updatedDate?: string;
                        version?: number;
                    };
                    triggerIds?: readonly string[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The updated hook script.

      • Readonly400: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The hook script was not created/updated due to a validation error.

      • Readonly401: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The currently authenticated user has insufficient permissions to view the specified repository.

      • Readonly404: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The repository slug supplied does not exist.

    setDefaultBranch: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: undefined;
        };
        requestBody?: { content: { "application/json": { id?: string } } };
        responses: {
            "204": {
                content?: undefined;
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    setDefaultBranch_1: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string; repositorySlug: string };
            query?: undefined;
        };
        requestBody?: {
            content: {
                "application/json": {
                    default?: boolean;
                    displayId?: string;
                    id?: string;
                    latestChangeset?: string;
                    latestCommit?: string;
                    type?: unknown;
                };
            };
        };
        responses: {
            "204": {
                content?: undefined;
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }

    Type declaration

    • Readonlyparameters: {
          cookie?: undefined;
          header?: undefined;
          path: { projectKey: string; repositorySlug: string };
          query?: undefined;
      }
      • Optional Readonlycookie?: undefined
      • Optional Readonlyheader?: undefined
      • Readonlypath: { projectKey: string; repositorySlug: string }
        • ReadonlyprojectKey: string

          The project key.

        • ReadonlyrepositorySlug: string

          The repository slug.

      • Optional Readonlyquery?: undefined
    • Optional ReadonlyrequestBody?: {
          content: {
              "application/json": {
                  default?: boolean;
                  displayId?: string;
                  id?: string;
                  latestChangeset?: string;
                  latestCommit?: string;
                  type?: unknown;
              };
          };
      }

      The branch to set as default

    • Readonlyresponses: {
          "204": {
              content?: undefined;
              headers: Readonly<Record<string, unknown>>;
          };
          "401": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "404": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
      }
      • Readonly204: { content?: undefined; headers: Readonly<Record<string, unknown>> }

        The operation was successful.

      • Readonly401: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The currently authenticated user has insufficient permissions to update the repository.

      • Readonly404: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The specified repository does not exist.

    setDefaultBranch_2: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string; repositorySlug: string };
            query?: undefined;
        };
        requestBody?: {
            content: {
                "application/json": {
                    default?: boolean;
                    displayId?: string;
                    id?: string;
                    latestChangeset?: string;
                    latestCommit?: string;
                    type?: unknown;
                };
            };
        };
        responses: {
            "204": {
                content?: undefined;
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }

    Type declaration

    • Readonlyparameters: {
          cookie?: undefined;
          header?: undefined;
          path: { projectKey: string; repositorySlug: string };
          query?: undefined;
      }
      • Optional Readonlycookie?: undefined
      • Optional Readonlyheader?: undefined
      • Readonlypath: { projectKey: string; repositorySlug: string }
        • ReadonlyprojectKey: string

          The project key.

        • ReadonlyrepositorySlug: string

          The repository slug.

      • Optional Readonlyquery?: undefined
    • Optional ReadonlyrequestBody?: {
          content: {
              "application/json": {
                  default?: boolean;
                  displayId?: string;
                  id?: string;
                  latestChangeset?: string;
                  latestCommit?: string;
                  type?: unknown;
              };
          };
      }

      The branch to set as default

    • Readonlyresponses: {
          "204": {
              content?: undefined;
              headers: Readonly<Record<string, unknown>>;
          };
          "401": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "404": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
      }
      • Readonly204: { content?: undefined; headers: Readonly<Record<string, unknown>> }

        The default branch was updated.

      • Readonly401: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The authenticated user does not have permission to modify the default branch.

      • Readonly404: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The specified repository does not exist.

    setEnabled: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string; repositorySlug: string };
            query?: undefined;
        };
        requestBody?: {
            content: {
                "application/json": {
                    aheadRefs?: {
                        displayId?: string;
                        id?: string;
                        state?: "AHEAD"
                        | "DIVERGED"
                        | "ORPHANED";
                        tag?: boolean;
                        type?: "BRANCH" | "TAG";
                    };
                    available?: boolean;
                    divergedRefs?: {
                        displayId?: string;
                        id?: string;
                        state?: "AHEAD"
                        | "DIVERGED"
                        | "ORPHANED";
                        tag?: boolean;
                        type?: "BRANCH" | "TAG";
                    };
                    enabled?: boolean;
                    lastSync?: number;
                    orphanedRefs?: {
                        displayId?: string;
                        id?: string;
                        state?: "AHEAD"
                        | "DIVERGED"
                        | "ORPHANED";
                        tag?: boolean;
                        type?: "BRANCH" | "TAG";
                    };
                };
            };
        };
        responses: {
            "200": {
                content: {
                    "application/json": {
                        aheadRefs?: {
                            displayId?: string;
                            id?: string;
                            state?: "AHEAD"
                            | "DIVERGED"
                            | "ORPHANED";
                            tag?: boolean;
                            type?: "BRANCH" | "TAG";
                        };
                        available?: boolean;
                        divergedRefs?: {
                            displayId?: string;
                            id?: string;
                            state?: "AHEAD"
                            | "DIVERGED"
                            | "ORPHANED";
                            tag?: boolean;
                            type?: "BRANCH" | "TAG";
                        };
                        enabled?: boolean;
                        lastSync?: number;
                        orphanedRefs?: {
                            displayId?: string;
                            id?: string;
                            state?: "AHEAD"
                            | "DIVERGED"
                            | "ORPHANED";
                            tag?: boolean;
                            type?: "BRANCH" | "TAG";
                        };
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "204": { content?: undefined; headers: Readonly<Record<string, unknown>> };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    setLevel: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { levelName: string; loggerName: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "204": {
                content?: undefined;
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    setMailConfig: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: undefined;
        };
        requestBody?: {
            content: {
                "application/json": {
                    hostname?: string;
                    password?: string;
                    port?: number;
                    protocol?: "SMTP"
                    | "SMTPS";
                    requireStartTls?: boolean;
                    senderAddress?: string;
                    username?: string;
                    useStartTls?: boolean;
                };
            };
        };
        responses: {
            "200": {
                content: {
                    "application/json": {
                        hostname?: string;
                        password?: string;
                        port?: number;
                        protocol?: "SMTP"
                        | "SMTPS";
                        requireStartTls?: boolean;
                        senderAddress?: string;
                        username?: string;
                        useStartTls?: boolean;
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    setMergeConfig: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { scmId: string };
            query?: undefined;
        };
        requestBody?: {
            content: {
                "application/json": {
                    mergeConfig?: {
                        commitMessageTemplate?: { body?: string; title?: string };
                        commitSummaries?: number;
                        defaultStrategy?: {
                            description?: string;
                            enabled?: boolean;
                            flag?: string;
                            id?: string;
                            links?: Record<(...), (...)>;
                            name?: string;
                        };
                        strategies?: readonly {
                            description?: (...)
                            | (...);
                            enabled?: (...) | (...) | (...);
                            flag?: (...) | (...);
                            id?: (...) | (...);
                            links?: (...) | (...);
                            name?: (...) | (...);
                        }[];
                        type?: string;
                    };
                };
            };
        };
        responses: {
            "200": {
                content: {
                    "application/json": {
                        commitMessageTemplate?: { body?: string; title?: string };
                        commitSummaries?: number;
                        defaultStrategy?: {
                            description?: string;
                            enabled?: boolean;
                            flag?: string;
                            id?: string;
                            links?: Record<string, unknown>;
                            name?: string;
                        };
                        strategies?: readonly {
                            description?: string;
                            enabled?: boolean;
                            flag?: string;
                            id?: string;
                            links?: Record<string, unknown>;
                            name?: string;
                        }[];
                        type?: string;
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "409": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }

    Type declaration

    • Readonlyparameters: {
          cookie?: undefined;
          header?: undefined;
          path: { scmId: string };
          query?: undefined;
      }
      • Optional Readonlycookie?: undefined
      • Optional Readonlyheader?: undefined
      • Readonlypath: { scmId: string }
        • ReadonlyscmId: string

          the id of the scm to get strategies for

      • Optional Readonlyquery?: undefined
    • Optional ReadonlyrequestBody?: {
          content: {
              "application/json": {
                  mergeConfig?: {
                      commitMessageTemplate?: { body?: string; title?: string };
                      commitSummaries?: number;
                      defaultStrategy?: {
                          description?: string;
                          enabled?: boolean;
                          flag?: string;
                          id?: string;
                          links?: Record<(...), (...)>;
                          name?: string;
                      };
                      strategies?: readonly {
                          description?: (...)
                          | (...);
                          enabled?: (...) | (...) | (...);
                          flag?: (...) | (...);
                          id?: (...) | (...);
                          links?: (...) | (...);
                          name?: (...) | (...);
                      }[];
                      type?: string;
                  };
              };
          };
      }

      the settings

    • Readonlyresponses: {
          "200": {
              content: {
                  "application/json": {
                      commitMessageTemplate?: { body?: string; title?: string };
                      commitSummaries?: number;
                      defaultStrategy?: {
                          description?: string;
                          enabled?: boolean;
                          flag?: string;
                          id?: string;
                          links?: Record<string, unknown>;
                          name?: string;
                      };
                      strategies?: readonly {
                          description?: string;
                          enabled?: boolean;
                          flag?: string;
                          id?: string;
                          links?: Record<string, unknown>;
                          name?: string;
                      }[];
                      type?: string;
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "400": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "401": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "404": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "409": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
      }
      • Readonly200: {
            content: {
                "application/json": {
                    commitMessageTemplate?: { body?: string; title?: string };
                    commitSummaries?: number;
                    defaultStrategy?: {
                        description?: string;
                        enabled?: boolean;
                        flag?: string;
                        id?: string;
                        links?: Record<string, unknown>;
                        name?: string;
                    };
                    strategies?: readonly {
                        description?: string;
                        enabled?: boolean;
                        flag?: string;
                        id?: string;
                        links?: Record<string, unknown>;
                        name?: string;
                    }[];
                    type?: string;
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The repository pull request merge strategies for the context repository.

      • Readonly400: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The repository pull request merge strategies were not updated due to a validation error.

      • Readonly401: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The currently authenticated user has insufficient permissions to administrate thespecified repository.

      • Readonly404: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The specified repository does not exist.

      • Readonly409: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        Setting or deleting merge configurations isn't supported on archived repositories.

    setMirrorMode: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: undefined;
        };
        requestBody?: { content: { "application/json": string } };
        responses: {
            "200": {
                content: { "application/json": unknown };
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    setMirrorSettings: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: undefined;
        };
        requestBody?: {
            content: {
                "application/json": {
                    mode?: "ALL_PROJECTS"
                    | "SELECTED_PROJECTS";
                    projectIds?: readonly string[];
                };
            };
        };
        responses: {
            "200": {
                content: {
                    "application/json": {
                        mode?: "ALL_PROJECTS"
                        | "SELECTED_PROJECTS";
                        projectIds?: readonly string[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }

    Type declaration

    • Readonlyparameters: { cookie?: undefined; header?: undefined; path?: undefined; query?: undefined }
    • Optional ReadonlyrequestBody?: {
          content: {
              "application/json": {
                  mode?: "ALL_PROJECTS" | "SELECTED_PROJECTS";
                  projectIds?: readonly string[];
              };
          };
      }

      the mirror settings to update to

    • Readonlyresponses: {
          "200": {
              content: {
                  "application/json": {
                      mode?: "ALL_PROJECTS" | "SELECTED_PROJECTS";
                      projectIds?: readonly string[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "401": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "404": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
      }
      • Readonly200: {
            content: {
                "application/json": {
                    mode?: "ALL_PROJECTS" | "SELECTED_PROJECTS";
                    projectIds?: readonly string[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        the updated mirror settings

      • Readonly401: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        When the user is not a service user for the currently registered upstream or doesn't have ADMIN permission

      • Readonly404: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The upstream server could not be found.

    setPermissionForGroup: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string; repositorySlug: string };
            query: {
                name: readonly string[];
                permission: "REPO_ADMIN" | "REPO_READ" | "REPO_WRITE";
            };
        };
        requestBody?: undefined;
        responses: {
            "204": {
                content?: undefined;
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "403": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    setPermissionForGroups: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query: {
                name: readonly string[];
                permission: "ADMIN" | "LICENSED_USER" | "PROJECT_CREATE" | "SYS_ADMIN";
            };
        };
        requestBody?: undefined;
        responses: {
            "204": {
                content?: undefined;
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "403": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "409": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    setPermissionForGroups_1: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string };
            query?: { name?: string; permission?: string };
        };
        requestBody?: undefined;
        responses: {
            "204": {
                content?: undefined;
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "403": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    setPermissionForUser: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string; repositorySlug: string };
            query: {
                name: readonly string[];
                permission: "REPO_ADMIN" | "REPO_READ" | "REPO_WRITE";
            };
        };
        requestBody?: undefined;
        responses: {
            "204": {
                content?: undefined;
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "403": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    setPermissionForUsers: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query: {
                name: readonly string[];
                permission: "ADMIN" | "LICENSED_USER" | "PROJECT_CREATE" | "SYS_ADMIN";
            };
        };
        requestBody?: undefined;
        responses: {
            "204": {
                content?: undefined;
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "403": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "409": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    setPermissionForUsers_1: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string };
            query?: { name?: string; permission?: string };
        };
        requestBody?: undefined;
        responses: {
            "204": {
                content?: undefined;
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "403": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    setPreferredMirrorId: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: undefined;
        };
        requestBody?: { content: { "application/json": string } };
        responses: {
            "204": {
                content?: undefined;
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }

    Type declaration

    • Readonlyparameters: { cookie?: undefined; header?: undefined; path?: undefined; query?: undefined }
    • Optional ReadonlyrequestBody?: { content: { "application/json": string } }

      the mirror ID

    • Readonlyresponses: {
          "204": {
              content?: undefined;
              headers: Readonly<Record<string, unknown>>;
          };
          "404": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
      }
      • Readonly204: { content?: undefined; headers: Readonly<Record<string, unknown>> }

        an empty response indicating that the user setting has been updated

      • Readonly404: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The mirror could not be found.

    setRepositoryArchivePolicy: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: undefined;
        };
        requestBody?: {
            content: {
                "application/json": {
                    permission?: "ADMIN"
                    | "PROJECT_ADMIN"
                    | "REPO_ADMIN"
                    | "SYS_ADMIN";
                };
            };
        };
        responses: {
            "200": {
                content: {
                    "application/json": {
                        permission?: "ADMIN"
                        | "PROJECT_ADMIN"
                        | "REPO_ADMIN"
                        | "SYS_ADMIN";
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }

    Type declaration

    • Readonlyparameters: { cookie?: undefined; header?: undefined; path?: undefined; query?: undefined }
    • Optional ReadonlyrequestBody?: {
          content: {
              "application/json": {
                  permission?: "ADMIN" | "PROJECT_ADMIN" | "REPO_ADMIN" | "SYS_ADMIN";
              };
          };
      }

      The request containing the details of the policy.

    • Readonlyresponses: {
          "200": {
              content: {
                  "application/json": {
                      permission?: "ADMIN" | "PROJECT_ADMIN" | "REPO_ADMIN" | "SYS_ADMIN";
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "400": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "401": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
      }
      • Readonly200: {
            content: {
                "application/json": {
                    permission?: "ADMIN" | "PROJECT_ADMIN" | "REPO_ADMIN" | "SYS_ADMIN";
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        A response containing the repository archive policy for the instance

      • Readonly400: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The permission was invalid or does not exist

      • Readonly401: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The currently authenticated user has insufficient permissions to set the repository archive policy

    setRepositoryDeletePolicy: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: undefined;
        };
        requestBody?: {
            content: {
                "application/json": {
                    permission?: "ADMIN"
                    | "PROJECT_ADMIN"
                    | "REPO_ADMIN"
                    | "SYS_ADMIN";
                };
            };
        };
        responses: {
            "200": {
                content: {
                    "application/json": {
                        permission?: "ADMIN"
                        | "PROJECT_ADMIN"
                        | "REPO_ADMIN"
                        | "SYS_ADMIN";
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }

    Type declaration

    • Readonlyparameters: { cookie?: undefined; header?: undefined; path?: undefined; query?: undefined }
    • Optional ReadonlyrequestBody?: {
          content: {
              "application/json": {
                  permission?: "ADMIN" | "PROJECT_ADMIN" | "REPO_ADMIN" | "SYS_ADMIN";
              };
          };
      }

      The request containing the details of the policy.

    • Readonlyresponses: {
          "200": {
              content: {
                  "application/json": {
                      permission?: "ADMIN" | "PROJECT_ADMIN" | "REPO_ADMIN" | "SYS_ADMIN";
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "400": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "401": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
      }
      • Readonly200: {
            content: {
                "application/json": {
                    permission?: "ADMIN" | "PROJECT_ADMIN" | "REPO_ADMIN" | "SYS_ADMIN";
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        A response containing the repository delete policy for the instance

      • Readonly400: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The permission was invalid or does not exist

      • Readonly401: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The currently authenticated user has insufficient permissions to set the repository delete policy

    setRootLevel: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { levelName: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "204": {
                content?: undefined;
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    setSenderAddress: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: undefined;
        };
        requestBody?: { content: { "application/json": string } };
        responses: {
            "200": {
                content: { "application/json": unknown };
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    setSettings: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { hookKey: string; projectKey: string };
            query?: undefined;
        };
        requestBody?: {
            content: {
                "application/json": {
                    booleanValue?: boolean;
                    doubleValue?: number;
                    integerValue?: number;
                    longValue?: number;
                    stringValue?: string;
                };
            };
        };
        responses: {
            "200": {
                content: {
                    "application/json": {
                        booleanValue?: boolean;
                        doubleValue?: number;
                        integerValue?: number;
                        longValue?: number;
                        stringValue?: string;
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }

    Type declaration

    • Readonlyparameters: {
          cookie?: undefined;
          header?: undefined;
          path: { hookKey: string; projectKey: string };
          query?: undefined;
      }
      • Optional Readonlycookie?: undefined
      • Optional Readonlyheader?: undefined
      • Readonlypath: { hookKey: string; projectKey: string }
        • ReadonlyhookKey: string

          The complete module key of the hook module.

        • ReadonlyprojectKey: string

          The project key.

      • Optional Readonlyquery?: undefined
    • Optional ReadonlyrequestBody?: {
          content: {
              "application/json": {
                  booleanValue?: boolean;
                  doubleValue?: number;
                  integerValue?: number;
                  longValue?: number;
                  stringValue?: string;
              };
          };
      }

      The raw settings.

    • Readonlyresponses: {
          "200": {
              content: {
                  "application/json": {
                      booleanValue?: boolean;
                      doubleValue?: number;
                      integerValue?: number;
                      longValue?: number;
                      stringValue?: string;
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "400": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "401": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "404": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
      }
      • Readonly200: {
            content: {
                "application/json": {
                    booleanValue?: boolean;
                    doubleValue?: number;
                    integerValue?: number;
                    longValue?: number;
                    stringValue?: string;
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The settings for the hook.

      • Readonly400: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The settings specified are invalid.

      • Readonly401: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The currently authenticated user has insufficient permissions to modify the hook settings.

      • Readonly404: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The specified project or hook does not exist.

    setSettings_1: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { hookKey: string; projectKey: string; repositorySlug: string };
            query?: undefined;
        };
        requestBody?: {
            content: {
                "application/json": {
                    booleanValue?: boolean;
                    doubleValue?: number;
                    integerValue?: number;
                    longValue?: number;
                    stringValue?: string;
                };
            };
        };
        responses: {
            "200": {
                content: {
                    "application/json": {
                        booleanValue?: boolean;
                        doubleValue?: number;
                        integerValue?: number;
                        longValue?: number;
                        stringValue?: string;
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }

    Type declaration

    • Readonlyparameters: {
          cookie?: undefined;
          header?: undefined;
          path: { hookKey: string; projectKey: string; repositorySlug: string };
          query?: undefined;
      }
      • Optional Readonlycookie?: undefined
      • Optional Readonlyheader?: undefined
      • Readonlypath: { hookKey: string; projectKey: string; repositorySlug: string }
        • ReadonlyhookKey: string

          The hook key.

        • ReadonlyprojectKey: string

          The project key.

        • ReadonlyrepositorySlug: string

          The repository slug.

      • Optional Readonlyquery?: undefined
    • Optional ReadonlyrequestBody?: {
          content: {
              "application/json": {
                  booleanValue?: boolean;
                  doubleValue?: number;
                  integerValue?: number;
                  longValue?: number;
                  stringValue?: string;
              };
          };
      }

      The raw settings.

    • Readonlyresponses: {
          "200": {
              content: {
                  "application/json": {
                      booleanValue?: boolean;
                      doubleValue?: number;
                      integerValue?: number;
                      longValue?: number;
                      stringValue?: string;
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "400": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "401": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "404": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
      }
      • Readonly200: {
            content: {
                "application/json": {
                    booleanValue?: boolean;
                    doubleValue?: number;
                    integerValue?: number;
                    longValue?: number;
                    stringValue?: string;
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The settings for the hook.

      • Readonly400: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The settings specified are invalid.

      • Readonly401: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The currently authenticated user has insufficient permissions to modify the hook settings.

      • Readonly404: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The specified repository or hook does not exist.

    setSettings_2: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: undefined;
        };
        requestBody?: {
            content: {
                "application/json": {
                    defaultSettings?: { capacity?: number; fillRate?: number };
                    enabled?: boolean;
                };
            };
        };
        responses: {
            "200": {
                content: {
                    "application/json": {
                        defaultSettings?: { capacity?: number; fillRate?: number };
                        enabled?: boolean;
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }

    Type declaration

    • Readonlyparameters: { cookie?: undefined; header?: undefined; path?: undefined; query?: undefined }
    • Optional ReadonlyrequestBody?: {
          content: {
              "application/json": {
                  defaultSettings?: { capacity?: number; fillRate?: number };
                  enabled?: boolean;
              };
          };
      }

      Sets the rate limit settings for the instance.

      The authenticated user must have <strong>ADMIN</strong> permission to call this resource.
      
    • Readonlyresponses: {
          "200": {
              content: {
                  "application/json": {
                      defaultSettings?: { capacity?: number; fillRate?: number };
                      enabled?: boolean;
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "400": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "401": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
      }
      • Readonly200: {
            content: {
                "application/json": {
                    defaultSettings?: { capacity?: number; fillRate?: number };
                    enabled?: boolean;
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        A response containing the updated rate limit plugin settings for the instance.

      • Readonly400: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        One of the following error cases occurred (check the error message for more details):

        - The request is empty
        - The enabled field of the request is not a boolean
        - The defaultSettings field of the request does not contain both capacity and fillRate
        - The capacity and fillRate are not positive integers
        
      • Readonly401: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The currently authenticated user has insufficient permissions to set rate limit settings.

    sshSettings: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        accessKeysEnabled?: boolean;
                        baseUrl?: string;
                        enabled?: boolean;
                        fingerprint?: { algorithm?: string; value?: string };
                        port?: number;
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    startExport: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: undefined;
        };
        requestBody?: {
            content: {
                "application/json": {
                    exportLocation?: string;
                    repositoriesRequest: {
                        includes: readonly { projectKey?: string; slug?: string }[];
                    };
                };
            };
        };
        responses: {
            "200": {
                content: {
                    "application/json": {
                        endDate?: number;
                        id?: number;
                        initiator?: {
                            active?: boolean;
                            avatarUrl?: string;
                            displayName?: string;
                            emailAddress?: string;
                            id?: number;
                            links?: Record<string, unknown>;
                            name?: string;
                            slug?: string;
                            type?: "NORMAL" | "SERVICE";
                        };
                        nodeId?: string;
                        progress?: { message?: string; percentage?: number };
                        startDate?: number;
                        state?:
                            | "FAILED"
                            | "COMPLETED"
                            | "RUNNING"
                            | "READY"
                            | "INITIALISING"
                            | "ABORTED"
                            | "CANCELED"
                            | "CANCELING"
                            | "FINALISING"
                            | "TIMED_OUT";
                        type?: string;
                        updatedDate?: number;
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "503": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }

    Type declaration

    • Readonlyparameters: { cookie?: undefined; header?: undefined; path?: undefined; query?: undefined }
    • Optional ReadonlyrequestBody?: {
          content: {
              "application/json": {
                  exportLocation?: string;
                  repositoriesRequest: {
                      includes: readonly { projectKey?: string; slug?: string }[];
                  };
              };
          };
      }

      The request

    • Readonlyresponses: {
          "200": {
              content: {
                  "application/json": {
                      endDate?: number;
                      id?: number;
                      initiator?: {
                          active?: boolean;
                          avatarUrl?: string;
                          displayName?: string;
                          emailAddress?: string;
                          id?: number;
                          links?: Record<string, unknown>;
                          name?: string;
                          slug?: string;
                          type?: "NORMAL" | "SERVICE";
                      };
                      nodeId?: string;
                      progress?: { message?: string; percentage?: number };
                      startDate?: number;
                      state?:
                          | "FAILED"
                          | "COMPLETED"
                          | "RUNNING"
                          | "READY"
                          | "INITIALISING"
                          | "ABORTED"
                          | "CANCELED"
                          | "CANCELING"
                          | "FINALISING"
                          | "TIMED_OUT";
                      type?: string;
                      updatedDate?: number;
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "400": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "401": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "503": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
      }
      • Readonly200: {
            content: {
                "application/json": {
                    endDate?: number;
                    id?: number;
                    initiator?: {
                        active?: boolean;
                        avatarUrl?: string;
                        displayName?: string;
                        emailAddress?: string;
                        id?: number;
                        links?: Record<string, unknown>;
                        name?: string;
                        slug?: string;
                        type?: "NORMAL" | "SERVICE";
                    };
                    nodeId?: string;
                    progress?: { message?: string; percentage?: number };
                    startDate?: number;
                    state?:
                        | "FAILED"
                        | "COMPLETED"
                        | "RUNNING"
                        | "READY"
                        | "INITIALISING"
                        | "ABORTED"
                        | "CANCELED"
                        | "CANCELING"
                        | "FINALISING"
                        | "TIMED_OUT";
                    type?: string;
                    updatedDate?: number;
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        Details about the export job.

      • Readonly400: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The request was malformed.

      • Readonly401: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The currently authenticated user has insufficient permissions to start anexport

      • Readonly503: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The export could not be started because the limit of concurrent migration jobs has been reached.

    startImport: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: undefined;
        };
        requestBody?: { content: { "application/json": { archivePath?: string } } };
        responses: {
            "200": {
                content: {
                    "application/json": {
                        endDate?: number;
                        id?: number;
                        initiator?: {
                            active?: boolean;
                            avatarUrl?: string;
                            displayName?: string;
                            emailAddress?: string;
                            id?: number;
                            links?: Record<string, unknown>;
                            name?: string;
                            slug?: string;
                            type?: "NORMAL" | "SERVICE";
                        };
                        nodeId?: string;
                        progress?: { message?: string; percentage?: number };
                        startDate?: number;
                        state?:
                            | "FAILED"
                            | "COMPLETED"
                            | "RUNNING"
                            | "READY"
                            | "INITIALISING"
                            | "ABORTED"
                            | "CANCELED"
                            | "CANCELING"
                            | "FINALISING"
                            | "TIMED_OUT";
                        type?: string;
                        updatedDate?: number;
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "503": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }

    Type declaration

    • Readonlyparameters: { cookie?: undefined; header?: undefined; path?: undefined; query?: undefined }
    • Optional ReadonlyrequestBody?: { content: { "application/json": { archivePath?: string } } }

      The request

    • Readonlyresponses: {
          "200": {
              content: {
                  "application/json": {
                      endDate?: number;
                      id?: number;
                      initiator?: {
                          active?: boolean;
                          avatarUrl?: string;
                          displayName?: string;
                          emailAddress?: string;
                          id?: number;
                          links?: Record<string, unknown>;
                          name?: string;
                          slug?: string;
                          type?: "NORMAL" | "SERVICE";
                      };
                      nodeId?: string;
                      progress?: { message?: string; percentage?: number };
                      startDate?: number;
                      state?:
                          | "FAILED"
                          | "COMPLETED"
                          | "RUNNING"
                          | "READY"
                          | "INITIALISING"
                          | "ABORTED"
                          | "CANCELED"
                          | "CANCELING"
                          | "FINALISING"
                          | "TIMED_OUT";
                      type?: string;
                      updatedDate?: number;
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "400": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "401": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "503": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
      }
      • Readonly200: {
            content: {
                "application/json": {
                    endDate?: number;
                    id?: number;
                    initiator?: {
                        active?: boolean;
                        avatarUrl?: string;
                        displayName?: string;
                        emailAddress?: string;
                        id?: number;
                        links?: Record<string, unknown>;
                        name?: string;
                        slug?: string;
                        type?: "NORMAL" | "SERVICE";
                    };
                    nodeId?: string;
                    progress?: { message?: string; percentage?: number };
                    startDate?: number;
                    state?:
                        | "FAILED"
                        | "COMPLETED"
                        | "RUNNING"
                        | "READY"
                        | "INITIALISING"
                        | "ABORTED"
                        | "CANCELED"
                        | "CANCELING"
                        | "FINALISING"
                        | "TIMED_OUT";
                    type?: string;
                    updatedDate?: number;
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        Details about the export job.

      • Readonly400: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The request was malformed.

      • Readonly401: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The currently authenticated user has insufficient permissions to start an import.

      • Readonly503: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The import could not be started because the limit of concurrent migration jobs has been reached.

    startMeshMigration: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: undefined;
        };
        requestBody?: {
            content: {
                "application/json": {
                    all?: boolean;
                    maxBytesPerSecond?: { asLong?: number; present?: boolean };
                    projectIds?: readonly number[];
                    repositoryIds?: readonly number[];
                };
            };
        };
        responses: {
            "200": {
                content: {
                    "application/json": {
                        endDate?: number;
                        id?: number;
                        initiator?: {
                            active?: boolean;
                            avatarUrl?: string;
                            displayName?: string;
                            emailAddress?: string;
                            id?: number;
                            links?: Record<string, unknown>;
                            name?: string;
                            slug?: string;
                            type?: "NORMAL" | "SERVICE";
                        };
                        nodeId?: string;
                        progress?: { message?: string; percentage?: number };
                        startDate?: number;
                        state?:
                            | "FAILED"
                            | "COMPLETED"
                            | "RUNNING"
                            | "READY"
                            | "INITIALISING"
                            | "ABORTED"
                            | "CANCELED"
                            | "CANCELING"
                            | "FINALISING"
                            | "TIMED_OUT";
                        type?: string;
                        updatedDate?: number;
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "503": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    startMirroringProject: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectId: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: { "application/json": unknown };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    startMirroringProjects: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: undefined;
        };
        requestBody?: { content: { "application/json": readonly string[] } };
        responses: {
            "200": {
                content: { "application/json": unknown };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    startRollingUpgrade: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        rollingUpgradeEnabled?: boolean;
                        version?: string;
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    stopMirroringProject: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectId: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "204": {
                content?: undefined;
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    stream: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string; repositorySlug: string };
            query?: { at?: string };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        files?: {
                            latestCommit?: {
                                author?: { avatarUrl?: ...; emailAddress?: ...; name?: ... };
                                authorTimestamp?: number;
                                committer?: { avatarUrl?: ...; emailAddress?: ...; name?: ... };
                                committerTimestamp?: number;
                                displayId?: string;
                                id?: string;
                                message?: string;
                                parents?: readonly (...)[];
                            };
                            pomXml?: {
                                author?: { avatarUrl?: ...; emailAddress?: ...; name?: ... };
                                authorTimestamp?: number;
                                committer?: { avatarUrl?: ...; emailAddress?: ...; name?: ... };
                                committerTimestamp?: number;
                                displayId?: string;
                                id?: string;
                                message?: string;
                                parents?: readonly (...)[];
                            };
                            readmeMd?: {
                                author?: { avatarUrl?: ...; emailAddress?: ...; name?: ... };
                                authorTimestamp?: number;
                                committer?: { avatarUrl?: ...; emailAddress?: ...; name?: ... };
                                committerTimestamp?: number;
                                displayId?: string;
                                id?: string;
                                message?: string;
                                parents?: readonly (...)[];
                            };
                        };
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    stream_1: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { path: string; projectKey: string; repositorySlug: string };
            query?: { at?: string };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        files?: {
                            latestCommit?: {
                                author?: { avatarUrl?: ...; emailAddress?: ...; name?: ... };
                                authorTimestamp?: number;
                                committer?: { avatarUrl?: ...; emailAddress?: ...; name?: ... };
                                committerTimestamp?: number;
                                displayId?: string;
                                id?: string;
                                message?: string;
                                parents?: readonly (...)[];
                            };
                            pomXml?: {
                                author?: { avatarUrl?: ...; emailAddress?: ...; name?: ... };
                                authorTimestamp?: number;
                                committer?: { avatarUrl?: ...; emailAddress?: ...; name?: ... };
                                committerTimestamp?: number;
                                displayId?: string;
                                id?: string;
                                message?: string;
                                parents?: readonly (...)[];
                            };
                            readmeMd?: {
                                author?: { avatarUrl?: ...; emailAddress?: ...; name?: ... };
                                authorTimestamp?: number;
                                committer?: { avatarUrl?: ...; emailAddress?: ...; name?: ... };
                                committerTimestamp?: number;
                                displayId?: string;
                                id?: string;
                                message?: string;
                                parents?: readonly (...)[];
                            };
                        };
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    streamChanges: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string; repositorySlug: string };
            query?: {
                from?: string;
                fromRepo?: string;
                limit?: number;
                start?: number;
                to?: string;
            };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        isLastPage?: boolean;
                        limit?: number;
                        nextPageStart?: number;
                        size?: number;
                        start?: number;
                        values?: readonly {
                            conflict?: {
                                ourChange?: (...)
                                | (...);
                                theirChange?: (...) | (...);
                            };
                            contentId?: string;
                            executable?: boolean;
                            fromContentId?: string;
                            links?: Record<string, unknown>;
                            nodeType?: "DIRECTORY" | "FILE" | "SUBMODULE";
                            path?: {
                                components?: (...) | (...);
                                extension?: (...) | (...);
                                name?: (...) | (...);
                                parent?: (...) | (...);
                            };
                            percentUnchanged?: number;
                            srcExecutable?: boolean;
                            srcPath?: {
                                components?: (...)
                                | (...);
                                extension?: (...) | (...);
                                name?: (...) | (...);
                                parent?: (...) | (...);
                            };
                            type?: "UNKNOWN"
                            | "DELETE"
                            | "ADD"
                            | "COPY"
                            | "MODIFY"
                            | "MOVE";
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    streamChanges_1: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: {
                projectKey: string;
                pullRequestId: string;
                repositorySlug: string;
            };
            query?: {
                changeScope?: string;
                limit?: number;
                sinceId?: string;
                start?: number;
                untilId?: string;
                withComments?: string;
            };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        conflict?: {
                            ourChange?: {
                                path?: {
                                    components?: ...;
                                    extension?: ...;
                                    name?: ...;
                                    parent?: ...;
                                };
                                srcPath?: {
                                    components?: ...;
                                    extension?: ...;
                                    name?: ...;
                                    parent?: ...;
                                };
                                type?: "UNKNOWN"
                                | "DELETE"
                                | "ADD"
                                | "COPY"
                                | "MODIFY"
                                | "MOVE";
                            };
                            theirChange?: {
                                path?: {
                                    components?: ...;
                                    extension?: ...;
                                    name?: ...;
                                    parent?: ...;
                                };
                                srcPath?: {
                                    components?: ...;
                                    extension?: ...;
                                    name?: ...;
                                    parent?: ...;
                                };
                                type?: "UNKNOWN"
                                | "DELETE"
                                | "ADD"
                                | "COPY"
                                | "MODIFY"
                                | "MOVE";
                            };
                        };
                        contentId?: string;
                        executable?: boolean;
                        fromContentId?: string;
                        links?: Record<string, unknown>;
                        nodeType?: "DIRECTORY" | "FILE" | "SUBMODULE";
                        path?: {
                            components?: readonly string[];
                            extension?: string;
                            name?: string;
                            parent?: string;
                        };
                        percentUnchanged?: number;
                        srcExecutable?: boolean;
                        srcPath?: {
                            components?: readonly string[];
                            extension?: string;
                            name?: string;
                            parent?: string;
                        };
                        type?: "UNKNOWN"
                        | "DELETE"
                        | "ADD"
                        | "COPY"
                        | "MODIFY"
                        | "MOVE";
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    streamCommits: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string; repositorySlug: string };
            query?: {
                from?: string;
                fromRepo?: string;
                limit?: number;
                start?: number;
                to?: string;
            };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        isLastPage?: boolean;
                        limit?: number;
                        nextPageStart?: number;
                        size?: number;
                        start?: number;
                        values?: readonly {
                            author?: {
                                avatarUrl?: (...)
                                | (...);
                                emailAddress?: (...) | (...);
                                name?: (...) | (...);
                            };
                            authorTimestamp?: number;
                            committer?: {
                                avatarUrl?: (...)
                                | (...);
                                emailAddress?: (...) | (...);
                                name?: (...) | (...);
                            };
                            committerTimestamp?: number;
                            displayId?: string;
                            id?: string;
                            message?: string;
                            parents?: readonly { displayId?: ...; id?: ... }[];
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    streamContributing: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string; repositorySlug: string };
            query?: {
                at?: string;
                hardwrap?: string;
                htmlEscape?: string;
                includeHeadingId?: string;
                markup?: string;
            };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: { "application/json": unknown };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    streamDiff: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: {
                commitId: string;
                path: string;
                projectKey: string;
                repositorySlug: string;
            };
            query?: {
                autoSrcPath?: string;
                avatarScheme?: string;
                avatarSize?: string;
                contextLines?: string;
                filter?: string;
                since?: string;
                srcPath?: string;
                whitespace?: string;
                withComments?: string;
            };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        binary?: boolean;
                        destination?: {
                            components?: readonly string[];
                            extension?: string;
                            name?: string;
                            parent?: string;
                        };
                        hunks?: readonly {
                            context?: string;
                            destinationLine?: number;
                            destinationSpan?: number;
                            segments?: readonly { lines?: ...; truncated?: ...; type?: ... }[];
                            sourceLine?: number;
                            sourceSpan?: number;
                            truncated?: boolean;
                        }[];
                        lineComments?: readonly {
                            anchor?: {
                                diffType?: (...)
                                | (...)
                                | (...)
                                | (...);
                                fileType?: (...) | (...) | (...);
                                fromHash?: (...) | (...);
                                line?: (...) | (...);
                                lineType?: (...) | (...) | (...) | (...);
                                multilineMarker?: (...) | (...);
                                path?: (...) | (...);
                                pullRequest?: (...) | (...);
                                srcPath?: (...) | (...);
                                toHash?: (...) | (...);
                            };
                            anchored?: boolean;
                            author?: {
                                active?: (...)
                                | (...)
                                | (...);
                                avatarUrl?: (...) | (...);
                                displayName?: (...) | (...);
                                emailAddress?: (...) | (...);
                                id?: (...) | (...);
                                links?: (...) | (...);
                                name?: (...) | (...);
                                slug?: (...) | (...);
                                type?: (...) | (...) | (...);
                            };
                            comments?: readonly { readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineType?: "ADDED" | "CONTEXT" | "REMOVED"; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }[]...;
                            createdDate?: number;
                            html?: string;
                            id?: number;
                            parent?: {
                                anchor?: (...)
                                | (...);
                                anchored?: (...) | (...) | (...);
                                author?: (...) | (...);
                                comments?: readonly { readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineType?: "ADDED" | "CONTEXT" | "REMOVED"; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }[]...;
                                createdDate?: (...) | (...);
                                html?: (...) | (...);
                                id?: (...) | (...);
                                pending?: (...) | (...) | (...);
                                properties?: (...) | (...);
                                reply?: (...) | (...) | (...);
                                resolvedDate?: (...) | (...);
                                resolver?: (...) | (...);
                                severity?: (...) | (...);
                                state?: (...) | (...);
                                text?: (...) | (...);
                                threadResolved?: (...) | (...) | (...);
                                threadResolvedDate?: (...) | (...);
                                threadResolver?: (...) | (...);
                                updatedDate?: (...) | (...);
                                version?: (...) | (...);
                            };
                            pending?: boolean;
                            properties?: Record<string, unknown>;
                            reply?: boolean;
                            resolvedDate?: number;
                            resolver?: {
                                active?: (...) | (...) | (...);
                                avatarUrl?: (...) | (...);
                                displayName?: (...) | (...);
                                emailAddress?: (...) | (...);
                                id?: (...) | (...);
                                links?: (...) | (...);
                                name?: (...) | (...);
                                slug?: (...) | (...);
                                type?: (...) | (...) | (...);
                            };
                            severity?: string;
                            state?: string;
                            text?: string;
                            threadResolved?: boolean;
                            threadResolvedDate?: number;
                            threadResolver?: {
                                active?: (...)
                                | (...)
                                | (...);
                                avatarUrl?: (...) | (...);
                                displayName?: (...) | (...);
                                emailAddress?: (...) | (...);
                                id?: (...) | (...);
                                links?: (...) | (...);
                                name?: (...) | (...);
                                slug?: (...) | (...);
                                type?: (...) | (...) | (...);
                            };
                            updatedDate?: number;
                            version?: number;
                        }[];
                        properties?: Record<string, unknown>;
                        source?: {
                            components?: readonly string[];
                            extension?: string;
                            name?: string;
                            parent?: string;
                        };
                        truncated?: boolean;
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    streamDiff_1: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { path: string; projectKey: string; repositorySlug: string };
            query?: {
                contextLines?: string;
                from?: string;
                fromRepo?: string;
                srcPath?: string;
                to?: string;
                whitespace?: string;
            };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        binary?: boolean;
                        destination?: {
                            components?: readonly string[];
                            extension?: string;
                            name?: string;
                            parent?: string;
                        };
                        hunks?: readonly {
                            context?: string;
                            destinationLine?: number;
                            destinationSpan?: number;
                            segments?: readonly { lines?: ...; truncated?: ...; type?: ... }[];
                            sourceLine?: number;
                            sourceSpan?: number;
                            truncated?: boolean;
                        }[];
                        lineComments?: readonly {
                            anchor?: {
                                diffType?: (...)
                                | (...)
                                | (...)
                                | (...);
                                fileType?: (...) | (...) | (...);
                                fromHash?: (...) | (...);
                                line?: (...) | (...);
                                lineType?: (...) | (...) | (...) | (...);
                                multilineMarker?: (...) | (...);
                                path?: (...) | (...);
                                pullRequest?: (...) | (...);
                                srcPath?: (...) | (...);
                                toHash?: (...) | (...);
                            };
                            anchored?: boolean;
                            author?: {
                                active?: (...)
                                | (...)
                                | (...);
                                avatarUrl?: (...) | (...);
                                displayName?: (...) | (...);
                                emailAddress?: (...) | (...);
                                id?: (...) | (...);
                                links?: (...) | (...);
                                name?: (...) | (...);
                                slug?: (...) | (...);
                                type?: (...) | (...) | (...);
                            };
                            comments?: readonly { readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineType?: "ADDED" | "CONTEXT" | "REMOVED"; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }[]...;
                            createdDate?: number;
                            html?: string;
                            id?: number;
                            parent?: {
                                anchor?: (...)
                                | (...);
                                anchored?: (...) | (...) | (...);
                                author?: (...) | (...);
                                comments?: readonly { readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineType?: "ADDED" | "CONTEXT" | "REMOVED"; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }[]...;
                                createdDate?: (...) | (...);
                                html?: (...) | (...);
                                id?: (...) | (...);
                                pending?: (...) | (...) | (...);
                                properties?: (...) | (...);
                                reply?: (...) | (...) | (...);
                                resolvedDate?: (...) | (...);
                                resolver?: (...) | (...);
                                severity?: (...) | (...);
                                state?: (...) | (...);
                                text?: (...) | (...);
                                threadResolved?: (...) | (...) | (...);
                                threadResolvedDate?: (...) | (...);
                                threadResolver?: (...) | (...);
                                updatedDate?: (...) | (...);
                                version?: (...) | (...);
                            };
                            pending?: boolean;
                            properties?: Record<string, unknown>;
                            reply?: boolean;
                            resolvedDate?: number;
                            resolver?: {
                                active?: (...) | (...) | (...);
                                avatarUrl?: (...) | (...);
                                displayName?: (...) | (...);
                                emailAddress?: (...) | (...);
                                id?: (...) | (...);
                                links?: (...) | (...);
                                name?: (...) | (...);
                                slug?: (...) | (...);
                                type?: (...) | (...) | (...);
                            };
                            severity?: string;
                            state?: string;
                            text?: string;
                            threadResolved?: boolean;
                            threadResolvedDate?: number;
                            threadResolver?: {
                                active?: (...)
                                | (...)
                                | (...);
                                avatarUrl?: (...) | (...);
                                displayName?: (...) | (...);
                                emailAddress?: (...) | (...);
                                id?: (...) | (...);
                                links?: (...) | (...);
                                name?: (...) | (...);
                                slug?: (...) | (...);
                                type?: (...) | (...) | (...);
                            };
                            updatedDate?: number;
                            version?: number;
                        }[];
                        properties?: Record<string, unknown>;
                        source?: {
                            components?: readonly string[];
                            extension?: string;
                            name?: string;
                            parent?: string;
                        };
                        truncated?: boolean;
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    streamDiff_2: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: {
                path: string;
                projectKey: string;
                pullRequestId: string;
                repositorySlug: string;
            };
            query?: {
                avatarScheme?: string;
                avatarSize?: string;
                contextLines?: string;
                diffType?: string;
                sinceId?: string;
                srcPath?: string;
                untilId?: string;
                whitespace?: string;
                withComments?: string;
            };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        binary?: boolean;
                        destination?: {
                            components?: readonly string[];
                            extension?: string;
                            name?: string;
                            parent?: string;
                        };
                        hunks?: readonly {
                            context?: string;
                            destinationLine?: number;
                            destinationSpan?: number;
                            segments?: readonly { lines?: ...; truncated?: ...; type?: ... }[];
                            sourceLine?: number;
                            sourceSpan?: number;
                            truncated?: boolean;
                        }[];
                        lineComments?: readonly {
                            anchor?: {
                                diffType?: (...)
                                | (...)
                                | (...)
                                | (...);
                                fileType?: (...) | (...) | (...);
                                fromHash?: (...) | (...);
                                line?: (...) | (...);
                                lineType?: (...) | (...) | (...) | (...);
                                multilineMarker?: (...) | (...);
                                path?: (...) | (...);
                                pullRequest?: (...) | (...);
                                srcPath?: (...) | (...);
                                toHash?: (...) | (...);
                            };
                            anchored?: boolean;
                            author?: {
                                active?: (...)
                                | (...)
                                | (...);
                                avatarUrl?: (...) | (...);
                                displayName?: (...) | (...);
                                emailAddress?: (...) | (...);
                                id?: (...) | (...);
                                links?: (...) | (...);
                                name?: (...) | (...);
                                slug?: (...) | (...);
                                type?: (...) | (...) | (...);
                            };
                            comments?: readonly { readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineType?: "ADDED" | "CONTEXT" | "REMOVED"; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }[]...;
                            createdDate?: number;
                            html?: string;
                            id?: number;
                            parent?: {
                                anchor?: (...)
                                | (...);
                                anchored?: (...) | (...) | (...);
                                author?: (...) | (...);
                                comments?: readonly { readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineType?: "ADDED" | "CONTEXT" | "REMOVED"; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }[]...;
                                createdDate?: (...) | (...);
                                html?: (...) | (...);
                                id?: (...) | (...);
                                pending?: (...) | (...) | (...);
                                properties?: (...) | (...);
                                reply?: (...) | (...) | (...);
                                resolvedDate?: (...) | (...);
                                resolver?: (...) | (...);
                                severity?: (...) | (...);
                                state?: (...) | (...);
                                text?: (...) | (...);
                                threadResolved?: (...) | (...) | (...);
                                threadResolvedDate?: (...) | (...);
                                threadResolver?: (...) | (...);
                                updatedDate?: (...) | (...);
                                version?: (...) | (...);
                            };
                            pending?: boolean;
                            properties?: Record<string, unknown>;
                            reply?: boolean;
                            resolvedDate?: number;
                            resolver?: {
                                active?: (...) | (...) | (...);
                                avatarUrl?: (...) | (...);
                                displayName?: (...) | (...);
                                emailAddress?: (...) | (...);
                                id?: (...) | (...);
                                links?: (...) | (...);
                                name?: (...) | (...);
                                slug?: (...) | (...);
                                type?: (...) | (...) | (...);
                            };
                            severity?: string;
                            state?: string;
                            text?: string;
                            threadResolved?: boolean;
                            threadResolvedDate?: number;
                            threadResolver?: {
                                active?: (...)
                                | (...)
                                | (...);
                                avatarUrl?: (...) | (...);
                                displayName?: (...) | (...);
                                emailAddress?: (...) | (...);
                                id?: (...) | (...);
                                links?: (...) | (...);
                                name?: (...) | (...);
                                slug?: (...) | (...);
                                type?: (...) | (...) | (...);
                            };
                            updatedDate?: number;
                            version?: number;
                        }[];
                        properties?: Record<string, unknown>;
                        source?: {
                            components?: readonly string[];
                            extension?: string;
                            name?: string;
                            parent?: string;
                        };
                        truncated?: boolean;
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    streamFiles: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string; repositorySlug: string };
            query?: { at?: string; limit?: number; start?: number };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        isLastPage?: boolean;
                        limit?: number;
                        nextPageStart?: number;
                        size?: number;
                        start?: number;
                        values?: readonly unknown[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    streamFiles_1: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { path: string; projectKey: string; repositorySlug: string };
            query?: { at?: string; limit?: number; start?: number };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        isLastPage?: boolean;
                        limit?: number;
                        nextPageStart?: number;
                        size?: number;
                        start?: number;
                        values?: readonly unknown[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    streamLicense: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string; repositorySlug: string };
            query?: {
                at?: string;
                hardwrap?: string;
                htmlEscape?: string;
                includeHeadingId?: string;
                markup?: string;
            };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: { "application/json": unknown };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    streamPatch: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string; repositorySlug: string };
            query?: { allAncestors?: string; since?: string; until?: string };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: { "application/json": unknown };
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    streamPatch_1: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: {
                projectKey: string;
                pullRequestId: string;
                repositorySlug: string;
            };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: { "application/json": unknown };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    streamRaw: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { path: string; projectKey: string; repositorySlug: string };
            query?: {
                at?: string;
                hardwrap?: string;
                htmlEscape?: string;
                includeHeadingId?: string;
                markup?: string;
            };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: { "application/json": unknown };
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    streamRawDiff: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string; repositorySlug: string };
            query?: {
                contextLines?: string;
                since?: string;
                srcPath?: string;
                until?: string;
                whitespace?: string;
            };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: { "application/json": unknown };
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    streamRawDiff_1: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { path: string; projectKey: string; repositorySlug: string };
            query?: {
                contextLines?: string;
                since?: string;
                srcPath?: string;
                until?: string;
                whitespace?: string;
            };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: { "application/json": unknown };
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    streamRawDiff_2: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: {
                projectKey: string;
                pullRequestId: string;
                repositorySlug: string;
            };
            query?: { contextLines?: string; whitespace?: string };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: { "text/plain": unknown };
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: { "text/html": unknown };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: { "text/html": unknown };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    streamReadme: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string; repositorySlug: string };
            query?: {
                at?: string;
                hardwrap?: string;
                htmlEscape?: string;
                includeHeadingId?: string;
                markup?: string;
            };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: { "application/json": unknown };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    synchronize: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string; repositorySlug: string };
            query?: undefined;
        };
        requestBody?: {
            content: {
                "application/json": {
                    action?: "DISCARD"
                    | "MERGE"
                    | "REBASE";
                    context?: { commitMessage?: string };
                    refId?: string;
                };
            };
        };
        responses: {
            "200": {
                content: {
                    "application/json": {
                        displayId?: string;
                        id?: string;
                        state?: "AHEAD"
                        | "DIVERGED"
                        | "ORPHANED";
                        tag?: boolean;
                        type?: "BRANCH" | "TAG";
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "204": { content?: undefined; headers: Readonly<Record<string, unknown>> };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "409": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "501": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    testWebhook: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string };
            query?: {
                sslVerificationRequired?: boolean;
                url?: string;
                webhookId?: number;
            };
        };
        requestBody?: {
            content: {
                "application/json": { password?: string; username?: string };
            };
        };
        responses: {
            "200": {
                content: { "application/json": unknown };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }

    Type declaration

    • Readonlyparameters: {
          cookie?: undefined;
          header?: undefined;
          path: { projectKey: string };
          query?: {
              sslVerificationRequired?: boolean;
              url?: string;
              webhookId?: number;
          };
      }
      • Optional Readonlycookie?: undefined
      • Optional Readonlyheader?: undefined
      • Readonlypath: { projectKey: string }
        • ReadonlyprojectKey: string

          The project key.

      • Optional Readonlyquery?: { sslVerificationRequired?: boolean; url?: string; webhookId?: number }
        • Optional ReadonlysslVerificationRequired?: boolean
        • Optional Readonlyurl?: string

          The url in which to connect to

        • Optional ReadonlywebhookId?: number
    • Optional ReadonlyrequestBody?: { content: { "application/json": { password?: string; username?: string } } }

      Basic authentication credentials, if required.

    • Readonlyresponses: {
          "200": {
              content: { "application/json": unknown };
              headers: Readonly<Record<string, unknown>>;
          };
          "401": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "404": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
      }
      • Readonly200: {
            content: { "application/json": unknown };
            headers: Readonly<Record<string, unknown>>;
        }

        A webhook.

      • Readonly401: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The currently authenticated user has insufficient permissions to test a connection.

      • Readonly404: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The specified project does not exist.

    testWebhook_1: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string; repositorySlug: string };
            query?: {
                sslVerificationRequired?: string;
                url?: string;
                webhookId?: number;
            };
        };
        requestBody?: {
            content: {
                "application/json": { password?: string; username?: string };
            };
        };
        responses: {
            "200": {
                content: { "application/json": unknown };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }

    Type declaration

    • Readonlyparameters: {
          cookie?: undefined;
          header?: undefined;
          path: { projectKey: string; repositorySlug: string };
          query?: {
              sslVerificationRequired?: string;
              url?: string;
              webhookId?: number;
          };
      }
      • Optional Readonlycookie?: undefined
      • Optional Readonlyheader?: undefined
      • Readonlypath: { projectKey: string; repositorySlug: string }
        • ReadonlyprojectKey: string

          The project key.

        • ReadonlyrepositorySlug: string

          The repository slug.

      • Optional Readonlyquery?: { sslVerificationRequired?: string; url?: string; webhookId?: number }
        • Optional ReadonlysslVerificationRequired?: string

          Whether SSL verification is required for the specified webhook URL. Default value is true.

        • Optional Readonlyurl?: string

          The url in which to connect to

        • Optional ReadonlywebhookId?: number
    • Optional ReadonlyrequestBody?: { content: { "application/json": { password?: string; username?: string } } }

      Basic authentication credentials, if required.

    • Readonlyresponses: {
          "200": {
              content: { "application/json": unknown };
              headers: Readonly<Record<string, unknown>>;
          };
          "401": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "404": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
      }
      • Readonly200: {
            content: { "application/json": unknown };
            headers: Readonly<Record<string, unknown>>;
        }

        A webhook.

      • Readonly401: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The currently authenticated user has insufficient permissions to test a connection.

      • Readonly404: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The specified repository does not exist.

    tryAutoMerge: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: {
                projectKey: string;
                pullRequestId: string;
                repositorySlug: string;
            };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        autoMergeProcessingStatus?: | "MERGED"
                        | "UNKNOWN"
                        | "CANCELLED"
                        | "LOCK_FAILURE"
                        | "STALE"
                        | "VETOED";
                        pullRequest?: {
                            closed?: boolean;
                            closedDate?: number;
                            createdDate?: number;
                            description?: string;
                            descriptionAsHtml?: string;
                            draft?: boolean;
                            fromRef?: {
                                displayId?: string;
                                id?: string;
                                latestCommit?: string;
                                repository?: {
                                    archived?: ...;
                                    defaultBranch?: ...;
                                    description?: ...;
                                    forkable?: ...;
                                    hierarchyId?: ...;
                                    id?: ...;
                                    links?: ...;
                                    name?: ...;
                                    origin?: ...;
                                    partition?: ...;
                                    project?: ...;
                                    public?: ...;
                                    relatedLinks?: ...;
                                    scmId?: ...;
                                    scope?: ...;
                                    slug?: ...;
                                    state?: ...;
                                    statusMessage?: ...;
                                };
                                type?: "BRANCH"
                                | "TAG";
                            };
                            htmlDescription?: string;
                            id?: number;
                            links?: Record<string, unknown>;
                            locked?: boolean;
                            open?: boolean;
                            participants?: readonly {
                                approved?: (...) | (...) | (...);
                                lastReviewedCommit?: (...) | (...);
                                role?: (...) | (...) | (...) | (...);
                                status?: (...) | (...) | (...) | (...);
                                user?: (...) | (...);
                            }[];
                            reviewers?: readonly {
                                approved?: (...)
                                | (...)
                                | (...);
                                lastReviewedCommit?: (...) | (...);
                                role?: (...) | (...) | (...) | (...);
                                status?: (...) | (...) | (...) | (...);
                                user?: (...) | (...);
                            }[];
                            state?: "DECLINED"
                            | "MERGED"
                            | "OPEN";
                            title?: string;
                            toRef?: {
                                displayId?: string;
                                id?: string;
                                latestCommit?: string;
                                repository?: {
                                    archived?: ...;
                                    defaultBranch?: ...;
                                    description?: ...;
                                    forkable?: ...;
                                    hierarchyId?: ...;
                                    id?: ...;
                                    links?: ...;
                                    name?: ...;
                                    origin?: ...;
                                    partition?: ...;
                                    project?: ...;
                                    public?: ...;
                                    relatedLinks?: ...;
                                    scmId?: ...;
                                    scope?: ...;
                                    slug?: ...;
                                    state?: ...;
                                    statusMessage?: ...;
                                };
                                type?: "BRANCH"
                                | "TAG";
                            };
                            updatedDate?: number;
                            version?: number;
                        };
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "403": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    unassignParticipantRole: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: {
                projectKey: string;
                pullRequestId: string;
                repositorySlug: string;
                userSlug: string;
            };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "204": {
                content?: undefined;
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "409": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    unassignParticipantRole_1: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: {
                projectKey: string;
                pullRequestId: string;
                repositorySlug: string;
            };
            query?: { username?: string };
        };
        requestBody?: undefined;
        responses: {
            "204": {
                content?: undefined;
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "409": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    unReact: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: {
                commentId: string;
                commitId: string;
                emoticon: string;
                projectKey: string;
                repositorySlug: string;
            };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "204": {
                content?: undefined;
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    unReact_1: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: {
                commentId: string;
                emoticon: string;
                projectKey: string;
                pullRequestId: string;
                repositorySlug: string;
            };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "204": {
                content?: undefined;
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    unwatch: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { commitId: string; projectKey: string; repositorySlug: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "204": {
                content?: undefined;
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    unwatch_1: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: {
                projectKey: string;
                pullRequestId: string;
                repositorySlug: string;
            };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "204": {
                content?: undefined;
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    unwatch_2: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string; repositorySlug: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "204": {
                content?: undefined;
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    update: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: {
                projectKey: string;
                pullRequestId: string;
                repositorySlug: string;
            };
            query?: undefined;
        };
        requestBody?: {
            content: {
                "application/json": {
                    closed?: boolean;
                    closedDate?: number;
                    createdDate?: number;
                    description?: string;
                    descriptionAsHtml?: string;
                    draft?: boolean;
                    fromRef?: {
                        displayId?: string;
                        id?: string;
                        latestCommit?: string;
                        repository?: {
                            archived?: boolean;
                            defaultBranch?: string;
                            description?: string;
                            forkable?: boolean;
                            hierarchyId?: string;
                            id?: number;
                            links?: Record<(...), (...)>;
                            name?: string;
                            origin?: {
                                archived?: ...;
                                defaultBranch?: ...;
                                description?: ...;
                                forkable?: ...;
                                hierarchyId?: ...;
                                id?: ...;
                                links?: ...;
                                name?: ...;
                                partition?: ...;
                                project?: ...;
                                public?: ...;
                                relatedLinks?: ...;
                                scmId?: ...;
                                scope?: ...;
                                slug?: ...;
                                state?: ...;
                                statusMessage?: ...;
                            };
                            partition?: number;
                            project?: {
                                avatar?: ...;
                                avatarUrl?: ...;
                                description?: ...;
                                id?: ...;
                                key: ...;
                                links?: ...;
                                name?: ...;
                                public?: ...;
                                scope?: ...;
                                type?: ...;
                            };
                            public?: boolean;
                            relatedLinks?: Record<(...), (...)>;
                            scmId?: string;
                            scope?: string;
                            slug?: string;
                            state?:
                                | "AVAILABLE"
                                | "INITIALISATION_FAILED"
                                | "INITIALISING"
                                | "OFFLINE";
                            statusMessage?: string;
                        };
                        type?: "BRANCH"
                        | "TAG";
                    };
                    htmlDescription?: string;
                    id?: number;
                    links?: Record<string, unknown>;
                    locked?: boolean;
                    open?: boolean;
                    participants?: readonly {
                        approved?: boolean;
                        lastReviewedCommit?: string;
                        role?: "PARTICIPANT" | "REVIEWER" | "AUTHOR";
                        status?: "APPROVED" | "NEEDS_WORK" | "UNAPPROVED";
                        user?: {
                            active?: (...) | (...) | (...);
                            avatarUrl?: (...) | (...);
                            displayName?: (...) | (...);
                            emailAddress?: (...) | (...);
                            id?: (...) | (...);
                            links?: (...) | (...);
                            name?: (...) | (...);
                            slug?: (...) | (...);
                            type?: (...) | (...) | (...);
                        };
                    }[];
                    reviewers?: readonly {
                        approved?: boolean;
                        lastReviewedCommit?: string;
                        role?: "PARTICIPANT"
                        | "REVIEWER"
                        | "AUTHOR";
                        status?: "APPROVED" | "NEEDS_WORK" | "UNAPPROVED";
                        user?: {
                            active?: (...) | (...) | (...);
                            avatarUrl?: (...) | (...);
                            displayName?: (...) | (...);
                            emailAddress?: (...) | (...);
                            id?: (...) | (...);
                            links?: (...) | (...);
                            name?: (...) | (...);
                            slug?: (...) | (...);
                            type?: (...) | (...) | (...);
                        };
                    }[];
                    state?: "DECLINED"
                    | "MERGED"
                    | "OPEN";
                    title?: string;
                    toRef?: {
                        displayId?: string;
                        id?: string;
                        latestCommit?: string;
                        repository?: {
                            archived?: boolean;
                            defaultBranch?: string;
                            description?: string;
                            forkable?: boolean;
                            hierarchyId?: string;
                            id?: number;
                            links?: Record<(...), (...)>;
                            name?: string;
                            origin?: {
                                archived?: ...;
                                defaultBranch?: ...;
                                description?: ...;
                                forkable?: ...;
                                hierarchyId?: ...;
                                id?: ...;
                                links?: ...;
                                name?: ...;
                                partition?: ...;
                                project?: ...;
                                public?: ...;
                                relatedLinks?: ...;
                                scmId?: ...;
                                scope?: ...;
                                slug?: ...;
                                state?: ...;
                                statusMessage?: ...;
                            };
                            partition?: number;
                            project?: {
                                avatar?: ...;
                                avatarUrl?: ...;
                                description?: ...;
                                id?: ...;
                                key: ...;
                                links?: ...;
                                name?: ...;
                                public?: ...;
                                scope?: ...;
                                type?: ...;
                            };
                            public?: boolean;
                            relatedLinks?: Record<(...), (...)>;
                            scmId?: string;
                            scope?: string;
                            slug?: string;
                            state?:
                                | "AVAILABLE"
                                | "INITIALISATION_FAILED"
                                | "INITIALISING"
                                | "OFFLINE";
                            statusMessage?: string;
                        };
                        type?: "BRANCH"
                        | "TAG";
                    };
                    updatedDate?: number;
                    version?: number;
                };
            };
        };
        responses: {
            "200": {
                content: {
                    "application/json": {
                        closed?: boolean;
                        closedDate?: number;
                        createdDate?: number;
                        description?: string;
                        descriptionAsHtml?: string;
                        draft?: boolean;
                        fromRef?: {
                            displayId?: string;
                            id?: string;
                            latestCommit?: string;
                            repository?: {
                                archived?: boolean;
                                defaultBranch?: string;
                                description?: string;
                                forkable?: boolean;
                                hierarchyId?: string;
                                id?: number;
                                links?: Record<(...), (...)>;
                                name?: string;
                                origin?: {
                                    archived?: ...;
                                    defaultBranch?: ...;
                                    description?: ...;
                                    forkable?: ...;
                                    hierarchyId?: ...;
                                    id?: ...;
                                    links?: ...;
                                    name?: ...;
                                    partition?: ...;
                                    project?: ...;
                                    public?: ...;
                                    relatedLinks?: ...;
                                    scmId?: ...;
                                    scope?: ...;
                                    slug?: ...;
                                    state?: ...;
                                    statusMessage?: ...;
                                };
                                partition?: number;
                                project?: {
                                    avatar?: ...;
                                    avatarUrl?: ...;
                                    description?: ...;
                                    id?: ...;
                                    key: ...;
                                    links?: ...;
                                    name?: ...;
                                    public?: ...;
                                    scope?: ...;
                                    type?: ...;
                                };
                                public?: boolean;
                                relatedLinks?: Record<(...), (...)>;
                                scmId?: string;
                                scope?: string;
                                slug?: string;
                                state?:
                                    | "AVAILABLE"
                                    | "INITIALISATION_FAILED"
                                    | "INITIALISING"
                                    | "OFFLINE";
                                statusMessage?: string;
                            };
                            type?: "BRANCH"
                            | "TAG";
                        };
                        htmlDescription?: string;
                        id?: number;
                        links?: Record<string, unknown>;
                        locked?: boolean;
                        open?: boolean;
                        participants?: readonly {
                            approved?: boolean;
                            lastReviewedCommit?: string;
                            role?: "PARTICIPANT" | "REVIEWER" | "AUTHOR";
                            status?: "APPROVED" | "NEEDS_WORK" | "UNAPPROVED";
                            user?: {
                                active?: (...) | (...) | (...);
                                avatarUrl?: (...) | (...);
                                displayName?: (...) | (...);
                                emailAddress?: (...) | (...);
                                id?: (...) | (...);
                                links?: (...) | (...);
                                name?: (...) | (...);
                                slug?: (...) | (...);
                                type?: (...) | (...) | (...);
                            };
                        }[];
                        reviewers?: readonly {
                            approved?: boolean;
                            lastReviewedCommit?: string;
                            role?: "PARTICIPANT"
                            | "REVIEWER"
                            | "AUTHOR";
                            status?: "APPROVED" | "NEEDS_WORK" | "UNAPPROVED";
                            user?: {
                                active?: (...) | (...) | (...);
                                avatarUrl?: (...) | (...);
                                displayName?: (...) | (...);
                                emailAddress?: (...) | (...);
                                id?: (...) | (...);
                                links?: (...) | (...);
                                name?: (...) | (...);
                                slug?: (...) | (...);
                                type?: (...) | (...) | (...);
                            };
                        }[];
                        state?: "DECLINED"
                        | "MERGED"
                        | "OPEN";
                        title?: string;
                        toRef?: {
                            displayId?: string;
                            id?: string;
                            latestCommit?: string;
                            repository?: {
                                archived?: boolean;
                                defaultBranch?: string;
                                description?: string;
                                forkable?: boolean;
                                hierarchyId?: string;
                                id?: number;
                                links?: Record<(...), (...)>;
                                name?: string;
                                origin?: {
                                    archived?: ...;
                                    defaultBranch?: ...;
                                    description?: ...;
                                    forkable?: ...;
                                    hierarchyId?: ...;
                                    id?: ...;
                                    links?: ...;
                                    name?: ...;
                                    partition?: ...;
                                    project?: ...;
                                    public?: ...;
                                    relatedLinks?: ...;
                                    scmId?: ...;
                                    scope?: ...;
                                    slug?: ...;
                                    state?: ...;
                                    statusMessage?: ...;
                                };
                                partition?: number;
                                project?: {
                                    avatar?: ...;
                                    avatarUrl?: ...;
                                    description?: ...;
                                    id?: ...;
                                    key: ...;
                                    links?: ...;
                                    name?: ...;
                                    public?: ...;
                                    scope?: ...;
                                    type?: ...;
                                };
                                public?: boolean;
                                relatedLinks?: Record<(...), (...)>;
                                scmId?: string;
                                scope?: string;
                                slug?: string;
                                state?:
                                    | "AVAILABLE"
                                    | "INITIALISATION_FAILED"
                                    | "INITIALISING"
                                    | "OFFLINE";
                                statusMessage?: string;
                            };
                            type?: "BRANCH"
                            | "TAG";
                        };
                        updatedDate?: number;
                        version?: number;
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "409": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }

    Type declaration

    • Readonlyparameters: {
          cookie?: undefined;
          header?: undefined;
          path: { projectKey: string; pullRequestId: string; repositorySlug: string };
          query?: undefined;
      }
      • Optional Readonlycookie?: undefined
      • Optional Readonlyheader?: undefined
      • Readonlypath: { projectKey: string; pullRequestId: string; repositorySlug: string }
        • ReadonlyprojectKey: string

          The project key.

        • ReadonlypullRequestId: string

          The ID of the pull request within the repository

        • ReadonlyrepositorySlug: string

          The repository slug.

      • Optional Readonlyquery?: undefined
    • Optional ReadonlyrequestBody?: {
          content: {
              "application/json": {
                  closed?: boolean;
                  closedDate?: number;
                  createdDate?: number;
                  description?: string;
                  descriptionAsHtml?: string;
                  draft?: boolean;
                  fromRef?: {
                      displayId?: string;
                      id?: string;
                      latestCommit?: string;
                      repository?: {
                          archived?: boolean;
                          defaultBranch?: string;
                          description?: string;
                          forkable?: boolean;
                          hierarchyId?: string;
                          id?: number;
                          links?: Record<(...), (...)>;
                          name?: string;
                          origin?: {
                              archived?: ...;
                              defaultBranch?: ...;
                              description?: ...;
                              forkable?: ...;
                              hierarchyId?: ...;
                              id?: ...;
                              links?: ...;
                              name?: ...;
                              partition?: ...;
                              project?: ...;
                              public?: ...;
                              relatedLinks?: ...;
                              scmId?: ...;
                              scope?: ...;
                              slug?: ...;
                              state?: ...;
                              statusMessage?: ...;
                          };
                          partition?: number;
                          project?: {
                              avatar?: ...;
                              avatarUrl?: ...;
                              description?: ...;
                              id?: ...;
                              key: ...;
                              links?: ...;
                              name?: ...;
                              public?: ...;
                              scope?: ...;
                              type?: ...;
                          };
                          public?: boolean;
                          relatedLinks?: Record<(...), (...)>;
                          scmId?: string;
                          scope?: string;
                          slug?: string;
                          state?:
                              | "AVAILABLE"
                              | "INITIALISATION_FAILED"
                              | "INITIALISING"
                              | "OFFLINE";
                          statusMessage?: string;
                      };
                      type?: "BRANCH"
                      | "TAG";
                  };
                  htmlDescription?: string;
                  id?: number;
                  links?: Record<string, unknown>;
                  locked?: boolean;
                  open?: boolean;
                  participants?: readonly {
                      approved?: boolean;
                      lastReviewedCommit?: string;
                      role?: "PARTICIPANT" | "REVIEWER" | "AUTHOR";
                      status?: "APPROVED" | "NEEDS_WORK" | "UNAPPROVED";
                      user?: {
                          active?: (...) | (...) | (...);
                          avatarUrl?: (...) | (...);
                          displayName?: (...) | (...);
                          emailAddress?: (...) | (...);
                          id?: (...) | (...);
                          links?: (...) | (...);
                          name?: (...) | (...);
                          slug?: (...) | (...);
                          type?: (...) | (...) | (...);
                      };
                  }[];
                  reviewers?: readonly {
                      approved?: boolean;
                      lastReviewedCommit?: string;
                      role?: "PARTICIPANT"
                      | "REVIEWER"
                      | "AUTHOR";
                      status?: "APPROVED" | "NEEDS_WORK" | "UNAPPROVED";
                      user?: {
                          active?: (...) | (...) | (...);
                          avatarUrl?: (...) | (...);
                          displayName?: (...) | (...);
                          emailAddress?: (...) | (...);
                          id?: (...) | (...);
                          links?: (...) | (...);
                          name?: (...) | (...);
                          slug?: (...) | (...);
                          type?: (...) | (...) | (...);
                      };
                  }[];
                  state?: "DECLINED"
                  | "MERGED"
                  | "OPEN";
                  title?: string;
                  toRef?: {
                      displayId?: string;
                      id?: string;
                      latestCommit?: string;
                      repository?: {
                          archived?: boolean;
                          defaultBranch?: string;
                          description?: string;
                          forkable?: boolean;
                          hierarchyId?: string;
                          id?: number;
                          links?: Record<(...), (...)>;
                          name?: string;
                          origin?: {
                              archived?: ...;
                              defaultBranch?: ...;
                              description?: ...;
                              forkable?: ...;
                              hierarchyId?: ...;
                              id?: ...;
                              links?: ...;
                              name?: ...;
                              partition?: ...;
                              project?: ...;
                              public?: ...;
                              relatedLinks?: ...;
                              scmId?: ...;
                              scope?: ...;
                              slug?: ...;
                              state?: ...;
                              statusMessage?: ...;
                          };
                          partition?: number;
                          project?: {
                              avatar?: ...;
                              avatarUrl?: ...;
                              description?: ...;
                              id?: ...;
                              key: ...;
                              links?: ...;
                              name?: ...;
                              public?: ...;
                              scope?: ...;
                              type?: ...;
                          };
                          public?: boolean;
                          relatedLinks?: Record<(...), (...)>;
                          scmId?: string;
                          scope?: string;
                          slug?: string;
                          state?:
                              | "AVAILABLE"
                              | "INITIALISATION_FAILED"
                              | "INITIALISING"
                              | "OFFLINE";
                          statusMessage?: string;
                      };
                      type?: "BRANCH"
                      | "TAG";
                  };
                  updatedDate?: number;
                  version?: number;
              };
          };
      }

      The updated pull request

    • Readonlyresponses: {
          "200": {
              content: {
                  "application/json": {
                      closed?: boolean;
                      closedDate?: number;
                      createdDate?: number;
                      description?: string;
                      descriptionAsHtml?: string;
                      draft?: boolean;
                      fromRef?: {
                          displayId?: string;
                          id?: string;
                          latestCommit?: string;
                          repository?: {
                              archived?: boolean;
                              defaultBranch?: string;
                              description?: string;
                              forkable?: boolean;
                              hierarchyId?: string;
                              id?: number;
                              links?: Record<(...), (...)>;
                              name?: string;
                              origin?: {
                                  archived?: ...;
                                  defaultBranch?: ...;
                                  description?: ...;
                                  forkable?: ...;
                                  hierarchyId?: ...;
                                  id?: ...;
                                  links?: ...;
                                  name?: ...;
                                  partition?: ...;
                                  project?: ...;
                                  public?: ...;
                                  relatedLinks?: ...;
                                  scmId?: ...;
                                  scope?: ...;
                                  slug?: ...;
                                  state?: ...;
                                  statusMessage?: ...;
                              };
                              partition?: number;
                              project?: {
                                  avatar?: ...;
                                  avatarUrl?: ...;
                                  description?: ...;
                                  id?: ...;
                                  key: ...;
                                  links?: ...;
                                  name?: ...;
                                  public?: ...;
                                  scope?: ...;
                                  type?: ...;
                              };
                              public?: boolean;
                              relatedLinks?: Record<(...), (...)>;
                              scmId?: string;
                              scope?: string;
                              slug?: string;
                              state?:
                                  | "AVAILABLE"
                                  | "INITIALISATION_FAILED"
                                  | "INITIALISING"
                                  | "OFFLINE";
                              statusMessage?: string;
                          };
                          type?: "BRANCH"
                          | "TAG";
                      };
                      htmlDescription?: string;
                      id?: number;
                      links?: Record<string, unknown>;
                      locked?: boolean;
                      open?: boolean;
                      participants?: readonly {
                          approved?: boolean;
                          lastReviewedCommit?: string;
                          role?: "PARTICIPANT" | "REVIEWER" | "AUTHOR";
                          status?: "APPROVED" | "NEEDS_WORK" | "UNAPPROVED";
                          user?: {
                              active?: (...) | (...) | (...);
                              avatarUrl?: (...) | (...);
                              displayName?: (...) | (...);
                              emailAddress?: (...) | (...);
                              id?: (...) | (...);
                              links?: (...) | (...);
                              name?: (...) | (...);
                              slug?: (...) | (...);
                              type?: (...) | (...) | (...);
                          };
                      }[];
                      reviewers?: readonly {
                          approved?: boolean;
                          lastReviewedCommit?: string;
                          role?: "PARTICIPANT"
                          | "REVIEWER"
                          | "AUTHOR";
                          status?: "APPROVED" | "NEEDS_WORK" | "UNAPPROVED";
                          user?: {
                              active?: (...) | (...) | (...);
                              avatarUrl?: (...) | (...);
                              displayName?: (...) | (...);
                              emailAddress?: (...) | (...);
                              id?: (...) | (...);
                              links?: (...) | (...);
                              name?: (...) | (...);
                              slug?: (...) | (...);
                              type?: (...) | (...) | (...);
                          };
                      }[];
                      state?: "DECLINED"
                      | "MERGED"
                      | "OPEN";
                      title?: string;
                      toRef?: {
                          displayId?: string;
                          id?: string;
                          latestCommit?: string;
                          repository?: {
                              archived?: boolean;
                              defaultBranch?: string;
                              description?: string;
                              forkable?: boolean;
                              hierarchyId?: string;
                              id?: number;
                              links?: Record<(...), (...)>;
                              name?: string;
                              origin?: {
                                  archived?: ...;
                                  defaultBranch?: ...;
                                  description?: ...;
                                  forkable?: ...;
                                  hierarchyId?: ...;
                                  id?: ...;
                                  links?: ...;
                                  name?: ...;
                                  partition?: ...;
                                  project?: ...;
                                  public?: ...;
                                  relatedLinks?: ...;
                                  scmId?: ...;
                                  scope?: ...;
                                  slug?: ...;
                                  state?: ...;
                                  statusMessage?: ...;
                              };
                              partition?: number;
                              project?: {
                                  avatar?: ...;
                                  avatarUrl?: ...;
                                  description?: ...;
                                  id?: ...;
                                  key: ...;
                                  links?: ...;
                                  name?: ...;
                                  public?: ...;
                                  scope?: ...;
                                  type?: ...;
                              };
                              public?: boolean;
                              relatedLinks?: Record<(...), (...)>;
                              scmId?: string;
                              scope?: string;
                              slug?: string;
                              state?:
                                  | "AVAILABLE"
                                  | "INITIALISATION_FAILED"
                                  | "INITIALISING"
                                  | "OFFLINE";
                              statusMessage?: string;
                          };
                          type?: "BRANCH"
                          | "TAG";
                      };
                      updatedDate?: number;
                      version?: number;
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "400": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "401": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "404": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "409": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
      }
      • Readonly200: {
            content: {
                "application/json": {
                    closed?: boolean;
                    closedDate?: number;
                    createdDate?: number;
                    description?: string;
                    descriptionAsHtml?: string;
                    draft?: boolean;
                    fromRef?: {
                        displayId?: string;
                        id?: string;
                        latestCommit?: string;
                        repository?: {
                            archived?: boolean;
                            defaultBranch?: string;
                            description?: string;
                            forkable?: boolean;
                            hierarchyId?: string;
                            id?: number;
                            links?: Record<(...), (...)>;
                            name?: string;
                            origin?: {
                                archived?: ...;
                                defaultBranch?: ...;
                                description?: ...;
                                forkable?: ...;
                                hierarchyId?: ...;
                                id?: ...;
                                links?: ...;
                                name?: ...;
                                partition?: ...;
                                project?: ...;
                                public?: ...;
                                relatedLinks?: ...;
                                scmId?: ...;
                                scope?: ...;
                                slug?: ...;
                                state?: ...;
                                statusMessage?: ...;
                            };
                            partition?: number;
                            project?: {
                                avatar?: ...;
                                avatarUrl?: ...;
                                description?: ...;
                                id?: ...;
                                key: ...;
                                links?: ...;
                                name?: ...;
                                public?: ...;
                                scope?: ...;
                                type?: ...;
                            };
                            public?: boolean;
                            relatedLinks?: Record<(...), (...)>;
                            scmId?: string;
                            scope?: string;
                            slug?: string;
                            state?:
                                | "AVAILABLE"
                                | "INITIALISATION_FAILED"
                                | "INITIALISING"
                                | "OFFLINE";
                            statusMessage?: string;
                        };
                        type?: "BRANCH"
                        | "TAG";
                    };
                    htmlDescription?: string;
                    id?: number;
                    links?: Record<string, unknown>;
                    locked?: boolean;
                    open?: boolean;
                    participants?: readonly {
                        approved?: boolean;
                        lastReviewedCommit?: string;
                        role?: "PARTICIPANT" | "REVIEWER" | "AUTHOR";
                        status?: "APPROVED" | "NEEDS_WORK" | "UNAPPROVED";
                        user?: {
                            active?: (...) | (...) | (...);
                            avatarUrl?: (...) | (...);
                            displayName?: (...) | (...);
                            emailAddress?: (...) | (...);
                            id?: (...) | (...);
                            links?: (...) | (...);
                            name?: (...) | (...);
                            slug?: (...) | (...);
                            type?: (...) | (...) | (...);
                        };
                    }[];
                    reviewers?: readonly {
                        approved?: boolean;
                        lastReviewedCommit?: string;
                        role?: "PARTICIPANT"
                        | "REVIEWER"
                        | "AUTHOR";
                        status?: "APPROVED" | "NEEDS_WORK" | "UNAPPROVED";
                        user?: {
                            active?: (...) | (...) | (...);
                            avatarUrl?: (...) | (...);
                            displayName?: (...) | (...);
                            emailAddress?: (...) | (...);
                            id?: (...) | (...);
                            links?: (...) | (...);
                            name?: (...) | (...);
                            slug?: (...) | (...);
                            type?: (...) | (...) | (...);
                        };
                    }[];
                    state?: "DECLINED"
                    | "MERGED"
                    | "OPEN";
                    title?: string;
                    toRef?: {
                        displayId?: string;
                        id?: string;
                        latestCommit?: string;
                        repository?: {
                            archived?: boolean;
                            defaultBranch?: string;
                            description?: string;
                            forkable?: boolean;
                            hierarchyId?: string;
                            id?: number;
                            links?: Record<(...), (...)>;
                            name?: string;
                            origin?: {
                                archived?: ...;
                                defaultBranch?: ...;
                                description?: ...;
                                forkable?: ...;
                                hierarchyId?: ...;
                                id?: ...;
                                links?: ...;
                                name?: ...;
                                partition?: ...;
                                project?: ...;
                                public?: ...;
                                relatedLinks?: ...;
                                scmId?: ...;
                                scope?: ...;
                                slug?: ...;
                                state?: ...;
                                statusMessage?: ...;
                            };
                            partition?: number;
                            project?: {
                                avatar?: ...;
                                avatarUrl?: ...;
                                description?: ...;
                                id?: ...;
                                key: ...;
                                links?: ...;
                                name?: ...;
                                public?: ...;
                                scope?: ...;
                                type?: ...;
                            };
                            public?: boolean;
                            relatedLinks?: Record<(...), (...)>;
                            scmId?: string;
                            scope?: string;
                            slug?: string;
                            state?:
                                | "AVAILABLE"
                                | "INITIALISATION_FAILED"
                                | "INITIALISING"
                                | "OFFLINE";
                            statusMessage?: string;
                        };
                        type?: "BRANCH"
                        | "TAG";
                    };
                    updatedDate?: number;
                    version?: number;
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The updated pull request.

      • Readonly400: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        One of the following error cases occurred (check the error message for more details):

        - The request tried to modify the <em>author</em> or <em>participants</em>.
        - The pull request's version attribute was not specified.
        - A reviewer's username was not specified.
        - The toRef ID value was incorrectly left blank
        
      • Readonly401: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The currently authenticated user has insufficient permissions to update the specified pull request.

      • Readonly404: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        One of the specified repositories or branches does not exist.

      • Readonly409: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        One of the following error cases occurred (check the error message for more details):

        - The specified version is out of date.
        - One of the reviewers could not be added to the pull request.
        - If updating the destination branch:    - There is already an open pull request with an identical to branch
           - The from and new to branch <i>are</i> the same
           - The new destination branch up-to-date is up-to-date with all of                 changes from the from branch, resulting in a pull request with                 nothing to merge
        - The <em>to</em> repository is archived.
        
    update_1: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { id: string; projectKey: string };
            query?: undefined;
        };
        requestBody?: {
            content: {
                "application/json": {
                    avatarUrl?: string;
                    description?: string;
                    id?: number;
                    name?: string;
                    scope?: {
                        resourceId?: number;
                        type?: "GLOBAL"
                        | "PROJECT"
                        | "REPOSITORY";
                    };
                    users?: readonly {
                        active?: boolean;
                        displayName?: string;
                        emailAddress?: string;
                        id?: number;
                        name?: string;
                        slug?: string;
                        type?: "NORMAL"
                        | "SERVICE";
                    }[];
                };
            };
        };
        responses: {
            "200": {
                content: {
                    "application/json": {
                        avatarUrl?: string;
                        description?: string;
                        id?: number;
                        name?: string;
                        scope?: {
                            resourceId?: number;
                            type?: "GLOBAL"
                            | "PROJECT"
                            | "REPOSITORY";
                        };
                        users?: readonly {
                            active?: boolean;
                            displayName?: string;
                            emailAddress?: string;
                            id?: number;
                            name?: string;
                            slug?: string;
                            type?: "NORMAL"
                            | "SERVICE";
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "409": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }

    Type declaration

    • Readonlyparameters: {
          cookie?: undefined;
          header?: undefined;
          path: { id: string; projectKey: string };
          query?: undefined;
      }
      • Optional Readonlycookie?: undefined
      • Optional Readonlyheader?: undefined
      • Readonlypath: { id: string; projectKey: string }
        • Readonlyid: string

          The ID of the reviewer group to be updated

        • ReadonlyprojectKey: string

          The project key.

      • Optional Readonlyquery?: undefined
    • Optional ReadonlyrequestBody?: {
          content: {
              "application/json": {
                  avatarUrl?: string;
                  description?: string;
                  id?: number;
                  name?: string;
                  scope?: {
                      resourceId?: number;
                      type?: "GLOBAL" | "PROJECT" | "REPOSITORY";
                  };
                  users?: readonly {
                      active?: boolean;
                      displayName?: string;
                      emailAddress?: string;
                      id?: number;
                      name?: string;
                      slug?: string;
                      type?: "NORMAL"
                      | "SERVICE";
                  }[];
              };
          };
      }

      The request containing the attributes of the reviewer group to be updated. Only the attributes to be updated need to be present in this object.

    • Readonlyresponses: {
          "200": {
              content: {
                  "application/json": {
                      avatarUrl?: string;
                      description?: string;
                      id?: number;
                      name?: string;
                      scope?: {
                          resourceId?: number;
                          type?: "GLOBAL" | "PROJECT" | "REPOSITORY";
                      };
                      users?: readonly {
                          active?: boolean;
                          displayName?: string;
                          emailAddress?: string;
                          id?: number;
                          name?: string;
                          slug?: string;
                          type?: "NORMAL"
                          | "SERVICE";
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "400": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "401": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "404": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "409": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
      }
      • Readonly200: {
            content: {
                "application/json": {
                    avatarUrl?: string;
                    description?: string;
                    id?: number;
                    name?: string;
                    scope?: {
                        resourceId?: number;
                        type?: "GLOBAL" | "PROJECT" | "REPOSITORY";
                    };
                    users?: readonly {
                        active?: boolean;
                        displayName?: string;
                        emailAddress?: string;
                        id?: number;
                        name?: string;
                        slug?: string;
                        type?: "NORMAL"
                        | "SERVICE";
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        A page of changes.

      • Readonly400: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The updated attribute does not meet the requirements. E.g. the name exceeds 50 characters, setting name to blank.

      • Readonly401: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The currently authenticated user has insufficient permissions to view the project.

      • Readonly404: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The project scope supplied does not exist.

      • Readonly409: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The new updated name already exists.

    update_2: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { id: string; projectKey: string; repositorySlug: string };
            query?: undefined;
        };
        requestBody?: {
            content: {
                "application/json": {
                    avatarUrl?: string;
                    description?: string;
                    id?: number;
                    name?: string;
                    scope?: {
                        resourceId?: number;
                        type?: "GLOBAL"
                        | "PROJECT"
                        | "REPOSITORY";
                    };
                    users?: readonly {
                        active?: boolean;
                        displayName?: string;
                        emailAddress?: string;
                        id?: number;
                        name?: string;
                        slug?: string;
                        type?: "NORMAL"
                        | "SERVICE";
                    }[];
                };
            };
        };
        responses: {
            "200": {
                content: {
                    "application/json": {
                        avatarUrl?: string;
                        description?: string;
                        id?: number;
                        name?: string;
                        scope?: {
                            resourceId?: number;
                            type?: "GLOBAL"
                            | "PROJECT"
                            | "REPOSITORY";
                        };
                        users?: readonly {
                            active?: boolean;
                            displayName?: string;
                            emailAddress?: string;
                            id?: number;
                            name?: string;
                            slug?: string;
                            type?: "NORMAL"
                            | "SERVICE";
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "409": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }

    Type declaration

    • Readonlyparameters: {
          cookie?: undefined;
          header?: undefined;
          path: { id: string; projectKey: string; repositorySlug: string };
          query?: undefined;
      }
      • Optional Readonlycookie?: undefined
      • Optional Readonlyheader?: undefined
      • Readonlypath: { id: string; projectKey: string; repositorySlug: string }
        • Readonlyid: string

          The ID of the reviewer group to be updated

        • ReadonlyprojectKey: string

          The project key.

        • ReadonlyrepositorySlug: string

          The repository slug.

      • Optional Readonlyquery?: undefined
    • Optional ReadonlyrequestBody?: {
          content: {
              "application/json": {
                  avatarUrl?: string;
                  description?: string;
                  id?: number;
                  name?: string;
                  scope?: {
                      resourceId?: number;
                      type?: "GLOBAL" | "PROJECT" | "REPOSITORY";
                  };
                  users?: readonly {
                      active?: boolean;
                      displayName?: string;
                      emailAddress?: string;
                      id?: number;
                      name?: string;
                      slug?: string;
                      type?: "NORMAL"
                      | "SERVICE";
                  }[];
              };
          };
      }

      The request containing the attributes of the reviewer group to be updated. Only the attributes to be updated need to be present in this object.

    • Readonlyresponses: {
          "200": {
              content: {
                  "application/json": {
                      avatarUrl?: string;
                      description?: string;
                      id?: number;
                      name?: string;
                      scope?: {
                          resourceId?: number;
                          type?: "GLOBAL" | "PROJECT" | "REPOSITORY";
                      };
                      users?: readonly {
                          active?: boolean;
                          displayName?: string;
                          emailAddress?: string;
                          id?: number;
                          name?: string;
                          slug?: string;
                          type?: "NORMAL"
                          | "SERVICE";
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "400": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "401": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "404": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "409": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
      }
      • Readonly200: {
            content: {
                "application/json": {
                    avatarUrl?: string;
                    description?: string;
                    id?: number;
                    name?: string;
                    scope?: {
                        resourceId?: number;
                        type?: "GLOBAL" | "PROJECT" | "REPOSITORY";
                    };
                    users?: readonly {
                        active?: boolean;
                        displayName?: string;
                        emailAddress?: string;
                        id?: number;
                        name?: string;
                        slug?: string;
                        type?: "NORMAL"
                        | "SERVICE";
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The updated reviewer group.

      • Readonly400: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The updated attribute does not meet the requirements. E.g. the name exceeds 50 characters, setting name to blank.

      • Readonly401: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The currently authenticated user has insufficient permissions to view the repository.

      • Readonly404: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The repository scope supplied does not exist.

      • Readonly409: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The new updated name already exists.

    updateAccessToken: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string; tokenId: string };
            query?: undefined;
        };
        requestBody?: {
            content: {
                "application/json": {
                    expiryDays?: number;
                    name?: string;
                    permissions?: readonly string[];
                };
            };
        };
        responses: {
            "200": {
                content: {
                    "application/json": {
                        createdDate?: string;
                        id?: string;
                        name?: string;
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }

    Type declaration

    • Readonlyparameters: {
          cookie?: undefined;
          header?: undefined;
          path: { projectKey: string; tokenId: string };
          query?: undefined;
      }
      • Optional Readonlycookie?: undefined
      • Optional Readonlyheader?: undefined
      • Readonlypath: { projectKey: string; tokenId: string }
        • ReadonlyprojectKey: string

          The project key.

        • ReadonlytokenId: string

          The token id.

      • Optional Readonlyquery?: undefined
    • Optional ReadonlyrequestBody?: {
          content: {
              "application/json": {
                  expiryDays?: number;
                  name?: string;
                  permissions?: readonly string[];
              };
          };
      }

      The request containing the details of the access token to modify

    • Readonlyresponses: {
          "200": {
              content: {
                  "application/json": {
                      createdDate?: string;
                      id?: string;
                      name?: string;
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "400": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "401": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
      }
      • Readonly200: {
            content: {
                "application/json": {
                    createdDate?: string;
                    id?: string;
                    name?: string;
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        A response containing the updated access token and associated details.

      • Readonly400: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        One of the provided permission levels are unknown.

      • Readonly401: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The currently authenticated user is not permitted to update an access token on behalf of this user or authentication failed.

    updateAccessToken_1: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string; repositorySlug: string; tokenId: string };
            query?: undefined;
        };
        requestBody?: {
            content: {
                "application/json": {
                    expiryDays?: number;
                    name?: string;
                    permissions?: readonly string[];
                };
            };
        };
        responses: {
            "200": {
                content: {
                    "application/json": {
                        createdDate?: string;
                        id?: string;
                        name?: string;
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }

    Type declaration

    • Readonlyparameters: {
          cookie?: undefined;
          header?: undefined;
          path: { projectKey: string; repositorySlug: string; tokenId: string };
          query?: undefined;
      }
      • Optional Readonlycookie?: undefined
      • Optional Readonlyheader?: undefined
      • Readonlypath: { projectKey: string; repositorySlug: string; tokenId: string }
        • ReadonlyprojectKey: string

          The project key.

        • ReadonlyrepositorySlug: string

          The repository slug.

        • ReadonlytokenId: string

          The token id.

      • Optional Readonlyquery?: undefined
    • Optional ReadonlyrequestBody?: {
          content: {
              "application/json": {
                  expiryDays?: number;
                  name?: string;
                  permissions?: readonly string[];
              };
          };
      }

      The request containing the details of the access token to modify

    • Readonlyresponses: {
          "200": {
              content: {
                  "application/json": {
                      createdDate?: string;
                      id?: string;
                      name?: string;
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "400": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "401": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
      }
      • Readonly200: {
            content: {
                "application/json": {
                    createdDate?: string;
                    id?: string;
                    name?: string;
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        A response containing the updated access token and associated details.

      • Readonly400: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        One of the provided permission levels are unknown.

      • Readonly401: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The currently authenticated user is not permitted to update an access token on behalf of this user or authentication failed.

    updateAccessToken_2: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { tokenId: string; userSlug: string };
            query?: undefined;
        };
        requestBody?: {
            content: {
                "application/json": {
                    expiryDays?: number;
                    name?: string;
                    permissions?: readonly string[];
                };
            };
        };
        responses: {
            "200": {
                content: {
                    "application/json": {
                        createdDate?: string;
                        id?: string;
                        name?: string;
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }

    Type declaration

    • Readonlyparameters: {
          cookie?: undefined;
          header?: undefined;
          path: { tokenId: string; userSlug: string };
          query?: undefined;
      }
      • Optional Readonlycookie?: undefined
      • Optional Readonlyheader?: undefined
      • Readonlypath: { tokenId: string; userSlug: string }
        • ReadonlytokenId: string

          The token id.

        • ReadonlyuserSlug: string

          The user slug.

      • Optional Readonlyquery?: undefined
    • Optional ReadonlyrequestBody?: {
          content: {
              "application/json": {
                  expiryDays?: number;
                  name?: string;
                  permissions?: readonly string[];
              };
          };
      }

      The request containing the details of the access token to modify

    • Readonlyresponses: {
          "200": {
              content: {
                  "application/json": {
                      createdDate?: string;
                      id?: string;
                      name?: string;
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "400": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "401": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
      }
      • Readonly200: {
            content: {
                "application/json": {
                    createdDate?: string;
                    id?: string;
                    name?: string;
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        A response containing the updated access token and associated details.

      • Readonly400: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        One of the provided permission levels are unknown.

      • Readonly401: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The currently authenticated user is not permitted to update an access token on behalf of this user or authentication failed.

    updateCertificateRevocationListEntries: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { id: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: { "application/json": unknown };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    updateComment: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: {
                commentId: string;
                commitId: string;
                projectKey: string;
                repositorySlug: string;
            };
            query?: undefined;
        };
        requestBody?: {
            content: {
                "application/json": {
                    anchor?: {
                        diffType?: "COMMIT"
                        | "EFFECTIVE"
                        | "RANGE";
                        fileType?: "FROM" | "TO";
                        fromHash?: string;
                        line?: number;
                        lineType?: "ADDED" | "CONTEXT" | "REMOVED";
                        multilineMarker?: {
                            startLine?: number;
                            startLineType: "ADDED" | "CONTEXT" | "REMOVED";
                        };
                        path?: {
                            components?: readonly (...)[];
                            extension?: string;
                            name?: string;
                            parent?: string;
                        };
                        pullRequest?: {
                            closed?: boolean;
                            closedDate?: number;
                            createdDate?: number;
                            description?: string;
                            descriptionAsHtml?: string;
                            draft?: boolean;
                            fromRef?: {
                                displayId?: ...;
                                id?: ...;
                                latestCommit?: ...;
                                repository?: ...;
                                type?: ...;
                            };
                            htmlDescription?: string;
                            id?: number;
                            links?: Record<(...), (...)>;
                            locked?: boolean;
                            open?: boolean;
                            participants?: readonly (...)[];
                            reviewers?: readonly (...)[];
                            state?: "DECLINED" | "MERGED" | "OPEN";
                            title?: string;
                            toRef?: {
                                displayId?: ...;
                                id?: ...;
                                latestCommit?: ...;
                                repository?: ...;
                                type?: ...;
                            };
                            updatedDate?: number;
                            version?: number;
                        };
                        srcPath?: {
                            components?: readonly (...)[];
                            extension?: string;
                            name?: string;
                            parent?: string;
                        };
                        toHash?: string;
                    };
                    anchored?: boolean;
                    author?: {
                        active?: boolean;
                        avatarUrl?: string;
                        displayName?: string;
                        emailAddress?: string;
                        id?: number;
                        links?: Record<string, unknown>;
                        name?: string;
                        slug?: string;
                        type?: "NORMAL" | "SERVICE";
                    };
                    comments?: readonly (
                        { readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineType?: "ADDED" | "CONTEXT" | "REMOVED"; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }
                    )[];
                    createdDate?: number;
                    html?: string;
                    id?: number;
                    parent?: {
                        anchor?: {
                            diffType?: "COMMIT"
                            | "EFFECTIVE"
                            | "RANGE";
                            fileType?: "FROM" | "TO";
                            fromHash?: string;
                            line?: number;
                            lineType?: "ADDED" | "CONTEXT" | "REMOVED";
                            multilineMarker?: { startLine?: ...; startLineType: ... };
                            path?: { components?: ...; extension?: ...; name?: ...; parent?: ... };
                            pullRequest?: {
                                closed?: ...;
                                closedDate?: ...;
                                createdDate?: ...;
                                description?: ...;
                                descriptionAsHtml?: ...;
                                draft?: ...;
                                fromRef?: ...;
                                htmlDescription?: ...;
                                id?: ...;
                                links?: ...;
                                locked?: ...;
                                open?: ...;
                                participants?: ...;
                                reviewers?: ...;
                                state?: ...;
                                title?: ...;
                                toRef?: ...;
                                updatedDate?: ...;
                                version?: ...;
                            };
                            srcPath?: {
                                components?: ...;
                                extension?: ...;
                                name?: ...;
                                parent?: ...;
                            };
                            toHash?: string;
                        };
                        anchored?: boolean;
                        author?: {
                            active?: boolean;
                            avatarUrl?: string;
                            displayName?: string;
                            emailAddress?: string;
                            id?: number;
                            links?: Record<(...), (...)>;
                            name?: string;
                            slug?: string;
                            type?: "NORMAL" | "SERVICE";
                        };
                        comments?: readonly (
                            { readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineType?: "ADDED" | "CONTEXT" | "REMOVED"; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }
                        )[];
                        createdDate?: number;
                        html?: string;
                        id?: number;
                        pending?: boolean;
                        properties?: Record<string, unknown>;
                        reply?: boolean;
                        resolvedDate?: number;
                        resolver?: {
                            active?: boolean;
                            avatarUrl?: string;
                            displayName?: string;
                            emailAddress?: string;
                            id?: number;
                            links?: Record<(...), (...)>;
                            name?: string;
                            slug?: string;
                            type?: "NORMAL" | "SERVICE";
                        };
                        severity?: string;
                        state?: string;
                        text?: string;
                        threadResolved?: boolean;
                        threadResolvedDate?: number;
                        threadResolver?: {
                            active?: boolean;
                            avatarUrl?: string;
                            displayName?: string;
                            emailAddress?: string;
                            id?: number;
                            links?: Record<(...), (...)>;
                            name?: string;
                            slug?: string;
                            type?: "NORMAL" | "SERVICE";
                        };
                        updatedDate?: number;
                        version?: number;
                    };
                    pending?: boolean;
                    properties?: Record<string, unknown>;
                    reply?: boolean;
                    resolvedDate?: number;
                    resolver?: {
                        active?: boolean;
                        avatarUrl?: string;
                        displayName?: string;
                        emailAddress?: string;
                        id?: number;
                        links?: Record<string, unknown>;
                        name?: string;
                        slug?: string;
                        type?: "NORMAL" | "SERVICE";
                    };
                    severity?: string;
                    state?: string;
                    text?: string;
                    threadResolved?: boolean;
                    threadResolvedDate?: number;
                    threadResolver?: {
                        active?: boolean;
                        avatarUrl?: string;
                        displayName?: string;
                        emailAddress?: string;
                        id?: number;
                        links?: Record<string, unknown>;
                        name?: string;
                        slug?: string;
                        type?: "NORMAL" | "SERVICE";
                    };
                    updatedDate?: number;
                    version?: number;
                };
            };
        };
        responses: {
            "200": {
                content: {
                    "application/json": {
                        anchor?: {
                            diffType?: "COMMIT"
                            | "EFFECTIVE"
                            | "RANGE";
                            fileType?: "FROM" | "TO";
                            fromHash?: string;
                            line?: number;
                            lineType?: "ADDED" | "CONTEXT" | "REMOVED";
                            multilineMarker?: {
                                startLine?: number;
                                startLineType: "ADDED" | "CONTEXT" | "REMOVED";
                            };
                            path?: {
                                components?: readonly (...)[];
                                extension?: string;
                                name?: string;
                                parent?: string;
                            };
                            pullRequest?: {
                                closed?: boolean;
                                closedDate?: number;
                                createdDate?: number;
                                description?: string;
                                descriptionAsHtml?: string;
                                draft?: boolean;
                                fromRef?: {
                                    displayId?: ...;
                                    id?: ...;
                                    latestCommit?: ...;
                                    repository?: ...;
                                    type?: ...;
                                };
                                htmlDescription?: string;
                                id?: number;
                                links?: Record<(...), (...)>;
                                locked?: boolean;
                                open?: boolean;
                                participants?: readonly (...)[];
                                reviewers?: readonly (...)[];
                                state?: "DECLINED" | "MERGED" | "OPEN";
                                title?: string;
                                toRef?: {
                                    displayId?: ...;
                                    id?: ...;
                                    latestCommit?: ...;
                                    repository?: ...;
                                    type?: ...;
                                };
                                updatedDate?: number;
                                version?: number;
                            };
                            srcPath?: {
                                components?: readonly (...)[];
                                extension?: string;
                                name?: string;
                                parent?: string;
                            };
                            toHash?: string;
                        };
                        anchored?: boolean;
                        author?: {
                            active?: boolean;
                            avatarUrl?: string;
                            displayName?: string;
                            emailAddress?: string;
                            id?: number;
                            links?: Record<string, unknown>;
                            name?: string;
                            slug?: string;
                            type?: "NORMAL" | "SERVICE";
                        };
                        comments?: readonly (
                            { readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineType?: "ADDED" | "CONTEXT" | "REMOVED"; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }
                        )[];
                        createdDate?: number;
                        html?: string;
                        id?: number;
                        parent?: {
                            anchor?: {
                                diffType?: "COMMIT"
                                | "EFFECTIVE"
                                | "RANGE";
                                fileType?: "FROM" | "TO";
                                fromHash?: string;
                                line?: number;
                                lineType?: "ADDED" | "CONTEXT" | "REMOVED";
                                multilineMarker?: { startLine?: ...; startLineType: ... };
                                path?: {
                                    components?: ...;
                                    extension?: ...;
                                    name?: ...;
                                    parent?: ...;
                                };
                                pullRequest?: {
                                    closed?: ...;
                                    closedDate?: ...;
                                    createdDate?: ...;
                                    description?: ...;
                                    descriptionAsHtml?: ...;
                                    draft?: ...;
                                    fromRef?: ...;
                                    htmlDescription?: ...;
                                    id?: ...;
                                    links?: ...;
                                    locked?: ...;
                                    open?: ...;
                                    participants?: ...;
                                    reviewers?: ...;
                                    state?: ...;
                                    title?: ...;
                                    toRef?: ...;
                                    updatedDate?: ...;
                                    version?: ...;
                                };
                                srcPath?: {
                                    components?: ...;
                                    extension?: ...;
                                    name?: ...;
                                    parent?: ...;
                                };
                                toHash?: string;
                            };
                            anchored?: boolean;
                            author?: {
                                active?: boolean;
                                avatarUrl?: string;
                                displayName?: string;
                                emailAddress?: string;
                                id?: number;
                                links?: Record<(...), (...)>;
                                name?: string;
                                slug?: string;
                                type?: "NORMAL" | "SERVICE";
                            };
                            comments?: readonly (
                                { readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineType?: "ADDED" | "CONTEXT" | "REMOVED"; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }
                            )[];
                            createdDate?: number;
                            html?: string;
                            id?: number;
                            pending?: boolean;
                            properties?: Record<string, unknown>;
                            reply?: boolean;
                            resolvedDate?: number;
                            resolver?: {
                                active?: boolean;
                                avatarUrl?: string;
                                displayName?: string;
                                emailAddress?: string;
                                id?: number;
                                links?: Record<(...), (...)>;
                                name?: string;
                                slug?: string;
                                type?: "NORMAL" | "SERVICE";
                            };
                            severity?: string;
                            state?: string;
                            text?: string;
                            threadResolved?: boolean;
                            threadResolvedDate?: number;
                            threadResolver?: {
                                active?: boolean;
                                avatarUrl?: string;
                                displayName?: string;
                                emailAddress?: string;
                                id?: number;
                                links?: Record<(...), (...)>;
                                name?: string;
                                slug?: string;
                                type?: "NORMAL" | "SERVICE";
                            };
                            updatedDate?: number;
                            version?: number;
                        };
                        pending?: boolean;
                        properties?: Record<string, unknown>;
                        reply?: boolean;
                        resolvedDate?: number;
                        resolver?: {
                            active?: boolean;
                            avatarUrl?: string;
                            displayName?: string;
                            emailAddress?: string;
                            id?: number;
                            links?: Record<string, unknown>;
                            name?: string;
                            slug?: string;
                            type?: "NORMAL" | "SERVICE";
                        };
                        severity?: string;
                        state?: string;
                        text?: string;
                        threadResolved?: boolean;
                        threadResolvedDate?: number;
                        threadResolver?: {
                            active?: boolean;
                            avatarUrl?: string;
                            displayName?: string;
                            emailAddress?: string;
                            id?: number;
                            links?: Record<string, unknown>;
                            name?: string;
                            slug?: string;
                            type?: "NORMAL" | "SERVICE";
                        };
                        updatedDate?: number;
                        version?: number;
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "409": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }

    Type declaration

    • Readonlyparameters: {
          cookie?: undefined;
          header?: undefined;
          path: {
              commentId: string;
              commitId: string;
              projectKey: string;
              repositorySlug: string;
          };
          query?: undefined;
      }
      • Optional Readonlycookie?: undefined
      • Optional Readonlyheader?: undefined
      • Readonlypath: {
            commentId: string;
            commitId: string;
            projectKey: string;
            repositorySlug: string;
        }
        • ReadonlycommentId: string

          The ID of the comment to retrieve

        • ReadonlycommitId: string

          The full ID of the commit within the repository

        • ReadonlyprojectKey: string

          The project key

        • ReadonlyrepositorySlug: string

          The repository slug

      • Optional Readonlyquery?: undefined
    • Optional ReadonlyrequestBody?: {
          content: {
              "application/json": {
                  anchor?: {
                      diffType?: "COMMIT" | "EFFECTIVE" | "RANGE";
                      fileType?: "FROM" | "TO";
                      fromHash?: string;
                      line?: number;
                      lineType?: "ADDED" | "CONTEXT" | "REMOVED";
                      multilineMarker?: {
                          startLine?: number;
                          startLineType: "ADDED" | "CONTEXT" | "REMOVED";
                      };
                      path?: {
                          components?: readonly (...)[];
                          extension?: string;
                          name?: string;
                          parent?: string;
                      };
                      pullRequest?: {
                          closed?: boolean;
                          closedDate?: number;
                          createdDate?: number;
                          description?: string;
                          descriptionAsHtml?: string;
                          draft?: boolean;
                          fromRef?: {
                              displayId?: ...;
                              id?: ...;
                              latestCommit?: ...;
                              repository?: ...;
                              type?: ...;
                          };
                          htmlDescription?: string;
                          id?: number;
                          links?: Record<(...), (...)>;
                          locked?: boolean;
                          open?: boolean;
                          participants?: readonly (...)[];
                          reviewers?: readonly (...)[];
                          state?: "DECLINED" | "MERGED" | "OPEN";
                          title?: string;
                          toRef?: {
                              displayId?: ...;
                              id?: ...;
                              latestCommit?: ...;
                              repository?: ...;
                              type?: ...;
                          };
                          updatedDate?: number;
                          version?: number;
                      };
                      srcPath?: {
                          components?: readonly (...)[];
                          extension?: string;
                          name?: string;
                          parent?: string;
                      };
                      toHash?: string;
                  };
                  anchored?: boolean;
                  author?: {
                      active?: boolean;
                      avatarUrl?: string;
                      displayName?: string;
                      emailAddress?: string;
                      id?: number;
                      links?: Record<string, unknown>;
                      name?: string;
                      slug?: string;
                      type?: "NORMAL" | "SERVICE";
                  };
                  comments?: readonly (
                      { readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineType?: "ADDED" | "CONTEXT" | "REMOVED"; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }
                  )[];
                  createdDate?: number;
                  html?: string;
                  id?: number;
                  parent?: {
                      anchor?: {
                          diffType?: "COMMIT"
                          | "EFFECTIVE"
                          | "RANGE";
                          fileType?: "FROM" | "TO";
                          fromHash?: string;
                          line?: number;
                          lineType?: "ADDED" | "CONTEXT" | "REMOVED";
                          multilineMarker?: { startLine?: ...; startLineType: ... };
                          path?: { components?: ...; extension?: ...; name?: ...; parent?: ... };
                          pullRequest?: {
                              closed?: ...;
                              closedDate?: ...;
                              createdDate?: ...;
                              description?: ...;
                              descriptionAsHtml?: ...;
                              draft?: ...;
                              fromRef?: ...;
                              htmlDescription?: ...;
                              id?: ...;
                              links?: ...;
                              locked?: ...;
                              open?: ...;
                              participants?: ...;
                              reviewers?: ...;
                              state?: ...;
                              title?: ...;
                              toRef?: ...;
                              updatedDate?: ...;
                              version?: ...;
                          };
                          srcPath?: {
                              components?: ...;
                              extension?: ...;
                              name?: ...;
                              parent?: ...;
                          };
                          toHash?: string;
                      };
                      anchored?: boolean;
                      author?: {
                          active?: boolean;
                          avatarUrl?: string;
                          displayName?: string;
                          emailAddress?: string;
                          id?: number;
                          links?: Record<(...), (...)>;
                          name?: string;
                          slug?: string;
                          type?: "NORMAL" | "SERVICE";
                      };
                      comments?: readonly (
                          { readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineType?: "ADDED" | "CONTEXT" | "REMOVED"; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }
                      )[];
                      createdDate?: number;
                      html?: string;
                      id?: number;
                      pending?: boolean;
                      properties?: Record<string, unknown>;
                      reply?: boolean;
                      resolvedDate?: number;
                      resolver?: {
                          active?: boolean;
                          avatarUrl?: string;
                          displayName?: string;
                          emailAddress?: string;
                          id?: number;
                          links?: Record<(...), (...)>;
                          name?: string;
                          slug?: string;
                          type?: "NORMAL" | "SERVICE";
                      };
                      severity?: string;
                      state?: string;
                      text?: string;
                      threadResolved?: boolean;
                      threadResolvedDate?: number;
                      threadResolver?: {
                          active?: boolean;
                          avatarUrl?: string;
                          displayName?: string;
                          emailAddress?: string;
                          id?: number;
                          links?: Record<(...), (...)>;
                          name?: string;
                          slug?: string;
                          type?: "NORMAL" | "SERVICE";
                      };
                      updatedDate?: number;
                      version?: number;
                  };
                  pending?: boolean;
                  properties?: Record<string, unknown>;
                  reply?: boolean;
                  resolvedDate?: number;
                  resolver?: {
                      active?: boolean;
                      avatarUrl?: string;
                      displayName?: string;
                      emailAddress?: string;
                      id?: number;
                      links?: Record<string, unknown>;
                      name?: string;
                      slug?: string;
                      type?: "NORMAL" | "SERVICE";
                  };
                  severity?: string;
                  state?: string;
                  text?: string;
                  threadResolved?: boolean;
                  threadResolvedDate?: number;
                  threadResolver?: {
                      active?: boolean;
                      avatarUrl?: string;
                      displayName?: string;
                      emailAddress?: string;
                      id?: number;
                      links?: Record<string, unknown>;
                      name?: string;
                      slug?: string;
                      type?: "NORMAL" | "SERVICE";
                  };
                  updatedDate?: number;
                  version?: number;
              };
          };
      }

      The comment to update

    • Readonlyresponses: {
          "200": {
              content: {
                  "application/json": {
                      anchor?: {
                          diffType?: "COMMIT" | "EFFECTIVE" | "RANGE";
                          fileType?: "FROM" | "TO";
                          fromHash?: string;
                          line?: number;
                          lineType?: "ADDED" | "CONTEXT" | "REMOVED";
                          multilineMarker?: {
                              startLine?: number;
                              startLineType: "ADDED" | "CONTEXT" | "REMOVED";
                          };
                          path?: {
                              components?: readonly (...)[];
                              extension?: string;
                              name?: string;
                              parent?: string;
                          };
                          pullRequest?: {
                              closed?: boolean;
                              closedDate?: number;
                              createdDate?: number;
                              description?: string;
                              descriptionAsHtml?: string;
                              draft?: boolean;
                              fromRef?: {
                                  displayId?: ...;
                                  id?: ...;
                                  latestCommit?: ...;
                                  repository?: ...;
                                  type?: ...;
                              };
                              htmlDescription?: string;
                              id?: number;
                              links?: Record<(...), (...)>;
                              locked?: boolean;
                              open?: boolean;
                              participants?: readonly (...)[];
                              reviewers?: readonly (...)[];
                              state?: "DECLINED" | "MERGED" | "OPEN";
                              title?: string;
                              toRef?: {
                                  displayId?: ...;
                                  id?: ...;
                                  latestCommit?: ...;
                                  repository?: ...;
                                  type?: ...;
                              };
                              updatedDate?: number;
                              version?: number;
                          };
                          srcPath?: {
                              components?: readonly (...)[];
                              extension?: string;
                              name?: string;
                              parent?: string;
                          };
                          toHash?: string;
                      };
                      anchored?: boolean;
                      author?: {
                          active?: boolean;
                          avatarUrl?: string;
                          displayName?: string;
                          emailAddress?: string;
                          id?: number;
                          links?: Record<string, unknown>;
                          name?: string;
                          slug?: string;
                          type?: "NORMAL" | "SERVICE";
                      };
                      comments?: readonly (
                          { readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineType?: "ADDED" | "CONTEXT" | "REMOVED"; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }
                      )[];
                      createdDate?: number;
                      html?: string;
                      id?: number;
                      parent?: {
                          anchor?: {
                              diffType?: "COMMIT"
                              | "EFFECTIVE"
                              | "RANGE";
                              fileType?: "FROM" | "TO";
                              fromHash?: string;
                              line?: number;
                              lineType?: "ADDED" | "CONTEXT" | "REMOVED";
                              multilineMarker?: { startLine?: ...; startLineType: ... };
                              path?: { components?: ...; extension?: ...; name?: ...; parent?: ... };
                              pullRequest?: {
                                  closed?: ...;
                                  closedDate?: ...;
                                  createdDate?: ...;
                                  description?: ...;
                                  descriptionAsHtml?: ...;
                                  draft?: ...;
                                  fromRef?: ...;
                                  htmlDescription?: ...;
                                  id?: ...;
                                  links?: ...;
                                  locked?: ...;
                                  open?: ...;
                                  participants?: ...;
                                  reviewers?: ...;
                                  state?: ...;
                                  title?: ...;
                                  toRef?: ...;
                                  updatedDate?: ...;
                                  version?: ...;
                              };
                              srcPath?: {
                                  components?: ...;
                                  extension?: ...;
                                  name?: ...;
                                  parent?: ...;
                              };
                              toHash?: string;
                          };
                          anchored?: boolean;
                          author?: {
                              active?: boolean;
                              avatarUrl?: string;
                              displayName?: string;
                              emailAddress?: string;
                              id?: number;
                              links?: Record<(...), (...)>;
                              name?: string;
                              slug?: string;
                              type?: "NORMAL" | "SERVICE";
                          };
                          comments?: readonly (
                              { readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineType?: "ADDED" | "CONTEXT" | "REMOVED"; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }
                          )[];
                          createdDate?: number;
                          html?: string;
                          id?: number;
                          pending?: boolean;
                          properties?: Record<string, unknown>;
                          reply?: boolean;
                          resolvedDate?: number;
                          resolver?: {
                              active?: boolean;
                              avatarUrl?: string;
                              displayName?: string;
                              emailAddress?: string;
                              id?: number;
                              links?: Record<(...), (...)>;
                              name?: string;
                              slug?: string;
                              type?: "NORMAL" | "SERVICE";
                          };
                          severity?: string;
                          state?: string;
                          text?: string;
                          threadResolved?: boolean;
                          threadResolvedDate?: number;
                          threadResolver?: {
                              active?: boolean;
                              avatarUrl?: string;
                              displayName?: string;
                              emailAddress?: string;
                              id?: number;
                              links?: Record<(...), (...)>;
                              name?: string;
                              slug?: string;
                              type?: "NORMAL" | "SERVICE";
                          };
                          updatedDate?: number;
                          version?: number;
                      };
                      pending?: boolean;
                      properties?: Record<string, unknown>;
                      reply?: boolean;
                      resolvedDate?: number;
                      resolver?: {
                          active?: boolean;
                          avatarUrl?: string;
                          displayName?: string;
                          emailAddress?: string;
                          id?: number;
                          links?: Record<string, unknown>;
                          name?: string;
                          slug?: string;
                          type?: "NORMAL" | "SERVICE";
                      };
                      severity?: string;
                      state?: string;
                      text?: string;
                      threadResolved?: boolean;
                      threadResolvedDate?: number;
                      threadResolver?: {
                          active?: boolean;
                          avatarUrl?: string;
                          displayName?: string;
                          emailAddress?: string;
                          id?: number;
                          links?: Record<string, unknown>;
                          name?: string;
                          slug?: string;
                          type?: "NORMAL" | "SERVICE";
                      };
                      updatedDate?: number;
                      version?: number;
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "400": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "401": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "404": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "409": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
      }
      • Readonly200: {
            content: {
                "application/json": {
                    anchor?: {
                        diffType?: "COMMIT" | "EFFECTIVE" | "RANGE";
                        fileType?: "FROM" | "TO";
                        fromHash?: string;
                        line?: number;
                        lineType?: "ADDED" | "CONTEXT" | "REMOVED";
                        multilineMarker?: {
                            startLine?: number;
                            startLineType: "ADDED" | "CONTEXT" | "REMOVED";
                        };
                        path?: {
                            components?: readonly (...)[];
                            extension?: string;
                            name?: string;
                            parent?: string;
                        };
                        pullRequest?: {
                            closed?: boolean;
                            closedDate?: number;
                            createdDate?: number;
                            description?: string;
                            descriptionAsHtml?: string;
                            draft?: boolean;
                            fromRef?: {
                                displayId?: ...;
                                id?: ...;
                                latestCommit?: ...;
                                repository?: ...;
                                type?: ...;
                            };
                            htmlDescription?: string;
                            id?: number;
                            links?: Record<(...), (...)>;
                            locked?: boolean;
                            open?: boolean;
                            participants?: readonly (...)[];
                            reviewers?: readonly (...)[];
                            state?: "DECLINED" | "MERGED" | "OPEN";
                            title?: string;
                            toRef?: {
                                displayId?: ...;
                                id?: ...;
                                latestCommit?: ...;
                                repository?: ...;
                                type?: ...;
                            };
                            updatedDate?: number;
                            version?: number;
                        };
                        srcPath?: {
                            components?: readonly (...)[];
                            extension?: string;
                            name?: string;
                            parent?: string;
                        };
                        toHash?: string;
                    };
                    anchored?: boolean;
                    author?: {
                        active?: boolean;
                        avatarUrl?: string;
                        displayName?: string;
                        emailAddress?: string;
                        id?: number;
                        links?: Record<string, unknown>;
                        name?: string;
                        slug?: string;
                        type?: "NORMAL" | "SERVICE";
                    };
                    comments?: readonly (
                        { readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineType?: "ADDED" | "CONTEXT" | "REMOVED"; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }
                    )[];
                    createdDate?: number;
                    html?: string;
                    id?: number;
                    parent?: {
                        anchor?: {
                            diffType?: "COMMIT"
                            | "EFFECTIVE"
                            | "RANGE";
                            fileType?: "FROM" | "TO";
                            fromHash?: string;
                            line?: number;
                            lineType?: "ADDED" | "CONTEXT" | "REMOVED";
                            multilineMarker?: { startLine?: ...; startLineType: ... };
                            path?: { components?: ...; extension?: ...; name?: ...; parent?: ... };
                            pullRequest?: {
                                closed?: ...;
                                closedDate?: ...;
                                createdDate?: ...;
                                description?: ...;
                                descriptionAsHtml?: ...;
                                draft?: ...;
                                fromRef?: ...;
                                htmlDescription?: ...;
                                id?: ...;
                                links?: ...;
                                locked?: ...;
                                open?: ...;
                                participants?: ...;
                                reviewers?: ...;
                                state?: ...;
                                title?: ...;
                                toRef?: ...;
                                updatedDate?: ...;
                                version?: ...;
                            };
                            srcPath?: {
                                components?: ...;
                                extension?: ...;
                                name?: ...;
                                parent?: ...;
                            };
                            toHash?: string;
                        };
                        anchored?: boolean;
                        author?: {
                            active?: boolean;
                            avatarUrl?: string;
                            displayName?: string;
                            emailAddress?: string;
                            id?: number;
                            links?: Record<(...), (...)>;
                            name?: string;
                            slug?: string;
                            type?: "NORMAL" | "SERVICE";
                        };
                        comments?: readonly (
                            { readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineType?: "ADDED" | "CONTEXT" | "REMOVED"; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }
                        )[];
                        createdDate?: number;
                        html?: string;
                        id?: number;
                        pending?: boolean;
                        properties?: Record<string, unknown>;
                        reply?: boolean;
                        resolvedDate?: number;
                        resolver?: {
                            active?: boolean;
                            avatarUrl?: string;
                            displayName?: string;
                            emailAddress?: string;
                            id?: number;
                            links?: Record<(...), (...)>;
                            name?: string;
                            slug?: string;
                            type?: "NORMAL" | "SERVICE";
                        };
                        severity?: string;
                        state?: string;
                        text?: string;
                        threadResolved?: boolean;
                        threadResolvedDate?: number;
                        threadResolver?: {
                            active?: boolean;
                            avatarUrl?: string;
                            displayName?: string;
                            emailAddress?: string;
                            id?: number;
                            links?: Record<(...), (...)>;
                            name?: string;
                            slug?: string;
                            type?: "NORMAL" | "SERVICE";
                        };
                        updatedDate?: number;
                        version?: number;
                    };
                    pending?: boolean;
                    properties?: Record<string, unknown>;
                    reply?: boolean;
                    resolvedDate?: number;
                    resolver?: {
                        active?: boolean;
                        avatarUrl?: string;
                        displayName?: string;
                        emailAddress?: string;
                        id?: number;
                        links?: Record<string, unknown>;
                        name?: string;
                        slug?: string;
                        type?: "NORMAL" | "SERVICE";
                    };
                    severity?: string;
                    state?: string;
                    text?: string;
                    threadResolved?: boolean;
                    threadResolvedDate?: number;
                    threadResolver?: {
                        active?: boolean;
                        avatarUrl?: string;
                        displayName?: string;
                        emailAddress?: string;
                        id?: number;
                        links?: Record<string, unknown>;
                        name?: string;
                        slug?: string;
                        type?: "NORMAL" | "SERVICE";
                    };
                    updatedDate?: number;
                    version?: number;
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The newly updated comment.

      • Readonly400: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The comment was not updated due to a validation error.

      • Readonly401: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The currently authenticated user has insufficient permissions to view the commit, update the comment or watch the commit.

      • Readonly404: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        Unable to find the supplied project, repository, commit or comment. The missing entity will be specified in the error details.

      • Readonly409: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The comment version supplied does not match the current version or the repository is archived.

    updateComment_1: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: {
                commentId: string;
                projectKey: string;
                pullRequestId: string;
                repositorySlug: string;
            };
            query?: undefined;
        };
        requestBody?: {
            content: {
                "application/json": {
                    anchor?: {
                        diffType?: "COMMIT"
                        | "EFFECTIVE"
                        | "RANGE";
                        fileType?: "FROM" | "TO";
                        fromHash?: string;
                        line?: number;
                        lineType?: "ADDED" | "CONTEXT" | "REMOVED";
                        multilineMarker?: {
                            startLine?: number;
                            startLineType: "ADDED" | "CONTEXT" | "REMOVED";
                        };
                        path?: {
                            components?: readonly (...)[];
                            extension?: string;
                            name?: string;
                            parent?: string;
                        };
                        pullRequest?: {
                            closed?: boolean;
                            closedDate?: number;
                            createdDate?: number;
                            description?: string;
                            descriptionAsHtml?: string;
                            draft?: boolean;
                            fromRef?: {
                                displayId?: ...;
                                id?: ...;
                                latestCommit?: ...;
                                repository?: ...;
                                type?: ...;
                            };
                            htmlDescription?: string;
                            id?: number;
                            links?: Record<(...), (...)>;
                            locked?: boolean;
                            open?: boolean;
                            participants?: readonly (...)[];
                            reviewers?: readonly (...)[];
                            state?: "DECLINED" | "MERGED" | "OPEN";
                            title?: string;
                            toRef?: {
                                displayId?: ...;
                                id?: ...;
                                latestCommit?: ...;
                                repository?: ...;
                                type?: ...;
                            };
                            updatedDate?: number;
                            version?: number;
                        };
                        srcPath?: {
                            components?: readonly (...)[];
                            extension?: string;
                            name?: string;
                            parent?: string;
                        };
                        toHash?: string;
                    };
                    anchored?: boolean;
                    author?: {
                        active?: boolean;
                        avatarUrl?: string;
                        displayName?: string;
                        emailAddress?: string;
                        id?: number;
                        links?: Record<string, unknown>;
                        name?: string;
                        slug?: string;
                        type?: "NORMAL" | "SERVICE";
                    };
                    comments?: readonly (
                        { readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineType?: "ADDED" | "CONTEXT" | "REMOVED"; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }
                    )[];
                    createdDate?: number;
                    html?: string;
                    id?: number;
                    parent?: {
                        anchor?: {
                            diffType?: "COMMIT"
                            | "EFFECTIVE"
                            | "RANGE";
                            fileType?: "FROM" | "TO";
                            fromHash?: string;
                            line?: number;
                            lineType?: "ADDED" | "CONTEXT" | "REMOVED";
                            multilineMarker?: { startLine?: ...; startLineType: ... };
                            path?: { components?: ...; extension?: ...; name?: ...; parent?: ... };
                            pullRequest?: {
                                closed?: ...;
                                closedDate?: ...;
                                createdDate?: ...;
                                description?: ...;
                                descriptionAsHtml?: ...;
                                draft?: ...;
                                fromRef?: ...;
                                htmlDescription?: ...;
                                id?: ...;
                                links?: ...;
                                locked?: ...;
                                open?: ...;
                                participants?: ...;
                                reviewers?: ...;
                                state?: ...;
                                title?: ...;
                                toRef?: ...;
                                updatedDate?: ...;
                                version?: ...;
                            };
                            srcPath?: {
                                components?: ...;
                                extension?: ...;
                                name?: ...;
                                parent?: ...;
                            };
                            toHash?: string;
                        };
                        anchored?: boolean;
                        author?: {
                            active?: boolean;
                            avatarUrl?: string;
                            displayName?: string;
                            emailAddress?: string;
                            id?: number;
                            links?: Record<(...), (...)>;
                            name?: string;
                            slug?: string;
                            type?: "NORMAL" | "SERVICE";
                        };
                        comments?: readonly (
                            { readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineType?: "ADDED" | "CONTEXT" | "REMOVED"; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }
                        )[];
                        createdDate?: number;
                        html?: string;
                        id?: number;
                        pending?: boolean;
                        properties?: Record<string, unknown>;
                        reply?: boolean;
                        resolvedDate?: number;
                        resolver?: {
                            active?: boolean;
                            avatarUrl?: string;
                            displayName?: string;
                            emailAddress?: string;
                            id?: number;
                            links?: Record<(...), (...)>;
                            name?: string;
                            slug?: string;
                            type?: "NORMAL" | "SERVICE";
                        };
                        severity?: string;
                        state?: string;
                        text?: string;
                        threadResolved?: boolean;
                        threadResolvedDate?: number;
                        threadResolver?: {
                            active?: boolean;
                            avatarUrl?: string;
                            displayName?: string;
                            emailAddress?: string;
                            id?: number;
                            links?: Record<(...), (...)>;
                            name?: string;
                            slug?: string;
                            type?: "NORMAL" | "SERVICE";
                        };
                        updatedDate?: number;
                        version?: number;
                    };
                    pending?: boolean;
                    properties?: Record<string, unknown>;
                    reply?: boolean;
                    resolvedDate?: number;
                    resolver?: {
                        active?: boolean;
                        avatarUrl?: string;
                        displayName?: string;
                        emailAddress?: string;
                        id?: number;
                        links?: Record<string, unknown>;
                        name?: string;
                        slug?: string;
                        type?: "NORMAL" | "SERVICE";
                    };
                    severity?: string;
                    state?: string;
                    text?: string;
                    threadResolved?: boolean;
                    threadResolvedDate?: number;
                    threadResolver?: {
                        active?: boolean;
                        avatarUrl?: string;
                        displayName?: string;
                        emailAddress?: string;
                        id?: number;
                        links?: Record<string, unknown>;
                        name?: string;
                        slug?: string;
                        type?: "NORMAL" | "SERVICE";
                    };
                    updatedDate?: number;
                    version?: number;
                };
            };
        };
        responses: {
            "200": {
                content: {
                    "application/json": {
                        anchor?: {
                            diffType?: "COMMIT"
                            | "EFFECTIVE"
                            | "RANGE";
                            fileType?: "FROM" | "TO";
                            fromHash?: string;
                            line?: number;
                            lineType?: "ADDED" | "CONTEXT" | "REMOVED";
                            multilineMarker?: {
                                startLine?: number;
                                startLineType: "ADDED" | "CONTEXT" | "REMOVED";
                            };
                            path?: {
                                components?: readonly (...)[];
                                extension?: string;
                                name?: string;
                                parent?: string;
                            };
                            pullRequest?: {
                                closed?: boolean;
                                closedDate?: number;
                                createdDate?: number;
                                description?: string;
                                descriptionAsHtml?: string;
                                draft?: boolean;
                                fromRef?: {
                                    displayId?: ...;
                                    id?: ...;
                                    latestCommit?: ...;
                                    repository?: ...;
                                    type?: ...;
                                };
                                htmlDescription?: string;
                                id?: number;
                                links?: Record<(...), (...)>;
                                locked?: boolean;
                                open?: boolean;
                                participants?: readonly (...)[];
                                reviewers?: readonly (...)[];
                                state?: "DECLINED" | "MERGED" | "OPEN";
                                title?: string;
                                toRef?: {
                                    displayId?: ...;
                                    id?: ...;
                                    latestCommit?: ...;
                                    repository?: ...;
                                    type?: ...;
                                };
                                updatedDate?: number;
                                version?: number;
                            };
                            srcPath?: {
                                components?: readonly (...)[];
                                extension?: string;
                                name?: string;
                                parent?: string;
                            };
                            toHash?: string;
                        };
                        anchored?: boolean;
                        author?: {
                            active?: boolean;
                            avatarUrl?: string;
                            displayName?: string;
                            emailAddress?: string;
                            id?: number;
                            links?: Record<string, unknown>;
                            name?: string;
                            slug?: string;
                            type?: "NORMAL" | "SERVICE";
                        };
                        comments?: readonly (
                            { readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineType?: "ADDED" | "CONTEXT" | "REMOVED"; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }
                        )[];
                        createdDate?: number;
                        html?: string;
                        id?: number;
                        parent?: {
                            anchor?: {
                                diffType?: "COMMIT"
                                | "EFFECTIVE"
                                | "RANGE";
                                fileType?: "FROM" | "TO";
                                fromHash?: string;
                                line?: number;
                                lineType?: "ADDED" | "CONTEXT" | "REMOVED";
                                multilineMarker?: { startLine?: ...; startLineType: ... };
                                path?: {
                                    components?: ...;
                                    extension?: ...;
                                    name?: ...;
                                    parent?: ...;
                                };
                                pullRequest?: {
                                    closed?: ...;
                                    closedDate?: ...;
                                    createdDate?: ...;
                                    description?: ...;
                                    descriptionAsHtml?: ...;
                                    draft?: ...;
                                    fromRef?: ...;
                                    htmlDescription?: ...;
                                    id?: ...;
                                    links?: ...;
                                    locked?: ...;
                                    open?: ...;
                                    participants?: ...;
                                    reviewers?: ...;
                                    state?: ...;
                                    title?: ...;
                                    toRef?: ...;
                                    updatedDate?: ...;
                                    version?: ...;
                                };
                                srcPath?: {
                                    components?: ...;
                                    extension?: ...;
                                    name?: ...;
                                    parent?: ...;
                                };
                                toHash?: string;
                            };
                            anchored?: boolean;
                            author?: {
                                active?: boolean;
                                avatarUrl?: string;
                                displayName?: string;
                                emailAddress?: string;
                                id?: number;
                                links?: Record<(...), (...)>;
                                name?: string;
                                slug?: string;
                                type?: "NORMAL" | "SERVICE";
                            };
                            comments?: readonly (
                                { readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineType?: "ADDED" | "CONTEXT" | "REMOVED"; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }
                            )[];
                            createdDate?: number;
                            html?: string;
                            id?: number;
                            pending?: boolean;
                            properties?: Record<string, unknown>;
                            reply?: boolean;
                            resolvedDate?: number;
                            resolver?: {
                                active?: boolean;
                                avatarUrl?: string;
                                displayName?: string;
                                emailAddress?: string;
                                id?: number;
                                links?: Record<(...), (...)>;
                                name?: string;
                                slug?: string;
                                type?: "NORMAL" | "SERVICE";
                            };
                            severity?: string;
                            state?: string;
                            text?: string;
                            threadResolved?: boolean;
                            threadResolvedDate?: number;
                            threadResolver?: {
                                active?: boolean;
                                avatarUrl?: string;
                                displayName?: string;
                                emailAddress?: string;
                                id?: number;
                                links?: Record<(...), (...)>;
                                name?: string;
                                slug?: string;
                                type?: "NORMAL" | "SERVICE";
                            };
                            updatedDate?: number;
                            version?: number;
                        };
                        pending?: boolean;
                        properties?: Record<string, unknown>;
                        reply?: boolean;
                        resolvedDate?: number;
                        resolver?: {
                            active?: boolean;
                            avatarUrl?: string;
                            displayName?: string;
                            emailAddress?: string;
                            id?: number;
                            links?: Record<string, unknown>;
                            name?: string;
                            slug?: string;
                            type?: "NORMAL" | "SERVICE";
                        };
                        severity?: string;
                        state?: string;
                        text?: string;
                        threadResolved?: boolean;
                        threadResolvedDate?: number;
                        threadResolver?: {
                            active?: boolean;
                            avatarUrl?: string;
                            displayName?: string;
                            emailAddress?: string;
                            id?: number;
                            links?: Record<string, unknown>;
                            name?: string;
                            slug?: string;
                            type?: "NORMAL" | "SERVICE";
                        };
                        updatedDate?: number;
                        version?: number;
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "409": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }

    Type declaration

    • Readonlyparameters: {
          cookie?: undefined;
          header?: undefined;
          path: {
              commentId: string;
              projectKey: string;
              pullRequestId: string;
              repositorySlug: string;
          };
          query?: undefined;
      }
      • Optional Readonlycookie?: undefined
      • Optional Readonlyheader?: undefined
      • Readonlypath: {
            commentId: string;
            projectKey: string;
            pullRequestId: string;
            repositorySlug: string;
        }
        • ReadonlycommentId: string

          The ID of the comment to retrieve.

        • ReadonlyprojectKey: string

          The project key.

        • ReadonlypullRequestId: string

          The pull request ID.

        • ReadonlyrepositorySlug: string

          The repository slug.

      • Optional Readonlyquery?: undefined
    • Optional ReadonlyrequestBody?: {
          content: {
              "application/json": {
                  anchor?: {
                      diffType?: "COMMIT" | "EFFECTIVE" | "RANGE";
                      fileType?: "FROM" | "TO";
                      fromHash?: string;
                      line?: number;
                      lineType?: "ADDED" | "CONTEXT" | "REMOVED";
                      multilineMarker?: {
                          startLine?: number;
                          startLineType: "ADDED" | "CONTEXT" | "REMOVED";
                      };
                      path?: {
                          components?: readonly (...)[];
                          extension?: string;
                          name?: string;
                          parent?: string;
                      };
                      pullRequest?: {
                          closed?: boolean;
                          closedDate?: number;
                          createdDate?: number;
                          description?: string;
                          descriptionAsHtml?: string;
                          draft?: boolean;
                          fromRef?: {
                              displayId?: ...;
                              id?: ...;
                              latestCommit?: ...;
                              repository?: ...;
                              type?: ...;
                          };
                          htmlDescription?: string;
                          id?: number;
                          links?: Record<(...), (...)>;
                          locked?: boolean;
                          open?: boolean;
                          participants?: readonly (...)[];
                          reviewers?: readonly (...)[];
                          state?: "DECLINED" | "MERGED" | "OPEN";
                          title?: string;
                          toRef?: {
                              displayId?: ...;
                              id?: ...;
                              latestCommit?: ...;
                              repository?: ...;
                              type?: ...;
                          };
                          updatedDate?: number;
                          version?: number;
                      };
                      srcPath?: {
                          components?: readonly (...)[];
                          extension?: string;
                          name?: string;
                          parent?: string;
                      };
                      toHash?: string;
                  };
                  anchored?: boolean;
                  author?: {
                      active?: boolean;
                      avatarUrl?: string;
                      displayName?: string;
                      emailAddress?: string;
                      id?: number;
                      links?: Record<string, unknown>;
                      name?: string;
                      slug?: string;
                      type?: "NORMAL" | "SERVICE";
                  };
                  comments?: readonly (
                      { readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineType?: "ADDED" | "CONTEXT" | "REMOVED"; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }
                  )[];
                  createdDate?: number;
                  html?: string;
                  id?: number;
                  parent?: {
                      anchor?: {
                          diffType?: "COMMIT"
                          | "EFFECTIVE"
                          | "RANGE";
                          fileType?: "FROM" | "TO";
                          fromHash?: string;
                          line?: number;
                          lineType?: "ADDED" | "CONTEXT" | "REMOVED";
                          multilineMarker?: { startLine?: ...; startLineType: ... };
                          path?: { components?: ...; extension?: ...; name?: ...; parent?: ... };
                          pullRequest?: {
                              closed?: ...;
                              closedDate?: ...;
                              createdDate?: ...;
                              description?: ...;
                              descriptionAsHtml?: ...;
                              draft?: ...;
                              fromRef?: ...;
                              htmlDescription?: ...;
                              id?: ...;
                              links?: ...;
                              locked?: ...;
                              open?: ...;
                              participants?: ...;
                              reviewers?: ...;
                              state?: ...;
                              title?: ...;
                              toRef?: ...;
                              updatedDate?: ...;
                              version?: ...;
                          };
                          srcPath?: {
                              components?: ...;
                              extension?: ...;
                              name?: ...;
                              parent?: ...;
                          };
                          toHash?: string;
                      };
                      anchored?: boolean;
                      author?: {
                          active?: boolean;
                          avatarUrl?: string;
                          displayName?: string;
                          emailAddress?: string;
                          id?: number;
                          links?: Record<(...), (...)>;
                          name?: string;
                          slug?: string;
                          type?: "NORMAL" | "SERVICE";
                      };
                      comments?: readonly (
                          { readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineType?: "ADDED" | "CONTEXT" | "REMOVED"; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }
                      )[];
                      createdDate?: number;
                      html?: string;
                      id?: number;
                      pending?: boolean;
                      properties?: Record<string, unknown>;
                      reply?: boolean;
                      resolvedDate?: number;
                      resolver?: {
                          active?: boolean;
                          avatarUrl?: string;
                          displayName?: string;
                          emailAddress?: string;
                          id?: number;
                          links?: Record<(...), (...)>;
                          name?: string;
                          slug?: string;
                          type?: "NORMAL" | "SERVICE";
                      };
                      severity?: string;
                      state?: string;
                      text?: string;
                      threadResolved?: boolean;
                      threadResolvedDate?: number;
                      threadResolver?: {
                          active?: boolean;
                          avatarUrl?: string;
                          displayName?: string;
                          emailAddress?: string;
                          id?: number;
                          links?: Record<(...), (...)>;
                          name?: string;
                          slug?: string;
                          type?: "NORMAL" | "SERVICE";
                      };
                      updatedDate?: number;
                      version?: number;
                  };
                  pending?: boolean;
                  properties?: Record<string, unknown>;
                  reply?: boolean;
                  resolvedDate?: number;
                  resolver?: {
                      active?: boolean;
                      avatarUrl?: string;
                      displayName?: string;
                      emailAddress?: string;
                      id?: number;
                      links?: Record<string, unknown>;
                      name?: string;
                      slug?: string;
                      type?: "NORMAL" | "SERVICE";
                  };
                  severity?: string;
                  state?: string;
                  text?: string;
                  threadResolved?: boolean;
                  threadResolvedDate?: number;
                  threadResolver?: {
                      active?: boolean;
                      avatarUrl?: string;
                      displayName?: string;
                      emailAddress?: string;
                      id?: number;
                      links?: Record<string, unknown>;
                      name?: string;
                      slug?: string;
                      type?: "NORMAL" | "SERVICE";
                  };
                  updatedDate?: number;
                  version?: number;
              };
          };
      }

      The comment to add.

    • Readonlyresponses: {
          "200": {
              content: {
                  "application/json": {
                      anchor?: {
                          diffType?: "COMMIT" | "EFFECTIVE" | "RANGE";
                          fileType?: "FROM" | "TO";
                          fromHash?: string;
                          line?: number;
                          lineType?: "ADDED" | "CONTEXT" | "REMOVED";
                          multilineMarker?: {
                              startLine?: number;
                              startLineType: "ADDED" | "CONTEXT" | "REMOVED";
                          };
                          path?: {
                              components?: readonly (...)[];
                              extension?: string;
                              name?: string;
                              parent?: string;
                          };
                          pullRequest?: {
                              closed?: boolean;
                              closedDate?: number;
                              createdDate?: number;
                              description?: string;
                              descriptionAsHtml?: string;
                              draft?: boolean;
                              fromRef?: {
                                  displayId?: ...;
                                  id?: ...;
                                  latestCommit?: ...;
                                  repository?: ...;
                                  type?: ...;
                              };
                              htmlDescription?: string;
                              id?: number;
                              links?: Record<(...), (...)>;
                              locked?: boolean;
                              open?: boolean;
                              participants?: readonly (...)[];
                              reviewers?: readonly (...)[];
                              state?: "DECLINED" | "MERGED" | "OPEN";
                              title?: string;
                              toRef?: {
                                  displayId?: ...;
                                  id?: ...;
                                  latestCommit?: ...;
                                  repository?: ...;
                                  type?: ...;
                              };
                              updatedDate?: number;
                              version?: number;
                          };
                          srcPath?: {
                              components?: readonly (...)[];
                              extension?: string;
                              name?: string;
                              parent?: string;
                          };
                          toHash?: string;
                      };
                      anchored?: boolean;
                      author?: {
                          active?: boolean;
                          avatarUrl?: string;
                          displayName?: string;
                          emailAddress?: string;
                          id?: number;
                          links?: Record<string, unknown>;
                          name?: string;
                          slug?: string;
                          type?: "NORMAL" | "SERVICE";
                      };
                      comments?: readonly (
                          { readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineType?: "ADDED" | "CONTEXT" | "REMOVED"; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }
                      )[];
                      createdDate?: number;
                      html?: string;
                      id?: number;
                      parent?: {
                          anchor?: {
                              diffType?: "COMMIT"
                              | "EFFECTIVE"
                              | "RANGE";
                              fileType?: "FROM" | "TO";
                              fromHash?: string;
                              line?: number;
                              lineType?: "ADDED" | "CONTEXT" | "REMOVED";
                              multilineMarker?: { startLine?: ...; startLineType: ... };
                              path?: { components?: ...; extension?: ...; name?: ...; parent?: ... };
                              pullRequest?: {
                                  closed?: ...;
                                  closedDate?: ...;
                                  createdDate?: ...;
                                  description?: ...;
                                  descriptionAsHtml?: ...;
                                  draft?: ...;
                                  fromRef?: ...;
                                  htmlDescription?: ...;
                                  id?: ...;
                                  links?: ...;
                                  locked?: ...;
                                  open?: ...;
                                  participants?: ...;
                                  reviewers?: ...;
                                  state?: ...;
                                  title?: ...;
                                  toRef?: ...;
                                  updatedDate?: ...;
                                  version?: ...;
                              };
                              srcPath?: {
                                  components?: ...;
                                  extension?: ...;
                                  name?: ...;
                                  parent?: ...;
                              };
                              toHash?: string;
                          };
                          anchored?: boolean;
                          author?: {
                              active?: boolean;
                              avatarUrl?: string;
                              displayName?: string;
                              emailAddress?: string;
                              id?: number;
                              links?: Record<(...), (...)>;
                              name?: string;
                              slug?: string;
                              type?: "NORMAL" | "SERVICE";
                          };
                          comments?: readonly (
                              { readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineType?: "ADDED" | "CONTEXT" | "REMOVED"; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }
                          )[];
                          createdDate?: number;
                          html?: string;
                          id?: number;
                          pending?: boolean;
                          properties?: Record<string, unknown>;
                          reply?: boolean;
                          resolvedDate?: number;
                          resolver?: {
                              active?: boolean;
                              avatarUrl?: string;
                              displayName?: string;
                              emailAddress?: string;
                              id?: number;
                              links?: Record<(...), (...)>;
                              name?: string;
                              slug?: string;
                              type?: "NORMAL" | "SERVICE";
                          };
                          severity?: string;
                          state?: string;
                          text?: string;
                          threadResolved?: boolean;
                          threadResolvedDate?: number;
                          threadResolver?: {
                              active?: boolean;
                              avatarUrl?: string;
                              displayName?: string;
                              emailAddress?: string;
                              id?: number;
                              links?: Record<(...), (...)>;
                              name?: string;
                              slug?: string;
                              type?: "NORMAL" | "SERVICE";
                          };
                          updatedDate?: number;
                          version?: number;
                      };
                      pending?: boolean;
                      properties?: Record<string, unknown>;
                      reply?: boolean;
                      resolvedDate?: number;
                      resolver?: {
                          active?: boolean;
                          avatarUrl?: string;
                          displayName?: string;
                          emailAddress?: string;
                          id?: number;
                          links?: Record<string, unknown>;
                          name?: string;
                          slug?: string;
                          type?: "NORMAL" | "SERVICE";
                      };
                      severity?: string;
                      state?: string;
                      text?: string;
                      threadResolved?: boolean;
                      threadResolvedDate?: number;
                      threadResolver?: {
                          active?: boolean;
                          avatarUrl?: string;
                          displayName?: string;
                          emailAddress?: string;
                          id?: number;
                          links?: Record<string, unknown>;
                          name?: string;
                          slug?: string;
                          type?: "NORMAL" | "SERVICE";
                      };
                      updatedDate?: number;
                      version?: number;
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "400": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "401": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "404": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "409": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
      }
      • Readonly200: {
            content: {
                "application/json": {
                    anchor?: {
                        diffType?: "COMMIT" | "EFFECTIVE" | "RANGE";
                        fileType?: "FROM" | "TO";
                        fromHash?: string;
                        line?: number;
                        lineType?: "ADDED" | "CONTEXT" | "REMOVED";
                        multilineMarker?: {
                            startLine?: number;
                            startLineType: "ADDED" | "CONTEXT" | "REMOVED";
                        };
                        path?: {
                            components?: readonly (...)[];
                            extension?: string;
                            name?: string;
                            parent?: string;
                        };
                        pullRequest?: {
                            closed?: boolean;
                            closedDate?: number;
                            createdDate?: number;
                            description?: string;
                            descriptionAsHtml?: string;
                            draft?: boolean;
                            fromRef?: {
                                displayId?: ...;
                                id?: ...;
                                latestCommit?: ...;
                                repository?: ...;
                                type?: ...;
                            };
                            htmlDescription?: string;
                            id?: number;
                            links?: Record<(...), (...)>;
                            locked?: boolean;
                            open?: boolean;
                            participants?: readonly (...)[];
                            reviewers?: readonly (...)[];
                            state?: "DECLINED" | "MERGED" | "OPEN";
                            title?: string;
                            toRef?: {
                                displayId?: ...;
                                id?: ...;
                                latestCommit?: ...;
                                repository?: ...;
                                type?: ...;
                            };
                            updatedDate?: number;
                            version?: number;
                        };
                        srcPath?: {
                            components?: readonly (...)[];
                            extension?: string;
                            name?: string;
                            parent?: string;
                        };
                        toHash?: string;
                    };
                    anchored?: boolean;
                    author?: {
                        active?: boolean;
                        avatarUrl?: string;
                        displayName?: string;
                        emailAddress?: string;
                        id?: number;
                        links?: Record<string, unknown>;
                        name?: string;
                        slug?: string;
                        type?: "NORMAL" | "SERVICE";
                    };
                    comments?: readonly (
                        { readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineType?: "ADDED" | "CONTEXT" | "REMOVED"; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }
                    )[];
                    createdDate?: number;
                    html?: string;
                    id?: number;
                    parent?: {
                        anchor?: {
                            diffType?: "COMMIT"
                            | "EFFECTIVE"
                            | "RANGE";
                            fileType?: "FROM" | "TO";
                            fromHash?: string;
                            line?: number;
                            lineType?: "ADDED" | "CONTEXT" | "REMOVED";
                            multilineMarker?: { startLine?: ...; startLineType: ... };
                            path?: { components?: ...; extension?: ...; name?: ...; parent?: ... };
                            pullRequest?: {
                                closed?: ...;
                                closedDate?: ...;
                                createdDate?: ...;
                                description?: ...;
                                descriptionAsHtml?: ...;
                                draft?: ...;
                                fromRef?: ...;
                                htmlDescription?: ...;
                                id?: ...;
                                links?: ...;
                                locked?: ...;
                                open?: ...;
                                participants?: ...;
                                reviewers?: ...;
                                state?: ...;
                                title?: ...;
                                toRef?: ...;
                                updatedDate?: ...;
                                version?: ...;
                            };
                            srcPath?: {
                                components?: ...;
                                extension?: ...;
                                name?: ...;
                                parent?: ...;
                            };
                            toHash?: string;
                        };
                        anchored?: boolean;
                        author?: {
                            active?: boolean;
                            avatarUrl?: string;
                            displayName?: string;
                            emailAddress?: string;
                            id?: number;
                            links?: Record<(...), (...)>;
                            name?: string;
                            slug?: string;
                            type?: "NORMAL" | "SERVICE";
                        };
                        comments?: readonly (
                            { readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineType?: "ADDED" | "CONTEXT" | "REMOVED"; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }
                        )[];
                        createdDate?: number;
                        html?: string;
                        id?: number;
                        pending?: boolean;
                        properties?: Record<string, unknown>;
                        reply?: boolean;
                        resolvedDate?: number;
                        resolver?: {
                            active?: boolean;
                            avatarUrl?: string;
                            displayName?: string;
                            emailAddress?: string;
                            id?: number;
                            links?: Record<(...), (...)>;
                            name?: string;
                            slug?: string;
                            type?: "NORMAL" | "SERVICE";
                        };
                        severity?: string;
                        state?: string;
                        text?: string;
                        threadResolved?: boolean;
                        threadResolvedDate?: number;
                        threadResolver?: {
                            active?: boolean;
                            avatarUrl?: string;
                            displayName?: string;
                            emailAddress?: string;
                            id?: number;
                            links?: Record<(...), (...)>;
                            name?: string;
                            slug?: string;
                            type?: "NORMAL" | "SERVICE";
                        };
                        updatedDate?: number;
                        version?: number;
                    };
                    pending?: boolean;
                    properties?: Record<string, unknown>;
                    reply?: boolean;
                    resolvedDate?: number;
                    resolver?: {
                        active?: boolean;
                        avatarUrl?: string;
                        displayName?: string;
                        emailAddress?: string;
                        id?: number;
                        links?: Record<string, unknown>;
                        name?: string;
                        slug?: string;
                        type?: "NORMAL" | "SERVICE";
                    };
                    severity?: string;
                    state?: string;
                    text?: string;
                    threadResolved?: boolean;
                    threadResolvedDate?: number;
                    threadResolver?: {
                        active?: boolean;
                        avatarUrl?: string;
                        displayName?: string;
                        emailAddress?: string;
                        id?: number;
                        links?: Record<string, unknown>;
                        name?: string;
                        slug?: string;
                        type?: "NORMAL" | "SERVICE";
                    };
                    updatedDate?: number;
                    version?: number;
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The newly updated comment.

      • Readonly400: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The comment was not updated due to a validation error.

      • Readonly401: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The currently authenticated user has insufficient permissions to view the pull request, update a comment or watch the pull request.

      • Readonly404: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        Unable to find the supplied project, repository, pull request or comment.

      • Readonly409: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The comment version supplied does not match the current version or the repository is archived.

    updateComment_2: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: {
                commentId: string;
                projectKey: string;
                pullRequestId: string;
                repositorySlug: string;
            };
            query?: undefined;
        };
        requestBody?: {
            content: {
                "application/json": {
                    anchor?: {
                        diffType?: "COMMIT"
                        | "EFFECTIVE"
                        | "RANGE";
                        fileType?: "FROM" | "TO";
                        fromHash?: string;
                        line?: number;
                        lineType?: "ADDED" | "CONTEXT" | "REMOVED";
                        multilineMarker?: {
                            startLine?: number;
                            startLineType: "ADDED" | "CONTEXT" | "REMOVED";
                        };
                        path?: {
                            components?: readonly (...)[];
                            extension?: string;
                            name?: string;
                            parent?: string;
                        };
                        pullRequest?: {
                            closed?: boolean;
                            closedDate?: number;
                            createdDate?: number;
                            description?: string;
                            descriptionAsHtml?: string;
                            draft?: boolean;
                            fromRef?: {
                                displayId?: ...;
                                id?: ...;
                                latestCommit?: ...;
                                repository?: ...;
                                type?: ...;
                            };
                            htmlDescription?: string;
                            id?: number;
                            links?: Record<(...), (...)>;
                            locked?: boolean;
                            open?: boolean;
                            participants?: readonly (...)[];
                            reviewers?: readonly (...)[];
                            state?: "DECLINED" | "MERGED" | "OPEN";
                            title?: string;
                            toRef?: {
                                displayId?: ...;
                                id?: ...;
                                latestCommit?: ...;
                                repository?: ...;
                                type?: ...;
                            };
                            updatedDate?: number;
                            version?: number;
                        };
                        srcPath?: {
                            components?: readonly (...)[];
                            extension?: string;
                            name?: string;
                            parent?: string;
                        };
                        toHash?: string;
                    };
                    anchored?: boolean;
                    author?: {
                        active?: boolean;
                        avatarUrl?: string;
                        displayName?: string;
                        emailAddress?: string;
                        id?: number;
                        links?: Record<string, unknown>;
                        name?: string;
                        slug?: string;
                        type?: "NORMAL" | "SERVICE";
                    };
                    comments?: readonly (
                        { readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineType?: "ADDED" | "CONTEXT" | "REMOVED"; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }
                    )[];
                    createdDate?: number;
                    html?: string;
                    id?: number;
                    parent?: {
                        anchor?: {
                            diffType?: "COMMIT"
                            | "EFFECTIVE"
                            | "RANGE";
                            fileType?: "FROM" | "TO";
                            fromHash?: string;
                            line?: number;
                            lineType?: "ADDED" | "CONTEXT" | "REMOVED";
                            multilineMarker?: { startLine?: ...; startLineType: ... };
                            path?: { components?: ...; extension?: ...; name?: ...; parent?: ... };
                            pullRequest?: {
                                closed?: ...;
                                closedDate?: ...;
                                createdDate?: ...;
                                description?: ...;
                                descriptionAsHtml?: ...;
                                draft?: ...;
                                fromRef?: ...;
                                htmlDescription?: ...;
                                id?: ...;
                                links?: ...;
                                locked?: ...;
                                open?: ...;
                                participants?: ...;
                                reviewers?: ...;
                                state?: ...;
                                title?: ...;
                                toRef?: ...;
                                updatedDate?: ...;
                                version?: ...;
                            };
                            srcPath?: {
                                components?: ...;
                                extension?: ...;
                                name?: ...;
                                parent?: ...;
                            };
                            toHash?: string;
                        };
                        anchored?: boolean;
                        author?: {
                            active?: boolean;
                            avatarUrl?: string;
                            displayName?: string;
                            emailAddress?: string;
                            id?: number;
                            links?: Record<(...), (...)>;
                            name?: string;
                            slug?: string;
                            type?: "NORMAL" | "SERVICE";
                        };
                        comments?: readonly (
                            { readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineType?: "ADDED" | "CONTEXT" | "REMOVED"; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }
                        )[];
                        createdDate?: number;
                        html?: string;
                        id?: number;
                        pending?: boolean;
                        properties?: Record<string, unknown>;
                        reply?: boolean;
                        resolvedDate?: number;
                        resolver?: {
                            active?: boolean;
                            avatarUrl?: string;
                            displayName?: string;
                            emailAddress?: string;
                            id?: number;
                            links?: Record<(...), (...)>;
                            name?: string;
                            slug?: string;
                            type?: "NORMAL" | "SERVICE";
                        };
                        severity?: string;
                        state?: string;
                        text?: string;
                        threadResolved?: boolean;
                        threadResolvedDate?: number;
                        threadResolver?: {
                            active?: boolean;
                            avatarUrl?: string;
                            displayName?: string;
                            emailAddress?: string;
                            id?: number;
                            links?: Record<(...), (...)>;
                            name?: string;
                            slug?: string;
                            type?: "NORMAL" | "SERVICE";
                        };
                        updatedDate?: number;
                        version?: number;
                    };
                    pending?: boolean;
                    properties?: Record<string, unknown>;
                    reply?: boolean;
                    resolvedDate?: number;
                    resolver?: {
                        active?: boolean;
                        avatarUrl?: string;
                        displayName?: string;
                        emailAddress?: string;
                        id?: number;
                        links?: Record<string, unknown>;
                        name?: string;
                        slug?: string;
                        type?: "NORMAL" | "SERVICE";
                    };
                    severity?: string;
                    state?: string;
                    text?: string;
                    threadResolved?: boolean;
                    threadResolvedDate?: number;
                    threadResolver?: {
                        active?: boolean;
                        avatarUrl?: string;
                        displayName?: string;
                        emailAddress?: string;
                        id?: number;
                        links?: Record<string, unknown>;
                        name?: string;
                        slug?: string;
                        type?: "NORMAL" | "SERVICE";
                    };
                    updatedDate?: number;
                    version?: number;
                };
            };
        };
        responses: {
            "200": {
                content: {
                    "application/json": {
                        anchor?: {
                            diffType?: "COMMIT"
                            | "EFFECTIVE"
                            | "RANGE";
                            fileType?: "FROM" | "TO";
                            fromHash?: string;
                            line?: number;
                            lineType?: "ADDED" | "CONTEXT" | "REMOVED";
                            multilineMarker?: {
                                startLine?: number;
                                startLineType: "ADDED" | "CONTEXT" | "REMOVED";
                            };
                            path?: {
                                components?: readonly (...)[];
                                extension?: string;
                                name?: string;
                                parent?: string;
                            };
                            pullRequest?: {
                                closed?: boolean;
                                closedDate?: number;
                                createdDate?: number;
                                description?: string;
                                descriptionAsHtml?: string;
                                draft?: boolean;
                                fromRef?: {
                                    displayId?: ...;
                                    id?: ...;
                                    latestCommit?: ...;
                                    repository?: ...;
                                    type?: ...;
                                };
                                htmlDescription?: string;
                                id?: number;
                                links?: Record<(...), (...)>;
                                locked?: boolean;
                                open?: boolean;
                                participants?: readonly (...)[];
                                reviewers?: readonly (...)[];
                                state?: "DECLINED" | "MERGED" | "OPEN";
                                title?: string;
                                toRef?: {
                                    displayId?: ...;
                                    id?: ...;
                                    latestCommit?: ...;
                                    repository?: ...;
                                    type?: ...;
                                };
                                updatedDate?: number;
                                version?: number;
                            };
                            srcPath?: {
                                components?: readonly (...)[];
                                extension?: string;
                                name?: string;
                                parent?: string;
                            };
                            toHash?: string;
                        };
                        anchored?: boolean;
                        author?: {
                            active?: boolean;
                            avatarUrl?: string;
                            displayName?: string;
                            emailAddress?: string;
                            id?: number;
                            links?: Record<string, unknown>;
                            name?: string;
                            slug?: string;
                            type?: "NORMAL" | "SERVICE";
                        };
                        comments?: readonly (
                            { readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineType?: "ADDED" | "CONTEXT" | "REMOVED"; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }
                        )[];
                        createdDate?: number;
                        html?: string;
                        id?: number;
                        parent?: {
                            anchor?: {
                                diffType?: "COMMIT"
                                | "EFFECTIVE"
                                | "RANGE";
                                fileType?: "FROM" | "TO";
                                fromHash?: string;
                                line?: number;
                                lineType?: "ADDED" | "CONTEXT" | "REMOVED";
                                multilineMarker?: { startLine?: ...; startLineType: ... };
                                path?: {
                                    components?: ...;
                                    extension?: ...;
                                    name?: ...;
                                    parent?: ...;
                                };
                                pullRequest?: {
                                    closed?: ...;
                                    closedDate?: ...;
                                    createdDate?: ...;
                                    description?: ...;
                                    descriptionAsHtml?: ...;
                                    draft?: ...;
                                    fromRef?: ...;
                                    htmlDescription?: ...;
                                    id?: ...;
                                    links?: ...;
                                    locked?: ...;
                                    open?: ...;
                                    participants?: ...;
                                    reviewers?: ...;
                                    state?: ...;
                                    title?: ...;
                                    toRef?: ...;
                                    updatedDate?: ...;
                                    version?: ...;
                                };
                                srcPath?: {
                                    components?: ...;
                                    extension?: ...;
                                    name?: ...;
                                    parent?: ...;
                                };
                                toHash?: string;
                            };
                            anchored?: boolean;
                            author?: {
                                active?: boolean;
                                avatarUrl?: string;
                                displayName?: string;
                                emailAddress?: string;
                                id?: number;
                                links?: Record<(...), (...)>;
                                name?: string;
                                slug?: string;
                                type?: "NORMAL" | "SERVICE";
                            };
                            comments?: readonly (
                                { readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineType?: "ADDED" | "CONTEXT" | "REMOVED"; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }
                            )[];
                            createdDate?: number;
                            html?: string;
                            id?: number;
                            pending?: boolean;
                            properties?: Record<string, unknown>;
                            reply?: boolean;
                            resolvedDate?: number;
                            resolver?: {
                                active?: boolean;
                                avatarUrl?: string;
                                displayName?: string;
                                emailAddress?: string;
                                id?: number;
                                links?: Record<(...), (...)>;
                                name?: string;
                                slug?: string;
                                type?: "NORMAL" | "SERVICE";
                            };
                            severity?: string;
                            state?: string;
                            text?: string;
                            threadResolved?: boolean;
                            threadResolvedDate?: number;
                            threadResolver?: {
                                active?: boolean;
                                avatarUrl?: string;
                                displayName?: string;
                                emailAddress?: string;
                                id?: number;
                                links?: Record<(...), (...)>;
                                name?: string;
                                slug?: string;
                                type?: "NORMAL" | "SERVICE";
                            };
                            updatedDate?: number;
                            version?: number;
                        };
                        pending?: boolean;
                        properties?: Record<string, unknown>;
                        reply?: boolean;
                        resolvedDate?: number;
                        resolver?: {
                            active?: boolean;
                            avatarUrl?: string;
                            displayName?: string;
                            emailAddress?: string;
                            id?: number;
                            links?: Record<string, unknown>;
                            name?: string;
                            slug?: string;
                            type?: "NORMAL" | "SERVICE";
                        };
                        severity?: string;
                        state?: string;
                        text?: string;
                        threadResolved?: boolean;
                        threadResolvedDate?: number;
                        threadResolver?: {
                            active?: boolean;
                            avatarUrl?: string;
                            displayName?: string;
                            emailAddress?: string;
                            id?: number;
                            links?: Record<string, unknown>;
                            name?: string;
                            slug?: string;
                            type?: "NORMAL" | "SERVICE";
                        };
                        updatedDate?: number;
                        version?: number;
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "409": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }

    Type declaration

    • Readonlyparameters: {
          cookie?: undefined;
          header?: undefined;
          path: {
              commentId: string;
              projectKey: string;
              pullRequestId: string;
              repositorySlug: string;
          };
          query?: undefined;
      }
      • Optional Readonlycookie?: undefined
      • Optional Readonlyheader?: undefined
      • Readonlypath: {
            commentId: string;
            projectKey: string;
            pullRequestId: string;
            repositorySlug: string;
        }
        • ReadonlycommentId: string

          The ID of the comment to retrieve.

        • ReadonlyprojectKey: string

          The project key.

        • ReadonlypullRequestId: string

          The pull request ID.

        • ReadonlyrepositorySlug: string

          The repository slug.

      • Optional Readonlyquery?: undefined
    • Optional ReadonlyrequestBody?: {
          content: {
              "application/json": {
                  anchor?: {
                      diffType?: "COMMIT" | "EFFECTIVE" | "RANGE";
                      fileType?: "FROM" | "TO";
                      fromHash?: string;
                      line?: number;
                      lineType?: "ADDED" | "CONTEXT" | "REMOVED";
                      multilineMarker?: {
                          startLine?: number;
                          startLineType: "ADDED" | "CONTEXT" | "REMOVED";
                      };
                      path?: {
                          components?: readonly (...)[];
                          extension?: string;
                          name?: string;
                          parent?: string;
                      };
                      pullRequest?: {
                          closed?: boolean;
                          closedDate?: number;
                          createdDate?: number;
                          description?: string;
                          descriptionAsHtml?: string;
                          draft?: boolean;
                          fromRef?: {
                              displayId?: ...;
                              id?: ...;
                              latestCommit?: ...;
                              repository?: ...;
                              type?: ...;
                          };
                          htmlDescription?: string;
                          id?: number;
                          links?: Record<(...), (...)>;
                          locked?: boolean;
                          open?: boolean;
                          participants?: readonly (...)[];
                          reviewers?: readonly (...)[];
                          state?: "DECLINED" | "MERGED" | "OPEN";
                          title?: string;
                          toRef?: {
                              displayId?: ...;
                              id?: ...;
                              latestCommit?: ...;
                              repository?: ...;
                              type?: ...;
                          };
                          updatedDate?: number;
                          version?: number;
                      };
                      srcPath?: {
                          components?: readonly (...)[];
                          extension?: string;
                          name?: string;
                          parent?: string;
                      };
                      toHash?: string;
                  };
                  anchored?: boolean;
                  author?: {
                      active?: boolean;
                      avatarUrl?: string;
                      displayName?: string;
                      emailAddress?: string;
                      id?: number;
                      links?: Record<string, unknown>;
                      name?: string;
                      slug?: string;
                      type?: "NORMAL" | "SERVICE";
                  };
                  comments?: readonly (
                      { readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineType?: "ADDED" | "CONTEXT" | "REMOVED"; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }
                  )[];
                  createdDate?: number;
                  html?: string;
                  id?: number;
                  parent?: {
                      anchor?: {
                          diffType?: "COMMIT"
                          | "EFFECTIVE"
                          | "RANGE";
                          fileType?: "FROM" | "TO";
                          fromHash?: string;
                          line?: number;
                          lineType?: "ADDED" | "CONTEXT" | "REMOVED";
                          multilineMarker?: { startLine?: ...; startLineType: ... };
                          path?: { components?: ...; extension?: ...; name?: ...; parent?: ... };
                          pullRequest?: {
                              closed?: ...;
                              closedDate?: ...;
                              createdDate?: ...;
                              description?: ...;
                              descriptionAsHtml?: ...;
                              draft?: ...;
                              fromRef?: ...;
                              htmlDescription?: ...;
                              id?: ...;
                              links?: ...;
                              locked?: ...;
                              open?: ...;
                              participants?: ...;
                              reviewers?: ...;
                              state?: ...;
                              title?: ...;
                              toRef?: ...;
                              updatedDate?: ...;
                              version?: ...;
                          };
                          srcPath?: {
                              components?: ...;
                              extension?: ...;
                              name?: ...;
                              parent?: ...;
                          };
                          toHash?: string;
                      };
                      anchored?: boolean;
                      author?: {
                          active?: boolean;
                          avatarUrl?: string;
                          displayName?: string;
                          emailAddress?: string;
                          id?: number;
                          links?: Record<(...), (...)>;
                          name?: string;
                          slug?: string;
                          type?: "NORMAL" | "SERVICE";
                      };
                      comments?: readonly (
                          { readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineType?: "ADDED" | "CONTEXT" | "REMOVED"; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }
                      )[];
                      createdDate?: number;
                      html?: string;
                      id?: number;
                      pending?: boolean;
                      properties?: Record<string, unknown>;
                      reply?: boolean;
                      resolvedDate?: number;
                      resolver?: {
                          active?: boolean;
                          avatarUrl?: string;
                          displayName?: string;
                          emailAddress?: string;
                          id?: number;
                          links?: Record<(...), (...)>;
                          name?: string;
                          slug?: string;
                          type?: "NORMAL" | "SERVICE";
                      };
                      severity?: string;
                      state?: string;
                      text?: string;
                      threadResolved?: boolean;
                      threadResolvedDate?: number;
                      threadResolver?: {
                          active?: boolean;
                          avatarUrl?: string;
                          displayName?: string;
                          emailAddress?: string;
                          id?: number;
                          links?: Record<(...), (...)>;
                          name?: string;
                          slug?: string;
                          type?: "NORMAL" | "SERVICE";
                      };
                      updatedDate?: number;
                      version?: number;
                  };
                  pending?: boolean;
                  properties?: Record<string, unknown>;
                  reply?: boolean;
                  resolvedDate?: number;
                  resolver?: {
                      active?: boolean;
                      avatarUrl?: string;
                      displayName?: string;
                      emailAddress?: string;
                      id?: number;
                      links?: Record<string, unknown>;
                      name?: string;
                      slug?: string;
                      type?: "NORMAL" | "SERVICE";
                  };
                  severity?: string;
                  state?: string;
                  text?: string;
                  threadResolved?: boolean;
                  threadResolvedDate?: number;
                  threadResolver?: {
                      active?: boolean;
                      avatarUrl?: string;
                      displayName?: string;
                      emailAddress?: string;
                      id?: number;
                      links?: Record<string, unknown>;
                      name?: string;
                      slug?: string;
                      type?: "NORMAL" | "SERVICE";
                  };
                  updatedDate?: number;
                  version?: number;
              };
          };
      }

      The updated comment

    • Readonlyresponses: {
          "200": {
              content: {
                  "application/json": {
                      anchor?: {
                          diffType?: "COMMIT" | "EFFECTIVE" | "RANGE";
                          fileType?: "FROM" | "TO";
                          fromHash?: string;
                          line?: number;
                          lineType?: "ADDED" | "CONTEXT" | "REMOVED";
                          multilineMarker?: {
                              startLine?: number;
                              startLineType: "ADDED" | "CONTEXT" | "REMOVED";
                          };
                          path?: {
                              components?: readonly (...)[];
                              extension?: string;
                              name?: string;
                              parent?: string;
                          };
                          pullRequest?: {
                              closed?: boolean;
                              closedDate?: number;
                              createdDate?: number;
                              description?: string;
                              descriptionAsHtml?: string;
                              draft?: boolean;
                              fromRef?: {
                                  displayId?: ...;
                                  id?: ...;
                                  latestCommit?: ...;
                                  repository?: ...;
                                  type?: ...;
                              };
                              htmlDescription?: string;
                              id?: number;
                              links?: Record<(...), (...)>;
                              locked?: boolean;
                              open?: boolean;
                              participants?: readonly (...)[];
                              reviewers?: readonly (...)[];
                              state?: "DECLINED" | "MERGED" | "OPEN";
                              title?: string;
                              toRef?: {
                                  displayId?: ...;
                                  id?: ...;
                                  latestCommit?: ...;
                                  repository?: ...;
                                  type?: ...;
                              };
                              updatedDate?: number;
                              version?: number;
                          };
                          srcPath?: {
                              components?: readonly (...)[];
                              extension?: string;
                              name?: string;
                              parent?: string;
                          };
                          toHash?: string;
                      };
                      anchored?: boolean;
                      author?: {
                          active?: boolean;
                          avatarUrl?: string;
                          displayName?: string;
                          emailAddress?: string;
                          id?: number;
                          links?: Record<string, unknown>;
                          name?: string;
                          slug?: string;
                          type?: "NORMAL" | "SERVICE";
                      };
                      comments?: readonly (
                          { readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineType?: "ADDED" | "CONTEXT" | "REMOVED"; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }
                      )[];
                      createdDate?: number;
                      html?: string;
                      id?: number;
                      parent?: {
                          anchor?: {
                              diffType?: "COMMIT"
                              | "EFFECTIVE"
                              | "RANGE";
                              fileType?: "FROM" | "TO";
                              fromHash?: string;
                              line?: number;
                              lineType?: "ADDED" | "CONTEXT" | "REMOVED";
                              multilineMarker?: { startLine?: ...; startLineType: ... };
                              path?: { components?: ...; extension?: ...; name?: ...; parent?: ... };
                              pullRequest?: {
                                  closed?: ...;
                                  closedDate?: ...;
                                  createdDate?: ...;
                                  description?: ...;
                                  descriptionAsHtml?: ...;
                                  draft?: ...;
                                  fromRef?: ...;
                                  htmlDescription?: ...;
                                  id?: ...;
                                  links?: ...;
                                  locked?: ...;
                                  open?: ...;
                                  participants?: ...;
                                  reviewers?: ...;
                                  state?: ...;
                                  title?: ...;
                                  toRef?: ...;
                                  updatedDate?: ...;
                                  version?: ...;
                              };
                              srcPath?: {
                                  components?: ...;
                                  extension?: ...;
                                  name?: ...;
                                  parent?: ...;
                              };
                              toHash?: string;
                          };
                          anchored?: boolean;
                          author?: {
                              active?: boolean;
                              avatarUrl?: string;
                              displayName?: string;
                              emailAddress?: string;
                              id?: number;
                              links?: Record<(...), (...)>;
                              name?: string;
                              slug?: string;
                              type?: "NORMAL" | "SERVICE";
                          };
                          comments?: readonly (
                              { readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineType?: "ADDED" | "CONTEXT" | "REMOVED"; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }
                          )[];
                          createdDate?: number;
                          html?: string;
                          id?: number;
                          pending?: boolean;
                          properties?: Record<string, unknown>;
                          reply?: boolean;
                          resolvedDate?: number;
                          resolver?: {
                              active?: boolean;
                              avatarUrl?: string;
                              displayName?: string;
                              emailAddress?: string;
                              id?: number;
                              links?: Record<(...), (...)>;
                              name?: string;
                              slug?: string;
                              type?: "NORMAL" | "SERVICE";
                          };
                          severity?: string;
                          state?: string;
                          text?: string;
                          threadResolved?: boolean;
                          threadResolvedDate?: number;
                          threadResolver?: {
                              active?: boolean;
                              avatarUrl?: string;
                              displayName?: string;
                              emailAddress?: string;
                              id?: number;
                              links?: Record<(...), (...)>;
                              name?: string;
                              slug?: string;
                              type?: "NORMAL" | "SERVICE";
                          };
                          updatedDate?: number;
                          version?: number;
                      };
                      pending?: boolean;
                      properties?: Record<string, unknown>;
                      reply?: boolean;
                      resolvedDate?: number;
                      resolver?: {
                          active?: boolean;
                          avatarUrl?: string;
                          displayName?: string;
                          emailAddress?: string;
                          id?: number;
                          links?: Record<string, unknown>;
                          name?: string;
                          slug?: string;
                          type?: "NORMAL" | "SERVICE";
                      };
                      severity?: string;
                      state?: string;
                      text?: string;
                      threadResolved?: boolean;
                      threadResolvedDate?: number;
                      threadResolver?: {
                          active?: boolean;
                          avatarUrl?: string;
                          displayName?: string;
                          emailAddress?: string;
                          id?: number;
                          links?: Record<string, unknown>;
                          name?: string;
                          slug?: string;
                          type?: "NORMAL" | "SERVICE";
                      };
                      updatedDate?: number;
                      version?: number;
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "400": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "401": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "404": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "409": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
      }
      • Readonly200: {
            content: {
                "application/json": {
                    anchor?: {
                        diffType?: "COMMIT" | "EFFECTIVE" | "RANGE";
                        fileType?: "FROM" | "TO";
                        fromHash?: string;
                        line?: number;
                        lineType?: "ADDED" | "CONTEXT" | "REMOVED";
                        multilineMarker?: {
                            startLine?: number;
                            startLineType: "ADDED" | "CONTEXT" | "REMOVED";
                        };
                        path?: {
                            components?: readonly (...)[];
                            extension?: string;
                            name?: string;
                            parent?: string;
                        };
                        pullRequest?: {
                            closed?: boolean;
                            closedDate?: number;
                            createdDate?: number;
                            description?: string;
                            descriptionAsHtml?: string;
                            draft?: boolean;
                            fromRef?: {
                                displayId?: ...;
                                id?: ...;
                                latestCommit?: ...;
                                repository?: ...;
                                type?: ...;
                            };
                            htmlDescription?: string;
                            id?: number;
                            links?: Record<(...), (...)>;
                            locked?: boolean;
                            open?: boolean;
                            participants?: readonly (...)[];
                            reviewers?: readonly (...)[];
                            state?: "DECLINED" | "MERGED" | "OPEN";
                            title?: string;
                            toRef?: {
                                displayId?: ...;
                                id?: ...;
                                latestCommit?: ...;
                                repository?: ...;
                                type?: ...;
                            };
                            updatedDate?: number;
                            version?: number;
                        };
                        srcPath?: {
                            components?: readonly (...)[];
                            extension?: string;
                            name?: string;
                            parent?: string;
                        };
                        toHash?: string;
                    };
                    anchored?: boolean;
                    author?: {
                        active?: boolean;
                        avatarUrl?: string;
                        displayName?: string;
                        emailAddress?: string;
                        id?: number;
                        links?: Record<string, unknown>;
                        name?: string;
                        slug?: string;
                        type?: "NORMAL" | "SERVICE";
                    };
                    comments?: readonly (
                        { readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineType?: "ADDED" | "CONTEXT" | "REMOVED"; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }
                    )[];
                    createdDate?: number;
                    html?: string;
                    id?: number;
                    parent?: {
                        anchor?: {
                            diffType?: "COMMIT"
                            | "EFFECTIVE"
                            | "RANGE";
                            fileType?: "FROM" | "TO";
                            fromHash?: string;
                            line?: number;
                            lineType?: "ADDED" | "CONTEXT" | "REMOVED";
                            multilineMarker?: { startLine?: ...; startLineType: ... };
                            path?: { components?: ...; extension?: ...; name?: ...; parent?: ... };
                            pullRequest?: {
                                closed?: ...;
                                closedDate?: ...;
                                createdDate?: ...;
                                description?: ...;
                                descriptionAsHtml?: ...;
                                draft?: ...;
                                fromRef?: ...;
                                htmlDescription?: ...;
                                id?: ...;
                                links?: ...;
                                locked?: ...;
                                open?: ...;
                                participants?: ...;
                                reviewers?: ...;
                                state?: ...;
                                title?: ...;
                                toRef?: ...;
                                updatedDate?: ...;
                                version?: ...;
                            };
                            srcPath?: {
                                components?: ...;
                                extension?: ...;
                                name?: ...;
                                parent?: ...;
                            };
                            toHash?: string;
                        };
                        anchored?: boolean;
                        author?: {
                            active?: boolean;
                            avatarUrl?: string;
                            displayName?: string;
                            emailAddress?: string;
                            id?: number;
                            links?: Record<(...), (...)>;
                            name?: string;
                            slug?: string;
                            type?: "NORMAL" | "SERVICE";
                        };
                        comments?: readonly (
                            { readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineType?: "ADDED" | "CONTEXT" | "REMOVED"; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }
                        )[];
                        createdDate?: number;
                        html?: string;
                        id?: number;
                        pending?: boolean;
                        properties?: Record<string, unknown>;
                        reply?: boolean;
                        resolvedDate?: number;
                        resolver?: {
                            active?: boolean;
                            avatarUrl?: string;
                            displayName?: string;
                            emailAddress?: string;
                            id?: number;
                            links?: Record<(...), (...)>;
                            name?: string;
                            slug?: string;
                            type?: "NORMAL" | "SERVICE";
                        };
                        severity?: string;
                        state?: string;
                        text?: string;
                        threadResolved?: boolean;
                        threadResolvedDate?: number;
                        threadResolver?: {
                            active?: boolean;
                            avatarUrl?: string;
                            displayName?: string;
                            emailAddress?: string;
                            id?: number;
                            links?: Record<(...), (...)>;
                            name?: string;
                            slug?: string;
                            type?: "NORMAL" | "SERVICE";
                        };
                        updatedDate?: number;
                        version?: number;
                    };
                    pending?: boolean;
                    properties?: Record<string, unknown>;
                    reply?: boolean;
                    resolvedDate?: number;
                    resolver?: {
                        active?: boolean;
                        avatarUrl?: string;
                        displayName?: string;
                        emailAddress?: string;
                        id?: number;
                        links?: Record<string, unknown>;
                        name?: string;
                        slug?: string;
                        type?: "NORMAL" | "SERVICE";
                    };
                    severity?: string;
                    state?: string;
                    text?: string;
                    threadResolved?: boolean;
                    threadResolvedDate?: number;
                    threadResolver?: {
                        active?: boolean;
                        avatarUrl?: string;
                        displayName?: string;
                        emailAddress?: string;
                        id?: number;
                        links?: Record<string, unknown>;
                        name?: string;
                        slug?: string;
                        type?: "NORMAL" | "SERVICE";
                    };
                    updatedDate?: number;
                    version?: number;
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The newly updated comment.

      • Readonly400: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The comment was not updated due to a validation error.

      • Readonly401: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The currently authenticated user has insufficient permissions to view the pull request, update a comment or watch the pull request.

      • Readonly404: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        Unable to find the supplied project, repository, pull request or comment.

      • Readonly409: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The comment version supplied does not match the current version or the repository is archived.

    updateDefaultTask: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string; taskId: string };
            query?: undefined;
        };
        requestBody: {
            content: {
                "application/json": {
                    description?: string;
                    sourceMatcher?: {
                        displayId?: string;
                        id?: string;
                        type?: {
                            id?: | "BRANCH"
                            | "ANY_REF"
                            | "MODEL_BRANCH"
                            | "MODEL_CATEGORY"
                            | "PATTERN";
                            name?: string;
                        };
                    };
                    targetMatcher?: {
                        displayId?: string;
                        id?: string;
                        type?: {
                            id?: | "BRANCH"
                            | "ANY_REF"
                            | "MODEL_BRANCH"
                            | "MODEL_CATEGORY"
                            | "PATTERN";
                            name?: string;
                        };
                    };
                };
            };
        };
        responses: {
            "200": {
                content: {
                    "application/json": {
                        description?: string;
                        html?: string;
                        id?: number;
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }

    Type declaration

    • Readonlyparameters: {
          cookie?: undefined;
          header?: undefined;
          path: { projectKey: string; taskId: string };
          query?: undefined;
      }
      • Optional Readonlycookie?: undefined
      • Optional Readonlyheader?: undefined
      • Readonlypath: { projectKey: string; taskId: string }
        • ReadonlyprojectKey: string

          The project key.

        • ReadonlytaskId: string

          The ID of the default task

      • Optional Readonlyquery?: undefined
    • ReadonlyrequestBody: {
          content: {
              "application/json": {
                  description?: string;
                  sourceMatcher?: {
                      displayId?: string;
                      id?: string;
                      type?: {
                          id?:
                              | "BRANCH"
                              | "ANY_REF"
                              | "MODEL_BRANCH"
                              | "MODEL_CATEGORY"
                              | "PATTERN";
                          name?: string;
                      };
                  };
                  targetMatcher?: {
                      displayId?: string;
                      id?: string;
                      type?: {
                          id?: | "BRANCH"
                          | "ANY_REF"
                          | "MODEL_BRANCH"
                          | "MODEL_CATEGORY"
                          | "PATTERN";
                          name?: string;
                      };
                  };
              };
          };
      }

      The task to be updated

    • Readonlyresponses: {
          "200": {
              content: {
                  "application/json": {
                      description?: string;
                      html?: string;
                      id?: number;
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "400": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "401": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "404": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
      }
      • Readonly200: {
            content: {
                "application/json": {
                    description?: string;
                    html?: string;
                    id?: number;
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The default task

      • Readonly400: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        One or more of the following error cases occurred (check the error message for more details):

        - the provided taskId does not exist- the description is empty- the sourceMatcher or targetMatcher is invalid
        
      • Readonly401: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The currently authenticated user has insufficient permissions to add a default task

      • Readonly404: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The specified project does not exist

    updateDefaultTask_1: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string; repositorySlug: string; taskId: string };
            query?: undefined;
        };
        requestBody: {
            content: {
                "application/json": {
                    description?: string;
                    sourceMatcher?: {
                        displayId?: string;
                        id?: string;
                        type?: {
                            id?: | "BRANCH"
                            | "ANY_REF"
                            | "MODEL_BRANCH"
                            | "MODEL_CATEGORY"
                            | "PATTERN";
                            name?: string;
                        };
                    };
                    targetMatcher?: {
                        displayId?: string;
                        id?: string;
                        type?: {
                            id?: | "BRANCH"
                            | "ANY_REF"
                            | "MODEL_BRANCH"
                            | "MODEL_CATEGORY"
                            | "PATTERN";
                            name?: string;
                        };
                    };
                };
            };
        };
        responses: {
            "200": {
                content: {
                    "application/json": {
                        description?: string;
                        html?: string;
                        id?: number;
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }

    Type declaration

    • Readonlyparameters: {
          cookie?: undefined;
          header?: undefined;
          path: { projectKey: string; repositorySlug: string; taskId: string };
          query?: undefined;
      }
      • Optional Readonlycookie?: undefined
      • Optional Readonlyheader?: undefined
      • Readonlypath: { projectKey: string; repositorySlug: string; taskId: string }
        • ReadonlyprojectKey: string

          The project key.

        • ReadonlyrepositorySlug: string

          The repository slug.

        • ReadonlytaskId: string

          The ID of the default task

      • Optional Readonlyquery?: undefined
    • ReadonlyrequestBody: {
          content: {
              "application/json": {
                  description?: string;
                  sourceMatcher?: {
                      displayId?: string;
                      id?: string;
                      type?: {
                          id?:
                              | "BRANCH"
                              | "ANY_REF"
                              | "MODEL_BRANCH"
                              | "MODEL_CATEGORY"
                              | "PATTERN";
                          name?: string;
                      };
                  };
                  targetMatcher?: {
                      displayId?: string;
                      id?: string;
                      type?: {
                          id?: | "BRANCH"
                          | "ANY_REF"
                          | "MODEL_BRANCH"
                          | "MODEL_CATEGORY"
                          | "PATTERN";
                          name?: string;
                      };
                  };
              };
          };
      }

      The task to be updated

    • Readonlyresponses: {
          "200": {
              content: {
                  "application/json": {
                      description?: string;
                      html?: string;
                      id?: number;
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "400": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "401": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "404": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
      }
      • Readonly200: {
            content: {
                "application/json": {
                    description?: string;
                    html?: string;
                    id?: number;
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The default task

      • Readonly400: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        One or more of the following error cases occurred (check the error message for more details):

        - the provided taskId does not exist- the description is empty- the sourceMatcher or targetMatcher is invalid
        
      • Readonly401: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The currently authenticated user has insufficient permissions to add a default task

      • Readonly404: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The specified repository does not exist

    updateGlobalSettings: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: undefined;
        };
        requestBody?: {
            content: {
                "application/json": {
                    keyTypeRestrictions?: readonly {
                        algorithm?: string;
                        allowed?: boolean;
                        minKeyLength?: {
                            asInt?: (...)
                            | (...);
                            present?: (...) | (...) | (...);
                        };
                    }[];
                    maxExpiryDays?: { asInt?: number; present?: boolean };
                };
            };
        };
        responses: {
            "204": {
                content?: undefined;
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }

    Type declaration

    • Readonlyparameters: { cookie?: undefined; header?: undefined; path?: undefined; query?: undefined }
    • Optional ReadonlyrequestBody?: {
          content: {
              "application/json": {
                  keyTypeRestrictions?: readonly {
                      algorithm?: string;
                      allowed?: boolean;
                      minKeyLength?: {
                          asInt?: (...) | (...);
                          present?: (...) | (...) | (...);
                      };
                  }[];
                  maxExpiryDays?: { asInt?: number; present?: boolean };
              };
          };
      }

      A request containing expiry length to be set for SSH keys and a list of SSH key type restrictions.

    • Readonlyresponses: {
          "204": {
              content?: undefined;
              headers: Readonly<Record<string, unknown>>;
          };
          "400": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "401": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
      }
      • Readonly204: { content?: undefined; headers: Readonly<Record<string, unknown>> }

        The ssh key global settings were updated.

      • Readonly400: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The request was invalid, which may be due to:

        - attempted to set expiry to less than 1 day
        - attempted to set expiry using partial days
        - attempted to set a restriction on a key type which was invalid
        
        
        The exact reason for the error will be provided in the error message.
        
      • Readonly401: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The currently authenticated user has insufficient permissions to update these settings.

    updateHookScript: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { scriptId: string };
            query?: undefined;
        };
        requestBody?: {
            content: {
                "*/*": { content?: string; description?: string; name?: string };
            };
        };
        responses: {
            "200": {
                content: {
                    "application/json": {
                        createdDate?: string;
                        description?: string;
                        id?: number;
                        name?: string;
                        pluginKey?: string;
                        type?: "POST"
                        | "PRE";
                        updatedDate?: string;
                        version?: number;
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "409": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "422": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }

    Type declaration

    • Readonlyparameters: {
          cookie?: undefined;
          header?: undefined;
          path: { scriptId: string };
          query?: undefined;
      }
      • Optional Readonlycookie?: undefined
      • Optional Readonlyheader?: undefined
      • Readonlypath: { scriptId: string }
        • ReadonlyscriptId: string

          The ID of the hook script

      • Optional Readonlyquery?: undefined
    • Optional ReadonlyrequestBody?: {
          content: {
              "*/*": { content?: string; description?: string; name?: string };
          };
      }

      The multipart form data containing the hook script

    • Readonlyresponses: {
          "200": {
              content: {
                  "application/json": {
                      createdDate?: string;
                      description?: string;
                      id?: number;
                      name?: string;
                      pluginKey?: string;
                      type?: "POST" | "PRE";
                      updatedDate?: string;
                      version?: number;
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "401": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "404": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "409": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "422": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
      }
      • Readonly200: {
            content: {
                "application/json": {
                    createdDate?: string;
                    description?: string;
                    id?: number;
                    name?: string;
                    pluginKey?: string;
                    type?: "POST" | "PRE";
                    updatedDate?: string;
                    version?: number;
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The updated hook script.

      • Readonly401: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The currently authenticated user has insufficient permissions.

      • Readonly404: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The hook script ID supplied does not exist.

      • Readonly409: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        A hook script with the same name already exists.

      • Readonly422: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        One or more fields to update must be specified: content, description and/or name.

    updateLicense: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: undefined;
        };
        requestBody?: {
            content: {
                "application/json": {
                    creationDate?: number;
                    daysBeforeExpiry?: number;
                    expiryDate?: number;
                    gracePeriodEndDate?: number;
                    license?: string;
                    maintenanceExpiryDate?: number;
                    maximumNumberOfUsers?: number;
                    numberOfDaysBeforeExpiry?: number;
                    numberOfDaysBeforeGracePeriodExpiry?: number;
                    numberOfDaysBeforeMaintenanceExpiry?: number;
                    purchaseDate?: number;
                    serverId?: string;
                    status?: { currentNumberOfUsers?: number; serverId?: string };
                    supportEntitlementNumber?: string;
                    unlimitedNumberOfUsers?: boolean;
                };
            };
        };
        responses: {
            "200": {
                content: {
                    "application/json": {
                        creationDate?: number;
                        daysBeforeExpiry?: number;
                        expiryDate?: number;
                        gracePeriodEndDate?: number;
                        license?: string;
                        maintenanceExpiryDate?: number;
                        maximumNumberOfUsers?: number;
                        numberOfDaysBeforeExpiry?: number;
                        numberOfDaysBeforeGracePeriodExpiry?: number;
                        numberOfDaysBeforeMaintenanceExpiry?: number;
                        purchaseDate?: number;
                        serverId?: string;
                        status?: { currentNumberOfUsers?: number; serverId?: string };
                        supportEntitlementNumber?: string;
                        unlimitedNumberOfUsers?: boolean;
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "409": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }

    Type declaration

    • Readonlyparameters: { cookie?: undefined; header?: undefined; path?: undefined; query?: undefined }
    • Optional ReadonlyrequestBody?: {
          content: {
              "application/json": {
                  creationDate?: number;
                  daysBeforeExpiry?: number;
                  expiryDate?: number;
                  gracePeriodEndDate?: number;
                  license?: string;
                  maintenanceExpiryDate?: number;
                  maximumNumberOfUsers?: number;
                  numberOfDaysBeforeExpiry?: number;
                  numberOfDaysBeforeGracePeriodExpiry?: number;
                  numberOfDaysBeforeMaintenanceExpiry?: number;
                  purchaseDate?: number;
                  serverId?: string;
                  status?: { currentNumberOfUsers?: number; serverId?: string };
                  supportEntitlementNumber?: string;
                  unlimitedNumberOfUsers?: boolean;
              };
          };
      }

      a JSON payload containing the encoded license to apply

    • Readonlyresponses: {
          "200": {
              content: {
                  "application/json": {
                      creationDate?: number;
                      daysBeforeExpiry?: number;
                      expiryDate?: number;
                      gracePeriodEndDate?: number;
                      license?: string;
                      maintenanceExpiryDate?: number;
                      maximumNumberOfUsers?: number;
                      numberOfDaysBeforeExpiry?: number;
                      numberOfDaysBeforeGracePeriodExpiry?: number;
                      numberOfDaysBeforeMaintenanceExpiry?: number;
                      purchaseDate?: number;
                      serverId?: string;
                      status?: { currentNumberOfUsers?: number; serverId?: string };
                      supportEntitlementNumber?: string;
                      unlimitedNumberOfUsers?: boolean;
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "400": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "401": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "409": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
      }
      • Readonly200: {
            content: {
                "application/json": {
                    creationDate?: number;
                    daysBeforeExpiry?: number;
                    expiryDate?: number;
                    gracePeriodEndDate?: number;
                    license?: string;
                    maintenanceExpiryDate?: number;
                    maximumNumberOfUsers?: number;
                    numberOfDaysBeforeExpiry?: number;
                    numberOfDaysBeforeGracePeriodExpiry?: number;
                    numberOfDaysBeforeMaintenanceExpiry?: number;
                    purchaseDate?: number;
                    serverId?: string;
                    status?: { currentNumberOfUsers?: number; serverId?: string };
                    supportEntitlementNumber?: string;
                    unlimitedNumberOfUsers?: boolean;
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The newly-installed license.

      • Readonly400: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        No encoded license was provided in the JSON body for the POST.

      • Readonly401: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The currently authenticated user has insufficient permissions to update the license.

      • Readonly409: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The encoded license could not be decoded, or it is not valid for use on this server. Some possible reasons a license may not be applied include: it may be for a different product, it may have already expired, or this Bitbucket version doesn't support Server licenses.

    updateMeshNode: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { id: string };
            query?: undefined;
        };
        requestBody?: {
            content: {
                "application/json": {
                    id?: string;
                    lastSeenDate?: number;
                    name?: string;
                    offline?: boolean;
                    rpcId?: string;
                    rpcUrl?: string;
                    state?: "AVAILABLE"
                    | "OFFLINE"
                    | "DELETING"
                    | "DISABLED"
                    | "DRAINING";
                };
            };
        };
        responses: {
            "200": {
                content: {
                    "application/json": {
                        id?: string;
                        lastSeenDate?: number;
                        name?: string;
                        offline?: boolean;
                        rpcId?: string;
                        rpcUrl?: string;
                        state?: "AVAILABLE"
                        | "OFFLINE"
                        | "DELETING"
                        | "DISABLED"
                        | "DRAINING";
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }

    Type declaration

    • Readonlyparameters: {
          cookie?: undefined;
          header?: undefined;
          path: { id: string };
          query?: undefined;
      }
      • Optional Readonlycookie?: undefined
      • Optional Readonlyheader?: undefined
      • Readonlypath: { id: string }
        • Readonlyid: string

          The ID of the Mesh node to update.

      • Optional Readonlyquery?: undefined
    • Optional ReadonlyrequestBody?: {
          content: {
              "application/json": {
                  id?: string;
                  lastSeenDate?: number;
                  name?: string;
                  offline?: boolean;
                  rpcId?: string;
                  rpcUrl?: string;
                  state?: "AVAILABLE" | "OFFLINE" | "DELETING" | "DISABLED" | "DRAINING";
              };
          };
      }

      The request specifying the updated Mesh node.

    • Readonlyresponses: {
          "200": {
              content: {
                  "application/json": {
                      id?: string;
                      lastSeenDate?: number;
                      name?: string;
                      offline?: boolean;
                      rpcId?: string;
                      rpcUrl?: string;
                      state?: "AVAILABLE" | "OFFLINE" | "DELETING" | "DISABLED" | "DRAINING";
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "400": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "401": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
      }
      • Readonly200: {
            content: {
                "application/json": {
                    id?: string;
                    lastSeenDate?: number;
                    name?: string;
                    offline?: boolean;
                    rpcId?: string;
                    rpcUrl?: string;
                    state?: "AVAILABLE" | "OFFLINE" | "DELETING" | "DISABLED" | "DRAINING";
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The updated Mesh node.

      • Readonly400: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The request was malformed.

      • Readonly401: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The currently authenticated user has insufficient permissions to call this resource.

    updatePermission: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { keyId: string; permission: string; projectKey: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        key?: {
                            algorithmType?: string;
                            bitLength?: number;
                            createdDate?: string;
                            expiryDays?: number;
                            fingerprint?: string;
                            id?: number;
                            label?: string;
                            lastAuthenticated?: string;
                            text?: string;
                        };
                        permission?: | "ADMIN"
                        | "LICENSED_USER"
                        | "PROJECT_ADMIN"
                        | "PROJECT_CREATE"
                        | "PROJECT_READ"
                        | "PROJECT_VIEW"
                        | "PROJECT_WRITE"
                        | "REPO_ADMIN"
                        | "REPO_CREATE"
                        | "REPO_READ"
                        | "REPO_WRITE"
                        | "SYS_ADMIN"
                        | "USER_ADMIN";
                        project?: {
                            avatar?: string;
                            avatarUrl?: string;
                            description?: string;
                            id?: number;
                            key: string;
                            links?: Record<string, unknown>;
                            name?: string;
                            public?: boolean;
                            scope?: string;
                            type?: "NORMAL" | "PERSONAL";
                        };
                        repository?: {
                            archived?: boolean;
                            defaultBranch?: string;
                            description?: string;
                            forkable?: boolean;
                            hierarchyId?: string;
                            id?: number;
                            links?: Record<string, unknown>;
                            name?: string;
                            origin?: {
                                archived?: boolean;
                                defaultBranch?: string;
                                description?: string;
                                forkable?: boolean;
                                hierarchyId?: string;
                                id?: number;
                                links?: Record<(...), (...)>;
                                name?: string;
                                partition?: number;
                                project?: {
                                    avatar?: ...;
                                    avatarUrl?: ...;
                                    description?: ...;
                                    id?: ...;
                                    key: ...;
                                    links?: ...;
                                    name?: ...;
                                    public?: ...;
                                    scope?: ...;
                                    type?: ...;
                                };
                                public?: boolean;
                                relatedLinks?: Record<(...), (...)>;
                                scmId?: string;
                                scope?: string;
                                slug?: string;
                                state?:
                                    | "AVAILABLE"
                                    | "INITIALISATION_FAILED"
                                    | "INITIALISING"
                                    | "OFFLINE";
                                statusMessage?: string;
                            };
                            partition?: number;
                            project?: {
                                avatar?: string;
                                avatarUrl?: string;
                                description?: string;
                                id?: number;
                                key: string;
                                links?: Record<(...), (...)>;
                                name?: string;
                                public?: boolean;
                                scope?: string;
                                type?: "NORMAL" | "PERSONAL";
                            };
                            public?: boolean;
                            relatedLinks?: Record<string, unknown>;
                            scmId?: string;
                            scope?: string;
                            slug?: string;
                            state?:
                                | "AVAILABLE"
                                | "INITIALISATION_FAILED"
                                | "INITIALISING"
                                | "OFFLINE";
                            statusMessage?: string;
                        };
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    updatePermission_1: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: {
                keyId: string;
                permission: string;
                projectKey: string;
                repositorySlug: string;
            };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        key?: {
                            algorithmType?: string;
                            bitLength?: number;
                            createdDate?: string;
                            expiryDays?: number;
                            fingerprint?: string;
                            id?: number;
                            label?: string;
                            lastAuthenticated?: string;
                            text?: string;
                        };
                        permission?: | "ADMIN"
                        | "LICENSED_USER"
                        | "PROJECT_ADMIN"
                        | "PROJECT_CREATE"
                        | "PROJECT_READ"
                        | "PROJECT_VIEW"
                        | "PROJECT_WRITE"
                        | "REPO_ADMIN"
                        | "REPO_CREATE"
                        | "REPO_READ"
                        | "REPO_WRITE"
                        | "SYS_ADMIN"
                        | "USER_ADMIN";
                        project?: {
                            avatar?: string;
                            avatarUrl?: string;
                            description?: string;
                            id?: number;
                            key: string;
                            links?: Record<string, unknown>;
                            name?: string;
                            public?: boolean;
                            scope?: string;
                            type?: "NORMAL" | "PERSONAL";
                        };
                        repository?: {
                            archived?: boolean;
                            defaultBranch?: string;
                            description?: string;
                            forkable?: boolean;
                            hierarchyId?: string;
                            id?: number;
                            links?: Record<string, unknown>;
                            name?: string;
                            origin?: {
                                archived?: boolean;
                                defaultBranch?: string;
                                description?: string;
                                forkable?: boolean;
                                hierarchyId?: string;
                                id?: number;
                                links?: Record<(...), (...)>;
                                name?: string;
                                partition?: number;
                                project?: {
                                    avatar?: ...;
                                    avatarUrl?: ...;
                                    description?: ...;
                                    id?: ...;
                                    key: ...;
                                    links?: ...;
                                    name?: ...;
                                    public?: ...;
                                    scope?: ...;
                                    type?: ...;
                                };
                                public?: boolean;
                                relatedLinks?: Record<(...), (...)>;
                                scmId?: string;
                                scope?: string;
                                slug?: string;
                                state?:
                                    | "AVAILABLE"
                                    | "INITIALISATION_FAILED"
                                    | "INITIALISING"
                                    | "OFFLINE";
                                statusMessage?: string;
                            };
                            partition?: number;
                            project?: {
                                avatar?: string;
                                avatarUrl?: string;
                                description?: string;
                                id?: number;
                                key: string;
                                links?: Record<(...), (...)>;
                                name?: string;
                                public?: boolean;
                                scope?: string;
                                type?: "NORMAL" | "PERSONAL";
                            };
                            public?: boolean;
                            relatedLinks?: Record<string, unknown>;
                            scmId?: string;
                            scope?: string;
                            slug?: string;
                            state?:
                                | "AVAILABLE"
                                | "INITIALISATION_FAILED"
                                | "INITIALISING"
                                | "OFFLINE";
                            statusMessage?: string;
                        };
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    updateProject: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string };
            query?: undefined;
        };
        requestBody?: {
            content: {
                "application/json": {
                    avatar?: string;
                    avatarUrl?: string;
                    description?: string;
                    id?: number;
                    key?: string;
                    links?: Record<string, unknown>;
                    name?: string;
                    public?: boolean;
                    scope?: string;
                    type?: "NORMAL" | "PERSONAL";
                };
            };
        };
        responses: {
            "200": {
                content: {
                    "application/json": {
                        avatar?: string;
                        avatarUrl?: string;
                        description?: string;
                        id?: number;
                        key?: string;
                        links?: Record<string, unknown>;
                        name?: string;
                        public?: boolean;
                        scope?: string;
                        type?: "NORMAL" | "PERSONAL";
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "201": {
                content: {
                    "application/json": {
                        avatar?: string;
                        avatarUrl?: string;
                        description?: string;
                        id?: number;
                        key?: string;
                        links?: Record<string, unknown>;
                        name?: string;
                        public?: boolean;
                        scope?: string;
                        type?: "NORMAL" | "PERSONAL";
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }

    Type declaration

    • Readonlyparameters: {
          cookie?: undefined;
          header?: undefined;
          path: { projectKey: string };
          query?: undefined;
      }
      • Optional Readonlycookie?: undefined
      • Optional Readonlyheader?: undefined
      • Readonlypath: { projectKey: string }
        • ReadonlyprojectKey: string

          The project key.

      • Optional Readonlyquery?: undefined
    • Optional ReadonlyrequestBody?: {
          content: {
              "application/json": {
                  avatar?: string;
                  avatarUrl?: string;
                  description?: string;
                  id?: number;
                  key?: string;
                  links?: Record<string, unknown>;
                  name?: string;
                  public?: boolean;
                  scope?: string;
                  type?: "NORMAL" | "PERSONAL";
              };
          };
      }

      Project parameters to update.

    • Readonlyresponses: {
          "200": {
              content: {
                  "application/json": {
                      avatar?: string;
                      avatarUrl?: string;
                      description?: string;
                      id?: number;
                      key?: string;
                      links?: Record<string, unknown>;
                      name?: string;
                      public?: boolean;
                      scope?: string;
                      type?: "NORMAL" | "PERSONAL";
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "201": {
              content: {
                  "application/json": {
                      avatar?: string;
                      avatarUrl?: string;
                      description?: string;
                      id?: number;
                      key?: string;
                      links?: Record<string, unknown>;
                      name?: string;
                      public?: boolean;
                      scope?: string;
                      type?: "NORMAL" | "PERSONAL";
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "400": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "401": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "404": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
      }
      • Readonly200: {
            content: {
                "application/json": {
                    avatar?: string;
                    avatarUrl?: string;
                    description?: string;
                    id?: number;
                    key?: string;
                    links?: Record<string, unknown>;
                    name?: string;
                    public?: boolean;
                    scope?: string;
                    type?: "NORMAL" | "PERSONAL";
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The updated project. The project's key was not updated.

      • Readonly201: {
            content: {
                "application/json": {
                    avatar?: string;
                    avatarUrl?: string;
                    description?: string;
                    id?: number;
                    key?: string;
                    links?: Record<string, unknown>;
                    name?: string;
                    public?: boolean;
                    scope?: string;
                    type?: "NORMAL" | "PERSONAL";
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The updated project. The project's key was updated.

      • Readonly400: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The project was not updated due to a validation error.

      • Readonly401: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The currently authenticated user has insufficient permissions to update the project.

      • Readonly404: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The specified project does not exist.

    updatePullRequestCondition: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { id: string; projectKey: string };
            query?: undefined;
        };
        requestBody?: {
            content: {
                "application/json": {
                    requiredApprovals?: number;
                    reviewers?: readonly {
                        active?: boolean;
                        avatarUrl?: string;
                        displayName?: string;
                        emailAddress?: string;
                        id?: number;
                        links?: Record<string, unknown>;
                        name?: string;
                        slug?: string;
                        type?: "NORMAL" | "SERVICE";
                    }[];
                    sourceMatcher?: {
                        displayId?: string;
                        id?: string;
                        type?: {
                            id?: | "BRANCH"
                            | "ANY_REF"
                            | "MODEL_BRANCH"
                            | "MODEL_CATEGORY"
                            | "PATTERN";
                            name?: string;
                        };
                    };
                    targetMatcher?: {
                        displayId?: string;
                        id?: string;
                        type?: {
                            id?: | "BRANCH"
                            | "ANY_REF"
                            | "MODEL_BRANCH"
                            | "MODEL_CATEGORY"
                            | "PATTERN";
                            name?: string;
                        };
                    };
                };
            };
        };
        responses: {
            "200": {
                content: {
                    "application/json": {
                        id?: number;
                        requiredApprovals?: number;
                        reviewers?: readonly {
                            active?: boolean;
                            avatarUrl?: string;
                            displayName?: string;
                            emailAddress?: string;
                            id?: number;
                            links?: Record<string, unknown>;
                            name?: string;
                            slug?: string;
                            type?: "NORMAL" | "SERVICE";
                        }[];
                        scope?: {
                            resourceId?: number;
                            type?: "GLOBAL"
                            | "PROJECT"
                            | "REPOSITORY";
                        };
                        sourceRefMatcher?: {
                            displayId?: string;
                            id?: string;
                            type?: {
                                id?: | "BRANCH"
                                | "ANY_REF"
                                | "MODEL_BRANCH"
                                | "MODEL_CATEGORY"
                                | "PATTERN";
                                name?: string;
                            };
                        };
                        targetRefMatcher?: {
                            displayId?: string;
                            id?: string;
                            type?: {
                                id?: | "BRANCH"
                                | "ANY_REF"
                                | "MODEL_BRANCH"
                                | "MODEL_CATEGORY"
                                | "PATTERN";
                                name?: string;
                            };
                        };
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }

    Type declaration

    • Readonlyparameters: {
          cookie?: undefined;
          header?: undefined;
          path: { id: string; projectKey: string };
          query?: undefined;
      }
      • Optional Readonlycookie?: undefined
      • Optional Readonlyheader?: undefined
      • Readonlypath: { id: string; projectKey: string }
        • Readonlyid: string

          The ID of the pull request condition.

        • ReadonlyprojectKey: string

          The project key.

      • Optional Readonlyquery?: undefined
    • Optional ReadonlyrequestBody?: {
          content: {
              "application/json": {
                  requiredApprovals?: number;
                  reviewers?: readonly {
                      active?: boolean;
                      avatarUrl?: string;
                      displayName?: string;
                      emailAddress?: string;
                      id?: number;
                      links?: Record<string, unknown>;
                      name?: string;
                      slug?: string;
                      type?: "NORMAL" | "SERVICE";
                  }[];
                  sourceMatcher?: {
                      displayId?: string;
                      id?: string;
                      type?: {
                          id?: | "BRANCH"
                          | "ANY_REF"
                          | "MODEL_BRANCH"
                          | "MODEL_CATEGORY"
                          | "PATTERN";
                          name?: string;
                      };
                  };
                  targetMatcher?: {
                      displayId?: string;
                      id?: string;
                      type?: {
                          id?: | "BRANCH"
                          | "ANY_REF"
                          | "MODEL_BRANCH"
                          | "MODEL_CATEGORY"
                          | "PATTERN";
                          name?: string;
                      };
                  };
              };
          };
      }

      The new details for the default reviewer pull request condition.

    • Readonlyresponses: {
          "200": {
              content: {
                  "application/json": {
                      id?: number;
                      requiredApprovals?: number;
                      reviewers?: readonly {
                          active?: boolean;
                          avatarUrl?: string;
                          displayName?: string;
                          emailAddress?: string;
                          id?: number;
                          links?: Record<string, unknown>;
                          name?: string;
                          slug?: string;
                          type?: "NORMAL" | "SERVICE";
                      }[];
                      scope?: {
                          resourceId?: number;
                          type?: "GLOBAL"
                          | "PROJECT"
                          | "REPOSITORY";
                      };
                      sourceRefMatcher?: {
                          displayId?: string;
                          id?: string;
                          type?: {
                              id?: | "BRANCH"
                              | "ANY_REF"
                              | "MODEL_BRANCH"
                              | "MODEL_CATEGORY"
                              | "PATTERN";
                              name?: string;
                          };
                      };
                      targetRefMatcher?: {
                          displayId?: string;
                          id?: string;
                          type?: {
                              id?: | "BRANCH"
                              | "ANY_REF"
                              | "MODEL_BRANCH"
                              | "MODEL_CATEGORY"
                              | "PATTERN";
                              name?: string;
                          };
                      };
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "400": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
      }
      • Readonly200: {
            content: {
                "application/json": {
                    id?: number;
                    requiredApprovals?: number;
                    reviewers?: readonly {
                        active?: boolean;
                        avatarUrl?: string;
                        displayName?: string;
                        emailAddress?: string;
                        id?: number;
                        links?: Record<string, unknown>;
                        name?: string;
                        slug?: string;
                        type?: "NORMAL" | "SERVICE";
                    }[];
                    scope?: {
                        resourceId?: number;
                        type?: "GLOBAL"
                        | "PROJECT"
                        | "REPOSITORY";
                    };
                    sourceRefMatcher?: {
                        displayId?: string;
                        id?: string;
                        type?: {
                            id?: | "BRANCH"
                            | "ANY_REF"
                            | "MODEL_BRANCH"
                            | "MODEL_CATEGORY"
                            | "PATTERN";
                            name?: string;
                        };
                    };
                    targetRefMatcher?: {
                        displayId?: string;
                        id?: string;
                        type?: {
                            id?: | "BRANCH"
                            | "ANY_REF"
                            | "MODEL_BRANCH"
                            | "MODEL_CATEGORY"
                            | "PATTERN";
                            name?: string;
                        };
                    };
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The updated default reviewer pull request condition.

      • Readonly400: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The request was malformed

    updatePullRequestCondition_1: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { id: string; projectKey: string; repositorySlug: string };
            query?: undefined;
        };
        requestBody?: {
            content: {
                "application/json": {
                    requiredApprovals?: number;
                    reviewers?: readonly {
                        active?: boolean;
                        avatarUrl?: string;
                        displayName?: string;
                        emailAddress?: string;
                        id?: number;
                        links?: Record<string, unknown>;
                        name?: string;
                        slug?: string;
                        type?: "NORMAL" | "SERVICE";
                    }[];
                    sourceMatcher?: {
                        displayId?: string;
                        id?: string;
                        type?: {
                            id?: | "BRANCH"
                            | "ANY_REF"
                            | "MODEL_BRANCH"
                            | "MODEL_CATEGORY"
                            | "PATTERN";
                            name?: string;
                        };
                    };
                    targetMatcher?: {
                        displayId?: string;
                        id?: string;
                        type?: {
                            id?: | "BRANCH"
                            | "ANY_REF"
                            | "MODEL_BRANCH"
                            | "MODEL_CATEGORY"
                            | "PATTERN";
                            name?: string;
                        };
                    };
                };
            };
        };
        responses: {
            "200": {
                content: {
                    "application/json": {
                        id?: number;
                        requiredApprovals?: number;
                        reviewers?: readonly {
                            active?: boolean;
                            avatarUrl?: string;
                            displayName?: string;
                            emailAddress?: string;
                            id?: number;
                            links?: Record<string, unknown>;
                            name?: string;
                            slug?: string;
                            type?: "NORMAL" | "SERVICE";
                        }[];
                        scope?: {
                            resourceId?: number;
                            type?: "GLOBAL"
                            | "PROJECT"
                            | "REPOSITORY";
                        };
                        sourceRefMatcher?: {
                            displayId?: string;
                            id?: string;
                            type?: {
                                id?: | "BRANCH"
                                | "ANY_REF"
                                | "MODEL_BRANCH"
                                | "MODEL_CATEGORY"
                                | "PATTERN";
                                name?: string;
                            };
                        };
                        targetRefMatcher?: {
                            displayId?: string;
                            id?: string;
                            type?: {
                                id?: | "BRANCH"
                                | "ANY_REF"
                                | "MODEL_BRANCH"
                                | "MODEL_CATEGORY"
                                | "PATTERN";
                                name?: string;
                            };
                        };
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    updatePullRequestSettings: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string; scmId: string };
            query?: undefined;
        };
        requestBody?: {
            content: {
                "application/json": {
                    mergeConfig?: {
                        commitMessageTemplate?: { body?: string; title?: string };
                        commitSummaries?: number;
                        defaultStrategy?: {
                            description?: string;
                            enabled?: boolean;
                            flag?: string;
                            id?: string;
                            links?: Record<(...), (...)>;
                            name?: string;
                        };
                        strategies?: readonly {
                            description?: (...)
                            | (...);
                            enabled?: (...) | (...) | (...);
                            flag?: (...) | (...);
                            id?: (...) | (...);
                            links?: (...) | (...);
                            name?: (...) | (...);
                        }[];
                        type?: string;
                    };
                };
            };
        };
        responses: {
            "200": {
                content: {
                    "application/json": {
                        mergeConfig?: {
                            commitMessageTemplate?: { body?: string; title?: string };
                            commitSummaries?: number;
                            defaultStrategy?: {
                                description?: string;
                                enabled?: boolean;
                                flag?: string;
                                id?: string;
                                links?: Record<(...), (...)>;
                                name?: string;
                            };
                            strategies?: readonly {
                                description?: (...)
                                | (...);
                                enabled?: (...) | (...) | (...);
                                flag?: (...) | (...);
                                id?: (...) | (...);
                                links?: (...) | (...);
                                name?: (...) | (...);
                            }[];
                            type?: string;
                        };
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }

    Type declaration

    • Readonlyparameters: {
          cookie?: undefined;
          header?: undefined;
          path: { projectKey: string; scmId: string };
          query?: undefined;
      }
      • Optional Readonlycookie?: undefined
      • Optional Readonlyheader?: undefined
      • Readonlypath: { projectKey: string; scmId: string }
        • ReadonlyprojectKey: string

          The project key.

        • ReadonlyscmId: string

          The SCM to get strategies for.

      • Optional Readonlyquery?: undefined
    • Optional ReadonlyrequestBody?: {
          content: {
              "application/json": {
                  mergeConfig?: {
                      commitMessageTemplate?: { body?: string; title?: string };
                      commitSummaries?: number;
                      defaultStrategy?: {
                          description?: string;
                          enabled?: boolean;
                          flag?: string;
                          id?: string;
                          links?: Record<(...), (...)>;
                          name?: string;
                      };
                      strategies?: readonly {
                          description?: (...)
                          | (...);
                          enabled?: (...) | (...) | (...);
                          flag?: (...) | (...);
                          id?: (...) | (...);
                          links?: (...) | (...);
                          name?: (...) | (...);
                      }[];
                      type?: string;
                  };
              };
          };
      }

      The settings.

    • Readonlyresponses: {
          "200": {
              content: {
                  "application/json": {
                      mergeConfig?: {
                          commitMessageTemplate?: { body?: string; title?: string };
                          commitSummaries?: number;
                          defaultStrategy?: {
                              description?: string;
                              enabled?: boolean;
                              flag?: string;
                              id?: string;
                              links?: Record<(...), (...)>;
                              name?: string;
                          };
                          strategies?: readonly {
                              description?: (...)
                              | (...);
                              enabled?: (...) | (...) | (...);
                              flag?: (...) | (...);
                              id?: (...) | (...);
                              links?: (...) | (...);
                              name?: (...) | (...);
                          }[];
                          type?: string;
                      };
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "400": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "401": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "404": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
      }
      • Readonly200: {
            content: {
                "application/json": {
                    mergeConfig?: {
                        commitMessageTemplate?: { body?: string; title?: string };
                        commitSummaries?: number;
                        defaultStrategy?: {
                            description?: string;
                            enabled?: boolean;
                            flag?: string;
                            id?: string;
                            links?: Record<(...), (...)>;
                            name?: string;
                        };
                        strategies?: readonly {
                            description?: (...)
                            | (...);
                            enabled?: (...) | (...) | (...);
                            flag?: (...) | (...);
                            id?: (...) | (...);
                            links?: (...) | (...);
                            name?: (...) | (...);
                        }[];
                        type?: string;
                    };
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The merge configuration of the request project.

      • Readonly400: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The repository pull request merge strategies were not updated due to a validation error.

      • Readonly401: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The currently authenticated user has insufficient permissions to administrate the specified repository.

      • Readonly404: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The specified repository does not exist.

    updatePullRequestSettings_1: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string; repositorySlug: string };
            query?: undefined;
        };
        requestBody?: {
            content: {
                "application/json": {
                    mergeConfig?: {
                        commitMessageTemplate?: { body?: string; title?: string };
                        commitSummaries?: number;
                        defaultStrategy?: {
                            description?: string;
                            enabled?: boolean;
                            flag?: string;
                            id?: string;
                            links?: Record<(...), (...)>;
                            name?: string;
                        };
                        strategies?: readonly {
                            description?: (...)
                            | (...);
                            enabled?: (...) | (...) | (...);
                            flag?: (...) | (...);
                            id?: (...) | (...);
                            links?: (...) | (...);
                            name?: (...) | (...);
                        }[];
                        type?: string;
                    };
                    requiredAllApprovers?: boolean;
                    requiredAllTasksComplete?: boolean;
                    requiredApprovers?: { count?: string; enabled?: boolean };
                    requiredApproversDeprecated?: number;
                    requiredSuccessfulBuilds?: { count?: string; enabled?: boolean };
                    requiredSuccessfulBuildsDeprecated?: number;
                };
            };
        };
        responses: {
            "200": {
                content: {
                    "application/json": {
                        mergeConfig?: {
                            commitMessageTemplate?: { body?: string; title?: string };
                            commitSummaries?: number;
                            defaultStrategy?: {
                                description?: string;
                                enabled?: boolean;
                                flag?: string;
                                id?: string;
                                links?: Record<(...), (...)>;
                                name?: string;
                            };
                            strategies?: readonly {
                                description?: (...)
                                | (...);
                                enabled?: (...) | (...) | (...);
                                flag?: (...) | (...);
                                id?: (...) | (...);
                                links?: (...) | (...);
                                name?: (...) | (...);
                            }[];
                            type?: string;
                        };
                        requiredAllApprovers?: boolean;
                        requiredAllTasksComplete?: boolean;
                        requiredApprovers?: { count?: string; enabled?: boolean };
                        requiredApproversDeprecated?: number;
                        requiredSuccessfulBuilds?: { count?: string; enabled?: boolean };
                        requiredSuccessfulBuildsDeprecated?: number;
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }

    Type declaration

    • Readonlyparameters: {
          cookie?: undefined;
          header?: undefined;
          path: { projectKey: string; repositorySlug: string };
          query?: undefined;
      }
      • Optional Readonlycookie?: undefined
      • Optional Readonlyheader?: undefined
      • Readonlypath: { projectKey: string; repositorySlug: string }
        • ReadonlyprojectKey: string

          The project key.

        • ReadonlyrepositorySlug: string

          The repository slug.

      • Optional Readonlyquery?: undefined
    • Optional ReadonlyrequestBody?: {
          content: {
              "application/json": {
                  mergeConfig?: {
                      commitMessageTemplate?: { body?: string; title?: string };
                      commitSummaries?: number;
                      defaultStrategy?: {
                          description?: string;
                          enabled?: boolean;
                          flag?: string;
                          id?: string;
                          links?: Record<(...), (...)>;
                          name?: string;
                      };
                      strategies?: readonly {
                          description?: (...)
                          | (...);
                          enabled?: (...) | (...) | (...);
                          flag?: (...) | (...);
                          id?: (...) | (...);
                          links?: (...) | (...);
                          name?: (...) | (...);
                      }[];
                      type?: string;
                  };
                  requiredAllApprovers?: boolean;
                  requiredAllTasksComplete?: boolean;
                  requiredApprovers?: { count?: string; enabled?: boolean };
                  requiredApproversDeprecated?: number;
                  requiredSuccessfulBuilds?: { count?: string; enabled?: boolean };
                  requiredSuccessfulBuildsDeprecated?: number;
              };
          };
      }

      The updated settings.

    • Readonlyresponses: {
          "200": {
              content: {
                  "application/json": {
                      mergeConfig?: {
                          commitMessageTemplate?: { body?: string; title?: string };
                          commitSummaries?: number;
                          defaultStrategy?: {
                              description?: string;
                              enabled?: boolean;
                              flag?: string;
                              id?: string;
                              links?: Record<(...), (...)>;
                              name?: string;
                          };
                          strategies?: readonly {
                              description?: (...)
                              | (...);
                              enabled?: (...) | (...) | (...);
                              flag?: (...) | (...);
                              id?: (...) | (...);
                              links?: (...) | (...);
                              name?: (...) | (...);
                          }[];
                          type?: string;
                      };
                      requiredAllApprovers?: boolean;
                      requiredAllTasksComplete?: boolean;
                      requiredApprovers?: { count?: string; enabled?: boolean };
                      requiredApproversDeprecated?: number;
                      requiredSuccessfulBuilds?: { count?: string; enabled?: boolean };
                      requiredSuccessfulBuildsDeprecated?: number;
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "400": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "401": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "404": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
      }
      • Readonly200: {
            content: {
                "application/json": {
                    mergeConfig?: {
                        commitMessageTemplate?: { body?: string; title?: string };
                        commitSummaries?: number;
                        defaultStrategy?: {
                            description?: string;
                            enabled?: boolean;
                            flag?: string;
                            id?: string;
                            links?: Record<(...), (...)>;
                            name?: string;
                        };
                        strategies?: readonly {
                            description?: (...)
                            | (...);
                            enabled?: (...) | (...) | (...);
                            flag?: (...) | (...);
                            id?: (...) | (...);
                            links?: (...) | (...);
                            name?: (...) | (...);
                        }[];
                        type?: string;
                    };
                    requiredAllApprovers?: boolean;
                    requiredAllTasksComplete?: boolean;
                    requiredApprovers?: { count?: string; enabled?: boolean };
                    requiredApproversDeprecated?: number;
                    requiredSuccessfulBuilds?: { count?: string; enabled?: boolean };
                    requiredSuccessfulBuildsDeprecated?: number;
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The repository pull request settings for the context repository.

      • Readonly400: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The repository pull request settings were not updated due to a validation error.

      • Readonly401: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The currently authenticated user has insufficient permissions to see the specified repository.

      • Readonly404: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The specified repository does not exist.

    updateRepository: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string; repositorySlug: string };
            query?: undefined;
        };
        requestBody?: {
            content: {
                "application/json": {
                    archived?: boolean;
                    defaultBranch?: string;
                    description?: string;
                    forkable?: boolean;
                    hierarchyId?: string;
                    id?: number;
                    links?: Record<string, unknown>;
                    name?: string;
                    origin?: {
                        archived?: boolean;
                        defaultBranch?: string;
                        description?: string;
                        forkable?: boolean;
                        hierarchyId?: string;
                        id?: number;
                        links?: Record<string, unknown>;
                        name?: string;
                        partition?: number;
                        project?: {
                            avatar?: string;
                            avatarUrl?: string;
                            description?: string;
                            id?: number;
                            key: string;
                            links?: Record<(...), (...)>;
                            name?: string;
                            public?: boolean;
                            scope?: string;
                            type?: "NORMAL" | "PERSONAL";
                        };
                        public?: boolean;
                        relatedLinks?: Record<string, unknown>;
                        scmId?: string;
                        scope?: string;
                        slug?: string;
                        state?:
                            | "AVAILABLE"
                            | "INITIALISATION_FAILED"
                            | "INITIALISING"
                            | "OFFLINE";
                        statusMessage?: string;
                    };
                    partition?: number;
                    project?: {
                        avatar?: string;
                        avatarUrl?: string;
                        description?: string;
                        id?: number;
                        key: string;
                        links?: Record<string, unknown>;
                        name?: string;
                        public?: boolean;
                        scope?: string;
                        type?: "NORMAL" | "PERSONAL";
                    };
                    public?: boolean;
                    relatedLinks?: Record<string, unknown>;
                    scmId?: string;
                    scope?: string;
                    slug?: string;
                    state?:
                        | "AVAILABLE"
                        | "INITIALISATION_FAILED"
                        | "INITIALISING"
                        | "OFFLINE";
                    statusMessage?: string;
                };
            };
        };
        responses: {
            "201": {
                content: {
                    "application/json": {
                        archived?: boolean;
                        defaultBranch?: string;
                        description?: string;
                        forkable?: boolean;
                        hierarchyId?: string;
                        id?: number;
                        links?: Record<string, unknown>;
                        name?: string;
                        origin?: {
                            archived?: boolean;
                            defaultBranch?: string;
                            description?: string;
                            forkable?: boolean;
                            hierarchyId?: string;
                            id?: number;
                            links?: Record<string, unknown>;
                            name?: string;
                            partition?: number;
                            project?: {
                                avatar?: string;
                                avatarUrl?: string;
                                description?: string;
                                id?: number;
                                key: string;
                                links?: Record<(...), (...)>;
                                name?: string;
                                public?: boolean;
                                scope?: string;
                                type?: "NORMAL" | "PERSONAL";
                            };
                            public?: boolean;
                            relatedLinks?: Record<string, unknown>;
                            scmId?: string;
                            scope?: string;
                            slug?: string;
                            state?:
                                | "AVAILABLE"
                                | "INITIALISATION_FAILED"
                                | "INITIALISING"
                                | "OFFLINE";
                            statusMessage?: string;
                        };
                        partition?: number;
                        project?: {
                            avatar?: string;
                            avatarUrl?: string;
                            description?: string;
                            id?: number;
                            key: string;
                            links?: Record<string, unknown>;
                            name?: string;
                            public?: boolean;
                            scope?: string;
                            type?: "NORMAL" | "PERSONAL";
                        };
                        public?: boolean;
                        relatedLinks?: Record<string, unknown>;
                        scmId?: string;
                        scope?: string;
                        slug?: string;
                        state?:
                            | "AVAILABLE"
                            | "INITIALISATION_FAILED"
                            | "INITIALISING"
                            | "OFFLINE";
                        statusMessage?: string;
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "403": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "409": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }

    Type declaration

    • Readonlyparameters: {
          cookie?: undefined;
          header?: undefined;
          path: { projectKey: string; repositorySlug: string };
          query?: undefined;
      }
      • Optional Readonlycookie?: undefined
      • Optional Readonlyheader?: undefined
      • Readonlypath: { projectKey: string; repositorySlug: string }
        • ReadonlyprojectKey: string

          The project key.

        • ReadonlyrepositorySlug: string

          The repository slug.

      • Optional Readonlyquery?: undefined
    • Optional ReadonlyrequestBody?: {
          content: {
              "application/json": {
                  archived?: boolean;
                  defaultBranch?: string;
                  description?: string;
                  forkable?: boolean;
                  hierarchyId?: string;
                  id?: number;
                  links?: Record<string, unknown>;
                  name?: string;
                  origin?: {
                      archived?: boolean;
                      defaultBranch?: string;
                      description?: string;
                      forkable?: boolean;
                      hierarchyId?: string;
                      id?: number;
                      links?: Record<string, unknown>;
                      name?: string;
                      partition?: number;
                      project?: {
                          avatar?: string;
                          avatarUrl?: string;
                          description?: string;
                          id?: number;
                          key: string;
                          links?: Record<(...), (...)>;
                          name?: string;
                          public?: boolean;
                          scope?: string;
                          type?: "NORMAL" | "PERSONAL";
                      };
                      public?: boolean;
                      relatedLinks?: Record<string, unknown>;
                      scmId?: string;
                      scope?: string;
                      slug?: string;
                      state?:
                          | "AVAILABLE"
                          | "INITIALISATION_FAILED"
                          | "INITIALISING"
                          | "OFFLINE";
                      statusMessage?: string;
                  };
                  partition?: number;
                  project?: {
                      avatar?: string;
                      avatarUrl?: string;
                      description?: string;
                      id?: number;
                      key: string;
                      links?: Record<string, unknown>;
                      name?: string;
                      public?: boolean;
                      scope?: string;
                      type?: "NORMAL" | "PERSONAL";
                  };
                  public?: boolean;
                  relatedLinks?: Record<string, unknown>;
                  scmId?: string;
                  scope?: string;
                  slug?: string;
                  state?:
                      | "AVAILABLE"
                      | "INITIALISATION_FAILED"
                      | "INITIALISING"
                      | "OFFLINE";
                  statusMessage?: string;
              };
          };
      }

      The updated repository.

    • Readonlyresponses: {
          "201": {
              content: {
                  "application/json": {
                      archived?: boolean;
                      defaultBranch?: string;
                      description?: string;
                      forkable?: boolean;
                      hierarchyId?: string;
                      id?: number;
                      links?: Record<string, unknown>;
                      name?: string;
                      origin?: {
                          archived?: boolean;
                          defaultBranch?: string;
                          description?: string;
                          forkable?: boolean;
                          hierarchyId?: string;
                          id?: number;
                          links?: Record<string, unknown>;
                          name?: string;
                          partition?: number;
                          project?: {
                              avatar?: string;
                              avatarUrl?: string;
                              description?: string;
                              id?: number;
                              key: string;
                              links?: Record<(...), (...)>;
                              name?: string;
                              public?: boolean;
                              scope?: string;
                              type?: "NORMAL" | "PERSONAL";
                          };
                          public?: boolean;
                          relatedLinks?: Record<string, unknown>;
                          scmId?: string;
                          scope?: string;
                          slug?: string;
                          state?:
                              | "AVAILABLE"
                              | "INITIALISATION_FAILED"
                              | "INITIALISING"
                              | "OFFLINE";
                          statusMessage?: string;
                      };
                      partition?: number;
                      project?: {
                          avatar?: string;
                          avatarUrl?: string;
                          description?: string;
                          id?: number;
                          key: string;
                          links?: Record<string, unknown>;
                          name?: string;
                          public?: boolean;
                          scope?: string;
                          type?: "NORMAL" | "PERSONAL";
                      };
                      public?: boolean;
                      relatedLinks?: Record<string, unknown>;
                      scmId?: string;
                      scope?: string;
                      slug?: string;
                      state?:
                          | "AVAILABLE"
                          | "INITIALISATION_FAILED"
                          | "INITIALISING"
                          | "OFFLINE";
                      statusMessage?: string;
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "400": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "401": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "403": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "404": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "409": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
      }
      • Readonly201: {
            content: {
                "application/json": {
                    archived?: boolean;
                    defaultBranch?: string;
                    description?: string;
                    forkable?: boolean;
                    hierarchyId?: string;
                    id?: number;
                    links?: Record<string, unknown>;
                    name?: string;
                    origin?: {
                        archived?: boolean;
                        defaultBranch?: string;
                        description?: string;
                        forkable?: boolean;
                        hierarchyId?: string;
                        id?: number;
                        links?: Record<string, unknown>;
                        name?: string;
                        partition?: number;
                        project?: {
                            avatar?: string;
                            avatarUrl?: string;
                            description?: string;
                            id?: number;
                            key: string;
                            links?: Record<(...), (...)>;
                            name?: string;
                            public?: boolean;
                            scope?: string;
                            type?: "NORMAL" | "PERSONAL";
                        };
                        public?: boolean;
                        relatedLinks?: Record<string, unknown>;
                        scmId?: string;
                        scope?: string;
                        slug?: string;
                        state?:
                            | "AVAILABLE"
                            | "INITIALISATION_FAILED"
                            | "INITIALISING"
                            | "OFFLINE";
                        statusMessage?: string;
                    };
                    partition?: number;
                    project?: {
                        avatar?: string;
                        avatarUrl?: string;
                        description?: string;
                        id?: number;
                        key: string;
                        links?: Record<string, unknown>;
                        name?: string;
                        public?: boolean;
                        scope?: string;
                        type?: "NORMAL" | "PERSONAL";
                    };
                    public?: boolean;
                    relatedLinks?: Record<string, unknown>;
                    scmId?: string;
                    scope?: string;
                    slug?: string;
                    state?:
                        | "AVAILABLE"
                        | "INITIALISATION_FAILED"
                        | "INITIALISING"
                        | "OFFLINE";
                    statusMessage?: string;
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The updated repository.

      • Readonly400: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The repository was not updated due to a validation error.

      • Readonly401: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The currently authenticated user has insufficient permissions to update a repository.

      • Readonly403: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        Cannot archive repository because it has open pull requests.

      • Readonly404: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The specified repository does not exist.

      • Readonly409: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        A repository with the same name as the target already exists, or the repository is archived.

    updateRequiredBuildsMergeCheck: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { id: number; projectKey: string; repositorySlug: string };
            query?: undefined;
        };
        requestBody?: {
            content: {
                "*/*": {
                    buildParentKeys: readonly string[];
                    exemptRefMatcher?: {
                        displayId?: string;
                        id?: string;
                        type?: {
                            id?: | "BRANCH"
                            | "ANY_REF"
                            | "MODEL_BRANCH"
                            | "MODEL_CATEGORY"
                            | "PATTERN";
                            name?: string;
                        };
                    };
                    refMatcher: {
                        displayId?: string;
                        id?: string;
                        type?: {
                            id?: | "BRANCH"
                            | "ANY_REF"
                            | "MODEL_BRANCH"
                            | "MODEL_CATEGORY"
                            | "PATTERN";
                            name?: string;
                        };
                    };
                };
            };
        };
        responses: {
            "200": {
                content: {
                    "application/json": {
                        buildParentKeys?: readonly string[];
                        exemptRefMatcher?: {
                            displayId?: string;
                            id?: string;
                            type?: {
                                id?: | "BRANCH"
                                | "ANY_REF"
                                | "MODEL_BRANCH"
                                | "MODEL_CATEGORY"
                                | "PATTERN";
                                name?: string;
                            };
                        };
                        id?: number;
                        refMatcher?: {
                            displayId?: string;
                            id?: string;
                            type?: {
                                id?: | "BRANCH"
                                | "ANY_REF"
                                | "MODEL_BRANCH"
                                | "MODEL_CATEGORY"
                                | "PATTERN";
                                name?: string;
                            };
                        };
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }

    Type declaration

    • Readonlyparameters: {
          cookie?: undefined;
          header?: undefined;
          path: { id: number; projectKey: string; repositorySlug: string };
          query?: undefined;
      }
      • Optional Readonlycookie?: undefined
      • Optional Readonlyheader?: undefined
      • Readonlypath: { id: number; projectKey: string; repositorySlug: string }
        • Readonlyid: number
        • ReadonlyprojectKey: string

          The project that the repository belongs to

        • ReadonlyrepositorySlug: string

          The repository being used

      • Optional Readonlyquery?: undefined
    • Optional ReadonlyrequestBody?: {
          content: {
              "*/*": {
                  buildParentKeys: readonly string[];
                  exemptRefMatcher?: {
                      displayId?: string;
                      id?: string;
                      type?: {
                          id?:
                              | "BRANCH"
                              | "ANY_REF"
                              | "MODEL_BRANCH"
                              | "MODEL_CATEGORY"
                              | "PATTERN";
                          name?: string;
                      };
                  };
                  refMatcher: {
                      displayId?: string;
                      id?: string;
                      type?: {
                          id?: | "BRANCH"
                          | "ANY_REF"
                          | "MODEL_BRANCH"
                          | "MODEL_CATEGORY"
                          | "PATTERN";
                          name?: string;
                      };
                  };
              };
          };
      }

      The request specifying the required build parent keys, ref matcher and exemption matcher

    • Readonlyresponses: {
          "200": {
              content: {
                  "application/json": {
                      buildParentKeys?: readonly string[];
                      exemptRefMatcher?: {
                          displayId?: string;
                          id?: string;
                          type?: {
                              id?:
                                  | "BRANCH"
                                  | "ANY_REF"
                                  | "MODEL_BRANCH"
                                  | "MODEL_CATEGORY"
                                  | "PATTERN";
                              name?: string;
                          };
                      };
                      id?: number;
                      refMatcher?: {
                          displayId?: string;
                          id?: string;
                          type?: {
                              id?: | "BRANCH"
                              | "ANY_REF"
                              | "MODEL_BRANCH"
                              | "MODEL_CATEGORY"
                              | "PATTERN";
                              name?: string;
                          };
                      };
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "400": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "401": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
      }
      • Readonly200: {
            content: {
                "application/json": {
                    buildParentKeys?: readonly string[];
                    exemptRefMatcher?: {
                        displayId?: string;
                        id?: string;
                        type?: {
                            id?:
                                | "BRANCH"
                                | "ANY_REF"
                                | "MODEL_BRANCH"
                                | "MODEL_CATEGORY"
                                | "PATTERN";
                            name?: string;
                        };
                    };
                    id?: number;
                    refMatcher?: {
                        displayId?: string;
                        id?: string;
                        type?: {
                            id?: | "BRANCH"
                            | "ANY_REF"
                            | "MODEL_BRANCH"
                            | "MODEL_CATEGORY"
                            | "PATTERN";
                            name?: string;
                        };
                    };
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The details needed to update a required build merge check.

      • Readonly400: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The request was malformed. This could be caused because:

        - The build parent key list is empty
        - Either of the provided ref matchers is of an unrecognized type
        - Either of the provided ref matchers could not be created with the provided type and id
        
      • Readonly401: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The currently authenticated user has insufficient permissions to create a required build merge check in this repository.

    updateSettings: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { userSlug: string };
            query?: undefined;
        };
        requestBody?: {
            content: {
                "application/json": {
                    "boolean key"?: boolean;
                    "long key"?: number;
                    "string key"?: string;
                };
            };
        };
        responses: {
            "204": {
                content?: undefined;
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }

    Type declaration

    • Readonlyparameters: {
          cookie?: undefined;
          header?: undefined;
          path: { userSlug: string };
          query?: undefined;
      }
      • Optional Readonlycookie?: undefined
      • Optional Readonlyheader?: undefined
      • Readonlypath: { userSlug: string }
        • ReadonlyuserSlug: string

          The user slug.

      • Optional Readonlyquery?: undefined
    • Optional ReadonlyrequestBody?: {
          content: {
              "application/json": {
                  "boolean key"?: boolean;
                  "long key"?: number;
                  "string key"?: string;
              };
          };
      }

      A map with the UserSettings entries which must be updated.

    • Readonlyresponses: {
          "204": {
              content?: undefined;
              headers: Readonly<Record<string, unknown>>;
          };
          "401": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
      }
      • Readonly204: { content?: undefined; headers: Readonly<Record<string, unknown>> }

        The UserSettings were updated successfully

      • Readonly401: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The currently authenticated user is not a project administrator.

    updateStatus: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: {
                projectKey: string;
                pullRequestId: string;
                repositorySlug: string;
                userSlug: string;
            };
            query?: { version?: string };
        };
        requestBody: {
            content: {
                "application/json": {
                    lastReviewedCommit?: string;
                    status?: "APPROVED"
                    | "NEEDS_WORK"
                    | "UNAPPROVED";
                };
            };
        };
        responses: {
            "200": {
                content: {
                    "application/json": {
                        approved?: boolean;
                        lastReviewedCommit?: string;
                        role?: "PARTICIPANT"
                        | "REVIEWER"
                        | "AUTHOR";
                        status?: "APPROVED" | "NEEDS_WORK" | "UNAPPROVED";
                        user?: {
                            active?: boolean;
                            avatarUrl?: string;
                            displayName?: string;
                            emailAddress?: string;
                            id?: number;
                            links?: Record<string, unknown>;
                            name?: string;
                            slug?: string;
                            type?: "NORMAL" | "SERVICE";
                        };
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "409": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }

    Type declaration

    • Readonlyparameters: {
          cookie?: undefined;
          header?: undefined;
          path: {
              projectKey: string;
              pullRequestId: string;
              repositorySlug: string;
              userSlug: string;
          };
          query?: { version?: string };
      }
      • Optional Readonlycookie?: undefined
      • Optional Readonlyheader?: undefined
      • Readonlypath: {
            projectKey: string;
            pullRequestId: string;
            repositorySlug: string;
            userSlug: string;
        }
        • ReadonlyprojectKey: string

          The project key.

        • ReadonlypullRequestId: string

          The ID of the pull request within the repository

        • ReadonlyrepositorySlug: string

          The repository slug.

        • ReadonlyuserSlug: string

          The slug for the user changing their status

      • Optional Readonlyquery?: { version?: string }
        • Optional Readonlyversion?: string

          The current version of the pull request. If the server's version isn't the same as the specified version the operation will fail. To determine the current version of the pull request it should be fetched from the server prior to this operation. Look for the 'version' attribute in the returned JSON structure. Note: This parameter is deprecated. Use last reviewed commit in request body instead

    • ReadonlyrequestBody: {
          content: {
              "application/json": {
                  lastReviewedCommit?: string;
                  status?: "APPROVED" | "NEEDS_WORK" | "UNAPPROVED";
              };
          };
      }

      The participant representing the status to set, includes the status of the participant and last reviewed commit. If last reviewed commit is provided, it will be used to update the participant status. The operation will fail if the latest commit of the pull request does not match the provided last reviewed commit. If last reviewed commit is not provided, the latest commit of the pull request will be used for the update by default.

    • Readonlyresponses: {
          "200": {
              content: {
                  "application/json": {
                      approved?: boolean;
                      lastReviewedCommit?: string;
                      role?: "PARTICIPANT" | "REVIEWER" | "AUTHOR";
                      status?: "APPROVED" | "NEEDS_WORK" | "UNAPPROVED";
                      user?: {
                          active?: boolean;
                          avatarUrl?: string;
                          displayName?: string;
                          emailAddress?: string;
                          id?: number;
                          links?: Record<string, unknown>;
                          name?: string;
                          slug?: string;
                          type?: "NORMAL" | "SERVICE";
                      };
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "400": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "401": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "404": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "409": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
      }
      • Readonly200: {
            content: {
                "application/json": {
                    approved?: boolean;
                    lastReviewedCommit?: string;
                    role?: "PARTICIPANT" | "REVIEWER" | "AUTHOR";
                    status?: "APPROVED" | "NEEDS_WORK" | "UNAPPROVED";
                    user?: {
                        active?: boolean;
                        avatarUrl?: string;
                        displayName?: string;
                        emailAddress?: string;
                        id?: number;
                        links?: Record<string, unknown>;
                        name?: string;
                        slug?: string;
                        type?: "NORMAL" | "SERVICE";
                    };
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        Details of the new participant.

      • Readonly400: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The specified status was invalid or the currently authenticated user is the author of the PR and cannot have its status updated.

      • Readonly401: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The currently authenticated user has insufficient permissions to view the pull request.

      • Readonly404: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The specified repository or pull request does not exist.

      • Readonly409: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The pull request is not open, or has been updated since the last reviewed commit specified by the request.

    updateSystemSigningConfiguration: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: undefined;
        };
        requestBody?: { content: { "application/json": { enabled?: boolean } } };
        responses: {
            "200": {
                content: { "application/json": { enabled?: boolean } };
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    updateUserDetails: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: undefined;
        };
        requestBody?: {
            content: {
                "application/json": {
                    displayName?: string;
                    email?: string;
                    name?: string;
                };
            };
        };
        responses: {
            "200": {
                content: {
                    "application/json": {
                        active?: boolean;
                        avatarUrl?: string;
                        deletable?: boolean;
                        directoryName?: string;
                        displayName?: string;
                        emailAddress?: string;
                        id?: number;
                        lastAuthenticationTimestamp?: number;
                        links?: Record<string, unknown>;
                        mutableDetails?: boolean;
                        mutableGroups?: boolean;
                        name?: string;
                        slug?: string;
                        type?: "NORMAL" | "SERVICE";
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    updateUserDetails_1: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: undefined;
        };
        requestBody?: {
            content: {
                "application/json": {
                    displayName?: string;
                    email?: string;
                    name?: string;
                };
            };
        };
        responses: {
            "200": {
                content: {
                    "application/json": {
                        active?: boolean;
                        avatarUrl?: string;
                        displayName?: string;
                        emailAddress?: string;
                        id?: number;
                        links?: Record<string, unknown>;
                        name?: string;
                        slug?: string;
                        type?: "NORMAL" | "SERVICE";
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }

    Type declaration

    • Readonlyparameters: { cookie?: undefined; header?: undefined; path?: undefined; query?: undefined }
    • Optional ReadonlyrequestBody?: {
          content: {
              "application/json": {
                  displayName?: string;
                  email?: string;
                  name?: string;
              };
          };
      }

      The user update details

    • Readonlyresponses: {
          "200": {
              content: {
                  "application/json": {
                      active?: boolean;
                      avatarUrl?: string;
                      displayName?: string;
                      emailAddress?: string;
                      id?: number;
                      links?: Record<string, unknown>;
                      name?: string;
                      slug?: string;
                      type?: "NORMAL" | "SERVICE";
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "400": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "401": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
      }
      • Readonly200: {
            content: {
                "application/json": {
                    active?: boolean;
                    avatarUrl?: string;
                    displayName?: string;
                    emailAddress?: string;
                    id?: number;
                    links?: Record<string, unknown>;
                    name?: string;
                    slug?: string;
                    type?: "NORMAL" | "SERVICE";
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The updated user.

      • Readonly400: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The request was malformed.

      • Readonly401: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        Authentication failed or was not attempted.

    updateUserPassword: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: undefined;
        };
        requestBody?: {
            content: {
                "application/json": {
                    name?: string;
                    password?: string;
                    passwordConfirm?: string;
                };
            };
        };
        responses: {
            "204": {
                content?: undefined;
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    updateUserPassword_1: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: undefined;
        };
        requestBody?: {
            content: {
                "application/json": {
                    oldPassword?: string;
                    password?: string;
                    passwordConfirm?: string;
                };
            };
        };
        responses: {
            "204": {
                content?: undefined;
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }

    Type declaration

    • Readonlyparameters: { cookie?: undefined; header?: undefined; path?: undefined; query?: undefined }
    • Optional ReadonlyrequestBody?: {
          content: {
              "application/json": {
                  oldPassword?: string;
                  password?: string;
                  passwordConfirm?: string;
              };
          };
      }

      The password update details

    • Readonlyresponses: {
          "204": {
              content?: undefined;
              headers: Readonly<Record<string, unknown>>;
          };
          "400": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "401": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
      }
      • Readonly204: { content?: undefined; headers: Readonly<Record<string, unknown>> }

        The user's password was successfully updated.

      • Readonly400: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The request was malformed or the old password was incorrect.

      • Readonly401: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        Authentication failed or was not attempted.

    updateWebhook: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string; webhookId: string };
            query?: undefined;
        };
        requestBody?: {
            content: {
                "application/json": {
                    active?: boolean;
                    configuration?: Record<string, unknown>;
                    credentials?: { password?: string; username?: string };
                    events?: readonly string[];
                    name?: string;
                    scopeType?: string;
                    sslVerificationRequired?: boolean;
                    statistics?: Record<string, unknown>;
                    url?: string;
                };
            };
        };
        responses: {
            "200": {
                content: {
                    "application/json": {
                        active?: boolean;
                        configuration?: Record<string, unknown>;
                        credentials?: { password?: string; username?: string };
                        events?: readonly string[];
                        name?: string;
                        scopeType?: string;
                        sslVerificationRequired?: boolean;
                        statistics?: Record<string, unknown>;
                        url?: string;
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }

    Type declaration

    • Readonlyparameters: {
          cookie?: undefined;
          header?: undefined;
          path: { projectKey: string; webhookId: string };
          query?: undefined;
      }
      • Optional Readonlycookie?: undefined
      • Optional Readonlyheader?: undefined
      • Readonlypath: { projectKey: string; webhookId: string }
        • ReadonlyprojectKey: string

          The project key.

        • ReadonlywebhookId: string

          Id of the existing webhook

      • Optional Readonlyquery?: undefined
    • Optional ReadonlyrequestBody?: {
          content: {
              "application/json": {
                  active?: boolean;
                  configuration?: Record<string, unknown>;
                  credentials?: { password?: string; username?: string };
                  events?: readonly string[];
                  name?: string;
                  scopeType?: string;
                  sslVerificationRequired?: boolean;
                  statistics?: Record<string, unknown>;
                  url?: string;
              };
          };
      }

      The representation of the updated values for the webhook

    • Readonlyresponses: {
          "200": {
              content: {
                  "application/json": {
                      active?: boolean;
                      configuration?: Record<string, unknown>;
                      credentials?: { password?: string; username?: string };
                      events?: readonly string[];
                      name?: string;
                      scopeType?: string;
                      sslVerificationRequired?: boolean;
                      statistics?: Record<string, unknown>;
                      url?: string;
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "401": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "404": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
      }
      • Readonly200: {
            content: {
                "application/json": {
                    active?: boolean;
                    configuration?: Record<string, unknown>;
                    credentials?: { password?: string; username?: string };
                    events?: readonly string[];
                    name?: string;
                    scopeType?: string;
                    sslVerificationRequired?: boolean;
                    statistics?: Record<string, unknown>;
                    url?: string;
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        A webhook.

      • Readonly401: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The currently authenticated user has insufficient permissions to update a webhook in this project.

      • Readonly404: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The project does not exist, or the webhook does not exist in the project.

    updateWebhook_1: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string; repositorySlug: string; webhookId: string };
            query?: undefined;
        };
        requestBody?: {
            content: {
                "application/json": {
                    active?: boolean;
                    configuration?: Record<string, unknown>;
                    credentials?: { password?: string; username?: string };
                    events?: readonly string[];
                    name?: string;
                    scopeType?: string;
                    sslVerificationRequired?: boolean;
                    statistics?: Record<string, unknown>;
                    url?: string;
                };
            };
        };
        responses: {
            "200": {
                content: {
                    "application/json": {
                        active?: boolean;
                        configuration?: Record<string, unknown>;
                        credentials?: { password?: string; username?: string };
                        events?: readonly string[];
                        name?: string;
                        scopeType?: string;
                        sslVerificationRequired?: boolean;
                        statistics?: Record<string, unknown>;
                        url?: string;
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }

    Type declaration

    • Readonlyparameters: {
          cookie?: undefined;
          header?: undefined;
          path: { projectKey: string; repositorySlug: string; webhookId: string };
          query?: undefined;
      }
      • Optional Readonlycookie?: undefined
      • Optional Readonlyheader?: undefined
      • Readonlypath: { projectKey: string; repositorySlug: string; webhookId: string }
        • ReadonlyprojectKey: string

          The project key.

        • ReadonlyrepositorySlug: string

          The repository slug.

        • ReadonlywebhookId: string

          Id of the existing webhook

      • Optional Readonlyquery?: undefined
    • Optional ReadonlyrequestBody?: {
          content: {
              "application/json": {
                  active?: boolean;
                  configuration?: Record<string, unknown>;
                  credentials?: { password?: string; username?: string };
                  events?: readonly string[];
                  name?: string;
                  scopeType?: string;
                  sslVerificationRequired?: boolean;
                  statistics?: Record<string, unknown>;
                  url?: string;
              };
          };
      }

      The representation of the updated values for the webhook

    • Readonlyresponses: {
          "200": {
              content: {
                  "application/json": {
                      active?: boolean;
                      configuration?: Record<string, unknown>;
                      credentials?: { password?: string; username?: string };
                      events?: readonly string[];
                      name?: string;
                      scopeType?: string;
                      sslVerificationRequired?: boolean;
                      statistics?: Record<string, unknown>;
                      url?: string;
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "401": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "404": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
      }
      • Readonly200: {
            content: {
                "application/json": {
                    active?: boolean;
                    configuration?: Record<string, unknown>;
                    credentials?: { password?: string; username?: string };
                    events?: readonly string[];
                    name?: string;
                    scopeType?: string;
                    sslVerificationRequired?: boolean;
                    statistics?: Record<string, unknown>;
                    url?: string;
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        A webhook.

      • Readonly401: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The currently authenticated user has insufficient permissions to update a webhook in this repository.

      • Readonly404: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The repository does not exist, or the webhook does not exist in the repository.

    upgrade: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { mirrorId: string };
            query?: undefined;
        };
        requestBody?: {
            content: {
                "application/json": { baseUrl?: string; productVersion?: string };
            };
        };
        responses: {
            "200": {
                content: {
                    "application/json": {
                        baseUrl?: string;
                        enabled?: boolean;
                        id?: string;
                        lastSeenDate?: string;
                        mirrorType?: "FARM"
                        | "SINGLE";
                        name?: string;
                        productVersion?: string;
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    uploadAvatar: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string };
            query?: undefined;
        };
        requestBody?: { content: { "multipart/form-data": { avatar?: string } } };
        responses: {
            "201": {
                content: { "application/json": unknown };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }

    Type declaration

    • Readonlyparameters: {
          cookie?: undefined;
          header?: undefined;
          path: { projectKey: string };
          query?: undefined;
      }
      • Optional Readonlycookie?: undefined
      • Optional Readonlyheader?: undefined
      • Readonlypath: { projectKey: string }
        • ReadonlyprojectKey: string

          The project key.

      • Optional Readonlyquery?: undefined
    • Optional ReadonlyrequestBody?: { content: { "multipart/form-data": { avatar?: string } } }

      The mutlipart form data containing the file.

    • Readonlyresponses: {
          "201": {
              content: { "application/json": unknown };
              headers: Readonly<Record<string, unknown>>;
          };
          "401": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "404": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
      }
      • Readonly201: {
            content: { "application/json": unknown };
            headers: Readonly<Record<string, unknown>>;
        }

        The avatar was uploaded successfully.

      • Readonly401: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The currently authenticated user has insufficient permissions to update the project.

      • Readonly404: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The specified project does not exist.

    uploadAvatar_1: {
        parameters: {
            cookie?: undefined;
            header?: { "X-Atlassian-Token"?: string };
            path: { userSlug: string };
            query?: undefined;
        };
        requestBody?: { content: { "multipart/form-data": { avatar?: string } } };
        responses: {
            "201": {
                content?: undefined;
                headers: { Location?: string; readonly [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }

    Type declaration

    • Readonlyparameters: {
          cookie?: undefined;
          header?: { "X-Atlassian-Token"?: string };
          path: { userSlug: string };
          query?: undefined;
      }
      • Optional Readonlycookie?: undefined
      • Optional Readonlyheader?: { "X-Atlassian-Token"?: string }
        • Optional ReadonlyX-Atlassian-Token?: string

          This resource has Cross-Site Request Forgery (XSRF) protection. To allow the request to pass the XSRF check the caller needs to send an X-Atlassian-Token HTTP header with the value no-check.

          no-check
          
      • Readonlypath: { userSlug: string }
        • ReadonlyuserSlug: string

          The user slug

      • Optional Readonlyquery?: undefined
    • Optional ReadonlyrequestBody?: { content: { "multipart/form-data": { avatar?: string } } }

      Multipart form data containing a single image in a form-field named 'avatar'.

    • Readonlyresponses: {
          "201": {
              content?: undefined;
              headers: { Location?: string; readonly [name: string]: unknown };
          };
          "401": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "404": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
      }
      • Readonly201: {
            content?: undefined;
            headers: { Location?: string; readonly [name: string]: unknown };
        }

        The avatar was uploaded successfully.

        • Optionalcontent?: undefined
        • headers: { Location?: string; readonly [name: string]: unknown }
          • Optional ReadonlyLocation?: string

            The Location response header which indicates the URL of the avatar.

      • Readonly401: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The currently authenticated user has insufficient permissions to update the avatar.

      • Readonly404: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The specified user does not exist.

    validateErasable: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query: { name: string };
        };
        requestBody?: undefined;
        responses: {
            "204": {
                content?: undefined;
                headers: Readonly<Record<string, unknown>>;
            };
            "400": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "409": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    watch: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { commitId: string; projectKey: string; repositorySlug: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "204": {
                content?: undefined;
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    watch_1: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: {
                projectKey: string;
                pullRequestId: string;
                repositorySlug: string;
            };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "204": {
                content?: undefined;
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }
    watch_2: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { projectKey: string; repositorySlug: string };
            query?: undefined;
        };
        requestBody?: {
            content: {
                "application/json": {
                    archived?: boolean;
                    defaultBranch?: string;
                    description?: string;
                    forkable?: boolean;
                    hierarchyId?: string;
                    id?: number;
                    links?: Record<string, unknown>;
                    name?: string;
                    origin?: {
                        archived?: boolean;
                        defaultBranch?: string;
                        description?: string;
                        forkable?: boolean;
                        hierarchyId?: string;
                        id?: number;
                        links?: Record<string, unknown>;
                        name?: string;
                        partition?: number;
                        project?: {
                            avatar?: string;
                            avatarUrl?: string;
                            description?: string;
                            id?: number;
                            key: string;
                            links?: Record<(...), (...)>;
                            name?: string;
                            public?: boolean;
                            scope?: string;
                            type?: "NORMAL" | "PERSONAL";
                        };
                        public?: boolean;
                        relatedLinks?: Record<string, unknown>;
                        scmId?: string;
                        scope?: string;
                        slug?: string;
                        state?:
                            | "AVAILABLE"
                            | "INITIALISATION_FAILED"
                            | "INITIALISING"
                            | "OFFLINE";
                        statusMessage?: string;
                    };
                    partition?: number;
                    project?: {
                        avatar?: string;
                        avatarUrl?: string;
                        description?: string;
                        id?: number;
                        key: string;
                        links?: Record<string, unknown>;
                        name?: string;
                        public?: boolean;
                        scope?: string;
                        type?: "NORMAL" | "PERSONAL";
                    };
                    public?: boolean;
                    relatedLinks?: Record<string, unknown>;
                    scmId?: string;
                    scope?: string;
                    slug?: string;
                    state?:
                        | "AVAILABLE"
                        | "INITIALISATION_FAILED"
                        | "INITIALISING"
                        | "OFFLINE";
                    statusMessage?: string;
                };
            };
        };
        responses: {
            "204": {
                content?: undefined;
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }

    Type declaration

    • Readonlyparameters: {
          cookie?: undefined;
          header?: undefined;
          path: { projectKey: string; repositorySlug: string };
          query?: undefined;
      }
      • Optional Readonlycookie?: undefined
      • Optional Readonlyheader?: undefined
      • Readonlypath: { projectKey: string; repositorySlug: string }
        • ReadonlyprojectKey: string

          The project key.

        • ReadonlyrepositorySlug: string

          The repository slug.

      • Optional Readonlyquery?: undefined
    • Optional ReadonlyrequestBody?: {
          content: {
              "application/json": {
                  archived?: boolean;
                  defaultBranch?: string;
                  description?: string;
                  forkable?: boolean;
                  hierarchyId?: string;
                  id?: number;
                  links?: Record<string, unknown>;
                  name?: string;
                  origin?: {
                      archived?: boolean;
                      defaultBranch?: string;
                      description?: string;
                      forkable?: boolean;
                      hierarchyId?: string;
                      id?: number;
                      links?: Record<string, unknown>;
                      name?: string;
                      partition?: number;
                      project?: {
                          avatar?: string;
                          avatarUrl?: string;
                          description?: string;
                          id?: number;
                          key: string;
                          links?: Record<(...), (...)>;
                          name?: string;
                          public?: boolean;
                          scope?: string;
                          type?: "NORMAL" | "PERSONAL";
                      };
                      public?: boolean;
                      relatedLinks?: Record<string, unknown>;
                      scmId?: string;
                      scope?: string;
                      slug?: string;
                      state?:
                          | "AVAILABLE"
                          | "INITIALISATION_FAILED"
                          | "INITIALISING"
                          | "OFFLINE";
                      statusMessage?: string;
                  };
                  partition?: number;
                  project?: {
                      avatar?: string;
                      avatarUrl?: string;
                      description?: string;
                      id?: number;
                      key: string;
                      links?: Record<string, unknown>;
                      name?: string;
                      public?: boolean;
                      scope?: string;
                      type?: "NORMAL" | "PERSONAL";
                  };
                  public?: boolean;
                  relatedLinks?: Record<string, unknown>;
                  scmId?: string;
                  scope?: string;
                  slug?: string;
                  state?:
                      | "AVAILABLE"
                      | "INITIALISATION_FAILED"
                      | "INITIALISING"
                      | "OFFLINE";
                  statusMessage?: string;
              };
          };
      }

      The repository to watch.

    • Readonlyresponses: {
          "204": {
              content?: undefined;
              headers: Readonly<Record<string, unknown>>;
          };
          "401": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
          "404": {
              content: {
                  "application/json": {
                      errors?: readonly {
                          context?: string;
                          exceptionName?: string;
                          message?: string;
                      }[];
                  };
              };
              headers: Readonly<Record<string, unknown>>;
          };
      }
      • Readonly204: { content?: undefined; headers: Readonly<Record<string, unknown>> }

        The user is now watching the repository.

      • Readonly401: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The currently authenticated user has insufficient permissions to view the repository.

      • Readonly404: {
            content: {
                "application/json": {
                    errors?: readonly {
                        context?: string;
                        exceptionName?: string;
                        message?: string;
                    }[];
                };
            };
            headers: Readonly<Record<string, unknown>>;
        }

        The specified repository does not exist.

    withdrawApproval: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: {
                projectKey: string;
                pullRequestId: string;
                repositorySlug: string;
            };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        approved?: boolean;
                        lastReviewedCommit?: string;
                        role?: "PARTICIPANT"
                        | "REVIEWER"
                        | "AUTHOR";
                        status?: "APPROVED" | "NEEDS_WORK" | "UNAPPROVED";
                        user?: {
                            active?: boolean;
                            avatarUrl?: string;
                            displayName?: string;
                            emailAddress?: string;
                            id?: number;
                            links?: Record<string, unknown>;
                            name?: string;
                            slug?: string;
                            type?: "NORMAL" | "SERVICE";
                        };
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "401": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "404": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
            "409": {
                content: {
                    "application/json": {
                        errors?: readonly {
                            context?: string;
                            exceptionName?: string;
                            message?: string;
                        }[];
                    };
                };
                headers: Readonly<Record<string, unknown>>;
            };
        };
    }