interface components {
    headers: never;
    parameters: never;
    pathItems: never;
    requestBodies: never;
    responses: never;
    schemas: {
        AdminPasswordUpdate: {
            name?: string;
            password?: string;
            passwordConfirm?: string;
        };
        ApplicationId: Record<string, unknown>;
        ApplicationUser: {
            active?: boolean;
            displayName?: string;
            emailAddress?: string;
            id?: number;
            name?: string;
            slug?: string;
            type?: "NORMAL" | "SERVICE";
        };
        Comment: {
            anchor?: {
                diffType?: "COMMIT" | "EFFECTIVE" | "RANGE";
                fileAnchor?: boolean;
                fileType?: "FROM" | "TO";
                fromHash?: string;
                line?: number;
                lineAnchor?: boolean;
                lineType?: "ADDED" | "CONTEXT" | "REMOVED";
                orphaned?: boolean;
                path?: string;
                srcPath?: string;
                toHash?: string;
            };
            author?: {
                active?: boolean;
                displayName?: string;
                emailAddress?: string;
                id?: number;
                name?: string;
                slug?: string;
                type?: "NORMAL" | "SERVICE";
            };
            comments?: readonly ({ readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileAnchor?: boolean; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineAnchor?: boolean; ... 4 more ...; readonly toHash?: string; }; ... 13 more ...; readonly version?: number; })[];
            createdDate?: string;
            id?: number;
            permittedOperations?: {
                deletable?: boolean;
                editable?: boolean;
                transitionable?: boolean;
            };
            properties?: Record<string, unknown>;
            resolvedDate?: string;
            resolver?: {
                active?: boolean;
                displayName?: string;
                emailAddress?: string;
                id?: number;
                name?: string;
                slug?: string;
                type?: "NORMAL" | "SERVICE";
            };
            severity?: "NORMAL" | "BLOCKER";
            state?: "OPEN" | "PENDING" | "RESOLVED";
            text?: string;
            thread?: {
                anchor?: {
                    diffType?: "COMMIT" | "EFFECTIVE" | "RANGE";
                    fileAnchor?: boolean;
                    fileType?: "FROM" | "TO";
                    fromHash?: string;
                    line?: number;
                    lineAnchor?: boolean;
                    lineType?: "ADDED" | "CONTEXT" | "REMOVED";
                    orphaned?: boolean;
                    path?: string;
                    srcPath?: string;
                    toHash?: string;
                };
                anchored?: boolean;
                commentable?: Record<string, unknown>;
                createdDate?: string;
                id?: number;
                resolved?: boolean;
                resolvedDate?: string;
                resolver?: {
                    active?: boolean;
                    displayName?: string;
                    emailAddress?: string;
                    id?: number;
                    name?: string;
                    slug?: string;
                    type?: "NORMAL" | "SERVICE";
                };
                rootComment?: { readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileAnchor?: boolean; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineAnchor?: boolean; ... 4 more ...; readonly toHash?: string; }; ... 13 more ...; readonly version?: number; };
                updatedDate?: string;
            };
            updatedDate?: string;
            version?: number;
        };
        Commentable: Record<string, unknown>;
        CommentOperations: {
            deletable?: boolean;
            editable?: boolean;
            transitionable?: boolean;
        };
        CommentThread: {
            anchor?: {
                diffType?: "COMMIT" | "EFFECTIVE" | "RANGE";
                fileAnchor?: boolean;
                fileType?: "FROM" | "TO";
                fromHash?: string;
                line?: number;
                lineAnchor?: boolean;
                lineType?: "ADDED" | "CONTEXT" | "REMOVED";
                orphaned?: boolean;
                path?: string;
                srcPath?: string;
                toHash?: string;
            };
            anchored?: boolean;
            commentable?: Record<string, unknown>;
            createdDate?: string;
            id?: number;
            resolved?: boolean;
            resolvedDate?: string;
            resolver?: {
                active?: boolean;
                displayName?: string;
                emailAddress?: string;
                id?: number;
                name?: string;
                slug?: string;
                type?: "NORMAL" | "SERVICE";
            };
            rootComment?: {
                anchor?: {
                    diffType?: "COMMIT" | "EFFECTIVE" | "RANGE";
                    fileAnchor?: boolean;
                    fileType?: "FROM" | "TO";
                    fromHash?: string;
                    line?: number;
                    lineAnchor?: boolean;
                    lineType?: "ADDED" | "CONTEXT" | "REMOVED";
                    orphaned?: boolean;
                    path?: string;
                    srcPath?: string;
                    toHash?: string;
                };
                author?: {
                    active?: boolean;
                    displayName?: string;
                    emailAddress?: string;
                    id?: number;
                    name?: string;
                    slug?: string;
                    type?: "NORMAL" | "SERVICE";
                };
                comments?: readonly ({ readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileAnchor?: boolean; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineAnchor?: boolean; ... 4 more ...; readonly toHash?: string; }; ... 13 more ...; readonly version?: number; })[];
                createdDate?: string;
                id?: number;
                permittedOperations?: {
                    deletable?: boolean;
                    editable?: boolean;
                    transitionable?: boolean;
                };
                properties?: Record<string, unknown>;
                resolvedDate?: string;
                resolver?: {
                    active?: boolean;
                    displayName?: string;
                    emailAddress?: string;
                    id?: number;
                    name?: string;
                    slug?: string;
                    type?: "NORMAL" | "SERVICE";
                };
                severity?: "NORMAL" | "BLOCKER";
                state?: "OPEN" | "PENDING" | "RESOLVED";
                text?: string;
                thread?: { readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileAnchor?: boolean; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineAnchor?: boolean; ... 4 more ...; readonly toHash?: string; }; ... 8 more ...; readonly updatedDate?: string; };
                updatedDate?: string;
                version?: number;
            };
            updatedDate?: string;
        };
        CommentThreadDiffAnchor: {
            diffType?: "COMMIT" | "EFFECTIVE" | "RANGE";
            fileAnchor?: boolean;
            fileType?: "FROM" | "TO";
            fromHash?: string;
            line?: number;
            lineAnchor?: boolean;
            lineType?: "ADDED" | "CONTEXT" | "REMOVED";
            orphaned?: boolean;
            path?: string;
            srcPath?: string;
            toHash?: string;
        };
        Context: {
            commitMessage?: string;
        };
        Credentials: {
            token: string;
        } | {
            algorithm?: string;
            publicKey: string;
            username?: string;
        } | {
            password: string;
            username: string;
        };
        DiffContentFilter: Record<string, unknown>;
        EnrichedRepository: {
            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<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;
            };
            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;
        };
        ExampleAvatarMultipartFormData: {
            avatar?: string;
        };
        ExampleCertificateMultipartFormData: {
            certificate?: string;
        };
        ExampleFiles: {
            files?: {
                latestCommit?: {
                    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;
                    }[];
                };
                pomXml?: {
                    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;
                    }[];
                };
                readmeMd?: {
                    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;
                    }[];
                };
            };
        };
        ExampleJsonLastModifiedCallback: {
            latestCommit?: {
                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;
                }[];
            };
            pomXml?: {
                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;
                }[];
            };
            readmeMd?: {
                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;
                }[];
            };
        };
        ExampleMultipartFormData: {
            branch?: string;
            content?: string;
            message?: string;
            sourceBranch?: string;
            sourceCommitId?: string;
        };
        ExamplePostMultipartFormData: {
            content?: string;
            description?: string;
            name?: string;
            type?: string;
        };
        ExamplePreviewMigration: {
            repositories?: readonly {
                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;
            }[];
        };
        ExamplePutMultipartFormData: {
            content?: string;
            description?: string;
            name?: string;
        };
        ExampleRequirements: {
            count?: string;
            enabled?: boolean;
        };
        ExampleSettings: {
            booleanValue?: boolean;
            doubleValue?: number;
            integerValue?: number;
            longValue?: number;
            stringValue?: string;
        };
        ExampleSettingsMap: {
            boolean key?: boolean;
            long key?: number;
            string key?: string;
        };
        ExampleSocketAddress: {
            address?: string;
            port?: number;
        };
        ExampleStatus: {
            currentNumberOfUsers?: number;
            serverId?: string;
        };
        FileListResource: unknown;
        FilePart: {
            contentType?: string;
            formField?: boolean;
            inputStream?: Record<string, unknown>;
            name?: string;
            size?: number;
            value?: string;
        };
        Group: {
            name?: string;
        };
        GroupAndUsers: {
            group?: string;
            users: readonly string[];
        };
        GroupPickerContext: {
            context?: string;
            itemName?: string;
        };
        OptionalBodyBeanParam: Record<string, unknown>;
        PageRequestImpl: {
            limit?: number;
            start?: number;
        };
        Project: {
            description?: string;
            id?: number;
            key?: string;
            name?: string;
            public?: boolean;
            type?: "NORMAL" | "PERSONAL";
        };
        PropertyMap: Record<string, unknown>;
        PullRequest: {
            author?: {
                approved?: boolean;
                lastReviewedCommit?: string;
                pullRequest?: { readonly author?: { readonly approved?: boolean; readonly lastReviewedCommit?: string; readonly pullRequest?: ...; readonly role?: "PARTICIPANT" | "REVIEWER" | "AUTHOR"; readonly status?: "APPROVED" | "NEEDS_WORK" | "UNAPPROVED"; readonly user?: { ...; }; }; ... 17 more ...; readonly version?: number; };
                role?: "PARTICIPANT" | "REVIEWER" | "AUTHOR";
                status?: "APPROVED" | "NEEDS_WORK" | "UNAPPROVED";
                user?: {
                    active?: boolean;
                    displayName?: string;
                    emailAddress?: string;
                    id?: number;
                    name?: string;
                    slug?: string;
                    type?: "NORMAL" | "SERVICE";
                };
            };
            closed?: boolean;
            closedDate?: string;
            createdDate?: string;
            crossRepository?: boolean;
            description?: string;
            draft?: boolean;
            fromRef?: {
                displayId?: string;
                id?: string;
                latestCommit?: string;
                repository?: {
                    archived?: boolean;
                    description?: string;
                    fork?: boolean;
                    forkable?: boolean;
                    hierarchyId?: string;
                    id?: number;
                    local?: boolean;
                    name?: string;
                    offline?: boolean;
                    origin?: { readonly archived?: boolean; readonly description?: string; readonly fork?: boolean; readonly forkable?: boolean; readonly hierarchyId?: string; readonly id?: number; readonly local?: boolean; ... 11 more ...; readonly statusMessage?: string; } | undefined;
                    partition?: number;
                    project?: {
                        description?: string;
                        id?: number;
                        key?: string;
                        name?: string;
                        public?: boolean;
                        type?: "NORMAL" | "PERSONAL";
                    };
                    public?: boolean;
                    readOnly?: boolean;
                    remote?: boolean;
                    scmId?: string;
                    slug?: string;
                    state?:
                        | "AVAILABLE"
                        | "INITIALISATION_FAILED"
                        | "INITIALISING"
                        | "OFFLINE";
                    statusMessage?: string;
                };
                type?: unknown;
            };
            id?: number;
            locked?: boolean;
            open?: boolean;
            participants?: readonly {
                approved?: boolean;
                lastReviewedCommit?: string;
                pullRequest?: { readonly author?: { readonly approved?: boolean; readonly lastReviewedCommit?: string; readonly pullRequest?: ...; readonly role?: "PARTICIPANT" | "REVIEWER" | "AUTHOR"; readonly status?: "APPROVED" | "NEEDS_WORK" | "UNAPPROVED"; readonly user?: { ...; }; }; ... 17 more ...; readonly version?: number; };
                role?: "PARTICIPANT" | "REVIEWER" | "AUTHOR";
                status?: "APPROVED" | "NEEDS_WORK" | "UNAPPROVED";
                user?: {
                    active?: boolean;
                    displayName?: string;
                    emailAddress?: string;
                    id?: number;
                    name?: string;
                    slug?: string;
                    type?: "NORMAL" | "SERVICE";
                };
            }[];
            properties?: Record<string, unknown>;
            reviewers?: readonly {
                approved?: boolean;
                lastReviewedCommit?: string;
                pullRequest?: { readonly author?: { readonly approved?: boolean; readonly lastReviewedCommit?: string; readonly pullRequest?: ...; readonly role?: "PARTICIPANT" | "REVIEWER" | "AUTHOR"; readonly status?: "APPROVED" | "NEEDS_WORK" | "UNAPPROVED"; readonly user?: { ...; }; }; ... 17 more ...; readonly version?: number; };
                role?: "PARTICIPANT" | "REVIEWER" | "AUTHOR";
                status?: "APPROVED" | "NEEDS_WORK" | "UNAPPROVED";
                user?: {
                    active?: boolean;
                    displayName?: string;
                    emailAddress?: string;
                    id?: number;
                    name?: string;
                    slug?: string;
                    type?: "NORMAL" | "SERVICE";
                };
            }[];
            state?: "DECLINED" | "MERGED" | "OPEN";
            title?: string;
            toRef?: {
                displayId?: string;
                id?: string;
                latestCommit?: string;
                repository?: {
                    archived?: boolean;
                    description?: string;
                    fork?: boolean;
                    forkable?: boolean;
                    hierarchyId?: string;
                    id?: number;
                    local?: boolean;
                    name?: string;
                    offline?: boolean;
                    origin?: { readonly archived?: boolean; readonly description?: string; readonly fork?: boolean; readonly forkable?: boolean; readonly hierarchyId?: string; readonly id?: number; readonly local?: boolean; ... 11 more ...; readonly statusMessage?: string; } | undefined;
                    partition?: number;
                    project?: {
                        description?: string;
                        id?: number;
                        key?: string;
                        name?: string;
                        public?: boolean;
                        type?: "NORMAL" | "PERSONAL";
                    };
                    public?: boolean;
                    readOnly?: boolean;
                    remote?: boolean;
                    scmId?: string;
                    slug?: string;
                    state?:
                        | "AVAILABLE"
                        | "INITIALISATION_FAILED"
                        | "INITIALISING"
                        | "OFFLINE";
                    statusMessage?: string;
                };
                type?: unknown;
            };
            updatedDate?: string;
            version?: number;
        };
        PullRequestParticipant: {
            approved?: boolean;
            lastReviewedCommit?: string;
            pullRequest?: {
                author?: { readonly approved?: boolean; readonly lastReviewedCommit?: string; readonly pullRequest?: { readonly author?: ...; readonly closed?: boolean; readonly closedDate?: string; readonly createdDate?: string; ... 14 more ...; readonly version?: number; }; readonly role?: "PARTICIPANT" | ... 1 more ... | "AUTHOR"; readon...;
                closed?: boolean;
                closedDate?: string;
                createdDate?: string;
                crossRepository?: boolean;
                description?: string;
                draft?: boolean;
                fromRef?: {
                    displayId?: string;
                    id?: string;
                    latestCommit?: string;
                    repository?: {
                        archived?: boolean;
                        description?: string;
                        fork?: boolean;
                        forkable?: boolean;
                        hierarchyId?: string;
                        id?: number;
                        local?: boolean;
                        name?: string;
                        offline?: boolean;
                        origin?: { readonly archived?: boolean; readonly description?: string; readonly fork?: boolean; readonly forkable?: boolean; readonly hierarchyId?: string; readonly id?: number; readonly local?: boolean; ... 11 more ...; readonly statusMessage?: string; } | undefined;
                        partition?: number;
                        project?: {
                            description?: (...) | (...);
                            id?: (...) | (...);
                            key?: (...) | (...);
                            name?: (...) | (...);
                            public?: (...) | (...) | (...);
                            type?: (...) | (...) | (...);
                        };
                        public?: boolean;
                        readOnly?: boolean;
                        remote?: boolean;
                        scmId?: string;
                        slug?: string;
                        state?:
                            | "AVAILABLE"
                            | "INITIALISATION_FAILED"
                            | "INITIALISING"
                            | "OFFLINE";
                        statusMessage?: string;
                    };
                    type?: unknown;
                };
                id?: number;
                locked?: boolean;
                open?: boolean;
                participants?: readonly ({ readonly approved?: boolean; readonly lastReviewedCommit?: string; readonly pullRequest?: { readonly author?: ...; readonly closed?: boolean; readonly closedDate?: string; readonly createdDate?: string; ... 14 more ...; readonly version?: number; }; readonly role?: "PARTICIPANT" | ... 1 more ... | "AUTHOR"; readon...)[];
                properties?: Record<string, unknown>;
                reviewers?: readonly ({ readonly approved?: boolean; readonly lastReviewedCommit?: string; readonly pullRequest?: { readonly author?: ...; readonly closed?: boolean; readonly closedDate?: string; readonly createdDate?: string; ... 14 more ...; readonly version?: number; }; readonly role?: "PARTICIPANT" | ... 1 more ... | "AUTHOR"; readon...)[];
                state?: "DECLINED" | "MERGED" | "OPEN";
                title?: string;
                toRef?: {
                    displayId?: string;
                    id?: string;
                    latestCommit?: string;
                    repository?: {
                        archived?: boolean;
                        description?: string;
                        fork?: boolean;
                        forkable?: boolean;
                        hierarchyId?: string;
                        id?: number;
                        local?: boolean;
                        name?: string;
                        offline?: boolean;
                        origin?: { readonly archived?: boolean; readonly description?: string; readonly fork?: boolean; readonly forkable?: boolean; readonly hierarchyId?: string; readonly id?: number; readonly local?: boolean; ... 11 more ...; readonly statusMessage?: string; } | undefined;
                        partition?: number;
                        project?: {
                            description?: (...) | (...);
                            id?: (...) | (...);
                            key?: (...) | (...);
                            name?: (...) | (...);
                            public?: (...) | (...) | (...);
                            type?: (...) | (...) | (...);
                        };
                        public?: boolean;
                        readOnly?: boolean;
                        remote?: boolean;
                        scmId?: string;
                        slug?: string;
                        state?:
                            | "AVAILABLE"
                            | "INITIALISATION_FAILED"
                            | "INITIALISING"
                            | "OFFLINE";
                        statusMessage?: string;
                    };
                    type?: unknown;
                };
                updatedDate?: string;
                version?: number;
            };
            role?: "PARTICIPANT" | "REVIEWER" | "AUTHOR";
            status?: "APPROVED" | "NEEDS_WORK" | "UNAPPROVED";
            user?: {
                active?: boolean;
                displayName?: string;
                emailAddress?: string;
                id?: number;
                name?: string;
                slug?: string;
                type?: "NORMAL" | "SERVICE";
            };
        };
        PullRequestRef: {
            displayId?: string;
            id?: string;
            latestCommit?: string;
            repository?: {
                archived?: boolean;
                description?: string;
                fork?: boolean;
                forkable?: boolean;
                hierarchyId?: string;
                id?: number;
                local?: boolean;
                name?: string;
                offline?: boolean;
                origin?: { readonly archived?: boolean; readonly description?: string; readonly fork?: boolean; readonly forkable?: boolean; readonly hierarchyId?: string; readonly id?: number; readonly local?: boolean; ... 11 more ...; readonly statusMessage?: string; } | undefined;
                partition?: number;
                project?: {
                    description?: string;
                    id?: number;
                    key?: string;
                    name?: string;
                    public?: boolean;
                    type?: "NORMAL" | "PERSONAL";
                };
                public?: boolean;
                readOnly?: boolean;
                remote?: boolean;
                scmId?: string;
                slug?: string;
                state?:
                    | "AVAILABLE"
                    | "INITIALISATION_FAILED"
                    | "INITIALISING"
                    | "OFFLINE";
                statusMessage?: string;
            };
            type?: unknown;
        };
        RefType: unknown;
        Repository: {
            archived?: boolean;
            description?: string;
            fork?: boolean;
            forkable?: boolean;
            hierarchyId?: string;
            id?: number;
            local?: boolean;
            name?: string;
            offline?: boolean;
            origin?: { readonly archived?: boolean; readonly description?: string; readonly fork?: boolean; readonly forkable?: boolean; readonly hierarchyId?: string; readonly id?: number; readonly local?: boolean; ... 11 more ...; readonly statusMessage?: string; };
            partition?: number;
            project?: {
                description?: string;
                id?: number;
                key?: string;
                name?: string;
                public?: boolean;
                type?: "NORMAL" | "PERSONAL";
            };
            public?: boolean;
            readOnly?: boolean;
            remote?: boolean;
            scmId?: string;
            slug?: string;
            state?:
                | "AVAILABLE"
                | "INITIALISATION_FAILED"
                | "INITIALISING"
                | "OFFLINE";
            statusMessage?: string;
        };
        RepositoryHookDetails: {
            configFormKey?: string;
            description?: string;
            key?: string;
            name?: string;
            supportedScopes?: readonly ("GLOBAL" | "PROJECT" | "REPOSITORY")[];
            type?: "POST_RECEIVE" | "PRE_PULL_REQUEST_MERGE" | "PRE_RECEIVE";
            version?: string;
        };
        RestAccessToken: {
            createdDate?: string;
            id?: string;
            name?: string;
        };
        RestAccessTokenRequest: {
            expiryDays?: number;
            name?: string;
            permissions?: readonly string[];
        };
        RestAggregateRejectCounter: {
            lastRejectTime?: number;
            rejectCount?: number;
            user?: {
                active?: boolean;
                avatarUrl?: string;
                displayName?: string;
                emailAddress?: string;
                id?: number;
                links?: Record<string, unknown>;
                name?: string;
                slug?: string;
                type?: "NORMAL" | "SERVICE";
            };
        };
        RestAnalyticsSettings: {
            canCollectAnalytics?: boolean;
            serverTime?: number;
            supportEntitlementNumber?: string;
        };
        RestAnnouncementBanner: {
            audience?: "ALL" | "AUTHENTICATED";
            enabled?: boolean;
            message?: string;
        };
        RestApplicationProperties: {
            buildDate?: string;
            buildNumber?: string;
            displayName?: string;
            version?: string;
        };
        RestApplicationUser: {
            active?: boolean;
            avatarUrl?: string;
            displayName?: string;
            emailAddress?: string;
            id?: number;
            links?: Record<string, unknown>;
            name?: string;
            slug?: string;
            type?: "NORMAL" | "SERVICE";
        };
        RestApplicationUserWithPermissions: {
            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";
        };
        RestApplySuggestionRequest: {
            commentVersion?: {
                asInt?: number;
                present?: boolean;
            };
            commitMessage?: string;
            pullRequestVersion?: {
                asInt?: number;
                present?: boolean;
            };
            suggestionIndex?: {
                asInt?: number;
                present?: boolean;
            };
        };
        RestAttachmentMetadata: {
            id?: number;
            metadata?: string;
            url?: string;
        };
        RestAuthenticationRequest: {
            credentials: {
                token: string;
            } | {
                algorithm?: string;
                publicKey: string;
                username?: string;
            } | {
                password: string;
                username: string;
            };
            repositoryId?: number;
        };
        RestAutoDeclineSettings: {
            enabled?: boolean;
            inactivityWeeks?: number;
            scope?: {
                resourceId?: number;
                type?: "GLOBAL" | "PROJECT" | "REPOSITORY";
            };
        };
        RestAutoDeclineSettingsRequest: {
            enabled?: boolean;
            inactivityWeeks?: number;
        };
        RestAutoMergeProcessingResult: {
            autoMergeProcessingStatus?:
                | "MERGED"
                | "CANCELLED"
                | "LOCK_FAILURE"
                | "STALE"
                | "UNKNOWN"
                | "VETOED";
            pullRequest?: {
                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<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;
                    };
                    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?: boolean;
                        avatarUrl?: string;
                        displayName?: string;
                        emailAddress?: string;
                        id?: number;
                        links?: Record<(...), (...)>;
                        name?: string;
                        slug?: string;
                        type?: "NORMAL" | "SERVICE";
                    };
                }[];
                reviewers?: readonly {
                    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<(...), (...)>;
                        name?: string;
                        slug?: string;
                        type?: "NORMAL" | "SERVICE";
                    };
                }[];
                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<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;
                    };
                    type?: "BRANCH" | "TAG";
                };
                updatedDate?: number;
                version?: number;
            };
        };
        RestAutoMergeProjectSettingsRequest: {
            enabled?: boolean;
            restrictionAction?: "CREATE" | "DELETE" | "NONE";
        };
        RestAutoMergeRequest: {
            autoSubject?: boolean;
            createdDate?: number;
            fromHash?: string;
            message?: string;
            strategyId?: string;
            toRefId?: string;
        };
        RestAutoMergeRestrictedSettings: {
            enabled?: boolean;
            restrictionState?: "NONE" | "RESTRICTED_MODIFIABLE" | "RESTRICTED_UNMODIFIABLE";
            scope?: {
                resourceId?: number;
                type?: "GLOBAL" | "PROJECT" | "REPOSITORY";
            };
        };
        RestAutoMergeSettingsRequest: {
            enabled?: boolean;
        };
        RestBearerTokenCredentials: {
            token: string;
        };
        RestBitbucketLicense: {
            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;
        };
        RestBranch: {
            default?: boolean;
            displayId?: string;
            id?: string;
            latestChangeset?: string;
            latestCommit?: string;
            type?: unknown;
        };
        RestBranchCreateRequest: {
            name?: string;
            startPoint?: string;
        };
        RestBranchDeleteRequest: {
            dryRun?: boolean;
            endPoint?: string;
            name?: string;
        };
        RestBuildCapabilities: {
            buildStatus?: readonly string[];
        };
        RestBuildStats: {
            cancelled?: number;
            failed?: number;
            inProgress?: number;
            successful?: number;
            unknown?: number;
        };
        RestBuildStatus: {
            buildNumber?: string;
            createdDate?: number;
            description?: string;
            duration?: number;
            key?: string;
            name?: string;
            parent?: string;
            ref?: string;
            state?:
                | "FAILED"
                | "INPROGRESS"
                | "SUCCESSFUL"
                | "CANCELLED"
                | "UNKNOWN";
            testResults?: {
                failed?: number;
                skipped?: number;
                successful?: number;
            };
            updatedDate?: number;
            url?: string;
        };
        RestBuildStatusSetRequest: {
            buildNumber?: string;
            description?: string;
            duration?: number;
            key: string;
            lastUpdated?: number;
            name?: string;
            parent?: string;
            ref?: string;
            state:
                | "FAILED"
                | "INPROGRESS"
                | "SUCCESSFUL"
                | "CANCELLED"
                | "UNKNOWN";
            testResults?: {
                failed?: number;
                skipped?: number;
                successful?: number;
            };
            url: string;
        };
        RestBulkAddInsightAnnotationRequest: {
            annotations?: readonly {
                externalId?: string;
                line?: number;
                link?: string;
                message: string;
                path?: string;
                severity: string;
                type?: string;
            }[];
        };
        RestBulkUserRateLimitSettingsUpdateRequest: {
            settings?: {
                capacity?: number;
                fillRate?: number;
            };
            usernames?: readonly string[];
            whitelisted?: boolean;
        };
        RestChange: {
            conflict?: {
                ourChange?: {
                    path?: {
                        components?: readonly string[];
                        extension?: string;
                        name?: string;
                        parent?: string;
                    };
                    srcPath?: {
                        components?: readonly string[];
                        extension?: string;
                        name?: string;
                        parent?: string;
                    };
                    type?:
                        | "UNKNOWN"
                        | "DELETE"
                        | "ADD"
                        | "COPY"
                        | "MODIFY"
                        | "MOVE";
                };
                theirChange?: {
                    path?: {
                        components?: readonly string[];
                        extension?: string;
                        name?: string;
                        parent?: string;
                    };
                    srcPath?: {
                        components?: readonly string[];
                        extension?: string;
                        name?: string;
                        parent?: string;
                    };
                    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";
        };
        RestChangeset: {
            changes?: {
                isLastPage?: boolean;
                limit?: number;
                nextPageStart?: number;
                size?: number;
                start?: number;
                values?: Record<string, unknown>;
            };
            fromCommit?: {
                displayId?: string;
                id?: string;
            };
            links?: Record<string, unknown>;
            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<string, unknown>;
                    name?: 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;
                };
                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;
            };
            toCommit?: {
                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;
                }[];
            };
        };
        RestClusterInformation: {
            localNode?: {
                address?: {
                    address?: string;
                    port?: number;
                };
                buildVersion?: string;
                id?: string;
                local?: boolean;
                name?: string;
            };
            nodes?: readonly {
                address?: {
                    address?: string;
                    port?: number;
                };
                buildVersion?: string;
                id?: string;
                local?: boolean;
                name?: string;
            }[];
            running?: boolean;
        };
        RestClusterNode: {
            address?: {
                address?: string;
                port?: number;
            };
            buildVersion?: string;
            id?: string;
            local?: boolean;
            name?: string;
        };
        RestComment: {
            anchor?: {
                diffType?: "COMMIT" | "EFFECTIVE" | "RANGE";
                fileType?: "FROM" | "TO";
                fromHash?: string;
                line?: number;
                lineComment?: boolean;
                lineType?: "ADDED" | "CONTEXT" | "REMOVED";
                path?: {
                    components?: readonly string[];
                    extension?: string;
                    name?: string;
                    parent?: string;
                };
                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?: 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?: (...) | (...) | (...);
                            defaultBranch?: (...) | (...);
                            description?: (...) | (...);
                            forkable?: (...) | (...) | (...);
                            hierarchyId?: (...) | (...);
                            id?: (...) | (...);
                            links?: (...) | (...);
                            name?: (...) | (...);
                            origin?: (...) | (...);
                            partition?: (...) | (...);
                            project?: (...) | (...);
                            public?: (...) | (...) | (...);
                            relatedLinks?: (...) | (...);
                            scmId?: (...) | (...);
                            scope?: (...) | (...);
                            slug?: (...) | (...);
                            state?:
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...);
                            statusMessage?: (...) | (...);
                        };
                        type?: "BRANCH" | "TAG";
                    };
                    updatedDate?: number;
                    version?: number;
                };
                srcPath?: {
                    components?: readonly string[];
                    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 lineComment?: boolean; ... 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;
                    lineComment?: boolean;
                    lineType?: "ADDED" | "CONTEXT" | "REMOVED";
                    path?: {
                        components?: readonly string[];
                        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<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;
                    };
                    srcPath?: {
                        components?: readonly string[];
                        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 lineComment?: boolean; ... 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<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;
            };
            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;
        };
        RestCommentJiraIssue: {
            commentId?: number;
            issueKey?: string;
        };
        RestCommentThreadDiffAnchor: {
            diffType?: "COMMIT" | "EFFECTIVE" | "RANGE";
            fileType?: "FROM" | "TO";
            fromHash?: string;
            line?: number;
            lineComment?: boolean;
            lineType?: "ADDED" | "CONTEXT" | "REMOVED";
            path?: {
                components?: readonly string[];
                extension?: string;
                name?: string;
                parent?: string;
            };
            pullRequest?: {
                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<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;
                    };
                    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?: boolean;
                        avatarUrl?: string;
                        displayName?: string;
                        emailAddress?: string;
                        id?: number;
                        links?: Record<(...), (...)>;
                        name?: string;
                        slug?: string;
                        type?: "NORMAL" | "SERVICE";
                    };
                }[];
                reviewers?: readonly {
                    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<(...), (...)>;
                        name?: string;
                        slug?: string;
                        type?: "NORMAL" | "SERVICE";
                    };
                }[];
                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<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;
                    };
                    type?: "BRANCH" | "TAG";
                };
                updatedDate?: number;
                version?: number;
            };
            srcPath?: {
                components?: readonly string[];
                extension?: string;
                name?: string;
                parent?: string;
            };
            toHash?: string;
        };
        RestCommit: {
            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;
            }[];
        };
        RestCommitMessageSuggestion: {
            body?: string;
            title?: string;
        };
        RestConflict: {
            ourChange?: {
                path?: {
                    components?: readonly string[];
                    extension?: string;
                    name?: string;
                    parent?: string;
                };
                srcPath?: {
                    components?: readonly string[];
                    extension?: string;
                    name?: string;
                    parent?: string;
                };
                type?:
                    | "UNKNOWN"
                    | "DELETE"
                    | "ADD"
                    | "COPY"
                    | "MODIFY"
                    | "MOVE";
            };
            theirChange?: {
                path?: {
                    components?: readonly string[];
                    extension?: string;
                    name?: string;
                    parent?: string;
                };
                srcPath?: {
                    components?: readonly string[];
                    extension?: string;
                    name?: string;
                    parent?: string;
                };
                type?:
                    | "UNKNOWN"
                    | "DELETE"
                    | "ADD"
                    | "COPY"
                    | "MODIFY"
                    | "MOVE";
            };
        };
        RestConflictChange: {
            path?: {
                components?: readonly string[];
                extension?: string;
                name?: string;
                parent?: string;
            };
            srcPath?: {
                components?: readonly string[];
                extension?: string;
                name?: string;
                parent?: string;
            };
            type?:
                | "UNKNOWN"
                | "DELETE"
                | "ADD"
                | "COPY"
                | "MODIFY"
                | "MOVE";
        };
        RestConnectivitySummary: {
            errorMessage?: string;
            reachable?: boolean;
            roundTripTime?: number;
        };
        RestCreateBranchRequest: {
            message?: string;
            name?: string;
            startPoint?: string;
        };
        RestCreateTagRequest: {
            message?: string;
            name?: string;
            startPoint?: string;
        };
        RestDefaultBranch: {
            id?: string;
        };
        RestDefaultReviewersRequest: {
            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;
                };
            };
        };
        RestDefaultTask: {
            description?: string;
            html?: string;
            id?: number;
        };
        RestDefaultTaskRequest: {
            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;
                };
            };
        };
        RestDeployment: {
            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<string, unknown>;
                    name?: 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;
                };
                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;
            };
            state?:
                | "FAILED"
                | "SUCCESSFUL"
                | "IN_PROGRESS"
                | "PENDING"
                | "CANCELLED"
                | "UNKNOWN"
                | "ROLLED_BACK";
            toCommit?: {
                displayId?: string;
                id?: string;
            };
            url?: string;
        };
        RestDeploymentEnvironment: {
            displayName?: string;
            key?: string;
            type?: string;
            url?: string;
        };
        RestDeploymentSetRequest: {
            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"
                | "CANCELLED"
                | "UNKNOWN"
                | "ROLLED_BACK";
            url: string;
        };
        RestDetailedGroup: {
            deletable?: boolean;
            name?: string;
        };
        RestDetailedInvocation: {
            duration?: number;
            event?: string;
            eventScope?: {
                id?: string;
                type?: string;
            };
            finish?: number;
            id?: number;
            request?: Record<string, unknown>;
            result?: Record<string, unknown>;
            start?: number;
        };
        RestDetailedUser: {
            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";
        };
        RestDiff: {
            binary?: boolean;
            destination?: {
                components?: readonly string[];
                extension?: string;
                name?: string;
                parent?: string;
            };
            hunks?: readonly {
                context?: string;
                destinationLine?: number;
                destinationSpan?: number;
                segments?: readonly {
                    lines?: readonly {
                        commentIds?: ...;
                        conflictMarker?: ...;
                        destination?: ...;
                        line?: ...;
                        source?: ...;
                        truncated?: ...;
                    }[];
                    truncated?: boolean;
                    type?: "ADDED" | "CONTEXT" | "REMOVED";
                }[];
                sourceLine?: number;
                sourceSpan?: number;
                truncated?: boolean;
            }[];
            lineComments?: readonly {
                anchor?: {
                    diffType?: "COMMIT" | "EFFECTIVE" | "RANGE";
                    fileType?: "FROM" | "TO";
                    fromHash?: string;
                    line?: number;
                    lineComment?: boolean;
                    lineType?: "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 lineComment?: boolean; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }[] | undefined;
                createdDate?: number;
                html?: string;
                id?: number;
                parent?: {
                    anchor?: {
                        diffType?: "COMMIT" | "EFFECTIVE" | "RANGE";
                        fileType?: "FROM" | "TO";
                        fromHash?: string;
                        line?: number;
                        lineComment?: boolean;
                        lineType?: "ADDED" | "CONTEXT" | "REMOVED";
                        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 lineComment?: boolean; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }[] | undefined;
                    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;
            }[];
            properties?: Record<string, unknown>;
            source?: {
                components?: readonly string[];
                extension?: string;
                name?: string;
                parent?: string;
            };
            truncated?: boolean;
        };
        RestDiffHunk: {
            context?: string;
            destinationLine?: number;
            destinationSpan?: number;
            segments?: readonly {
                lines?: readonly {
                    commentIds?: readonly number[];
                    conflictMarker?: "MARKER" | "OURS" | "THEIRS";
                    destination?: number;
                    line?: string;
                    source?: number;
                    truncated?: boolean;
                }[];
                truncated?: boolean;
                type?: "ADDED" | "CONTEXT" | "REMOVED";
            }[];
            sourceLine?: number;
            sourceSpan?: number;
            truncated?: boolean;
        };
        RestDiffLine: {
            commentIds?: readonly number[];
            conflictMarker?: "MARKER" | "OURS" | "THEIRS";
            destination?: number;
            line?: string;
            source?: number;
            truncated?: boolean;
        };
        RestDiffSegment: {
            lines?: readonly {
                commentIds?: readonly number[];
                conflictMarker?: "MARKER" | "OURS" | "THEIRS";
                destination?: number;
                line?: string;
                source?: number;
                truncated?: boolean;
            }[];
            truncated?: boolean;
            type?: "ADDED" | "CONTEXT" | "REMOVED";
        };
        RestDiffStatsSummary: unknown;
        RestEmoticon: {
            shortcut?: string;
            url?: string;
            value?: string;
        };
        RestEnhancedEntityLink: {
            applicationLinkId?: string;
            displayUrl?: string;
            projectId?: number;
            projectKey?: string;
            projectName?: string;
        };
        RestErasedUser: {
            newIdentifier?: string;
        };
        RestErrorMessage: {
            context?: string;
            exceptionName?: string;
            message?: string;
        };
        RestErrors: {
            errors?: readonly {
                context?: string;
                exceptionName?: string;
                message?: string;
            }[];
        };
        RestExportRequest: {
            exportLocation?: string;
            repositoriesRequest: {
                includes: readonly {
                    projectKey?: string;
                    slug?: string;
                }[];
            };
        };
        RestFarmSynchronizationRequest: {
            attempt?: number;
            createdAt?: string;
            externalRepoId?: string;
            type?: "incremental" | "snapshot";
        };
        RestGitTagCreateRequest: {
            force?: boolean;
            message?: string;
            name?: string;
            startPoint?: string;
            type?: "ANNOTATED" | "LIGHTWEIGHT";
        };
        RestGpgKey: {
            emailAddress?: string;
            expiryDate?: number;
            fingerprint?: string;
            id?: string;
            subKeys?: readonly {
                expiryDate?: string;
                fingerprint?: string;
            }[];
            text?: string;
        };
        RestGpgSubKey: {
            expiryDate?: string;
            fingerprint?: string;
        };
        RestHookScript: {
            createdDate?: string;
            description?: string;
            id?: number;
            name?: string;
            pluginKey?: string;
            type?: "POST" | "PRE";
            updatedDate?: string;
            version?: number;
        };
        RestHookScriptConfig: {
            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[];
        };
        RestHookScriptTriggers: {
            triggerIds?: readonly string[];
        };
        RestImportRequest: {
            archivePath?: string;
        };
        RestInsightAnnotation: {
            externalId?: string;
            line?: number;
            link?: string;
            message?: string;
            path?: string;
            reportKey?: string;
            severity?: string;
            type?: string;
        };
        RestInsightAnnotationsResponse: {
            annotations?: readonly {
                externalId?: string;
                line?: number;
                link?: string;
                message?: string;
                path?: string;
                reportKey?: string;
                severity?: string;
                type?: string;
            }[];
        };
        RestInsightReport: {
            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;
        };
        RestInsightReportData: {
            title?: string;
            type?: string;
            value?: Record<string, unknown>;
        };
        RestInvocationHistory: unknown;
        RestInvocationRequest: unknown;
        RestInvocationResult: unknown;
        RestJiraIssue: {
            key?: string;
            url?: string;
        };
        RestJob: {
            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;
        };
        RestJobMessage: {
            createdDate?: string;
            id?: string;
            severity?: "ERROR" | "INFO" | "WARN";
            subject?: string;
            text?: string;
        };
        RestLabel: {
            name?: string;
        };
        RestLabelable: {
            archived?: boolean;
            defaultBranch?: string;
            description?: string;
            forkable?: boolean;
            hierarchyId?: string;
            id?: number;
            labelableType?: "REPOSITORY";
            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<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;
            };
            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;
        };
        RestLogLevel: {
            logLevel?: string;
        };
        RestMailConfiguration: {
            hostname?: string;
            password?: string;
            port?: number;
            protocol?: "SMTP" | "SMTPS";
            requireStartTls?: boolean;
            senderAddress?: string;
            username?: string;
            useStartTls?: boolean;
        };
        RestMarkup: {
            html?: string;
        };
        RestMeshConnectivityReport: {
            reports?: readonly {
                node?: {
                    id?: string;
                    name?: string;
                    type?: "BITBUCKET" | "MESH";
                };
                summaries?: readonly {
                    node?: {
                        id?: (...) | (...);
                        name?: (...) | (...);
                        type?: (...) | (...) | (...);
                    };
                    summary?: {
                        errorMessage?: (...) | (...);
                        reachable?: (...) | (...) | (...);
                        roundTripTime?: (...) | (...);
                    };
                }[];
            }[];
        };
        RestMeshMigrationQueueStateCounts: unknown;
        RestMeshMigrationRequest: {
            all?: boolean;
            maxBytesPerSecond?: {
                asLong?: number;
                present?: boolean;
            };
            projectIds?: readonly number[];
            repositoryIds?: readonly number[];
        };
        RestMeshMigrationSummary: {
            endTime?: number;
            jobId?: number;
            maxBandwidth?: number;
            progress?: number;
            queue?: Record<string, unknown>;
            startTime?: number;
            state?: string;
        };
        RestMeshNode: {
            id?: string;
            lastSeenDate?: number;
            name?: string;
            offline?: boolean;
            rpcId?: string;
            rpcUrl?: string;
            state?:
                | "AVAILABLE"
                | "OFFLINE"
                | "DELETING"
                | "DISABLED"
                | "DRAINING";
        };
        RestMigrationRepository: {
            migrationState?:
                | "FAILED"
                | "SKIPPED"
                | "CANCELED"
                | "MIGRATED"
                | "QUEUED"
                | "STAGED"
                | "STAGING";
            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<string, unknown>;
                    name?: 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;
                };
                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;
            };
        };
        RestMinimalCommit: {
            displayId?: string;
            id?: string;
        };
        RestMinimalRef: {
            displayId?: string;
            id?: string;
            type?: "BRANCH" | "TAG";
        };
        RestMirroredRepository: {
            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";
        };
        RestMirroredRepositoryDescriptor: {
            links?: Record<string, unknown>;
            mirrorServer?: {
                baseUrl?: string;
                enabled?: boolean;
                id?: string;
                lastSeenDate: string;
                mirrorType?: "FARM" | "SINGLE";
                name?: string;
                productVersion?: string;
            };
        };
        RestMirrorHashes: {
            content?: string;
            metadata?: string;
        };
        RestMirroringRequest: {
            id?: number;
            mirrorBaseUrl?: string;
            mirrorId?: string;
            mirrorName?: string;
            mirrorType?: "FARM" | "SINGLE";
            productVersion?: string;
            state?: "ACCEPTED" | "PENDING" | "REJECTED";
        };
        RestMirrorRepositorySynchronizationStatus: {
            externalRepoId?: string;
            failedSyncCount?: number;
            hashes?: {
                content?: string;
                metadata?: string;
            };
            initialSyncDate?: string;
            lastSyncDate?: string;
            localProjectId?: number;
            localRepoId?: number;
            upstreamId?: string;
        };
        RestMirrorServer: {
            baseUrl?: string;
            enabled?: boolean;
            id?: string;
            lastSeenDate?: string;
            mirrorType?: "FARM" | "SINGLE";
            name?: string;
            productVersion?: string;
        };
        RestMirrorUpgradeRequest: {
            baseUrl?: string;
            productVersion?: string;
        };
        RestMultipleBuildStats: unknown;
        RestNamedLink: {
            href?: string;
            name?: string;
        };
        RestNode: {
            id?: string;
            name?: string;
            type?: "BITBUCKET" | "MESH";
        };
        RestNodeConnectivityReport: {
            node?: {
                id?: string;
                name?: string;
                type?: "BITBUCKET" | "MESH";
            };
            summaries?: readonly {
                node?: {
                    id?: string;
                    name?: string;
                    type?: "BITBUCKET" | "MESH";
                };
                summary?: {
                    errorMessage?: string;
                    reachable?: boolean;
                    roundTripTime?: number;
                };
            }[];
        };
        RestNodeConnectivitySummary: {
            node?: {
                id?: string;
                name?: string;
                type?: "BITBUCKET" | "MESH";
            };
            summary?: {
                errorMessage?: string;
                reachable?: boolean;
                roundTripTime?: number;
            };
        };
        RestPageRestChange: {
            isLastPage?: boolean;
            limit?: number;
            nextPageStart?: number;
            size?: number;
            start?: number;
            values?: Record<string, unknown>;
        };
        RestPath: {
            components?: readonly string[];
            extension?: string;
            name?: string;
            parent?: string;
        };
        RestPermitted: {
            permitted?: boolean;
        };
        RestPermittedGroup: {
            group?: {
                name?: string;
            };
            permission?: string;
        };
        RestPermittedUser: {
            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?: boolean;
                avatarUrl?: string;
                displayName?: string;
                emailAddress?: string;
                id?: number;
                links?: Record<string, unknown>;
                name?: string;
                slug?: string;
                type?: "NORMAL" | "SERVICE";
            };
        };
        RestPerson: {
            avatarUrl?: string;
            emailAddress?: string;
            name?: string;
        };
        RestProgress: {
            message?: string;
            percentage?: number;
        };
        RestProject: {
            avatar?: string;
            avatarUrl?: string;
            description?: string;
            id?: number;
            key?: string;
            links?: Record<string, unknown>;
            name?: string;
            public?: boolean;
            scope?: string;
            type?: "NORMAL" | "PERSONAL";
        };
        RestProjectSettingsRestriction: {
            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";
            };
        };
        RestProjectSettingsRestrictionRequest: {
            componentKey?: string;
            featureKey: string;
            namespace: string;
        };
        RestProperties: {
            contentHash?: string;
            defaultBranchId?: string;
            metadataHash?: string;
        };
        RestPullRequest: {
            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<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?: (...) | (...);
                            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;
                    };
                    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;
                };
                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?: boolean;
                    avatarUrl?: string;
                    displayName?: string;
                    emailAddress?: string;
                    id?: number;
                    links?: Record<string, unknown>;
                    name?: string;
                    slug?: string;
                    type?: "NORMAL" | "SERVICE";
                };
            }[];
            reviewers?: readonly {
                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";
                };
            }[];
            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<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?: (...) | (...);
                            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;
                    };
                    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;
                };
                type?: "BRANCH" | "TAG";
            };
            updatedDate?: number;
            version?: number;
        };
        RestPullRequestActivity: {
            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?: boolean;
                avatarUrl?: string;
                displayName?: string;
                emailAddress?: string;
                id?: number;
                links?: Record<string, unknown>;
                name?: string;
                slug?: string;
                type?: "NORMAL" | "SERVICE";
            };
        };
        RestPullRequestAssignParticipantRoleRequest: {
            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";
            };
        };
        RestPullRequestAssignStatusRequest: {
            lastReviewedCommit?: string;
            status?: "APPROVED" | "NEEDS_WORK" | "UNAPPROVED";
        };
        RestPullRequestCommitMessageTemplate: {
            body?: string;
            title?: string;
        };
        RestPullRequestCondition: {
            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;
                };
            };
        };
        RestPullRequestDeclineRequest: {
            comment?: string;
            version?: number;
        };
        RestPullRequestDeleteRequest: {
            version?: number;
        };
        RestPullRequestFinishReviewRequest: {
            commentText?: string;
            lastReviewedCommit?: string;
            participantStatus?: string;
        };
        RestPullRequestMergeability: {
            conflicted?: boolean;
            outcome?: "UNKNOWN" | "CLEAN" | "CONFLICTED";
            vetoes?: readonly {
                detailedMessage?: string;
                summaryMessage?: string;
            }[];
        };
        RestPullRequestMergeConfig: {
            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;
        };
        RestPullRequestMergeRequest: {
            autoMerge?: boolean;
            autoSubject?: string;
            message?: string;
            strategyId?: string;
            version?: number;
        };
        RestPullRequestMergeStrategy: {
            description?: string;
            enabled?: boolean;
            flag?: string;
            id?: string;
            links?: Record<string, unknown>;
            name?: string;
        };
        RestPullRequestParticipant: {
            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";
            };
        };
        RestPullRequestRebaseability: {
            vetoes?: readonly {
                detailedMessage?: string;
                summaryMessage?: string;
            }[];
        };
        RestPullRequestRebaseRequest: {
            version?: number;
        };
        RestPullRequestRebaseResult: {
            refChange?: {
                fromHash?: string;
                ref?: {
                    displayId?: string;
                    id?: string;
                    type?: "BRANCH" | "TAG";
                };
                refId?: string;
                toHash?: string;
                type?: "DELETE" | "ADD" | "UPDATE";
            };
        };
        RestPullRequestRef: {
            displayId?: string;
            id?: string;
            latestCommit?: string;
            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<string, unknown>;
                    name?: 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;
                };
                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;
            };
            type?: "BRANCH" | "TAG";
        };
        RestPullRequestReopenRequest: {
            version?: number;
        };
        RestPullRequestSettings: {
            mergeConfig?: {
                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;
            };
        };
        RestPullRequestSuggestion: {
            changeTme?: number;
            fromRef?: {
                displayId?: string;
                id?: string;
                type?: "BRANCH" | "TAG";
            };
            refChange?: {
                fromHash?: string;
                ref?: {
                    displayId?: string;
                    id?: string;
                    type?: "BRANCH" | "TAG";
                };
                refId?: string;
                toHash?: string;
                type?: "DELETE" | "ADD" | "UPDATE";
            };
            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<string, unknown>;
                    name?: 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;
                };
                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;
            };
            toRef?: {
                displayId?: string;
                id?: string;
                type?: "BRANCH" | "TAG";
            };
        };
        RestPushRefChange: {
            fromHash?: string;
            ref?: {
                displayId?: string;
                id?: string;
                type?: "BRANCH" | "TAG";
            };
            refId?: string;
            toHash?: string;
            type?: "DELETE" | "ADD" | "UPDATE";
            updatedType?:
                | "UNRESOLVED"
                | "UNKNOWN"
                | "FORCED"
                | "NOT_FORCED";
        };
        RestRateLimitSettings: {
            defaultSettings?: {
                capacity?: number;
                fillRate?: number;
            };
            enabled?: boolean;
        };
        RestRawAccessToken: {
            createdDate?: string;
            id?: string;
            name?: string;
            token?: string;
        };
        RestRefChange: {
            fromHash?: string;
            ref?: {
                displayId?: string;
                id?: string;
                type?: "BRANCH" | "TAG";
            };
            refId?: string;
            toHash?: string;
            type?: "DELETE" | "ADD" | "UPDATE";
        };
        RestRefMatcher: {
            displayId?: string;
            id?: string;
            type?: {
                id?:
                    | "BRANCH"
                    | "ANY_REF"
                    | "MODEL_BRANCH"
                    | "MODEL_CATEGORY"
                    | "PATTERN";
                name?: string;
            };
        };
        RestRefMatcherType: {
            id?:
                | "BRANCH"
                | "ANY_REF"
                | "MODEL_BRANCH"
                | "MODEL_CATEGORY"
                | "PATTERN";
            name?: string;
        };
        RestRefRestriction: {
            accessKeys?: readonly {
                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;
                };
            }[];
            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";
            }[];
        };
        RestRefSyncQueue: {
            values?: readonly {
                attempt?: number;
                createdAt?: string;
                externalRepoId?: string;
                type?: "incremental" | "snapshot";
            }[];
        };
        RestRefSyncRequest: {
            action?: "DISCARD" | "MERGE" | "REBASE";
            context?: {
                commitMessage?: string;
            };
            refId?: string;
        };
        RestRefSyncStatus: {
            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";
            };
        };
        RestRejectedRef: {
            displayId?: string;
            id?: string;
            state?: "AHEAD" | "DIVERGED" | "ORPHANED";
            tag?: boolean;
            type?: "BRANCH" | "TAG";
        };
        RestRelatedLinks: unknown;
        RestRepositoriesExportRequest: {
            includes: readonly {
                projectKey?: string;
                slug?: string;
            }[];
        };
        RestRepository: {
            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<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;
            };
            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;
        };
        RestRepositoryHook: {
            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";
            };
        };
        RestRepositoryHookVeto: {
            detailedMessage?: string;
            summaryMessage?: string;
        };
        RestRepositoryMirrorEvent: {
            mirrorRepoId?: number;
            type?: "SYNCHRONIZATION_FAILED" | "SYNCHRONIZED";
            upstreamRepoId?: string;
        };
        RestRepositoryPolicy: {
            permission?:
                | "ADMIN"
                | "PROJECT_ADMIN"
                | "REPO_ADMIN"
                | "SYS_ADMIN";
        };
        RestRepositoryPullRequestSettings: {
            mergeConfig?: {
                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;
            };
            requiredAllApprovers?: boolean;
            requiredAllTasksComplete?: boolean;
            requiredApprovers?: {
                count?: string;
                enabled?: boolean;
            };
            requiredApproversDeprecated?: number;
            requiredSuccessfulBuilds?: {
                count?: string;
                enabled?: boolean;
            };
            requiredSuccessfulBuildsDeprecated?: number;
        };
        RestRepositoryRefChangeActivity: {
            createdDate?: number;
            id?: number;
            refChange?: {
                fromHash?: string;
                ref?: {
                    displayId?: string;
                    id?: string;
                    type?: "BRANCH" | "TAG";
                };
                refId?: string;
                toHash?: string;
                type?: "DELETE" | "ADD" | "UPDATE";
                updatedType?:
                    | "UNRESOLVED"
                    | "UNKNOWN"
                    | "FORCED"
                    | "NOT_FORCED";
            };
            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<string, unknown>;
                    name?: 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;
                };
                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;
            };
            trigger?: string;
            user?: {
                active?: boolean;
                avatarUrl?: string;
                displayName?: string;
                emailAddress?: string;
                id?: number;
                links?: Record<string, unknown>;
                name?: string;
                slug?: string;
                type?: "NORMAL" | "SERVICE";
            };
        };
        RestRepositorySelector: {
            projectKey?: string;
            slug?: string;
        };
        RestRequiredBuildCondition: {
            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;
                };
            };
        };
        RestRequiredBuildConditionSetRequest: {
            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;
                };
            };
        };
        RestRestrictionRequest: {
            accessKeyIds?: readonly number[];
            accessKeys?: readonly {
                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;
                };
            }[];
            groupNames?: readonly string[];
            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";
            }[];
            userSlugs?: readonly string[];
        };
        RestReviewerGroup: {
            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";
            }[];
        };
        RestRollingUpgradeState: {
            rollingUpgradeEnabled?: boolean;
            version?: string;
        };
        RestScope: {
            resourceId?: number;
            type?: "GLOBAL" | "PROJECT" | "REPOSITORY";
        };
        RestScopesExample: {
            links?: Record<string, unknown>;
            scopes?: readonly Record<string, unknown>[];
        };
        RestSecretScanningAllowlistRule: {
            id?: number;
            lineRegex?: string;
            name?: string;
            pathRegex?: string;
        };
        RestSecretScanningAllowlistRuleSetRequest: {
            lineRegex?: string;
            name?: string;
            pathRegex?: string;
        };
        RestSecretScanningRule: {
            id?: number;
            lineRegex?: string;
            name?: string;
            pathRegex?: string;
            scope?: {
                resourceId?: number;
                type?: "GLOBAL" | "PROJECT" | "REPOSITORY";
            };
        };
        RestSecretScanningRuleSetRequest: {
            lineRegex?: string;
            name?: string;
            pathRegex?: string;
        };
        RestSetInsightReportRequest: {
            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;
        };
        RestSingleAddInsightAnnotationRequest: {
            externalId?: string;
            line?: number;
            link?: string;
            message: string;
            path?: string;
            severity: string;
            type?: string;
        };
        RestSshAccessKey: {
            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<string, unknown>;
                    name?: 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;
                };
                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;
            };
        };
        RestSshAccessKeyLocations: {
            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<string, unknown>;
                    name?: 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;
                };
                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;
            };
        };
        RestSshCredentials: {
            algorithm?: string;
            publicKey: string;
            username?: string;
        };
        RestSshKey: {
            algorithmType?: string;
            bitLength?: number;
            createdDate?: string;
            expiryDays?: number;
            fingerprint?: string;
            id?: number;
            label?: string;
            lastAuthenticated?: string;
            text?: string;
        };
        RestSshKeySettings: {
            keyTypeRestrictions?: readonly {
                algorithm?: string;
                allowed?: boolean;
                minKeyLength?: {
                    asInt?: number;
                    present?: boolean;
                };
            }[];
            maxExpiryDays?: {
                asInt?: number;
                present?: boolean;
            };
        };
        RestSshKeyTypeRestriction: {
            algorithm?: string;
            allowed?: boolean;
            minKeyLength?: {
                asInt?: number;
                present?: boolean;
            };
        };
        RestSshSettings: {
            accessKeysEnabled?: boolean;
            baseUrl?: string;
            enabled?: boolean;
            fingerprint?: {
                algorithm?: string;
                value?: string;
            };
            port?: number;
        };
        RestSyncProgress: {
            discovering?: boolean;
            syncedRepos?: number;
            totalRepos?: number;
        };
        RestSystemSigningConfiguration: {
            enabled?: boolean;
        };
        RestTag: {
            displayId?: string;
            hash?: string;
            id?: string;
            latestChangeset?: string;
            latestCommit?: string;
            type?: "BRANCH" | "TAG";
        };
        RestTestResults: {
            failed?: number;
            skipped?: number;
            successful?: number;
        };
        RestTokenBucketSettings: {
            capacity?: number;
            fillRate?: number;
        };
        RestUpstreamServer: {
            baseUrl?: string;
            id?: string;
            state?:
                | "PENDING"
                | "REMOVED"
                | "UNKNOWN"
                | "INITIALIZING"
                | "INSTALLED";
        };
        RestUpstreamSettings: {
            mode?: "ALL_PROJECTS" | "SELECTED_PROJECTS";
            projectIds?: readonly string[];
        };
        RestUserDirectory: {
            active?: boolean;
            description?: string;
            name?: string;
            type?: string;
        };
        RestUsernamePasswordCredentials: {
            password: string;
            username: string;
        };
        RestUserRateLimitSettings: {
            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;
        };
        RestUserRateLimitSettingsUpdateRequest: {
            settings?: {
                capacity?: number;
                fillRate?: number;
            };
            whitelisted?: boolean;
        };
        RestUserReaction: {
            comment?: {
                anchor?: {
                    diffType?: "COMMIT" | "EFFECTIVE" | "RANGE";
                    fileType?: "FROM" | "TO";
                    fromHash?: string;
                    line?: number;
                    lineComment?: boolean;
                    lineType?: "ADDED" | "CONTEXT" | "REMOVED";
                    path?: {
                        components?: readonly string[];
                        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<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;
                    };
                    srcPath?: {
                        components?: readonly string[];
                        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 {
                    anchor?: {
                        diffType?: "COMMIT" | "EFFECTIVE" | "RANGE";
                        fileType?: "FROM" | "TO";
                        fromHash?: string;
                        line?: number;
                        lineComment?: boolean;
                        lineType?: "ADDED" | "CONTEXT" | "REMOVED";
                        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 lineComment?: boolean; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }[] | undefined;
                    createdDate?: number;
                    html?: string;
                    id?: number;
                    parent?: {
                        anchor?: {
                            diffType?: ...;
                            fileType?: ...;
                            fromHash?: ...;
                            line?: ...;
                            lineComment?: ...;
                            lineType?: ...;
                            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 lineComment?: boolean; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }[] | undefined;
                        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;
                }[];
                createdDate?: number;
                html?: string;
                id?: number;
                parent?: {
                    anchor?: {
                        diffType?: "COMMIT" | "EFFECTIVE" | "RANGE";
                        fileType?: "FROM" | "TO";
                        fromHash?: string;
                        line?: number;
                        lineComment?: boolean;
                        lineType?: "ADDED" | "CONTEXT" | "REMOVED";
                        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<string, unknown>;
                        name?: string;
                        slug?: string;
                        type?: "NORMAL" | "SERVICE";
                    };
                    comments?: readonly {
                        anchor?: {
                            diffType?: ...;
                            fileType?: ...;
                            fromHash?: ...;
                            line?: ...;
                            lineComment?: ...;
                            lineType?: ...;
                            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 lineComment?: boolean; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }[] | undefined;
                        createdDate?: number;
                        html?: string;
                        id?: number;
                        parent?: {
                            anchor?: ...;
                            anchored?: ...;
                            author?: ...;
                            comments?: ...;
                            createdDate?: ...;
                            html?: ...;
                            id?: ...;
                            pending?: ...;
                            properties?: ...;
                            reply?: ...;
                            resolvedDate?: ...;
                            resolver?: ...;
                            severity?: ...;
                            state?: ...;
                            text?: ...;
                            threadResolved?: ...;
                            threadResolvedDate?: ...;
                            threadResolver?: ...;
                            updatedDate?: ...;
                            version?: ...;
                        };
                        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;
                    }[];
                    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<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;
                };
                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;
            };
            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";
            };
        };
        RestWebhook: {
            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;
        };
        RestWebhookCredentials: {
            password?: string;
            username?: string;
        };
        RestWebhookRequestResponse: unknown;
        RestWebhookScope: {
            id?: string;
            type?: string;
        };
        RestX509Certificate: {
            fingerprint?: string;
            id?: number;
        };
        Scope: {
            resourceId?: number;
            type?: "GLOBAL" | "PROJECT" | "REPOSITORY";
        };
        SimpleSshKeyFingerprint: {
            algorithm?: string;
            value?: string;
        };
        UserAndGroups: {
            groups: readonly string[];
            user?: string;
        };
        UserPasswordUpdate: {
            oldPassword?: string;
            password?: string;
            passwordConfirm?: string;
        };
        UserPickerContext: {
            context?: string;
            itemName?: string;
        };
        UserRename: {
            name?: string;
            newName?: string;
        };
        UserUpdate: {
            displayName?: string;
            email?: string;
            name?: string;
        };
    };
}

Properties

headers: never
parameters: never
pathItems: never
requestBodies: never
responses: never
schemas: {
    AdminPasswordUpdate: {
        name?: string;
        password?: string;
        passwordConfirm?: string;
    };
    ApplicationId: Record<string, unknown>;
    ApplicationUser: {
        active?: boolean;
        displayName?: string;
        emailAddress?: string;
        id?: number;
        name?: string;
        slug?: string;
        type?: "NORMAL" | "SERVICE";
    };
    Comment: {
        anchor?: {
            diffType?: "COMMIT" | "EFFECTIVE" | "RANGE";
            fileAnchor?: boolean;
            fileType?: "FROM" | "TO";
            fromHash?: string;
            line?: number;
            lineAnchor?: boolean;
            lineType?: "ADDED" | "CONTEXT" | "REMOVED";
            orphaned?: boolean;
            path?: string;
            srcPath?: string;
            toHash?: string;
        };
        author?: {
            active?: boolean;
            displayName?: string;
            emailAddress?: string;
            id?: number;
            name?: string;
            slug?: string;
            type?: "NORMAL" | "SERVICE";
        };
        comments?: readonly ({ readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileAnchor?: boolean; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineAnchor?: boolean; ... 4 more ...; readonly toHash?: string; }; ... 13 more ...; readonly version?: number; })[];
        createdDate?: string;
        id?: number;
        permittedOperations?: {
            deletable?: boolean;
            editable?: boolean;
            transitionable?: boolean;
        };
        properties?: Record<string, unknown>;
        resolvedDate?: string;
        resolver?: {
            active?: boolean;
            displayName?: string;
            emailAddress?: string;
            id?: number;
            name?: string;
            slug?: string;
            type?: "NORMAL" | "SERVICE";
        };
        severity?: "NORMAL" | "BLOCKER";
        state?: "OPEN" | "PENDING" | "RESOLVED";
        text?: string;
        thread?: {
            anchor?: {
                diffType?: "COMMIT" | "EFFECTIVE" | "RANGE";
                fileAnchor?: boolean;
                fileType?: "FROM" | "TO";
                fromHash?: string;
                line?: number;
                lineAnchor?: boolean;
                lineType?: "ADDED" | "CONTEXT" | "REMOVED";
                orphaned?: boolean;
                path?: string;
                srcPath?: string;
                toHash?: string;
            };
            anchored?: boolean;
            commentable?: Record<string, unknown>;
            createdDate?: string;
            id?: number;
            resolved?: boolean;
            resolvedDate?: string;
            resolver?: {
                active?: boolean;
                displayName?: string;
                emailAddress?: string;
                id?: number;
                name?: string;
                slug?: string;
                type?: "NORMAL" | "SERVICE";
            };
            rootComment?: { readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileAnchor?: boolean; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineAnchor?: boolean; ... 4 more ...; readonly toHash?: string; }; ... 13 more ...; readonly version?: number; };
            updatedDate?: string;
        };
        updatedDate?: string;
        version?: number;
    };
    Commentable: Record<string, unknown>;
    CommentOperations: {
        deletable?: boolean;
        editable?: boolean;
        transitionable?: boolean;
    };
    CommentThread: {
        anchor?: {
            diffType?: "COMMIT" | "EFFECTIVE" | "RANGE";
            fileAnchor?: boolean;
            fileType?: "FROM" | "TO";
            fromHash?: string;
            line?: number;
            lineAnchor?: boolean;
            lineType?: "ADDED" | "CONTEXT" | "REMOVED";
            orphaned?: boolean;
            path?: string;
            srcPath?: string;
            toHash?: string;
        };
        anchored?: boolean;
        commentable?: Record<string, unknown>;
        createdDate?: string;
        id?: number;
        resolved?: boolean;
        resolvedDate?: string;
        resolver?: {
            active?: boolean;
            displayName?: string;
            emailAddress?: string;
            id?: number;
            name?: string;
            slug?: string;
            type?: "NORMAL" | "SERVICE";
        };
        rootComment?: {
            anchor?: {
                diffType?: "COMMIT" | "EFFECTIVE" | "RANGE";
                fileAnchor?: boolean;
                fileType?: "FROM" | "TO";
                fromHash?: string;
                line?: number;
                lineAnchor?: boolean;
                lineType?: "ADDED" | "CONTEXT" | "REMOVED";
                orphaned?: boolean;
                path?: string;
                srcPath?: string;
                toHash?: string;
            };
            author?: {
                active?: boolean;
                displayName?: string;
                emailAddress?: string;
                id?: number;
                name?: string;
                slug?: string;
                type?: "NORMAL" | "SERVICE";
            };
            comments?: readonly ({ readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileAnchor?: boolean; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineAnchor?: boolean; ... 4 more ...; readonly toHash?: string; }; ... 13 more ...; readonly version?: number; })[];
            createdDate?: string;
            id?: number;
            permittedOperations?: {
                deletable?: boolean;
                editable?: boolean;
                transitionable?: boolean;
            };
            properties?: Record<string, unknown>;
            resolvedDate?: string;
            resolver?: {
                active?: boolean;
                displayName?: string;
                emailAddress?: string;
                id?: number;
                name?: string;
                slug?: string;
                type?: "NORMAL" | "SERVICE";
            };
            severity?: "NORMAL" | "BLOCKER";
            state?: "OPEN" | "PENDING" | "RESOLVED";
            text?: string;
            thread?: { readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileAnchor?: boolean; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineAnchor?: boolean; ... 4 more ...; readonly toHash?: string; }; ... 8 more ...; readonly updatedDate?: string; };
            updatedDate?: string;
            version?: number;
        };
        updatedDate?: string;
    };
    CommentThreadDiffAnchor: {
        diffType?: "COMMIT" | "EFFECTIVE" | "RANGE";
        fileAnchor?: boolean;
        fileType?: "FROM" | "TO";
        fromHash?: string;
        line?: number;
        lineAnchor?: boolean;
        lineType?: "ADDED" | "CONTEXT" | "REMOVED";
        orphaned?: boolean;
        path?: string;
        srcPath?: string;
        toHash?: string;
    };
    Context: {
        commitMessage?: string;
    };
    Credentials: {
        token: string;
    } | {
        algorithm?: string;
        publicKey: string;
        username?: string;
    } | {
        password: string;
        username: string;
    };
    DiffContentFilter: Record<string, unknown>;
    EnrichedRepository: {
        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<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;
        };
        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;
    };
    ExampleAvatarMultipartFormData: {
        avatar?: string;
    };
    ExampleCertificateMultipartFormData: {
        certificate?: string;
    };
    ExampleFiles: {
        files?: {
            latestCommit?: {
                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;
                }[];
            };
            pomXml?: {
                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;
                }[];
            };
            readmeMd?: {
                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;
                }[];
            };
        };
    };
    ExampleJsonLastModifiedCallback: {
        latestCommit?: {
            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;
            }[];
        };
        pomXml?: {
            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;
            }[];
        };
        readmeMd?: {
            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;
            }[];
        };
    };
    ExampleMultipartFormData: {
        branch?: string;
        content?: string;
        message?: string;
        sourceBranch?: string;
        sourceCommitId?: string;
    };
    ExamplePostMultipartFormData: {
        content?: string;
        description?: string;
        name?: string;
        type?: string;
    };
    ExamplePreviewMigration: {
        repositories?: readonly {
            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;
        }[];
    };
    ExamplePutMultipartFormData: {
        content?: string;
        description?: string;
        name?: string;
    };
    ExampleRequirements: {
        count?: string;
        enabled?: boolean;
    };
    ExampleSettings: {
        booleanValue?: boolean;
        doubleValue?: number;
        integerValue?: number;
        longValue?: number;
        stringValue?: string;
    };
    ExampleSettingsMap: {
        boolean key?: boolean;
        long key?: number;
        string key?: string;
    };
    ExampleSocketAddress: {
        address?: string;
        port?: number;
    };
    ExampleStatus: {
        currentNumberOfUsers?: number;
        serverId?: string;
    };
    FileListResource: unknown;
    FilePart: {
        contentType?: string;
        formField?: boolean;
        inputStream?: Record<string, unknown>;
        name?: string;
        size?: number;
        value?: string;
    };
    Group: {
        name?: string;
    };
    GroupAndUsers: {
        group?: string;
        users: readonly string[];
    };
    GroupPickerContext: {
        context?: string;
        itemName?: string;
    };
    OptionalBodyBeanParam: Record<string, unknown>;
    PageRequestImpl: {
        limit?: number;
        start?: number;
    };
    Project: {
        description?: string;
        id?: number;
        key?: string;
        name?: string;
        public?: boolean;
        type?: "NORMAL" | "PERSONAL";
    };
    PropertyMap: Record<string, unknown>;
    PullRequest: {
        author?: {
            approved?: boolean;
            lastReviewedCommit?: string;
            pullRequest?: { readonly author?: { readonly approved?: boolean; readonly lastReviewedCommit?: string; readonly pullRequest?: ...; readonly role?: "PARTICIPANT" | "REVIEWER" | "AUTHOR"; readonly status?: "APPROVED" | "NEEDS_WORK" | "UNAPPROVED"; readonly user?: { ...; }; }; ... 17 more ...; readonly version?: number; };
            role?: "PARTICIPANT" | "REVIEWER" | "AUTHOR";
            status?: "APPROVED" | "NEEDS_WORK" | "UNAPPROVED";
            user?: {
                active?: boolean;
                displayName?: string;
                emailAddress?: string;
                id?: number;
                name?: string;
                slug?: string;
                type?: "NORMAL" | "SERVICE";
            };
        };
        closed?: boolean;
        closedDate?: string;
        createdDate?: string;
        crossRepository?: boolean;
        description?: string;
        draft?: boolean;
        fromRef?: {
            displayId?: string;
            id?: string;
            latestCommit?: string;
            repository?: {
                archived?: boolean;
                description?: string;
                fork?: boolean;
                forkable?: boolean;
                hierarchyId?: string;
                id?: number;
                local?: boolean;
                name?: string;
                offline?: boolean;
                origin?: { readonly archived?: boolean; readonly description?: string; readonly fork?: boolean; readonly forkable?: boolean; readonly hierarchyId?: string; readonly id?: number; readonly local?: boolean; ... 11 more ...; readonly statusMessage?: string; } | undefined;
                partition?: number;
                project?: {
                    description?: string;
                    id?: number;
                    key?: string;
                    name?: string;
                    public?: boolean;
                    type?: "NORMAL" | "PERSONAL";
                };
                public?: boolean;
                readOnly?: boolean;
                remote?: boolean;
                scmId?: string;
                slug?: string;
                state?:
                    | "AVAILABLE"
                    | "INITIALISATION_FAILED"
                    | "INITIALISING"
                    | "OFFLINE";
                statusMessage?: string;
            };
            type?: unknown;
        };
        id?: number;
        locked?: boolean;
        open?: boolean;
        participants?: readonly {
            approved?: boolean;
            lastReviewedCommit?: string;
            pullRequest?: { readonly author?: { readonly approved?: boolean; readonly lastReviewedCommit?: string; readonly pullRequest?: ...; readonly role?: "PARTICIPANT" | "REVIEWER" | "AUTHOR"; readonly status?: "APPROVED" | "NEEDS_WORK" | "UNAPPROVED"; readonly user?: { ...; }; }; ... 17 more ...; readonly version?: number; };
            role?: "PARTICIPANT" | "REVIEWER" | "AUTHOR";
            status?: "APPROVED" | "NEEDS_WORK" | "UNAPPROVED";
            user?: {
                active?: boolean;
                displayName?: string;
                emailAddress?: string;
                id?: number;
                name?: string;
                slug?: string;
                type?: "NORMAL" | "SERVICE";
            };
        }[];
        properties?: Record<string, unknown>;
        reviewers?: readonly {
            approved?: boolean;
            lastReviewedCommit?: string;
            pullRequest?: { readonly author?: { readonly approved?: boolean; readonly lastReviewedCommit?: string; readonly pullRequest?: ...; readonly role?: "PARTICIPANT" | "REVIEWER" | "AUTHOR"; readonly status?: "APPROVED" | "NEEDS_WORK" | "UNAPPROVED"; readonly user?: { ...; }; }; ... 17 more ...; readonly version?: number; };
            role?: "PARTICIPANT" | "REVIEWER" | "AUTHOR";
            status?: "APPROVED" | "NEEDS_WORK" | "UNAPPROVED";
            user?: {
                active?: boolean;
                displayName?: string;
                emailAddress?: string;
                id?: number;
                name?: string;
                slug?: string;
                type?: "NORMAL" | "SERVICE";
            };
        }[];
        state?: "DECLINED" | "MERGED" | "OPEN";
        title?: string;
        toRef?: {
            displayId?: string;
            id?: string;
            latestCommit?: string;
            repository?: {
                archived?: boolean;
                description?: string;
                fork?: boolean;
                forkable?: boolean;
                hierarchyId?: string;
                id?: number;
                local?: boolean;
                name?: string;
                offline?: boolean;
                origin?: { readonly archived?: boolean; readonly description?: string; readonly fork?: boolean; readonly forkable?: boolean; readonly hierarchyId?: string; readonly id?: number; readonly local?: boolean; ... 11 more ...; readonly statusMessage?: string; } | undefined;
                partition?: number;
                project?: {
                    description?: string;
                    id?: number;
                    key?: string;
                    name?: string;
                    public?: boolean;
                    type?: "NORMAL" | "PERSONAL";
                };
                public?: boolean;
                readOnly?: boolean;
                remote?: boolean;
                scmId?: string;
                slug?: string;
                state?:
                    | "AVAILABLE"
                    | "INITIALISATION_FAILED"
                    | "INITIALISING"
                    | "OFFLINE";
                statusMessage?: string;
            };
            type?: unknown;
        };
        updatedDate?: string;
        version?: number;
    };
    PullRequestParticipant: {
        approved?: boolean;
        lastReviewedCommit?: string;
        pullRequest?: {
            author?: { readonly approved?: boolean; readonly lastReviewedCommit?: string; readonly pullRequest?: { readonly author?: ...; readonly closed?: boolean; readonly closedDate?: string; readonly createdDate?: string; ... 14 more ...; readonly version?: number; }; readonly role?: "PARTICIPANT" | ... 1 more ... | "AUTHOR"; readon...;
            closed?: boolean;
            closedDate?: string;
            createdDate?: string;
            crossRepository?: boolean;
            description?: string;
            draft?: boolean;
            fromRef?: {
                displayId?: string;
                id?: string;
                latestCommit?: string;
                repository?: {
                    archived?: boolean;
                    description?: string;
                    fork?: boolean;
                    forkable?: boolean;
                    hierarchyId?: string;
                    id?: number;
                    local?: boolean;
                    name?: string;
                    offline?: boolean;
                    origin?: { readonly archived?: boolean; readonly description?: string; readonly fork?: boolean; readonly forkable?: boolean; readonly hierarchyId?: string; readonly id?: number; readonly local?: boolean; ... 11 more ...; readonly statusMessage?: string; } | undefined;
                    partition?: number;
                    project?: {
                        description?: (...) | (...);
                        id?: (...) | (...);
                        key?: (...) | (...);
                        name?: (...) | (...);
                        public?: (...) | (...) | (...);
                        type?: (...) | (...) | (...);
                    };
                    public?: boolean;
                    readOnly?: boolean;
                    remote?: boolean;
                    scmId?: string;
                    slug?: string;
                    state?:
                        | "AVAILABLE"
                        | "INITIALISATION_FAILED"
                        | "INITIALISING"
                        | "OFFLINE";
                    statusMessage?: string;
                };
                type?: unknown;
            };
            id?: number;
            locked?: boolean;
            open?: boolean;
            participants?: readonly ({ readonly approved?: boolean; readonly lastReviewedCommit?: string; readonly pullRequest?: { readonly author?: ...; readonly closed?: boolean; readonly closedDate?: string; readonly createdDate?: string; ... 14 more ...; readonly version?: number; }; readonly role?: "PARTICIPANT" | ... 1 more ... | "AUTHOR"; readon...)[];
            properties?: Record<string, unknown>;
            reviewers?: readonly ({ readonly approved?: boolean; readonly lastReviewedCommit?: string; readonly pullRequest?: { readonly author?: ...; readonly closed?: boolean; readonly closedDate?: string; readonly createdDate?: string; ... 14 more ...; readonly version?: number; }; readonly role?: "PARTICIPANT" | ... 1 more ... | "AUTHOR"; readon...)[];
            state?: "DECLINED" | "MERGED" | "OPEN";
            title?: string;
            toRef?: {
                displayId?: string;
                id?: string;
                latestCommit?: string;
                repository?: {
                    archived?: boolean;
                    description?: string;
                    fork?: boolean;
                    forkable?: boolean;
                    hierarchyId?: string;
                    id?: number;
                    local?: boolean;
                    name?: string;
                    offline?: boolean;
                    origin?: { readonly archived?: boolean; readonly description?: string; readonly fork?: boolean; readonly forkable?: boolean; readonly hierarchyId?: string; readonly id?: number; readonly local?: boolean; ... 11 more ...; readonly statusMessage?: string; } | undefined;
                    partition?: number;
                    project?: {
                        description?: (...) | (...);
                        id?: (...) | (...);
                        key?: (...) | (...);
                        name?: (...) | (...);
                        public?: (...) | (...) | (...);
                        type?: (...) | (...) | (...);
                    };
                    public?: boolean;
                    readOnly?: boolean;
                    remote?: boolean;
                    scmId?: string;
                    slug?: string;
                    state?:
                        | "AVAILABLE"
                        | "INITIALISATION_FAILED"
                        | "INITIALISING"
                        | "OFFLINE";
                    statusMessage?: string;
                };
                type?: unknown;
            };
            updatedDate?: string;
            version?: number;
        };
        role?: "PARTICIPANT" | "REVIEWER" | "AUTHOR";
        status?: "APPROVED" | "NEEDS_WORK" | "UNAPPROVED";
        user?: {
            active?: boolean;
            displayName?: string;
            emailAddress?: string;
            id?: number;
            name?: string;
            slug?: string;
            type?: "NORMAL" | "SERVICE";
        };
    };
    PullRequestRef: {
        displayId?: string;
        id?: string;
        latestCommit?: string;
        repository?: {
            archived?: boolean;
            description?: string;
            fork?: boolean;
            forkable?: boolean;
            hierarchyId?: string;
            id?: number;
            local?: boolean;
            name?: string;
            offline?: boolean;
            origin?: { readonly archived?: boolean; readonly description?: string; readonly fork?: boolean; readonly forkable?: boolean; readonly hierarchyId?: string; readonly id?: number; readonly local?: boolean; ... 11 more ...; readonly statusMessage?: string; } | undefined;
            partition?: number;
            project?: {
                description?: string;
                id?: number;
                key?: string;
                name?: string;
                public?: boolean;
                type?: "NORMAL" | "PERSONAL";
            };
            public?: boolean;
            readOnly?: boolean;
            remote?: boolean;
            scmId?: string;
            slug?: string;
            state?:
                | "AVAILABLE"
                | "INITIALISATION_FAILED"
                | "INITIALISING"
                | "OFFLINE";
            statusMessage?: string;
        };
        type?: unknown;
    };
    RefType: unknown;
    Repository: {
        archived?: boolean;
        description?: string;
        fork?: boolean;
        forkable?: boolean;
        hierarchyId?: string;
        id?: number;
        local?: boolean;
        name?: string;
        offline?: boolean;
        origin?: { readonly archived?: boolean; readonly description?: string; readonly fork?: boolean; readonly forkable?: boolean; readonly hierarchyId?: string; readonly id?: number; readonly local?: boolean; ... 11 more ...; readonly statusMessage?: string; };
        partition?: number;
        project?: {
            description?: string;
            id?: number;
            key?: string;
            name?: string;
            public?: boolean;
            type?: "NORMAL" | "PERSONAL";
        };
        public?: boolean;
        readOnly?: boolean;
        remote?: boolean;
        scmId?: string;
        slug?: string;
        state?:
            | "AVAILABLE"
            | "INITIALISATION_FAILED"
            | "INITIALISING"
            | "OFFLINE";
        statusMessage?: string;
    };
    RepositoryHookDetails: {
        configFormKey?: string;
        description?: string;
        key?: string;
        name?: string;
        supportedScopes?: readonly ("GLOBAL" | "PROJECT" | "REPOSITORY")[];
        type?: "POST_RECEIVE" | "PRE_PULL_REQUEST_MERGE" | "PRE_RECEIVE";
        version?: string;
    };
    RestAccessToken: {
        createdDate?: string;
        id?: string;
        name?: string;
    };
    RestAccessTokenRequest: {
        expiryDays?: number;
        name?: string;
        permissions?: readonly string[];
    };
    RestAggregateRejectCounter: {
        lastRejectTime?: number;
        rejectCount?: number;
        user?: {
            active?: boolean;
            avatarUrl?: string;
            displayName?: string;
            emailAddress?: string;
            id?: number;
            links?: Record<string, unknown>;
            name?: string;
            slug?: string;
            type?: "NORMAL" | "SERVICE";
        };
    };
    RestAnalyticsSettings: {
        canCollectAnalytics?: boolean;
        serverTime?: number;
        supportEntitlementNumber?: string;
    };
    RestAnnouncementBanner: {
        audience?: "ALL" | "AUTHENTICATED";
        enabled?: boolean;
        message?: string;
    };
    RestApplicationProperties: {
        buildDate?: string;
        buildNumber?: string;
        displayName?: string;
        version?: string;
    };
    RestApplicationUser: {
        active?: boolean;
        avatarUrl?: string;
        displayName?: string;
        emailAddress?: string;
        id?: number;
        links?: Record<string, unknown>;
        name?: string;
        slug?: string;
        type?: "NORMAL" | "SERVICE";
    };
    RestApplicationUserWithPermissions: {
        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";
    };
    RestApplySuggestionRequest: {
        commentVersion?: {
            asInt?: number;
            present?: boolean;
        };
        commitMessage?: string;
        pullRequestVersion?: {
            asInt?: number;
            present?: boolean;
        };
        suggestionIndex?: {
            asInt?: number;
            present?: boolean;
        };
    };
    RestAttachmentMetadata: {
        id?: number;
        metadata?: string;
        url?: string;
    };
    RestAuthenticationRequest: {
        credentials: {
            token: string;
        } | {
            algorithm?: string;
            publicKey: string;
            username?: string;
        } | {
            password: string;
            username: string;
        };
        repositoryId?: number;
    };
    RestAutoDeclineSettings: {
        enabled?: boolean;
        inactivityWeeks?: number;
        scope?: {
            resourceId?: number;
            type?: "GLOBAL" | "PROJECT" | "REPOSITORY";
        };
    };
    RestAutoDeclineSettingsRequest: {
        enabled?: boolean;
        inactivityWeeks?: number;
    };
    RestAutoMergeProcessingResult: {
        autoMergeProcessingStatus?:
            | "MERGED"
            | "CANCELLED"
            | "LOCK_FAILURE"
            | "STALE"
            | "UNKNOWN"
            | "VETOED";
        pullRequest?: {
            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<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;
                };
                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?: boolean;
                    avatarUrl?: string;
                    displayName?: string;
                    emailAddress?: string;
                    id?: number;
                    links?: Record<(...), (...)>;
                    name?: string;
                    slug?: string;
                    type?: "NORMAL" | "SERVICE";
                };
            }[];
            reviewers?: readonly {
                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<(...), (...)>;
                    name?: string;
                    slug?: string;
                    type?: "NORMAL" | "SERVICE";
                };
            }[];
            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<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;
                };
                type?: "BRANCH" | "TAG";
            };
            updatedDate?: number;
            version?: number;
        };
    };
    RestAutoMergeProjectSettingsRequest: {
        enabled?: boolean;
        restrictionAction?: "CREATE" | "DELETE" | "NONE";
    };
    RestAutoMergeRequest: {
        autoSubject?: boolean;
        createdDate?: number;
        fromHash?: string;
        message?: string;
        strategyId?: string;
        toRefId?: string;
    };
    RestAutoMergeRestrictedSettings: {
        enabled?: boolean;
        restrictionState?: "NONE" | "RESTRICTED_MODIFIABLE" | "RESTRICTED_UNMODIFIABLE";
        scope?: {
            resourceId?: number;
            type?: "GLOBAL" | "PROJECT" | "REPOSITORY";
        };
    };
    RestAutoMergeSettingsRequest: {
        enabled?: boolean;
    };
    RestBearerTokenCredentials: {
        token: string;
    };
    RestBitbucketLicense: {
        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;
    };
    RestBranch: {
        default?: boolean;
        displayId?: string;
        id?: string;
        latestChangeset?: string;
        latestCommit?: string;
        type?: unknown;
    };
    RestBranchCreateRequest: {
        name?: string;
        startPoint?: string;
    };
    RestBranchDeleteRequest: {
        dryRun?: boolean;
        endPoint?: string;
        name?: string;
    };
    RestBuildCapabilities: {
        buildStatus?: readonly string[];
    };
    RestBuildStats: {
        cancelled?: number;
        failed?: number;
        inProgress?: number;
        successful?: number;
        unknown?: number;
    };
    RestBuildStatus: {
        buildNumber?: string;
        createdDate?: number;
        description?: string;
        duration?: number;
        key?: string;
        name?: string;
        parent?: string;
        ref?: string;
        state?:
            | "FAILED"
            | "INPROGRESS"
            | "SUCCESSFUL"
            | "CANCELLED"
            | "UNKNOWN";
        testResults?: {
            failed?: number;
            skipped?: number;
            successful?: number;
        };
        updatedDate?: number;
        url?: string;
    };
    RestBuildStatusSetRequest: {
        buildNumber?: string;
        description?: string;
        duration?: number;
        key: string;
        lastUpdated?: number;
        name?: string;
        parent?: string;
        ref?: string;
        state:
            | "FAILED"
            | "INPROGRESS"
            | "SUCCESSFUL"
            | "CANCELLED"
            | "UNKNOWN";
        testResults?: {
            failed?: number;
            skipped?: number;
            successful?: number;
        };
        url: string;
    };
    RestBulkAddInsightAnnotationRequest: {
        annotations?: readonly {
            externalId?: string;
            line?: number;
            link?: string;
            message: string;
            path?: string;
            severity: string;
            type?: string;
        }[];
    };
    RestBulkUserRateLimitSettingsUpdateRequest: {
        settings?: {
            capacity?: number;
            fillRate?: number;
        };
        usernames?: readonly string[];
        whitelisted?: boolean;
    };
    RestChange: {
        conflict?: {
            ourChange?: {
                path?: {
                    components?: readonly string[];
                    extension?: string;
                    name?: string;
                    parent?: string;
                };
                srcPath?: {
                    components?: readonly string[];
                    extension?: string;
                    name?: string;
                    parent?: string;
                };
                type?:
                    | "UNKNOWN"
                    | "DELETE"
                    | "ADD"
                    | "COPY"
                    | "MODIFY"
                    | "MOVE";
            };
            theirChange?: {
                path?: {
                    components?: readonly string[];
                    extension?: string;
                    name?: string;
                    parent?: string;
                };
                srcPath?: {
                    components?: readonly string[];
                    extension?: string;
                    name?: string;
                    parent?: string;
                };
                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";
    };
    RestChangeset: {
        changes?: {
            isLastPage?: boolean;
            limit?: number;
            nextPageStart?: number;
            size?: number;
            start?: number;
            values?: Record<string, unknown>;
        };
        fromCommit?: {
            displayId?: string;
            id?: string;
        };
        links?: Record<string, unknown>;
        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<string, unknown>;
                name?: 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;
            };
            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;
        };
        toCommit?: {
            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;
            }[];
        };
    };
    RestClusterInformation: {
        localNode?: {
            address?: {
                address?: string;
                port?: number;
            };
            buildVersion?: string;
            id?: string;
            local?: boolean;
            name?: string;
        };
        nodes?: readonly {
            address?: {
                address?: string;
                port?: number;
            };
            buildVersion?: string;
            id?: string;
            local?: boolean;
            name?: string;
        }[];
        running?: boolean;
    };
    RestClusterNode: {
        address?: {
            address?: string;
            port?: number;
        };
        buildVersion?: string;
        id?: string;
        local?: boolean;
        name?: string;
    };
    RestComment: {
        anchor?: {
            diffType?: "COMMIT" | "EFFECTIVE" | "RANGE";
            fileType?: "FROM" | "TO";
            fromHash?: string;
            line?: number;
            lineComment?: boolean;
            lineType?: "ADDED" | "CONTEXT" | "REMOVED";
            path?: {
                components?: readonly string[];
                extension?: string;
                name?: string;
                parent?: string;
            };
            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?: 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?: (...) | (...) | (...);
                        defaultBranch?: (...) | (...);
                        description?: (...) | (...);
                        forkable?: (...) | (...) | (...);
                        hierarchyId?: (...) | (...);
                        id?: (...) | (...);
                        links?: (...) | (...);
                        name?: (...) | (...);
                        origin?: (...) | (...);
                        partition?: (...) | (...);
                        project?: (...) | (...);
                        public?: (...) | (...) | (...);
                        relatedLinks?: (...) | (...);
                        scmId?: (...) | (...);
                        scope?: (...) | (...);
                        slug?: (...) | (...);
                        state?:
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...);
                        statusMessage?: (...) | (...);
                    };
                    type?: "BRANCH" | "TAG";
                };
                updatedDate?: number;
                version?: number;
            };
            srcPath?: {
                components?: readonly string[];
                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 lineComment?: boolean; ... 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;
                lineComment?: boolean;
                lineType?: "ADDED" | "CONTEXT" | "REMOVED";
                path?: {
                    components?: readonly string[];
                    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<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;
                };
                srcPath?: {
                    components?: readonly string[];
                    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 lineComment?: boolean; ... 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<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;
        };
        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;
    };
    RestCommentJiraIssue: {
        commentId?: number;
        issueKey?: string;
    };
    RestCommentThreadDiffAnchor: {
        diffType?: "COMMIT" | "EFFECTIVE" | "RANGE";
        fileType?: "FROM" | "TO";
        fromHash?: string;
        line?: number;
        lineComment?: boolean;
        lineType?: "ADDED" | "CONTEXT" | "REMOVED";
        path?: {
            components?: readonly string[];
            extension?: string;
            name?: string;
            parent?: string;
        };
        pullRequest?: {
            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<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;
                };
                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?: boolean;
                    avatarUrl?: string;
                    displayName?: string;
                    emailAddress?: string;
                    id?: number;
                    links?: Record<(...), (...)>;
                    name?: string;
                    slug?: string;
                    type?: "NORMAL" | "SERVICE";
                };
            }[];
            reviewers?: readonly {
                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<(...), (...)>;
                    name?: string;
                    slug?: string;
                    type?: "NORMAL" | "SERVICE";
                };
            }[];
            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<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;
                };
                type?: "BRANCH" | "TAG";
            };
            updatedDate?: number;
            version?: number;
        };
        srcPath?: {
            components?: readonly string[];
            extension?: string;
            name?: string;
            parent?: string;
        };
        toHash?: string;
    };
    RestCommit: {
        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;
        }[];
    };
    RestCommitMessageSuggestion: {
        body?: string;
        title?: string;
    };
    RestConflict: {
        ourChange?: {
            path?: {
                components?: readonly string[];
                extension?: string;
                name?: string;
                parent?: string;
            };
            srcPath?: {
                components?: readonly string[];
                extension?: string;
                name?: string;
                parent?: string;
            };
            type?:
                | "UNKNOWN"
                | "DELETE"
                | "ADD"
                | "COPY"
                | "MODIFY"
                | "MOVE";
        };
        theirChange?: {
            path?: {
                components?: readonly string[];
                extension?: string;
                name?: string;
                parent?: string;
            };
            srcPath?: {
                components?: readonly string[];
                extension?: string;
                name?: string;
                parent?: string;
            };
            type?:
                | "UNKNOWN"
                | "DELETE"
                | "ADD"
                | "COPY"
                | "MODIFY"
                | "MOVE";
        };
    };
    RestConflictChange: {
        path?: {
            components?: readonly string[];
            extension?: string;
            name?: string;
            parent?: string;
        };
        srcPath?: {
            components?: readonly string[];
            extension?: string;
            name?: string;
            parent?: string;
        };
        type?:
            | "UNKNOWN"
            | "DELETE"
            | "ADD"
            | "COPY"
            | "MODIFY"
            | "MOVE";
    };
    RestConnectivitySummary: {
        errorMessage?: string;
        reachable?: boolean;
        roundTripTime?: number;
    };
    RestCreateBranchRequest: {
        message?: string;
        name?: string;
        startPoint?: string;
    };
    RestCreateTagRequest: {
        message?: string;
        name?: string;
        startPoint?: string;
    };
    RestDefaultBranch: {
        id?: string;
    };
    RestDefaultReviewersRequest: {
        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;
            };
        };
    };
    RestDefaultTask: {
        description?: string;
        html?: string;
        id?: number;
    };
    RestDefaultTaskRequest: {
        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;
            };
        };
    };
    RestDeployment: {
        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<string, unknown>;
                name?: 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;
            };
            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;
        };
        state?:
            | "FAILED"
            | "SUCCESSFUL"
            | "IN_PROGRESS"
            | "PENDING"
            | "CANCELLED"
            | "UNKNOWN"
            | "ROLLED_BACK";
        toCommit?: {
            displayId?: string;
            id?: string;
        };
        url?: string;
    };
    RestDeploymentEnvironment: {
        displayName?: string;
        key?: string;
        type?: string;
        url?: string;
    };
    RestDeploymentSetRequest: {
        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"
            | "CANCELLED"
            | "UNKNOWN"
            | "ROLLED_BACK";
        url: string;
    };
    RestDetailedGroup: {
        deletable?: boolean;
        name?: string;
    };
    RestDetailedInvocation: {
        duration?: number;
        event?: string;
        eventScope?: {
            id?: string;
            type?: string;
        };
        finish?: number;
        id?: number;
        request?: Record<string, unknown>;
        result?: Record<string, unknown>;
        start?: number;
    };
    RestDetailedUser: {
        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";
    };
    RestDiff: {
        binary?: boolean;
        destination?: {
            components?: readonly string[];
            extension?: string;
            name?: string;
            parent?: string;
        };
        hunks?: readonly {
            context?: string;
            destinationLine?: number;
            destinationSpan?: number;
            segments?: readonly {
                lines?: readonly {
                    commentIds?: ...;
                    conflictMarker?: ...;
                    destination?: ...;
                    line?: ...;
                    source?: ...;
                    truncated?: ...;
                }[];
                truncated?: boolean;
                type?: "ADDED" | "CONTEXT" | "REMOVED";
            }[];
            sourceLine?: number;
            sourceSpan?: number;
            truncated?: boolean;
        }[];
        lineComments?: readonly {
            anchor?: {
                diffType?: "COMMIT" | "EFFECTIVE" | "RANGE";
                fileType?: "FROM" | "TO";
                fromHash?: string;
                line?: number;
                lineComment?: boolean;
                lineType?: "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 lineComment?: boolean; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }[] | undefined;
            createdDate?: number;
            html?: string;
            id?: number;
            parent?: {
                anchor?: {
                    diffType?: "COMMIT" | "EFFECTIVE" | "RANGE";
                    fileType?: "FROM" | "TO";
                    fromHash?: string;
                    line?: number;
                    lineComment?: boolean;
                    lineType?: "ADDED" | "CONTEXT" | "REMOVED";
                    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 lineComment?: boolean; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }[] | undefined;
                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;
        }[];
        properties?: Record<string, unknown>;
        source?: {
            components?: readonly string[];
            extension?: string;
            name?: string;
            parent?: string;
        };
        truncated?: boolean;
    };
    RestDiffHunk: {
        context?: string;
        destinationLine?: number;
        destinationSpan?: number;
        segments?: readonly {
            lines?: readonly {
                commentIds?: readonly number[];
                conflictMarker?: "MARKER" | "OURS" | "THEIRS";
                destination?: number;
                line?: string;
                source?: number;
                truncated?: boolean;
            }[];
            truncated?: boolean;
            type?: "ADDED" | "CONTEXT" | "REMOVED";
        }[];
        sourceLine?: number;
        sourceSpan?: number;
        truncated?: boolean;
    };
    RestDiffLine: {
        commentIds?: readonly number[];
        conflictMarker?: "MARKER" | "OURS" | "THEIRS";
        destination?: number;
        line?: string;
        source?: number;
        truncated?: boolean;
    };
    RestDiffSegment: {
        lines?: readonly {
            commentIds?: readonly number[];
            conflictMarker?: "MARKER" | "OURS" | "THEIRS";
            destination?: number;
            line?: string;
            source?: number;
            truncated?: boolean;
        }[];
        truncated?: boolean;
        type?: "ADDED" | "CONTEXT" | "REMOVED";
    };
    RestDiffStatsSummary: unknown;
    RestEmoticon: {
        shortcut?: string;
        url?: string;
        value?: string;
    };
    RestEnhancedEntityLink: {
        applicationLinkId?: string;
        displayUrl?: string;
        projectId?: number;
        projectKey?: string;
        projectName?: string;
    };
    RestErasedUser: {
        newIdentifier?: string;
    };
    RestErrorMessage: {
        context?: string;
        exceptionName?: string;
        message?: string;
    };
    RestErrors: {
        errors?: readonly {
            context?: string;
            exceptionName?: string;
            message?: string;
        }[];
    };
    RestExportRequest: {
        exportLocation?: string;
        repositoriesRequest: {
            includes: readonly {
                projectKey?: string;
                slug?: string;
            }[];
        };
    };
    RestFarmSynchronizationRequest: {
        attempt?: number;
        createdAt?: string;
        externalRepoId?: string;
        type?: "incremental" | "snapshot";
    };
    RestGitTagCreateRequest: {
        force?: boolean;
        message?: string;
        name?: string;
        startPoint?: string;
        type?: "ANNOTATED" | "LIGHTWEIGHT";
    };
    RestGpgKey: {
        emailAddress?: string;
        expiryDate?: number;
        fingerprint?: string;
        id?: string;
        subKeys?: readonly {
            expiryDate?: string;
            fingerprint?: string;
        }[];
        text?: string;
    };
    RestGpgSubKey: {
        expiryDate?: string;
        fingerprint?: string;
    };
    RestHookScript: {
        createdDate?: string;
        description?: string;
        id?: number;
        name?: string;
        pluginKey?: string;
        type?: "POST" | "PRE";
        updatedDate?: string;
        version?: number;
    };
    RestHookScriptConfig: {
        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[];
    };
    RestHookScriptTriggers: {
        triggerIds?: readonly string[];
    };
    RestImportRequest: {
        archivePath?: string;
    };
    RestInsightAnnotation: {
        externalId?: string;
        line?: number;
        link?: string;
        message?: string;
        path?: string;
        reportKey?: string;
        severity?: string;
        type?: string;
    };
    RestInsightAnnotationsResponse: {
        annotations?: readonly {
            externalId?: string;
            line?: number;
            link?: string;
            message?: string;
            path?: string;
            reportKey?: string;
            severity?: string;
            type?: string;
        }[];
    };
    RestInsightReport: {
        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;
    };
    RestInsightReportData: {
        title?: string;
        type?: string;
        value?: Record<string, unknown>;
    };
    RestInvocationHistory: unknown;
    RestInvocationRequest: unknown;
    RestInvocationResult: unknown;
    RestJiraIssue: {
        key?: string;
        url?: string;
    };
    RestJob: {
        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;
    };
    RestJobMessage: {
        createdDate?: string;
        id?: string;
        severity?: "ERROR" | "INFO" | "WARN";
        subject?: string;
        text?: string;
    };
    RestLabel: {
        name?: string;
    };
    RestLabelable: {
        archived?: boolean;
        defaultBranch?: string;
        description?: string;
        forkable?: boolean;
        hierarchyId?: string;
        id?: number;
        labelableType?: "REPOSITORY";
        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<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;
        };
        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;
    };
    RestLogLevel: {
        logLevel?: string;
    };
    RestMailConfiguration: {
        hostname?: string;
        password?: string;
        port?: number;
        protocol?: "SMTP" | "SMTPS";
        requireStartTls?: boolean;
        senderAddress?: string;
        username?: string;
        useStartTls?: boolean;
    };
    RestMarkup: {
        html?: string;
    };
    RestMeshConnectivityReport: {
        reports?: readonly {
            node?: {
                id?: string;
                name?: string;
                type?: "BITBUCKET" | "MESH";
            };
            summaries?: readonly {
                node?: {
                    id?: (...) | (...);
                    name?: (...) | (...);
                    type?: (...) | (...) | (...);
                };
                summary?: {
                    errorMessage?: (...) | (...);
                    reachable?: (...) | (...) | (...);
                    roundTripTime?: (...) | (...);
                };
            }[];
        }[];
    };
    RestMeshMigrationQueueStateCounts: unknown;
    RestMeshMigrationRequest: {
        all?: boolean;
        maxBytesPerSecond?: {
            asLong?: number;
            present?: boolean;
        };
        projectIds?: readonly number[];
        repositoryIds?: readonly number[];
    };
    RestMeshMigrationSummary: {
        endTime?: number;
        jobId?: number;
        maxBandwidth?: number;
        progress?: number;
        queue?: Record<string, unknown>;
        startTime?: number;
        state?: string;
    };
    RestMeshNode: {
        id?: string;
        lastSeenDate?: number;
        name?: string;
        offline?: boolean;
        rpcId?: string;
        rpcUrl?: string;
        state?:
            | "AVAILABLE"
            | "OFFLINE"
            | "DELETING"
            | "DISABLED"
            | "DRAINING";
    };
    RestMigrationRepository: {
        migrationState?:
            | "FAILED"
            | "SKIPPED"
            | "CANCELED"
            | "MIGRATED"
            | "QUEUED"
            | "STAGED"
            | "STAGING";
        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<string, unknown>;
                name?: 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;
            };
            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;
        };
    };
    RestMinimalCommit: {
        displayId?: string;
        id?: string;
    };
    RestMinimalRef: {
        displayId?: string;
        id?: string;
        type?: "BRANCH" | "TAG";
    };
    RestMirroredRepository: {
        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";
    };
    RestMirroredRepositoryDescriptor: {
        links?: Record<string, unknown>;
        mirrorServer?: {
            baseUrl?: string;
            enabled?: boolean;
            id?: string;
            lastSeenDate: string;
            mirrorType?: "FARM" | "SINGLE";
            name?: string;
            productVersion?: string;
        };
    };
    RestMirrorHashes: {
        content?: string;
        metadata?: string;
    };
    RestMirroringRequest: {
        id?: number;
        mirrorBaseUrl?: string;
        mirrorId?: string;
        mirrorName?: string;
        mirrorType?: "FARM" | "SINGLE";
        productVersion?: string;
        state?: "ACCEPTED" | "PENDING" | "REJECTED";
    };
    RestMirrorRepositorySynchronizationStatus: {
        externalRepoId?: string;
        failedSyncCount?: number;
        hashes?: {
            content?: string;
            metadata?: string;
        };
        initialSyncDate?: string;
        lastSyncDate?: string;
        localProjectId?: number;
        localRepoId?: number;
        upstreamId?: string;
    };
    RestMirrorServer: {
        baseUrl?: string;
        enabled?: boolean;
        id?: string;
        lastSeenDate?: string;
        mirrorType?: "FARM" | "SINGLE";
        name?: string;
        productVersion?: string;
    };
    RestMirrorUpgradeRequest: {
        baseUrl?: string;
        productVersion?: string;
    };
    RestMultipleBuildStats: unknown;
    RestNamedLink: {
        href?: string;
        name?: string;
    };
    RestNode: {
        id?: string;
        name?: string;
        type?: "BITBUCKET" | "MESH";
    };
    RestNodeConnectivityReport: {
        node?: {
            id?: string;
            name?: string;
            type?: "BITBUCKET" | "MESH";
        };
        summaries?: readonly {
            node?: {
                id?: string;
                name?: string;
                type?: "BITBUCKET" | "MESH";
            };
            summary?: {
                errorMessage?: string;
                reachable?: boolean;
                roundTripTime?: number;
            };
        }[];
    };
    RestNodeConnectivitySummary: {
        node?: {
            id?: string;
            name?: string;
            type?: "BITBUCKET" | "MESH";
        };
        summary?: {
            errorMessage?: string;
            reachable?: boolean;
            roundTripTime?: number;
        };
    };
    RestPageRestChange: {
        isLastPage?: boolean;
        limit?: number;
        nextPageStart?: number;
        size?: number;
        start?: number;
        values?: Record<string, unknown>;
    };
    RestPath: {
        components?: readonly string[];
        extension?: string;
        name?: string;
        parent?: string;
    };
    RestPermitted: {
        permitted?: boolean;
    };
    RestPermittedGroup: {
        group?: {
            name?: string;
        };
        permission?: string;
    };
    RestPermittedUser: {
        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?: boolean;
            avatarUrl?: string;
            displayName?: string;
            emailAddress?: string;
            id?: number;
            links?: Record<string, unknown>;
            name?: string;
            slug?: string;
            type?: "NORMAL" | "SERVICE";
        };
    };
    RestPerson: {
        avatarUrl?: string;
        emailAddress?: string;
        name?: string;
    };
    RestProgress: {
        message?: string;
        percentage?: number;
    };
    RestProject: {
        avatar?: string;
        avatarUrl?: string;
        description?: string;
        id?: number;
        key?: string;
        links?: Record<string, unknown>;
        name?: string;
        public?: boolean;
        scope?: string;
        type?: "NORMAL" | "PERSONAL";
    };
    RestProjectSettingsRestriction: {
        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";
        };
    };
    RestProjectSettingsRestrictionRequest: {
        componentKey?: string;
        featureKey: string;
        namespace: string;
    };
    RestProperties: {
        contentHash?: string;
        defaultBranchId?: string;
        metadataHash?: string;
    };
    RestPullRequest: {
        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<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?: (...) | (...);
                        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;
                };
                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;
            };
            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?: boolean;
                avatarUrl?: string;
                displayName?: string;
                emailAddress?: string;
                id?: number;
                links?: Record<string, unknown>;
                name?: string;
                slug?: string;
                type?: "NORMAL" | "SERVICE";
            };
        }[];
        reviewers?: readonly {
            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";
            };
        }[];
        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<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?: (...) | (...);
                        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;
                };
                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;
            };
            type?: "BRANCH" | "TAG";
        };
        updatedDate?: number;
        version?: number;
    };
    RestPullRequestActivity: {
        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?: boolean;
            avatarUrl?: string;
            displayName?: string;
            emailAddress?: string;
            id?: number;
            links?: Record<string, unknown>;
            name?: string;
            slug?: string;
            type?: "NORMAL" | "SERVICE";
        };
    };
    RestPullRequestAssignParticipantRoleRequest: {
        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";
        };
    };
    RestPullRequestAssignStatusRequest: {
        lastReviewedCommit?: string;
        status?: "APPROVED" | "NEEDS_WORK" | "UNAPPROVED";
    };
    RestPullRequestCommitMessageTemplate: {
        body?: string;
        title?: string;
    };
    RestPullRequestCondition: {
        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;
            };
        };
    };
    RestPullRequestDeclineRequest: {
        comment?: string;
        version?: number;
    };
    RestPullRequestDeleteRequest: {
        version?: number;
    };
    RestPullRequestFinishReviewRequest: {
        commentText?: string;
        lastReviewedCommit?: string;
        participantStatus?: string;
    };
    RestPullRequestMergeability: {
        conflicted?: boolean;
        outcome?: "UNKNOWN" | "CLEAN" | "CONFLICTED";
        vetoes?: readonly {
            detailedMessage?: string;
            summaryMessage?: string;
        }[];
    };
    RestPullRequestMergeConfig: {
        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;
    };
    RestPullRequestMergeRequest: {
        autoMerge?: boolean;
        autoSubject?: string;
        message?: string;
        strategyId?: string;
        version?: number;
    };
    RestPullRequestMergeStrategy: {
        description?: string;
        enabled?: boolean;
        flag?: string;
        id?: string;
        links?: Record<string, unknown>;
        name?: string;
    };
    RestPullRequestParticipant: {
        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";
        };
    };
    RestPullRequestRebaseability: {
        vetoes?: readonly {
            detailedMessage?: string;
            summaryMessage?: string;
        }[];
    };
    RestPullRequestRebaseRequest: {
        version?: number;
    };
    RestPullRequestRebaseResult: {
        refChange?: {
            fromHash?: string;
            ref?: {
                displayId?: string;
                id?: string;
                type?: "BRANCH" | "TAG";
            };
            refId?: string;
            toHash?: string;
            type?: "DELETE" | "ADD" | "UPDATE";
        };
    };
    RestPullRequestRef: {
        displayId?: string;
        id?: string;
        latestCommit?: string;
        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<string, unknown>;
                name?: 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;
            };
            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;
        };
        type?: "BRANCH" | "TAG";
    };
    RestPullRequestReopenRequest: {
        version?: number;
    };
    RestPullRequestSettings: {
        mergeConfig?: {
            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;
        };
    };
    RestPullRequestSuggestion: {
        changeTme?: number;
        fromRef?: {
            displayId?: string;
            id?: string;
            type?: "BRANCH" | "TAG";
        };
        refChange?: {
            fromHash?: string;
            ref?: {
                displayId?: string;
                id?: string;
                type?: "BRANCH" | "TAG";
            };
            refId?: string;
            toHash?: string;
            type?: "DELETE" | "ADD" | "UPDATE";
        };
        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<string, unknown>;
                name?: 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;
            };
            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;
        };
        toRef?: {
            displayId?: string;
            id?: string;
            type?: "BRANCH" | "TAG";
        };
    };
    RestPushRefChange: {
        fromHash?: string;
        ref?: {
            displayId?: string;
            id?: string;
            type?: "BRANCH" | "TAG";
        };
        refId?: string;
        toHash?: string;
        type?: "DELETE" | "ADD" | "UPDATE";
        updatedType?:
            | "UNRESOLVED"
            | "UNKNOWN"
            | "FORCED"
            | "NOT_FORCED";
    };
    RestRateLimitSettings: {
        defaultSettings?: {
            capacity?: number;
            fillRate?: number;
        };
        enabled?: boolean;
    };
    RestRawAccessToken: {
        createdDate?: string;
        id?: string;
        name?: string;
        token?: string;
    };
    RestRefChange: {
        fromHash?: string;
        ref?: {
            displayId?: string;
            id?: string;
            type?: "BRANCH" | "TAG";
        };
        refId?: string;
        toHash?: string;
        type?: "DELETE" | "ADD" | "UPDATE";
    };
    RestRefMatcher: {
        displayId?: string;
        id?: string;
        type?: {
            id?:
                | "BRANCH"
                | "ANY_REF"
                | "MODEL_BRANCH"
                | "MODEL_CATEGORY"
                | "PATTERN";
            name?: string;
        };
    };
    RestRefMatcherType: {
        id?:
            | "BRANCH"
            | "ANY_REF"
            | "MODEL_BRANCH"
            | "MODEL_CATEGORY"
            | "PATTERN";
        name?: string;
    };
    RestRefRestriction: {
        accessKeys?: readonly {
            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;
            };
        }[];
        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";
        }[];
    };
    RestRefSyncQueue: {
        values?: readonly {
            attempt?: number;
            createdAt?: string;
            externalRepoId?: string;
            type?: "incremental" | "snapshot";
        }[];
    };
    RestRefSyncRequest: {
        action?: "DISCARD" | "MERGE" | "REBASE";
        context?: {
            commitMessage?: string;
        };
        refId?: string;
    };
    RestRefSyncStatus: {
        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";
        };
    };
    RestRejectedRef: {
        displayId?: string;
        id?: string;
        state?: "AHEAD" | "DIVERGED" | "ORPHANED";
        tag?: boolean;
        type?: "BRANCH" | "TAG";
    };
    RestRelatedLinks: unknown;
    RestRepositoriesExportRequest: {
        includes: readonly {
            projectKey?: string;
            slug?: string;
        }[];
    };
    RestRepository: {
        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<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;
        };
        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;
    };
    RestRepositoryHook: {
        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";
        };
    };
    RestRepositoryHookVeto: {
        detailedMessage?: string;
        summaryMessage?: string;
    };
    RestRepositoryMirrorEvent: {
        mirrorRepoId?: number;
        type?: "SYNCHRONIZATION_FAILED" | "SYNCHRONIZED";
        upstreamRepoId?: string;
    };
    RestRepositoryPolicy: {
        permission?:
            | "ADMIN"
            | "PROJECT_ADMIN"
            | "REPO_ADMIN"
            | "SYS_ADMIN";
    };
    RestRepositoryPullRequestSettings: {
        mergeConfig?: {
            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;
        };
        requiredAllApprovers?: boolean;
        requiredAllTasksComplete?: boolean;
        requiredApprovers?: {
            count?: string;
            enabled?: boolean;
        };
        requiredApproversDeprecated?: number;
        requiredSuccessfulBuilds?: {
            count?: string;
            enabled?: boolean;
        };
        requiredSuccessfulBuildsDeprecated?: number;
    };
    RestRepositoryRefChangeActivity: {
        createdDate?: number;
        id?: number;
        refChange?: {
            fromHash?: string;
            ref?: {
                displayId?: string;
                id?: string;
                type?: "BRANCH" | "TAG";
            };
            refId?: string;
            toHash?: string;
            type?: "DELETE" | "ADD" | "UPDATE";
            updatedType?:
                | "UNRESOLVED"
                | "UNKNOWN"
                | "FORCED"
                | "NOT_FORCED";
        };
        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<string, unknown>;
                name?: 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;
            };
            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;
        };
        trigger?: string;
        user?: {
            active?: boolean;
            avatarUrl?: string;
            displayName?: string;
            emailAddress?: string;
            id?: number;
            links?: Record<string, unknown>;
            name?: string;
            slug?: string;
            type?: "NORMAL" | "SERVICE";
        };
    };
    RestRepositorySelector: {
        projectKey?: string;
        slug?: string;
    };
    RestRequiredBuildCondition: {
        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;
            };
        };
    };
    RestRequiredBuildConditionSetRequest: {
        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;
            };
        };
    };
    RestRestrictionRequest: {
        accessKeyIds?: readonly number[];
        accessKeys?: readonly {
            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;
            };
        }[];
        groupNames?: readonly string[];
        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";
        }[];
        userSlugs?: readonly string[];
    };
    RestReviewerGroup: {
        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";
        }[];
    };
    RestRollingUpgradeState: {
        rollingUpgradeEnabled?: boolean;
        version?: string;
    };
    RestScope: {
        resourceId?: number;
        type?: "GLOBAL" | "PROJECT" | "REPOSITORY";
    };
    RestScopesExample: {
        links?: Record<string, unknown>;
        scopes?: readonly Record<string, unknown>[];
    };
    RestSecretScanningAllowlistRule: {
        id?: number;
        lineRegex?: string;
        name?: string;
        pathRegex?: string;
    };
    RestSecretScanningAllowlistRuleSetRequest: {
        lineRegex?: string;
        name?: string;
        pathRegex?: string;
    };
    RestSecretScanningRule: {
        id?: number;
        lineRegex?: string;
        name?: string;
        pathRegex?: string;
        scope?: {
            resourceId?: number;
            type?: "GLOBAL" | "PROJECT" | "REPOSITORY";
        };
    };
    RestSecretScanningRuleSetRequest: {
        lineRegex?: string;
        name?: string;
        pathRegex?: string;
    };
    RestSetInsightReportRequest: {
        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;
    };
    RestSingleAddInsightAnnotationRequest: {
        externalId?: string;
        line?: number;
        link?: string;
        message: string;
        path?: string;
        severity: string;
        type?: string;
    };
    RestSshAccessKey: {
        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<string, unknown>;
                name?: 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;
            };
            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;
        };
    };
    RestSshAccessKeyLocations: {
        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<string, unknown>;
                name?: 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;
            };
            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;
        };
    };
    RestSshCredentials: {
        algorithm?: string;
        publicKey: string;
        username?: string;
    };
    RestSshKey: {
        algorithmType?: string;
        bitLength?: number;
        createdDate?: string;
        expiryDays?: number;
        fingerprint?: string;
        id?: number;
        label?: string;
        lastAuthenticated?: string;
        text?: string;
    };
    RestSshKeySettings: {
        keyTypeRestrictions?: readonly {
            algorithm?: string;
            allowed?: boolean;
            minKeyLength?: {
                asInt?: number;
                present?: boolean;
            };
        }[];
        maxExpiryDays?: {
            asInt?: number;
            present?: boolean;
        };
    };
    RestSshKeyTypeRestriction: {
        algorithm?: string;
        allowed?: boolean;
        minKeyLength?: {
            asInt?: number;
            present?: boolean;
        };
    };
    RestSshSettings: {
        accessKeysEnabled?: boolean;
        baseUrl?: string;
        enabled?: boolean;
        fingerprint?: {
            algorithm?: string;
            value?: string;
        };
        port?: number;
    };
    RestSyncProgress: {
        discovering?: boolean;
        syncedRepos?: number;
        totalRepos?: number;
    };
    RestSystemSigningConfiguration: {
        enabled?: boolean;
    };
    RestTag: {
        displayId?: string;
        hash?: string;
        id?: string;
        latestChangeset?: string;
        latestCommit?: string;
        type?: "BRANCH" | "TAG";
    };
    RestTestResults: {
        failed?: number;
        skipped?: number;
        successful?: number;
    };
    RestTokenBucketSettings: {
        capacity?: number;
        fillRate?: number;
    };
    RestUpstreamServer: {
        baseUrl?: string;
        id?: string;
        state?:
            | "PENDING"
            | "REMOVED"
            | "UNKNOWN"
            | "INITIALIZING"
            | "INSTALLED";
    };
    RestUpstreamSettings: {
        mode?: "ALL_PROJECTS" | "SELECTED_PROJECTS";
        projectIds?: readonly string[];
    };
    RestUserDirectory: {
        active?: boolean;
        description?: string;
        name?: string;
        type?: string;
    };
    RestUsernamePasswordCredentials: {
        password: string;
        username: string;
    };
    RestUserRateLimitSettings: {
        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;
    };
    RestUserRateLimitSettingsUpdateRequest: {
        settings?: {
            capacity?: number;
            fillRate?: number;
        };
        whitelisted?: boolean;
    };
    RestUserReaction: {
        comment?: {
            anchor?: {
                diffType?: "COMMIT" | "EFFECTIVE" | "RANGE";
                fileType?: "FROM" | "TO";
                fromHash?: string;
                line?: number;
                lineComment?: boolean;
                lineType?: "ADDED" | "CONTEXT" | "REMOVED";
                path?: {
                    components?: readonly string[];
                    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<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;
                };
                srcPath?: {
                    components?: readonly string[];
                    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 {
                anchor?: {
                    diffType?: "COMMIT" | "EFFECTIVE" | "RANGE";
                    fileType?: "FROM" | "TO";
                    fromHash?: string;
                    line?: number;
                    lineComment?: boolean;
                    lineType?: "ADDED" | "CONTEXT" | "REMOVED";
                    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 lineComment?: boolean; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }[] | undefined;
                createdDate?: number;
                html?: string;
                id?: number;
                parent?: {
                    anchor?: {
                        diffType?: ...;
                        fileType?: ...;
                        fromHash?: ...;
                        line?: ...;
                        lineComment?: ...;
                        lineType?: ...;
                        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 lineComment?: boolean; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }[] | undefined;
                    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;
            }[];
            createdDate?: number;
            html?: string;
            id?: number;
            parent?: {
                anchor?: {
                    diffType?: "COMMIT" | "EFFECTIVE" | "RANGE";
                    fileType?: "FROM" | "TO";
                    fromHash?: string;
                    line?: number;
                    lineComment?: boolean;
                    lineType?: "ADDED" | "CONTEXT" | "REMOVED";
                    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<string, unknown>;
                    name?: string;
                    slug?: string;
                    type?: "NORMAL" | "SERVICE";
                };
                comments?: readonly {
                    anchor?: {
                        diffType?: ...;
                        fileType?: ...;
                        fromHash?: ...;
                        line?: ...;
                        lineComment?: ...;
                        lineType?: ...;
                        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 lineComment?: boolean; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }[] | undefined;
                    createdDate?: number;
                    html?: string;
                    id?: number;
                    parent?: {
                        anchor?: ...;
                        anchored?: ...;
                        author?: ...;
                        comments?: ...;
                        createdDate?: ...;
                        html?: ...;
                        id?: ...;
                        pending?: ...;
                        properties?: ...;
                        reply?: ...;
                        resolvedDate?: ...;
                        resolver?: ...;
                        severity?: ...;
                        state?: ...;
                        text?: ...;
                        threadResolved?: ...;
                        threadResolvedDate?: ...;
                        threadResolver?: ...;
                        updatedDate?: ...;
                        version?: ...;
                    };
                    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;
                }[];
                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<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;
            };
            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;
        };
        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";
        };
    };
    RestWebhook: {
        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;
    };
    RestWebhookCredentials: {
        password?: string;
        username?: string;
    };
    RestWebhookRequestResponse: unknown;
    RestWebhookScope: {
        id?: string;
        type?: string;
    };
    RestX509Certificate: {
        fingerprint?: string;
        id?: number;
    };
    Scope: {
        resourceId?: number;
        type?: "GLOBAL" | "PROJECT" | "REPOSITORY";
    };
    SimpleSshKeyFingerprint: {
        algorithm?: string;
        value?: string;
    };
    UserAndGroups: {
        groups: readonly string[];
        user?: string;
    };
    UserPasswordUpdate: {
        oldPassword?: string;
        password?: string;
        passwordConfirm?: string;
    };
    UserPickerContext: {
        context?: string;
        itemName?: string;
    };
    UserRename: {
        name?: string;
        newName?: string;
    };
    UserUpdate: {
        displayName?: string;
        email?: string;
        name?: string;
    };
}

Type declaration

  • ReadonlyAdminPasswordUpdate: {
        name?: string;
        password?: string;
        passwordConfirm?: string;
    }
    • Optional Readonlyname?: string
      jcitizen
      
    • Optional Readonlypassword?: string
      my-secret-password
      
    • Optional ReadonlypasswordConfirm?: string
      my-secret-password
      
  • ReadonlyApplicationId: Record<string, unknown>
  • ReadonlyApplicationUser: {
        active?: boolean;
        displayName?: string;
        emailAddress?: string;
        id?: number;
        name?: string;
        slug?: string;
        type?: "NORMAL" | "SERVICE";
    }
    • Optional Readonlyactive?: boolean
    • Optional ReadonlydisplayName?: string
    • Optional ReadonlyemailAddress?: string
    • Optional Readonlyid?: number

      Format: int32

    • Optional Readonlyname?: string
    • Optional Readonlyslug?: string
    • Optional Readonlytype?: "NORMAL" | "SERVICE"
  • ReadonlyComment: {
        anchor?: {
            diffType?: "COMMIT" | "EFFECTIVE" | "RANGE";
            fileAnchor?: boolean;
            fileType?: "FROM" | "TO";
            fromHash?: string;
            line?: number;
            lineAnchor?: boolean;
            lineType?: "ADDED" | "CONTEXT" | "REMOVED";
            orphaned?: boolean;
            path?: string;
            srcPath?: string;
            toHash?: string;
        };
        author?: {
            active?: boolean;
            displayName?: string;
            emailAddress?: string;
            id?: number;
            name?: string;
            slug?: string;
            type?: "NORMAL" | "SERVICE";
        };
        comments?: readonly ({ readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileAnchor?: boolean; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineAnchor?: boolean; ... 4 more ...; readonly toHash?: string; }; ... 13 more ...; readonly version?: number; })[];
        createdDate?: string;
        id?: number;
        permittedOperations?: {
            deletable?: boolean;
            editable?: boolean;
            transitionable?: boolean;
        };
        properties?: Record<string, unknown>;
        resolvedDate?: string;
        resolver?: {
            active?: boolean;
            displayName?: string;
            emailAddress?: string;
            id?: number;
            name?: string;
            slug?: string;
            type?: "NORMAL" | "SERVICE";
        };
        severity?: "NORMAL" | "BLOCKER";
        state?: "OPEN" | "PENDING" | "RESOLVED";
        text?: string;
        thread?: {
            anchor?: {
                diffType?: "COMMIT" | "EFFECTIVE" | "RANGE";
                fileAnchor?: boolean;
                fileType?: "FROM" | "TO";
                fromHash?: string;
                line?: number;
                lineAnchor?: boolean;
                lineType?: "ADDED" | "CONTEXT" | "REMOVED";
                orphaned?: boolean;
                path?: string;
                srcPath?: string;
                toHash?: string;
            };
            anchored?: boolean;
            commentable?: Record<string, unknown>;
            createdDate?: string;
            id?: number;
            resolved?: boolean;
            resolvedDate?: string;
            resolver?: {
                active?: boolean;
                displayName?: string;
                emailAddress?: string;
                id?: number;
                name?: string;
                slug?: string;
                type?: "NORMAL" | "SERVICE";
            };
            rootComment?: { readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileAnchor?: boolean; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineAnchor?: boolean; ... 4 more ...; readonly toHash?: string; }; ... 13 more ...; readonly version?: number; };
            updatedDate?: string;
        };
        updatedDate?: string;
        version?: number;
    }
    • Optional Readonlyanchor?: {
          diffType?: "COMMIT" | "EFFECTIVE" | "RANGE";
          fileAnchor?: boolean;
          fileType?: "FROM" | "TO";
          fromHash?: string;
          line?: number;
          lineAnchor?: boolean;
          lineType?: "ADDED" | "CONTEXT" | "REMOVED";
          orphaned?: boolean;
          path?: string;
          srcPath?: string;
          toHash?: string;
      }
      • Optional ReadonlydiffType?: "COMMIT" | "EFFECTIVE" | "RANGE"
      • Optional ReadonlyfileAnchor?: boolean
      • Optional ReadonlyfileType?: "FROM" | "TO"
      • Optional ReadonlyfromHash?: string
      • Optional Readonlyline?: number

        Format: int32

      • Optional ReadonlylineAnchor?: boolean
      • Optional ReadonlylineType?: "ADDED" | "CONTEXT" | "REMOVED"
      • Optional Readonlyorphaned?: boolean
      • Optional Readonlypath?: string
      • Optional ReadonlysrcPath?: string
      • Optional ReadonlytoHash?: string
    • Optional Readonlyauthor?: {
          active?: boolean;
          displayName?: string;
          emailAddress?: string;
          id?: number;
          name?: string;
          slug?: string;
          type?: "NORMAL" | "SERVICE";
      }
      • Optional Readonlyactive?: boolean
      • Optional ReadonlydisplayName?: string
      • Optional ReadonlyemailAddress?: string
      • Optional Readonlyid?: number

        Format: int32

      • Optional Readonlyname?: string
      • Optional Readonlyslug?: string
      • Optional Readonlytype?: "NORMAL" | "SERVICE"
    • Optional Readonlycomments?: readonly ({ readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileAnchor?: boolean; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineAnchor?: boolean; ... 4 more ...; readonly toHash?: string; }; ... 13 more ...; readonly version?: number; })[]
    • Optional ReadonlycreatedDate?: string

      Format: date-time

    • Optional Readonlyid?: number

      Format: int64

    • Optional ReadonlypermittedOperations?: {
          deletable?: boolean;
          editable?: boolean;
          transitionable?: boolean;
      }
      • Optional Readonlydeletable?: boolean
      • Optional Readonlyeditable?: boolean
      • Optional Readonlytransitionable?: boolean
    • Optional Readonlyproperties?: Record<string, unknown>
    • Optional ReadonlyresolvedDate?: string

      Format: date-time

    • Optional Readonlyresolver?: {
          active?: boolean;
          displayName?: string;
          emailAddress?: string;
          id?: number;
          name?: string;
          slug?: string;
          type?: "NORMAL" | "SERVICE";
      }
      • Optional Readonlyactive?: boolean
      • Optional ReadonlydisplayName?: string
      • Optional ReadonlyemailAddress?: string
      • Optional Readonlyid?: number

        Format: int32

      • Optional Readonlyname?: string
      • Optional Readonlyslug?: string
      • Optional Readonlytype?: "NORMAL" | "SERVICE"
    • Optional Readonlyseverity?: "NORMAL" | "BLOCKER"
    • Optional Readonlystate?: "OPEN" | "PENDING" | "RESOLVED"
    • Optional Readonlytext?: string
    • Optional Readonlythread?: {
          anchor?: {
              diffType?: "COMMIT" | "EFFECTIVE" | "RANGE";
              fileAnchor?: boolean;
              fileType?: "FROM" | "TO";
              fromHash?: string;
              line?: number;
              lineAnchor?: boolean;
              lineType?: "ADDED" | "CONTEXT" | "REMOVED";
              orphaned?: boolean;
              path?: string;
              srcPath?: string;
              toHash?: string;
          };
          anchored?: boolean;
          commentable?: Record<string, unknown>;
          createdDate?: string;
          id?: number;
          resolved?: boolean;
          resolvedDate?: string;
          resolver?: {
              active?: boolean;
              displayName?: string;
              emailAddress?: string;
              id?: number;
              name?: string;
              slug?: string;
              type?: "NORMAL" | "SERVICE";
          };
          rootComment?: { readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileAnchor?: boolean; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineAnchor?: boolean; ... 4 more ...; readonly toHash?: string; }; ... 13 more ...; readonly version?: number; };
          updatedDate?: string;
      }
      • Optional Readonlyanchor?: {
            diffType?: "COMMIT" | "EFFECTIVE" | "RANGE";
            fileAnchor?: boolean;
            fileType?: "FROM" | "TO";
            fromHash?: string;
            line?: number;
            lineAnchor?: boolean;
            lineType?: "ADDED" | "CONTEXT" | "REMOVED";
            orphaned?: boolean;
            path?: string;
            srcPath?: string;
            toHash?: string;
        }
        • Optional ReadonlydiffType?: "COMMIT" | "EFFECTIVE" | "RANGE"
        • Optional ReadonlyfileAnchor?: boolean
        • Optional ReadonlyfileType?: "FROM" | "TO"
        • Optional ReadonlyfromHash?: string
        • Optional Readonlyline?: number

          Format: int32

        • Optional ReadonlylineAnchor?: boolean
        • Optional ReadonlylineType?: "ADDED" | "CONTEXT" | "REMOVED"
        • Optional Readonlyorphaned?: boolean
        • Optional Readonlypath?: string
        • Optional ReadonlysrcPath?: string
        • Optional ReadonlytoHash?: string
      • Optional Readonlyanchored?: boolean
      • Optional Readonlycommentable?: Record<string, unknown>
      • Optional ReadonlycreatedDate?: string

        Format: date-time

      • Optional Readonlyid?: number

        Format: int64

      • Optional Readonlyresolved?: boolean
      • Optional ReadonlyresolvedDate?: string

        Format: date-time

      • Optional Readonlyresolver?: {
            active?: boolean;
            displayName?: string;
            emailAddress?: string;
            id?: number;
            name?: string;
            slug?: string;
            type?: "NORMAL" | "SERVICE";
        }
        • Optional Readonlyactive?: boolean
        • Optional ReadonlydisplayName?: string
        • Optional ReadonlyemailAddress?: string
        • Optional Readonlyid?: number

          Format: int32

        • Optional Readonlyname?: string
        • Optional Readonlyslug?: string
        • Optional Readonlytype?: "NORMAL" | "SERVICE"
      • Optional ReadonlyrootComment?: { readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileAnchor?: boolean; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineAnchor?: boolean; ... 4 more ...; readonly toHash?: string; }; ... 13 more ...; readonly version?: number; }
      • Optional ReadonlyupdatedDate?: string

        Format: date-time

    • Optional ReadonlyupdatedDate?: string

      Format: date-time

    • Optional Readonlyversion?: number

      Format: int32

  • ReadonlyCommentable: Record<string, unknown>
  • ReadonlyCommentOperations: {
        deletable?: boolean;
        editable?: boolean;
        transitionable?: boolean;
    }
    • Optional Readonlydeletable?: boolean
    • Optional Readonlyeditable?: boolean
    • Optional Readonlytransitionable?: boolean
  • ReadonlyCommentThread: {
        anchor?: {
            diffType?: "COMMIT" | "EFFECTIVE" | "RANGE";
            fileAnchor?: boolean;
            fileType?: "FROM" | "TO";
            fromHash?: string;
            line?: number;
            lineAnchor?: boolean;
            lineType?: "ADDED" | "CONTEXT" | "REMOVED";
            orphaned?: boolean;
            path?: string;
            srcPath?: string;
            toHash?: string;
        };
        anchored?: boolean;
        commentable?: Record<string, unknown>;
        createdDate?: string;
        id?: number;
        resolved?: boolean;
        resolvedDate?: string;
        resolver?: {
            active?: boolean;
            displayName?: string;
            emailAddress?: string;
            id?: number;
            name?: string;
            slug?: string;
            type?: "NORMAL" | "SERVICE";
        };
        rootComment?: {
            anchor?: {
                diffType?: "COMMIT" | "EFFECTIVE" | "RANGE";
                fileAnchor?: boolean;
                fileType?: "FROM" | "TO";
                fromHash?: string;
                line?: number;
                lineAnchor?: boolean;
                lineType?: "ADDED" | "CONTEXT" | "REMOVED";
                orphaned?: boolean;
                path?: string;
                srcPath?: string;
                toHash?: string;
            };
            author?: {
                active?: boolean;
                displayName?: string;
                emailAddress?: string;
                id?: number;
                name?: string;
                slug?: string;
                type?: "NORMAL" | "SERVICE";
            };
            comments?: readonly ({ readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileAnchor?: boolean; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineAnchor?: boolean; ... 4 more ...; readonly toHash?: string; }; ... 13 more ...; readonly version?: number; })[];
            createdDate?: string;
            id?: number;
            permittedOperations?: {
                deletable?: boolean;
                editable?: boolean;
                transitionable?: boolean;
            };
            properties?: Record<string, unknown>;
            resolvedDate?: string;
            resolver?: {
                active?: boolean;
                displayName?: string;
                emailAddress?: string;
                id?: number;
                name?: string;
                slug?: string;
                type?: "NORMAL" | "SERVICE";
            };
            severity?: "NORMAL" | "BLOCKER";
            state?: "OPEN" | "PENDING" | "RESOLVED";
            text?: string;
            thread?: { readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileAnchor?: boolean; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineAnchor?: boolean; ... 4 more ...; readonly toHash?: string; }; ... 8 more ...; readonly updatedDate?: string; };
            updatedDate?: string;
            version?: number;
        };
        updatedDate?: string;
    }
    • Optional Readonlyanchor?: {
          diffType?: "COMMIT" | "EFFECTIVE" | "RANGE";
          fileAnchor?: boolean;
          fileType?: "FROM" | "TO";
          fromHash?: string;
          line?: number;
          lineAnchor?: boolean;
          lineType?: "ADDED" | "CONTEXT" | "REMOVED";
          orphaned?: boolean;
          path?: string;
          srcPath?: string;
          toHash?: string;
      }
      • Optional ReadonlydiffType?: "COMMIT" | "EFFECTIVE" | "RANGE"
      • Optional ReadonlyfileAnchor?: boolean
      • Optional ReadonlyfileType?: "FROM" | "TO"
      • Optional ReadonlyfromHash?: string
      • Optional Readonlyline?: number

        Format: int32

      • Optional ReadonlylineAnchor?: boolean
      • Optional ReadonlylineType?: "ADDED" | "CONTEXT" | "REMOVED"
      • Optional Readonlyorphaned?: boolean
      • Optional Readonlypath?: string
      • Optional ReadonlysrcPath?: string
      • Optional ReadonlytoHash?: string
    • Optional Readonlyanchored?: boolean
    • Optional Readonlycommentable?: Record<string, unknown>
    • Optional ReadonlycreatedDate?: string

      Format: date-time

    • Optional Readonlyid?: number

      Format: int64

    • Optional Readonlyresolved?: boolean
    • Optional ReadonlyresolvedDate?: string

      Format: date-time

    • Optional Readonlyresolver?: {
          active?: boolean;
          displayName?: string;
          emailAddress?: string;
          id?: number;
          name?: string;
          slug?: string;
          type?: "NORMAL" | "SERVICE";
      }
      • Optional Readonlyactive?: boolean
      • Optional ReadonlydisplayName?: string
      • Optional ReadonlyemailAddress?: string
      • Optional Readonlyid?: number

        Format: int32

      • Optional Readonlyname?: string
      • Optional Readonlyslug?: string
      • Optional Readonlytype?: "NORMAL" | "SERVICE"
    • Optional ReadonlyrootComment?: {
          anchor?: {
              diffType?: "COMMIT" | "EFFECTIVE" | "RANGE";
              fileAnchor?: boolean;
              fileType?: "FROM" | "TO";
              fromHash?: string;
              line?: number;
              lineAnchor?: boolean;
              lineType?: "ADDED" | "CONTEXT" | "REMOVED";
              orphaned?: boolean;
              path?: string;
              srcPath?: string;
              toHash?: string;
          };
          author?: {
              active?: boolean;
              displayName?: string;
              emailAddress?: string;
              id?: number;
              name?: string;
              slug?: string;
              type?: "NORMAL" | "SERVICE";
          };
          comments?: readonly ({ readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileAnchor?: boolean; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineAnchor?: boolean; ... 4 more ...; readonly toHash?: string; }; ... 13 more ...; readonly version?: number; })[];
          createdDate?: string;
          id?: number;
          permittedOperations?: {
              deletable?: boolean;
              editable?: boolean;
              transitionable?: boolean;
          };
          properties?: Record<string, unknown>;
          resolvedDate?: string;
          resolver?: {
              active?: boolean;
              displayName?: string;
              emailAddress?: string;
              id?: number;
              name?: string;
              slug?: string;
              type?: "NORMAL" | "SERVICE";
          };
          severity?: "NORMAL" | "BLOCKER";
          state?: "OPEN" | "PENDING" | "RESOLVED";
          text?: string;
          thread?: { readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileAnchor?: boolean; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineAnchor?: boolean; ... 4 more ...; readonly toHash?: string; }; ... 8 more ...; readonly updatedDate?: string; };
          updatedDate?: string;
          version?: number;
      }
      • Optional Readonlyanchor?: {
            diffType?: "COMMIT" | "EFFECTIVE" | "RANGE";
            fileAnchor?: boolean;
            fileType?: "FROM" | "TO";
            fromHash?: string;
            line?: number;
            lineAnchor?: boolean;
            lineType?: "ADDED" | "CONTEXT" | "REMOVED";
            orphaned?: boolean;
            path?: string;
            srcPath?: string;
            toHash?: string;
        }
        • Optional ReadonlydiffType?: "COMMIT" | "EFFECTIVE" | "RANGE"
        • Optional ReadonlyfileAnchor?: boolean
        • Optional ReadonlyfileType?: "FROM" | "TO"
        • Optional ReadonlyfromHash?: string
        • Optional Readonlyline?: number

          Format: int32

        • Optional ReadonlylineAnchor?: boolean
        • Optional ReadonlylineType?: "ADDED" | "CONTEXT" | "REMOVED"
        • Optional Readonlyorphaned?: boolean
        • Optional Readonlypath?: string
        • Optional ReadonlysrcPath?: string
        • Optional ReadonlytoHash?: string
      • Optional Readonlyauthor?: {
            active?: boolean;
            displayName?: string;
            emailAddress?: string;
            id?: number;
            name?: string;
            slug?: string;
            type?: "NORMAL" | "SERVICE";
        }
        • Optional Readonlyactive?: boolean
        • Optional ReadonlydisplayName?: string
        • Optional ReadonlyemailAddress?: string
        • Optional Readonlyid?: number

          Format: int32

        • Optional Readonlyname?: string
        • Optional Readonlyslug?: string
        • Optional Readonlytype?: "NORMAL" | "SERVICE"
      • Optional Readonlycomments?: readonly ({ readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileAnchor?: boolean; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineAnchor?: boolean; ... 4 more ...; readonly toHash?: string; }; ... 13 more ...; readonly version?: number; })[]
      • Optional ReadonlycreatedDate?: string

        Format: date-time

      • Optional Readonlyid?: number

        Format: int64

      • Optional ReadonlypermittedOperations?: {
            deletable?: boolean;
            editable?: boolean;
            transitionable?: boolean;
        }
        • Optional Readonlydeletable?: boolean
        • Optional Readonlyeditable?: boolean
        • Optional Readonlytransitionable?: boolean
      • Optional Readonlyproperties?: Record<string, unknown>
      • Optional ReadonlyresolvedDate?: string

        Format: date-time

      • Optional Readonlyresolver?: {
            active?: boolean;
            displayName?: string;
            emailAddress?: string;
            id?: number;
            name?: string;
            slug?: string;
            type?: "NORMAL" | "SERVICE";
        }
        • Optional Readonlyactive?: boolean
        • Optional ReadonlydisplayName?: string
        • Optional ReadonlyemailAddress?: string
        • Optional Readonlyid?: number

          Format: int32

        • Optional Readonlyname?: string
        • Optional Readonlyslug?: string
        • Optional Readonlytype?: "NORMAL" | "SERVICE"
      • Optional Readonlyseverity?: "NORMAL" | "BLOCKER"
      • Optional Readonlystate?: "OPEN" | "PENDING" | "RESOLVED"
      • Optional Readonlytext?: string
      • Optional Readonlythread?: { readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileAnchor?: boolean; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineAnchor?: boolean; ... 4 more ...; readonly toHash?: string; }; ... 8 more ...; readonly updatedDate?: string; }
      • Optional ReadonlyupdatedDate?: string

        Format: date-time

      • Optional Readonlyversion?: number

        Format: int32

    • Optional ReadonlyupdatedDate?: string

      Format: date-time

  • ReadonlyCommentThreadDiffAnchor: {
        diffType?: "COMMIT" | "EFFECTIVE" | "RANGE";
        fileAnchor?: boolean;
        fileType?: "FROM" | "TO";
        fromHash?: string;
        line?: number;
        lineAnchor?: boolean;
        lineType?: "ADDED" | "CONTEXT" | "REMOVED";
        orphaned?: boolean;
        path?: string;
        srcPath?: string;
        toHash?: string;
    }
    • Optional ReadonlydiffType?: "COMMIT" | "EFFECTIVE" | "RANGE"
    • Optional ReadonlyfileAnchor?: boolean
    • Optional ReadonlyfileType?: "FROM" | "TO"
    • Optional ReadonlyfromHash?: string
    • Optional Readonlyline?: number

      Format: int32

    • Optional ReadonlylineAnchor?: boolean
    • Optional ReadonlylineType?: "ADDED" | "CONTEXT" | "REMOVED"
    • Optional Readonlyorphaned?: boolean
    • Optional Readonlypath?: string
    • Optional ReadonlysrcPath?: string
    • Optional ReadonlytoHash?: string
  • ReadonlyContext: {
        commitMessage?: string;
    }
    • Optional ReadonlycommitMessage?: string
      Merging in latest from upstream.
      
  • ReadonlyCredentials: {
        token: string;
    } | {
        algorithm?: string;
        publicKey: string;
        username?: string;
    } | {
        password: string;
        username: string;
    }
  • ReadonlyDiffContentFilter: Record<string, unknown>
  • ReadonlyEnrichedRepository: {
        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<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;
        };
        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;
    }
    • Optional Readonlyarchived?: boolean
    • Optional ReadonlydefaultBranch?: string
      main
      
    • Optional Readonlydescription?: string
      My repo description
      
    • Optional Readonlyforkable?: boolean
    • Optional ReadonlyhierarchyId?: string
      e3c939f9ef4a7fae272e
      
    • Optional Readonlyid?: number

      Format: int32

    • Optional Readonlylinks?: Record<string, unknown>
    • Optional Readonlyname?: string
      My repo
      
    • Optional Readonlyorigin?: {
          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<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;
      }
      • Optional Readonlyarchived?: boolean
      • Optional ReadonlydefaultBranch?: string
        main
        
      • Optional Readonlydescription?: string
        My repo description
        
      • Optional Readonlyforkable?: boolean
      • Optional ReadonlyhierarchyId?: string
        e3c939f9ef4a7fae272e
        
      • Optional Readonlyid?: number

        Format: int32

      • Optional Readonlylinks?: Record<string, unknown>
      • Optional Readonlyname?: string
        My repo
        
      • Optional Readonlypartition?: number

        Format: int32

      • Optional Readonlyproject?: {
            avatar?: string;
            avatarUrl?: string;
            description?: string;
            id?: number;
            key: string;
            links?: Record<string, unknown>;
            name?: string;
            public?: boolean;
            scope?: string;
            type?: "NORMAL" | "PERSONAL";
        }
        • Optional Readonlyavatar?: string
        • Optional ReadonlyavatarUrl?: string
        • Optional Readonlydescription?: string
          The description for my cool project
          
        • Optional Readonlyid?: number

          Format: int32

        • Readonlykey: string
          PRJ
          
        • Optional Readonlylinks?: Record<string, unknown>
        • Optional Readonlyname?: string
          My Cool Project
          
        • Optional Readonlypublic?: boolean
        • Optional Readonlyscope?: string
          PROJECT
          
        • Optional Readonlytype?: "NORMAL" | "PERSONAL"
      • Optional Readonlypublic?: boolean
      • Optional ReadonlyrelatedLinks?: Record<string, unknown>
      • Optional ReadonlyscmId?: string
        git
        
      • Optional Readonlyscope?: string
        REPOSITORY
        
      • Optional Readonlyslug?: string
        my-repo
        
      • Optional Readonlystate?:
            | "AVAILABLE"
            | "INITIALISATION_FAILED"
            | "INITIALISING"
            | "OFFLINE"
      • Optional ReadonlystatusMessage?: string
        Available
        
    • Optional Readonlypartition?: number

      Format: int32

    • Optional Readonlyproject?: {
          avatar?: string;
          avatarUrl?: string;
          description?: string;
          id?: number;
          key: string;
          links?: Record<string, unknown>;
          name?: string;
          public?: boolean;
          scope?: string;
          type?: "NORMAL" | "PERSONAL";
      }
      • Optional Readonlyavatar?: string
      • Optional ReadonlyavatarUrl?: string
      • Optional Readonlydescription?: string
        The description for my cool project
        
      • Optional Readonlyid?: number

        Format: int32

      • Readonlykey: string
        PRJ
        
      • Optional Readonlylinks?: Record<string, unknown>
      • Optional Readonlyname?: string
        My Cool Project
        
      • Optional Readonlypublic?: boolean
      • Optional Readonlyscope?: string
        PROJECT
        
      • Optional Readonlytype?: "NORMAL" | "PERSONAL"
    • Optional Readonlyproperties?: {
          contentHash?: string;
          defaultBranchId?: string;
          metadataHash?: string;
      }
      • Optional ReadonlycontentHash?: string
        457389a0b871fb61012a7351d09aefc0cf1c57c306449d4b5df4d2f381df8433
        
      • Optional ReadonlydefaultBranchId?: string
        refs/heads/master
        
      • Optional ReadonlymetadataHash?: string
        11e5cd17e8d74d84a11f2c8a6bbc6ae0a2b69059e54030f49214c94d980364c1
        
    • Optional Readonlypublic?: boolean
    • Optional ReadonlyrelatedLinks?: Record<string, unknown>
    • Optional ReadonlyscmId?: string
      git
      
    • Optional Readonlyscope?: string
      REPOSITORY
      
    • Optional Readonlyslug?: string
      my-repo
      
    • Optional Readonlystate?:
          | "AVAILABLE"
          | "INITIALISATION_FAILED"
          | "INITIALISING"
          | "OFFLINE"
    • Optional ReadonlystatusMessage?: string
      Available
      
  • ReadonlyExampleAvatarMultipartFormData: {
        avatar?: string;
    }
    • Optional Readonlyavatar?: string

      Format: binary

      The avatar file to upload.

  • ReadonlyExampleCertificateMultipartFormData: {
        certificate?: string;
    }
    • Optional Readonlycertificate?: string

      Format: binary

      The X.509 certificate file to upload.

  • ReadonlyExampleFiles: {
        files?: {
            latestCommit?: {
                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;
                }[];
            };
            pomXml?: {
                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;
                }[];
            };
            readmeMd?: {
                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;
                }[];
            };
        };
    }
    • Optional Readonlyfiles?: {
          latestCommit?: {
              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;
              }[];
          };
          pomXml?: {
              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;
              }[];
          };
          readmeMd?: {
              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;
              }[];
          };
      }
      • Optional ReadonlylatestCommit?: {
            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;
            }[];
        }
        • Optional Readonlyauthor?: {
              avatarUrl?: string;
              emailAddress?: string;
              name?: string;
          }
          • Optional ReadonlyavatarUrl?: string
          • Optional ReadonlyemailAddress?: string
            charlie@example.com
            
          • Optional Readonlyname?: string
            Charlie
            
        • Optional ReadonlyauthorTimestamp?: number

          Format: int64

          1359075920
          
        • Optional Readonlycommitter?: {
              avatarUrl?: string;
              emailAddress?: string;
              name?: string;
          }
          • Optional ReadonlyavatarUrl?: string
          • Optional ReadonlyemailAddress?: string
            charlie@example.com
            
          • Optional Readonlyname?: string
            Charlie
            
        • Optional ReadonlycommitterTimestamp?: number

          Format: int64

          1449075830
          
        • Optional ReadonlydisplayId?: string
          abcdef0
          
        • Optional Readonlyid?: string
          abcdef0123abcdef4567abcdef8987abcdef6543
          
        • Optional Readonlymessage?: string
          More work on feature 1
          
        • Optional Readonlyparents?: readonly {
              displayId?: string;
              id?: string;
          }[]
      • Optional ReadonlypomXml?: {
            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;
            }[];
        }
        • Optional Readonlyauthor?: {
              avatarUrl?: string;
              emailAddress?: string;
              name?: string;
          }
          • Optional ReadonlyavatarUrl?: string
          • Optional ReadonlyemailAddress?: string
            charlie@example.com
            
          • Optional Readonlyname?: string
            Charlie
            
        • Optional ReadonlyauthorTimestamp?: number

          Format: int64

          1359075920
          
        • Optional Readonlycommitter?: {
              avatarUrl?: string;
              emailAddress?: string;
              name?: string;
          }
          • Optional ReadonlyavatarUrl?: string
          • Optional ReadonlyemailAddress?: string
            charlie@example.com
            
          • Optional Readonlyname?: string
            Charlie
            
        • Optional ReadonlycommitterTimestamp?: number

          Format: int64

          1449075830
          
        • Optional ReadonlydisplayId?: string
          abcdef0
          
        • Optional Readonlyid?: string
          abcdef0123abcdef4567abcdef8987abcdef6543
          
        • Optional Readonlymessage?: string
          More work on feature 1
          
        • Optional Readonlyparents?: readonly {
              displayId?: string;
              id?: string;
          }[]
      • Optional ReadonlyreadmeMd?: {
            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;
            }[];
        }
        • Optional Readonlyauthor?: {
              avatarUrl?: string;
              emailAddress?: string;
              name?: string;
          }
          • Optional ReadonlyavatarUrl?: string
          • Optional ReadonlyemailAddress?: string
            charlie@example.com
            
          • Optional Readonlyname?: string
            Charlie
            
        • Optional ReadonlyauthorTimestamp?: number

          Format: int64

          1359075920
          
        • Optional Readonlycommitter?: {
              avatarUrl?: string;
              emailAddress?: string;
              name?: string;
          }
          • Optional ReadonlyavatarUrl?: string
          • Optional ReadonlyemailAddress?: string
            charlie@example.com
            
          • Optional Readonlyname?: string
            Charlie
            
        • Optional ReadonlycommitterTimestamp?: number

          Format: int64

          1449075830
          
        • Optional ReadonlydisplayId?: string
          abcdef0
          
        • Optional Readonlyid?: string
          abcdef0123abcdef4567abcdef8987abcdef6543
          
        • Optional Readonlymessage?: string
          More work on feature 1
          
        • Optional Readonlyparents?: readonly {
              displayId?: string;
              id?: string;
          }[]
  • ReadonlyExampleJsonLastModifiedCallback: {
        latestCommit?: {
            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;
            }[];
        };
        pomXml?: {
            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;
            }[];
        };
        readmeMd?: {
            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;
            }[];
        };
    }
    • Optional ReadonlylatestCommit?: {
          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;
          }[];
      }
      • Optional Readonlyauthor?: {
            avatarUrl?: string;
            emailAddress?: string;
            name?: string;
        }
        • Optional ReadonlyavatarUrl?: string
        • Optional ReadonlyemailAddress?: string
          charlie@example.com
          
        • Optional Readonlyname?: string
          Charlie
          
      • Optional ReadonlyauthorTimestamp?: number

        Format: int64

        1359075920
        
      • Optional Readonlycommitter?: {
            avatarUrl?: string;
            emailAddress?: string;
            name?: string;
        }
        • Optional ReadonlyavatarUrl?: string
        • Optional ReadonlyemailAddress?: string
          charlie@example.com
          
        • Optional Readonlyname?: string
          Charlie
          
      • Optional ReadonlycommitterTimestamp?: number

        Format: int64

        1449075830
        
      • Optional ReadonlydisplayId?: string
        abcdef0
        
      • Optional Readonlyid?: string
        abcdef0123abcdef4567abcdef8987abcdef6543
        
      • Optional Readonlymessage?: string
        More work on feature 1
        
      • Optional Readonlyparents?: readonly {
            displayId?: string;
            id?: string;
        }[]
    • Optional ReadonlypomXml?: {
          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;
          }[];
      }
      • Optional Readonlyauthor?: {
            avatarUrl?: string;
            emailAddress?: string;
            name?: string;
        }
        • Optional ReadonlyavatarUrl?: string
        • Optional ReadonlyemailAddress?: string
          charlie@example.com
          
        • Optional Readonlyname?: string
          Charlie
          
      • Optional ReadonlyauthorTimestamp?: number

        Format: int64

        1359075920
        
      • Optional Readonlycommitter?: {
            avatarUrl?: string;
            emailAddress?: string;
            name?: string;
        }
        • Optional ReadonlyavatarUrl?: string
        • Optional ReadonlyemailAddress?: string
          charlie@example.com
          
        • Optional Readonlyname?: string
          Charlie
          
      • Optional ReadonlycommitterTimestamp?: number

        Format: int64

        1449075830
        
      • Optional ReadonlydisplayId?: string
        abcdef0
        
      • Optional Readonlyid?: string
        abcdef0123abcdef4567abcdef8987abcdef6543
        
      • Optional Readonlymessage?: string
        More work on feature 1
        
      • Optional Readonlyparents?: readonly {
            displayId?: string;
            id?: string;
        }[]
    • Optional ReadonlyreadmeMd?: {
          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;
          }[];
      }
      • Optional Readonlyauthor?: {
            avatarUrl?: string;
            emailAddress?: string;
            name?: string;
        }
        • Optional ReadonlyavatarUrl?: string
        • Optional ReadonlyemailAddress?: string
          charlie@example.com
          
        • Optional Readonlyname?: string
          Charlie
          
      • Optional ReadonlyauthorTimestamp?: number

        Format: int64

        1359075920
        
      • Optional Readonlycommitter?: {
            avatarUrl?: string;
            emailAddress?: string;
            name?: string;
        }
        • Optional ReadonlyavatarUrl?: string
        • Optional ReadonlyemailAddress?: string
          charlie@example.com
          
        • Optional Readonlyname?: string
          Charlie
          
      • Optional ReadonlycommitterTimestamp?: number

        Format: int64

        1449075830
        
      • Optional ReadonlydisplayId?: string
        abcdef0
        
      • Optional Readonlyid?: string
        abcdef0123abcdef4567abcdef8987abcdef6543
        
      • Optional Readonlymessage?: string
        More work on feature 1
        
      • Optional Readonlyparents?: readonly {
            displayId?: string;
            id?: string;
        }[]
  • ReadonlyExampleMultipartFormData: {
        branch?: string;
        content?: string;
        message?: string;
        sourceBranch?: string;
        sourceCommitId?: string;
    }
    • Optional Readonlybranch?: string

      The branch on which the path should be modified or created.

    • Optional Readonlycontent?: string

      The full content of the file at path.

    • Optional Readonlymessage?: string

      The message associated with this change, to be used as the commit message. Or null if the default message should be used.

    • Optional ReadonlysourceBranch?: string

      The starting point for branch. If provided and different from branch, branch will be created as a new branch, branching off from sourceBranch.

    • Optional ReadonlysourceCommitId?: string

      The commit ID of the file before it was edited, used to identify if content has changed. Or null if this is a new file

  • ReadonlyExamplePostMultipartFormData: {
        content?: string;
        description?: string;
        name?: string;
        type?: string;
    }
    • Optional Readonlycontent?: string

      The hook script contents.

    • Optional Readonlydescription?: string

      A description of the hook script (useful when querying registered hook scripts).

    • Optional Readonlyname?: string

      The name of the hook script (useful when querying registered hook scripts).

    • Optional Readonlytype?: string

      The type of hook script; supported values are "PRE" for pre-receive hooks and "POST" for post-receive hooks.

  • ReadonlyExamplePreviewMigration: {
        repositories?: readonly {
            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;
        }[];
    }
    • Optional Readonlyrepositories?: readonly {
          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;
      }[]
  • ReadonlyExamplePutMultipartFormData: {
        content?: string;
        description?: string;
        name?: string;
    }
    • Optional Readonlycontent?: string

      The hook script contents.

    • Optional Readonlydescription?: string

      A description of the hook script (useful when querying registered hook scripts).

    • Optional Readonlyname?: string

      The name of the hook script (useful when querying registered hook scripts).

  • ReadonlyExampleRequirements: {
        count?: string;
        enabled?: boolean;
    }
    • Optional Readonlycount?: string
      3
      
    • Optional Readonlyenabled?: boolean
      true
      
  • ReadonlyExampleSettings: {
        booleanValue?: boolean;
        doubleValue?: number;
        integerValue?: number;
        longValue?: number;
        stringValue?: string;
    }
    • Optional ReadonlybooleanValue?: boolean
      true
      
    • Optional ReadonlydoubleValue?: number

      Format: double

      1.1
      
    • Optional ReadonlyintegerValue?: number

      Format: int32

      1
      
    • Optional ReadonlylongValue?: number

      Format: int64

      -2147483648
      
    • Optional ReadonlystringValue?: string
      This is an arbitrary string
      
  • ReadonlyExampleSettingsMap: {
        boolean key?: boolean;
        long key?: number;
        string key?: string;
    }
    • Optional Readonlyboolean key?: boolean
      true
      
    • Optional Readonlylong key?: number
      10
      
    • Optional Readonlystring key?: string
      string value
      
  • ReadonlyExampleSocketAddress: {
        address?: string;
        port?: number;
    }
    • Optional Readonlyaddress?: string
      node.example.com
      
    • Optional Readonlyport?: number

      Format: int32

      8230
      
  • ReadonlyExampleStatus: {
        currentNumberOfUsers?: number;
        serverId?: string;
    }
    • Optional ReadonlycurrentNumberOfUsers?: number

      Format: int32

      2
      
    • Optional ReadonlyserverId?: string
      <actual server ID>
      
  • ReadonlyFileListResource: unknown
  • ReadonlyFilePart: {
        contentType?: string;
        formField?: boolean;
        inputStream?: Record<string, unknown>;
        name?: string;
        size?: number;
        value?: string;
    }
    • Optional ReadonlycontentType?: string
    • Optional ReadonlyformField?: boolean
    • Optional ReadonlyinputStream?: Record<string, unknown>
    • Optional Readonlyname?: string
    • Optional Readonlysize?: number

      Format: int64

    • Optional Readonlyvalue?: string
  • ReadonlyGroup: {
        name?: string;
    }
    • Optional Readonlyname?: string
      group_a
      
  • ReadonlyGroupAndUsers: {
        group?: string;
        users: readonly string[];
    }
    • Optional Readonlygroup?: string
      group
      
    • Readonlyusers: readonly string[]
      [
      "user1",
      "user2"
      ]
  • ReadonlyGroupPickerContext: {
        context?: string;
        itemName?: string;
    }
    • Optional Readonlycontext?: string
      user_a
      
    • Optional ReadonlyitemName?: string
      group_a
      
  • ReadonlyOptionalBodyBeanParam: Record<string, unknown>
  • ReadonlyPageRequestImpl: {
        limit?: number;
        start?: number;
    }
    • Optional Readonlylimit?: number

      Format: int32

    • Optional Readonlystart?: number

      Format: int32

  • ReadonlyProject: {
        description?: string;
        id?: number;
        key?: string;
        name?: string;
        public?: boolean;
        type?: "NORMAL" | "PERSONAL";
    }
    • Optional Readonlydescription?: string
    • Optional Readonlyid?: number

      Format: int32

    • Optional Readonlykey?: string
    • Optional Readonlyname?: string
    • Optional Readonlypublic?: boolean
    • Optional Readonlytype?: "NORMAL" | "PERSONAL"
  • ReadonlyPropertyMap: Record<string, unknown>
  • ReadonlyPullRequest: {
        author?: {
            approved?: boolean;
            lastReviewedCommit?: string;
            pullRequest?: { readonly author?: { readonly approved?: boolean; readonly lastReviewedCommit?: string; readonly pullRequest?: ...; readonly role?: "PARTICIPANT" | "REVIEWER" | "AUTHOR"; readonly status?: "APPROVED" | "NEEDS_WORK" | "UNAPPROVED"; readonly user?: { ...; }; }; ... 17 more ...; readonly version?: number; };
            role?: "PARTICIPANT" | "REVIEWER" | "AUTHOR";
            status?: "APPROVED" | "NEEDS_WORK" | "UNAPPROVED";
            user?: {
                active?: boolean;
                displayName?: string;
                emailAddress?: string;
                id?: number;
                name?: string;
                slug?: string;
                type?: "NORMAL" | "SERVICE";
            };
        };
        closed?: boolean;
        closedDate?: string;
        createdDate?: string;
        crossRepository?: boolean;
        description?: string;
        draft?: boolean;
        fromRef?: {
            displayId?: string;
            id?: string;
            latestCommit?: string;
            repository?: {
                archived?: boolean;
                description?: string;
                fork?: boolean;
                forkable?: boolean;
                hierarchyId?: string;
                id?: number;
                local?: boolean;
                name?: string;
                offline?: boolean;
                origin?: { readonly archived?: boolean; readonly description?: string; readonly fork?: boolean; readonly forkable?: boolean; readonly hierarchyId?: string; readonly id?: number; readonly local?: boolean; ... 11 more ...; readonly statusMessage?: string; } | undefined;
                partition?: number;
                project?: {
                    description?: string;
                    id?: number;
                    key?: string;
                    name?: string;
                    public?: boolean;
                    type?: "NORMAL" | "PERSONAL";
                };
                public?: boolean;
                readOnly?: boolean;
                remote?: boolean;
                scmId?: string;
                slug?: string;
                state?:
                    | "AVAILABLE"
                    | "INITIALISATION_FAILED"
                    | "INITIALISING"
                    | "OFFLINE";
                statusMessage?: string;
            };
            type?: unknown;
        };
        id?: number;
        locked?: boolean;
        open?: boolean;
        participants?: readonly {
            approved?: boolean;
            lastReviewedCommit?: string;
            pullRequest?: { readonly author?: { readonly approved?: boolean; readonly lastReviewedCommit?: string; readonly pullRequest?: ...; readonly role?: "PARTICIPANT" | "REVIEWER" | "AUTHOR"; readonly status?: "APPROVED" | "NEEDS_WORK" | "UNAPPROVED"; readonly user?: { ...; }; }; ... 17 more ...; readonly version?: number; };
            role?: "PARTICIPANT" | "REVIEWER" | "AUTHOR";
            status?: "APPROVED" | "NEEDS_WORK" | "UNAPPROVED";
            user?: {
                active?: boolean;
                displayName?: string;
                emailAddress?: string;
                id?: number;
                name?: string;
                slug?: string;
                type?: "NORMAL" | "SERVICE";
            };
        }[];
        properties?: Record<string, unknown>;
        reviewers?: readonly {
            approved?: boolean;
            lastReviewedCommit?: string;
            pullRequest?: { readonly author?: { readonly approved?: boolean; readonly lastReviewedCommit?: string; readonly pullRequest?: ...; readonly role?: "PARTICIPANT" | "REVIEWER" | "AUTHOR"; readonly status?: "APPROVED" | "NEEDS_WORK" | "UNAPPROVED"; readonly user?: { ...; }; }; ... 17 more ...; readonly version?: number; };
            role?: "PARTICIPANT" | "REVIEWER" | "AUTHOR";
            status?: "APPROVED" | "NEEDS_WORK" | "UNAPPROVED";
            user?: {
                active?: boolean;
                displayName?: string;
                emailAddress?: string;
                id?: number;
                name?: string;
                slug?: string;
                type?: "NORMAL" | "SERVICE";
            };
        }[];
        state?: "DECLINED" | "MERGED" | "OPEN";
        title?: string;
        toRef?: {
            displayId?: string;
            id?: string;
            latestCommit?: string;
            repository?: {
                archived?: boolean;
                description?: string;
                fork?: boolean;
                forkable?: boolean;
                hierarchyId?: string;
                id?: number;
                local?: boolean;
                name?: string;
                offline?: boolean;
                origin?: { readonly archived?: boolean; readonly description?: string; readonly fork?: boolean; readonly forkable?: boolean; readonly hierarchyId?: string; readonly id?: number; readonly local?: boolean; ... 11 more ...; readonly statusMessage?: string; } | undefined;
                partition?: number;
                project?: {
                    description?: string;
                    id?: number;
                    key?: string;
                    name?: string;
                    public?: boolean;
                    type?: "NORMAL" | "PERSONAL";
                };
                public?: boolean;
                readOnly?: boolean;
                remote?: boolean;
                scmId?: string;
                slug?: string;
                state?:
                    | "AVAILABLE"
                    | "INITIALISATION_FAILED"
                    | "INITIALISING"
                    | "OFFLINE";
                statusMessage?: string;
            };
            type?: unknown;
        };
        updatedDate?: string;
        version?: number;
    }
    • Optional Readonlyauthor?: {
          approved?: boolean;
          lastReviewedCommit?: string;
          pullRequest?: { readonly author?: { readonly approved?: boolean; readonly lastReviewedCommit?: string; readonly pullRequest?: ...; readonly role?: "PARTICIPANT" | "REVIEWER" | "AUTHOR"; readonly status?: "APPROVED" | "NEEDS_WORK" | "UNAPPROVED"; readonly user?: { ...; }; }; ... 17 more ...; readonly version?: number; };
          role?: "PARTICIPANT" | "REVIEWER" | "AUTHOR";
          status?: "APPROVED" | "NEEDS_WORK" | "UNAPPROVED";
          user?: {
              active?: boolean;
              displayName?: string;
              emailAddress?: string;
              id?: number;
              name?: string;
              slug?: string;
              type?: "NORMAL" | "SERVICE";
          };
      }
      • Optional Readonlyapproved?: boolean
      • Optional ReadonlylastReviewedCommit?: string
      • Optional ReadonlypullRequest?: { readonly author?: { readonly approved?: boolean; readonly lastReviewedCommit?: string; readonly pullRequest?: ...; readonly role?: "PARTICIPANT" | "REVIEWER" | "AUTHOR"; readonly status?: "APPROVED" | "NEEDS_WORK" | "UNAPPROVED"; readonly user?: { ...; }; }; ... 17 more ...; readonly version?: number; }
      • Optional Readonlyrole?: "PARTICIPANT" | "REVIEWER" | "AUTHOR"
      • Optional Readonlystatus?: "APPROVED" | "NEEDS_WORK" | "UNAPPROVED"
      • Optional Readonlyuser?: {
            active?: boolean;
            displayName?: string;
            emailAddress?: string;
            id?: number;
            name?: string;
            slug?: string;
            type?: "NORMAL" | "SERVICE";
        }
        • Optional Readonlyactive?: boolean
        • Optional ReadonlydisplayName?: string
        • Optional ReadonlyemailAddress?: string
        • Optional Readonlyid?: number

          Format: int32

        • Optional Readonlyname?: string
        • Optional Readonlyslug?: string
        • Optional Readonlytype?: "NORMAL" | "SERVICE"
    • Optional Readonlyclosed?: boolean
    • Optional ReadonlyclosedDate?: string

      Format: date-time

    • Optional ReadonlycreatedDate?: string

      Format: date-time

    • Optional ReadonlycrossRepository?: boolean
    • Optional Readonlydescription?: string
    • Optional Readonlydraft?: boolean
    • Optional ReadonlyfromRef?: {
          displayId?: string;
          id?: string;
          latestCommit?: string;
          repository?: {
              archived?: boolean;
              description?: string;
              fork?: boolean;
              forkable?: boolean;
              hierarchyId?: string;
              id?: number;
              local?: boolean;
              name?: string;
              offline?: boolean;
              origin?: { readonly archived?: boolean; readonly description?: string; readonly fork?: boolean; readonly forkable?: boolean; readonly hierarchyId?: string; readonly id?: number; readonly local?: boolean; ... 11 more ...; readonly statusMessage?: string; } | undefined;
              partition?: number;
              project?: {
                  description?: string;
                  id?: number;
                  key?: string;
                  name?: string;
                  public?: boolean;
                  type?: "NORMAL" | "PERSONAL";
              };
              public?: boolean;
              readOnly?: boolean;
              remote?: boolean;
              scmId?: string;
              slug?: string;
              state?:
                  | "AVAILABLE"
                  | "INITIALISATION_FAILED"
                  | "INITIALISING"
                  | "OFFLINE";
              statusMessage?: string;
          };
          type?: unknown;
      }
      • Optional ReadonlydisplayId?: string
      • Optional Readonlyid?: string
      • Optional ReadonlylatestCommit?: string
      • Optional Readonlyrepository?: {
            archived?: boolean;
            description?: string;
            fork?: boolean;
            forkable?: boolean;
            hierarchyId?: string;
            id?: number;
            local?: boolean;
            name?: string;
            offline?: boolean;
            origin?: { readonly archived?: boolean; readonly description?: string; readonly fork?: boolean; readonly forkable?: boolean; readonly hierarchyId?: string; readonly id?: number; readonly local?: boolean; ... 11 more ...; readonly statusMessage?: string; } | undefined;
            partition?: number;
            project?: {
                description?: string;
                id?: number;
                key?: string;
                name?: string;
                public?: boolean;
                type?: "NORMAL" | "PERSONAL";
            };
            public?: boolean;
            readOnly?: boolean;
            remote?: boolean;
            scmId?: string;
            slug?: string;
            state?:
                | "AVAILABLE"
                | "INITIALISATION_FAILED"
                | "INITIALISING"
                | "OFFLINE";
            statusMessage?: string;
        }
        • Optional Readonlyarchived?: boolean
        • Optional Readonlydescription?: string
        • Optional Readonlyfork?: boolean
        • Optional Readonlyforkable?: boolean
        • Optional ReadonlyhierarchyId?: string
        • Optional Readonlyid?: number

          Format: int32

        • Optional Readonlylocal?: boolean
        • Optional Readonlyname?: string
        • Optional Readonlyoffline?: boolean
        • Optional Readonlyorigin?: { readonly archived?: boolean; readonly description?: string; readonly fork?: boolean; readonly forkable?: boolean; readonly hierarchyId?: string; readonly id?: number; readonly local?: boolean; ... 11 more ...; readonly statusMessage?: string; } | undefined
        • Optional Readonlypartition?: number

          Format: int32

        • Optional Readonlyproject?: {
              description?: string;
              id?: number;
              key?: string;
              name?: string;
              public?: boolean;
              type?: "NORMAL" | "PERSONAL";
          }
          • Optional Readonlydescription?: string
          • Optional Readonlyid?: number

            Format: int32

          • Optional Readonlykey?: string
          • Optional Readonlyname?: string
          • Optional Readonlypublic?: boolean
          • Optional Readonlytype?: "NORMAL" | "PERSONAL"
        • Optional Readonlypublic?: boolean
        • Optional ReadonlyreadOnly?: boolean
        • Optional Readonlyremote?: boolean
        • Optional ReadonlyscmId?: string
        • Optional Readonlyslug?: string
        • Optional Readonlystate?:
              | "AVAILABLE"
              | "INITIALISATION_FAILED"
              | "INITIALISING"
              | "OFFLINE"
        • Optional ReadonlystatusMessage?: string
      • Optional Readonlytype?: unknown
    • Optional Readonlyid?: number

      Format: int64

    • Optional Readonlylocked?: boolean
    • Optional Readonlyopen?: boolean
    • Optional Readonlyparticipants?: readonly {
          approved?: boolean;
          lastReviewedCommit?: string;
          pullRequest?: { readonly author?: { readonly approved?: boolean; readonly lastReviewedCommit?: string; readonly pullRequest?: ...; readonly role?: "PARTICIPANT" | "REVIEWER" | "AUTHOR"; readonly status?: "APPROVED" | "NEEDS_WORK" | "UNAPPROVED"; readonly user?: { ...; }; }; ... 17 more ...; readonly version?: number; };
          role?: "PARTICIPANT" | "REVIEWER" | "AUTHOR";
          status?: "APPROVED" | "NEEDS_WORK" | "UNAPPROVED";
          user?: {
              active?: boolean;
              displayName?: string;
              emailAddress?: string;
              id?: number;
              name?: string;
              slug?: string;
              type?: "NORMAL" | "SERVICE";
          };
      }[]
    • Optional Readonlyproperties?: Record<string, unknown>
    • Optional Readonlyreviewers?: readonly {
          approved?: boolean;
          lastReviewedCommit?: string;
          pullRequest?: { readonly author?: { readonly approved?: boolean; readonly lastReviewedCommit?: string; readonly pullRequest?: ...; readonly role?: "PARTICIPANT" | "REVIEWER" | "AUTHOR"; readonly status?: "APPROVED" | "NEEDS_WORK" | "UNAPPROVED"; readonly user?: { ...; }; }; ... 17 more ...; readonly version?: number; };
          role?: "PARTICIPANT" | "REVIEWER" | "AUTHOR";
          status?: "APPROVED" | "NEEDS_WORK" | "UNAPPROVED";
          user?: {
              active?: boolean;
              displayName?: string;
              emailAddress?: string;
              id?: number;
              name?: string;
              slug?: string;
              type?: "NORMAL" | "SERVICE";
          };
      }[]
    • Optional Readonlystate?: "DECLINED" | "MERGED" | "OPEN"
    • Optional Readonlytitle?: string
    • Optional ReadonlytoRef?: {
          displayId?: string;
          id?: string;
          latestCommit?: string;
          repository?: {
              archived?: boolean;
              description?: string;
              fork?: boolean;
              forkable?: boolean;
              hierarchyId?: string;
              id?: number;
              local?: boolean;
              name?: string;
              offline?: boolean;
              origin?: { readonly archived?: boolean; readonly description?: string; readonly fork?: boolean; readonly forkable?: boolean; readonly hierarchyId?: string; readonly id?: number; readonly local?: boolean; ... 11 more ...; readonly statusMessage?: string; } | undefined;
              partition?: number;
              project?: {
                  description?: string;
                  id?: number;
                  key?: string;
                  name?: string;
                  public?: boolean;
                  type?: "NORMAL" | "PERSONAL";
              };
              public?: boolean;
              readOnly?: boolean;
              remote?: boolean;
              scmId?: string;
              slug?: string;
              state?:
                  | "AVAILABLE"
                  | "INITIALISATION_FAILED"
                  | "INITIALISING"
                  | "OFFLINE";
              statusMessage?: string;
          };
          type?: unknown;
      }
      • Optional ReadonlydisplayId?: string
      • Optional Readonlyid?: string
      • Optional ReadonlylatestCommit?: string
      • Optional Readonlyrepository?: {
            archived?: boolean;
            description?: string;
            fork?: boolean;
            forkable?: boolean;
            hierarchyId?: string;
            id?: number;
            local?: boolean;
            name?: string;
            offline?: boolean;
            origin?: { readonly archived?: boolean; readonly description?: string; readonly fork?: boolean; readonly forkable?: boolean; readonly hierarchyId?: string; readonly id?: number; readonly local?: boolean; ... 11 more ...; readonly statusMessage?: string; } | undefined;
            partition?: number;
            project?: {
                description?: string;
                id?: number;
                key?: string;
                name?: string;
                public?: boolean;
                type?: "NORMAL" | "PERSONAL";
            };
            public?: boolean;
            readOnly?: boolean;
            remote?: boolean;
            scmId?: string;
            slug?: string;
            state?:
                | "AVAILABLE"
                | "INITIALISATION_FAILED"
                | "INITIALISING"
                | "OFFLINE";
            statusMessage?: string;
        }
        • Optional Readonlyarchived?: boolean
        • Optional Readonlydescription?: string
        • Optional Readonlyfork?: boolean
        • Optional Readonlyforkable?: boolean
        • Optional ReadonlyhierarchyId?: string
        • Optional Readonlyid?: number

          Format: int32

        • Optional Readonlylocal?: boolean
        • Optional Readonlyname?: string
        • Optional Readonlyoffline?: boolean
        • Optional Readonlyorigin?: { readonly archived?: boolean; readonly description?: string; readonly fork?: boolean; readonly forkable?: boolean; readonly hierarchyId?: string; readonly id?: number; readonly local?: boolean; ... 11 more ...; readonly statusMessage?: string; } | undefined
        • Optional Readonlypartition?: number

          Format: int32

        • Optional Readonlyproject?: {
              description?: string;
              id?: number;
              key?: string;
              name?: string;
              public?: boolean;
              type?: "NORMAL" | "PERSONAL";
          }
          • Optional Readonlydescription?: string
          • Optional Readonlyid?: number

            Format: int32

          • Optional Readonlykey?: string
          • Optional Readonlyname?: string
          • Optional Readonlypublic?: boolean
          • Optional Readonlytype?: "NORMAL" | "PERSONAL"
        • Optional Readonlypublic?: boolean
        • Optional ReadonlyreadOnly?: boolean
        • Optional Readonlyremote?: boolean
        • Optional ReadonlyscmId?: string
        • Optional Readonlyslug?: string
        • Optional Readonlystate?:
              | "AVAILABLE"
              | "INITIALISATION_FAILED"
              | "INITIALISING"
              | "OFFLINE"
        • Optional ReadonlystatusMessage?: string
      • Optional Readonlytype?: unknown
    • Optional ReadonlyupdatedDate?: string

      Format: date-time

    • Optional Readonlyversion?: number

      Format: int32

  • ReadonlyPullRequestParticipant: {
        approved?: boolean;
        lastReviewedCommit?: string;
        pullRequest?: {
            author?: { readonly approved?: boolean; readonly lastReviewedCommit?: string; readonly pullRequest?: { readonly author?: ...; readonly closed?: boolean; readonly closedDate?: string; readonly createdDate?: string; ... 14 more ...; readonly version?: number; }; readonly role?: "PARTICIPANT" | ... 1 more ... | "AUTHOR"; readon...;
            closed?: boolean;
            closedDate?: string;
            createdDate?: string;
            crossRepository?: boolean;
            description?: string;
            draft?: boolean;
            fromRef?: {
                displayId?: string;
                id?: string;
                latestCommit?: string;
                repository?: {
                    archived?: boolean;
                    description?: string;
                    fork?: boolean;
                    forkable?: boolean;
                    hierarchyId?: string;
                    id?: number;
                    local?: boolean;
                    name?: string;
                    offline?: boolean;
                    origin?: { readonly archived?: boolean; readonly description?: string; readonly fork?: boolean; readonly forkable?: boolean; readonly hierarchyId?: string; readonly id?: number; readonly local?: boolean; ... 11 more ...; readonly statusMessage?: string; } | undefined;
                    partition?: number;
                    project?: {
                        description?: (...) | (...);
                        id?: (...) | (...);
                        key?: (...) | (...);
                        name?: (...) | (...);
                        public?: (...) | (...) | (...);
                        type?: (...) | (...) | (...);
                    };
                    public?: boolean;
                    readOnly?: boolean;
                    remote?: boolean;
                    scmId?: string;
                    slug?: string;
                    state?:
                        | "AVAILABLE"
                        | "INITIALISATION_FAILED"
                        | "INITIALISING"
                        | "OFFLINE";
                    statusMessage?: string;
                };
                type?: unknown;
            };
            id?: number;
            locked?: boolean;
            open?: boolean;
            participants?: readonly ({ readonly approved?: boolean; readonly lastReviewedCommit?: string; readonly pullRequest?: { readonly author?: ...; readonly closed?: boolean; readonly closedDate?: string; readonly createdDate?: string; ... 14 more ...; readonly version?: number; }; readonly role?: "PARTICIPANT" | ... 1 more ... | "AUTHOR"; readon...)[];
            properties?: Record<string, unknown>;
            reviewers?: readonly ({ readonly approved?: boolean; readonly lastReviewedCommit?: string; readonly pullRequest?: { readonly author?: ...; readonly closed?: boolean; readonly closedDate?: string; readonly createdDate?: string; ... 14 more ...; readonly version?: number; }; readonly role?: "PARTICIPANT" | ... 1 more ... | "AUTHOR"; readon...)[];
            state?: "DECLINED" | "MERGED" | "OPEN";
            title?: string;
            toRef?: {
                displayId?: string;
                id?: string;
                latestCommit?: string;
                repository?: {
                    archived?: boolean;
                    description?: string;
                    fork?: boolean;
                    forkable?: boolean;
                    hierarchyId?: string;
                    id?: number;
                    local?: boolean;
                    name?: string;
                    offline?: boolean;
                    origin?: { readonly archived?: boolean; readonly description?: string; readonly fork?: boolean; readonly forkable?: boolean; readonly hierarchyId?: string; readonly id?: number; readonly local?: boolean; ... 11 more ...; readonly statusMessage?: string; } | undefined;
                    partition?: number;
                    project?: {
                        description?: (...) | (...);
                        id?: (...) | (...);
                        key?: (...) | (...);
                        name?: (...) | (...);
                        public?: (...) | (...) | (...);
                        type?: (...) | (...) | (...);
                    };
                    public?: boolean;
                    readOnly?: boolean;
                    remote?: boolean;
                    scmId?: string;
                    slug?: string;
                    state?:
                        | "AVAILABLE"
                        | "INITIALISATION_FAILED"
                        | "INITIALISING"
                        | "OFFLINE";
                    statusMessage?: string;
                };
                type?: unknown;
            };
            updatedDate?: string;
            version?: number;
        };
        role?: "PARTICIPANT" | "REVIEWER" | "AUTHOR";
        status?: "APPROVED" | "NEEDS_WORK" | "UNAPPROVED";
        user?: {
            active?: boolean;
            displayName?: string;
            emailAddress?: string;
            id?: number;
            name?: string;
            slug?: string;
            type?: "NORMAL" | "SERVICE";
        };
    }
    • Optional Readonlyapproved?: boolean
    • Optional ReadonlylastReviewedCommit?: string
    • Optional ReadonlypullRequest?: {
          author?: { readonly approved?: boolean; readonly lastReviewedCommit?: string; readonly pullRequest?: { readonly author?: ...; readonly closed?: boolean; readonly closedDate?: string; readonly createdDate?: string; ... 14 more ...; readonly version?: number; }; readonly role?: "PARTICIPANT" | ... 1 more ... | "AUTHOR"; readon...;
          closed?: boolean;
          closedDate?: string;
          createdDate?: string;
          crossRepository?: boolean;
          description?: string;
          draft?: boolean;
          fromRef?: {
              displayId?: string;
              id?: string;
              latestCommit?: string;
              repository?: {
                  archived?: boolean;
                  description?: string;
                  fork?: boolean;
                  forkable?: boolean;
                  hierarchyId?: string;
                  id?: number;
                  local?: boolean;
                  name?: string;
                  offline?: boolean;
                  origin?: { readonly archived?: boolean; readonly description?: string; readonly fork?: boolean; readonly forkable?: boolean; readonly hierarchyId?: string; readonly id?: number; readonly local?: boolean; ... 11 more ...; readonly statusMessage?: string; } | undefined;
                  partition?: number;
                  project?: {
                      description?: (...) | (...);
                      id?: (...) | (...);
                      key?: (...) | (...);
                      name?: (...) | (...);
                      public?: (...) | (...) | (...);
                      type?: (...) | (...) | (...);
                  };
                  public?: boolean;
                  readOnly?: boolean;
                  remote?: boolean;
                  scmId?: string;
                  slug?: string;
                  state?:
                      | "AVAILABLE"
                      | "INITIALISATION_FAILED"
                      | "INITIALISING"
                      | "OFFLINE";
                  statusMessage?: string;
              };
              type?: unknown;
          };
          id?: number;
          locked?: boolean;
          open?: boolean;
          participants?: readonly ({ readonly approved?: boolean; readonly lastReviewedCommit?: string; readonly pullRequest?: { readonly author?: ...; readonly closed?: boolean; readonly closedDate?: string; readonly createdDate?: string; ... 14 more ...; readonly version?: number; }; readonly role?: "PARTICIPANT" | ... 1 more ... | "AUTHOR"; readon...)[];
          properties?: Record<string, unknown>;
          reviewers?: readonly ({ readonly approved?: boolean; readonly lastReviewedCommit?: string; readonly pullRequest?: { readonly author?: ...; readonly closed?: boolean; readonly closedDate?: string; readonly createdDate?: string; ... 14 more ...; readonly version?: number; }; readonly role?: "PARTICIPANT" | ... 1 more ... | "AUTHOR"; readon...)[];
          state?: "DECLINED" | "MERGED" | "OPEN";
          title?: string;
          toRef?: {
              displayId?: string;
              id?: string;
              latestCommit?: string;
              repository?: {
                  archived?: boolean;
                  description?: string;
                  fork?: boolean;
                  forkable?: boolean;
                  hierarchyId?: string;
                  id?: number;
                  local?: boolean;
                  name?: string;
                  offline?: boolean;
                  origin?: { readonly archived?: boolean; readonly description?: string; readonly fork?: boolean; readonly forkable?: boolean; readonly hierarchyId?: string; readonly id?: number; readonly local?: boolean; ... 11 more ...; readonly statusMessage?: string; } | undefined;
                  partition?: number;
                  project?: {
                      description?: (...) | (...);
                      id?: (...) | (...);
                      key?: (...) | (...);
                      name?: (...) | (...);
                      public?: (...) | (...) | (...);
                      type?: (...) | (...) | (...);
                  };
                  public?: boolean;
                  readOnly?: boolean;
                  remote?: boolean;
                  scmId?: string;
                  slug?: string;
                  state?:
                      | "AVAILABLE"
                      | "INITIALISATION_FAILED"
                      | "INITIALISING"
                      | "OFFLINE";
                  statusMessage?: string;
              };
              type?: unknown;
          };
          updatedDate?: string;
          version?: number;
      }
      • Optional Readonlyauthor?: { readonly approved?: boolean; readonly lastReviewedCommit?: string; readonly pullRequest?: { readonly author?: ...; readonly closed?: boolean; readonly closedDate?: string; readonly createdDate?: string; ... 14 more ...; readonly version?: number; }; readonly role?: "PARTICIPANT" | ... 1 more ... | "AUTHOR"; readon...
      • Optional Readonlyclosed?: boolean
      • Optional ReadonlyclosedDate?: string

        Format: date-time

      • Optional ReadonlycreatedDate?: string

        Format: date-time

      • Optional ReadonlycrossRepository?: boolean
      • Optional Readonlydescription?: string
      • Optional Readonlydraft?: boolean
      • Optional ReadonlyfromRef?: {
            displayId?: string;
            id?: string;
            latestCommit?: string;
            repository?: {
                archived?: boolean;
                description?: string;
                fork?: boolean;
                forkable?: boolean;
                hierarchyId?: string;
                id?: number;
                local?: boolean;
                name?: string;
                offline?: boolean;
                origin?: { readonly archived?: boolean; readonly description?: string; readonly fork?: boolean; readonly forkable?: boolean; readonly hierarchyId?: string; readonly id?: number; readonly local?: boolean; ... 11 more ...; readonly statusMessage?: string; } | undefined;
                partition?: number;
                project?: {
                    description?: (...) | (...);
                    id?: (...) | (...);
                    key?: (...) | (...);
                    name?: (...) | (...);
                    public?: (...) | (...) | (...);
                    type?: (...) | (...) | (...);
                };
                public?: boolean;
                readOnly?: boolean;
                remote?: boolean;
                scmId?: string;
                slug?: string;
                state?:
                    | "AVAILABLE"
                    | "INITIALISATION_FAILED"
                    | "INITIALISING"
                    | "OFFLINE";
                statusMessage?: string;
            };
            type?: unknown;
        }
        • Optional ReadonlydisplayId?: string
        • Optional Readonlyid?: string
        • Optional ReadonlylatestCommit?: string
        • Optional Readonlyrepository?: {
              archived?: boolean;
              description?: string;
              fork?: boolean;
              forkable?: boolean;
              hierarchyId?: string;
              id?: number;
              local?: boolean;
              name?: string;
              offline?: boolean;
              origin?: { readonly archived?: boolean; readonly description?: string; readonly fork?: boolean; readonly forkable?: boolean; readonly hierarchyId?: string; readonly id?: number; readonly local?: boolean; ... 11 more ...; readonly statusMessage?: string; } | undefined;
              partition?: number;
              project?: {
                  description?: (...) | (...);
                  id?: (...) | (...);
                  key?: (...) | (...);
                  name?: (...) | (...);
                  public?: (...) | (...) | (...);
                  type?: (...) | (...) | (...);
              };
              public?: boolean;
              readOnly?: boolean;
              remote?: boolean;
              scmId?: string;
              slug?: string;
              state?:
                  | "AVAILABLE"
                  | "INITIALISATION_FAILED"
                  | "INITIALISING"
                  | "OFFLINE";
              statusMessage?: string;
          }
          • Optional Readonlyarchived?: boolean
          • Optional Readonlydescription?: string
          • Optional Readonlyfork?: boolean
          • Optional Readonlyforkable?: boolean
          • Optional ReadonlyhierarchyId?: string
          • Optional Readonlyid?: number

            Format: int32

          • Optional Readonlylocal?: boolean
          • Optional Readonlyname?: string
          • Optional Readonlyoffline?: boolean
          • Optional Readonlyorigin?: { readonly archived?: boolean; readonly description?: string; readonly fork?: boolean; readonly forkable?: boolean; readonly hierarchyId?: string; readonly id?: number; readonly local?: boolean; ... 11 more ...; readonly statusMessage?: string; } | undefined
          • Optional Readonlypartition?: number

            Format: int32

          • Optional Readonlyproject?: {
                description?: (...) | (...);
                id?: (...) | (...);
                key?: (...) | (...);
                name?: (...) | (...);
                public?: (...) | (...) | (...);
                type?: (...) | (...) | (...);
            }
            • Optional Readonlydescription?: (...) | (...)
            • Optional Readonlyid?: (...) | (...)

              Format: int32

            • Optional Readonlykey?: (...) | (...)
            • Optional Readonlyname?: (...) | (...)
            • Optional Readonlypublic?: (...) | (...) | (...)
            • Optional Readonlytype?: (...) | (...) | (...)
          • Optional Readonlypublic?: boolean
          • Optional ReadonlyreadOnly?: boolean
          • Optional Readonlyremote?: boolean
          • Optional ReadonlyscmId?: string
          • Optional Readonlyslug?: string
          • Optional Readonlystate?:
                | "AVAILABLE"
                | "INITIALISATION_FAILED"
                | "INITIALISING"
                | "OFFLINE"
          • Optional ReadonlystatusMessage?: string
        • Optional Readonlytype?: unknown
      • Optional Readonlyid?: number

        Format: int64

      • Optional Readonlylocked?: boolean
      • Optional Readonlyopen?: boolean
      • Optional Readonlyparticipants?: readonly ({ readonly approved?: boolean; readonly lastReviewedCommit?: string; readonly pullRequest?: { readonly author?: ...; readonly closed?: boolean; readonly closedDate?: string; readonly createdDate?: string; ... 14 more ...; readonly version?: number; }; readonly role?: "PARTICIPANT" | ... 1 more ... | "AUTHOR"; readon...)[]
      • Optional Readonlyproperties?: Record<string, unknown>
      • Optional Readonlyreviewers?: readonly ({ readonly approved?: boolean; readonly lastReviewedCommit?: string; readonly pullRequest?: { readonly author?: ...; readonly closed?: boolean; readonly closedDate?: string; readonly createdDate?: string; ... 14 more ...; readonly version?: number; }; readonly role?: "PARTICIPANT" | ... 1 more ... | "AUTHOR"; readon...)[]
      • Optional Readonlystate?: "DECLINED" | "MERGED" | "OPEN"
      • Optional Readonlytitle?: string
      • Optional ReadonlytoRef?: {
            displayId?: string;
            id?: string;
            latestCommit?: string;
            repository?: {
                archived?: boolean;
                description?: string;
                fork?: boolean;
                forkable?: boolean;
                hierarchyId?: string;
                id?: number;
                local?: boolean;
                name?: string;
                offline?: boolean;
                origin?: { readonly archived?: boolean; readonly description?: string; readonly fork?: boolean; readonly forkable?: boolean; readonly hierarchyId?: string; readonly id?: number; readonly local?: boolean; ... 11 more ...; readonly statusMessage?: string; } | undefined;
                partition?: number;
                project?: {
                    description?: (...) | (...);
                    id?: (...) | (...);
                    key?: (...) | (...);
                    name?: (...) | (...);
                    public?: (...) | (...) | (...);
                    type?: (...) | (...) | (...);
                };
                public?: boolean;
                readOnly?: boolean;
                remote?: boolean;
                scmId?: string;
                slug?: string;
                state?:
                    | "AVAILABLE"
                    | "INITIALISATION_FAILED"
                    | "INITIALISING"
                    | "OFFLINE";
                statusMessage?: string;
            };
            type?: unknown;
        }
        • Optional ReadonlydisplayId?: string
        • Optional Readonlyid?: string
        • Optional ReadonlylatestCommit?: string
        • Optional Readonlyrepository?: {
              archived?: boolean;
              description?: string;
              fork?: boolean;
              forkable?: boolean;
              hierarchyId?: string;
              id?: number;
              local?: boolean;
              name?: string;
              offline?: boolean;
              origin?: { readonly archived?: boolean; readonly description?: string; readonly fork?: boolean; readonly forkable?: boolean; readonly hierarchyId?: string; readonly id?: number; readonly local?: boolean; ... 11 more ...; readonly statusMessage?: string; } | undefined;
              partition?: number;
              project?: {
                  description?: (...) | (...);
                  id?: (...) | (...);
                  key?: (...) | (...);
                  name?: (...) | (...);
                  public?: (...) | (...) | (...);
                  type?: (...) | (...) | (...);
              };
              public?: boolean;
              readOnly?: boolean;
              remote?: boolean;
              scmId?: string;
              slug?: string;
              state?:
                  | "AVAILABLE"
                  | "INITIALISATION_FAILED"
                  | "INITIALISING"
                  | "OFFLINE";
              statusMessage?: string;
          }
          • Optional Readonlyarchived?: boolean
          • Optional Readonlydescription?: string
          • Optional Readonlyfork?: boolean
          • Optional Readonlyforkable?: boolean
          • Optional ReadonlyhierarchyId?: string
          • Optional Readonlyid?: number

            Format: int32

          • Optional Readonlylocal?: boolean
          • Optional Readonlyname?: string
          • Optional Readonlyoffline?: boolean
          • Optional Readonlyorigin?: { readonly archived?: boolean; readonly description?: string; readonly fork?: boolean; readonly forkable?: boolean; readonly hierarchyId?: string; readonly id?: number; readonly local?: boolean; ... 11 more ...; readonly statusMessage?: string; } | undefined
          • Optional Readonlypartition?: number

            Format: int32

          • Optional Readonlyproject?: {
                description?: (...) | (...);
                id?: (...) | (...);
                key?: (...) | (...);
                name?: (...) | (...);
                public?: (...) | (...) | (...);
                type?: (...) | (...) | (...);
            }
            • Optional Readonlydescription?: (...) | (...)
            • Optional Readonlyid?: (...) | (...)

              Format: int32

            • Optional Readonlykey?: (...) | (...)
            • Optional Readonlyname?: (...) | (...)
            • Optional Readonlypublic?: (...) | (...) | (...)
            • Optional Readonlytype?: (...) | (...) | (...)
          • Optional Readonlypublic?: boolean
          • Optional ReadonlyreadOnly?: boolean
          • Optional Readonlyremote?: boolean
          • Optional ReadonlyscmId?: string
          • Optional Readonlyslug?: string
          • Optional Readonlystate?:
                | "AVAILABLE"
                | "INITIALISATION_FAILED"
                | "INITIALISING"
                | "OFFLINE"
          • Optional ReadonlystatusMessage?: string
        • Optional Readonlytype?: unknown
      • Optional ReadonlyupdatedDate?: string

        Format: date-time

      • Optional Readonlyversion?: number

        Format: int32

    • Optional Readonlyrole?: "PARTICIPANT" | "REVIEWER" | "AUTHOR"
    • Optional Readonlystatus?: "APPROVED" | "NEEDS_WORK" | "UNAPPROVED"
    • Optional Readonlyuser?: {
          active?: boolean;
          displayName?: string;
          emailAddress?: string;
          id?: number;
          name?: string;
          slug?: string;
          type?: "NORMAL" | "SERVICE";
      }
      • Optional Readonlyactive?: boolean
      • Optional ReadonlydisplayName?: string
      • Optional ReadonlyemailAddress?: string
      • Optional Readonlyid?: number

        Format: int32

      • Optional Readonlyname?: string
      • Optional Readonlyslug?: string
      • Optional Readonlytype?: "NORMAL" | "SERVICE"
  • ReadonlyPullRequestRef: {
        displayId?: string;
        id?: string;
        latestCommit?: string;
        repository?: {
            archived?: boolean;
            description?: string;
            fork?: boolean;
            forkable?: boolean;
            hierarchyId?: string;
            id?: number;
            local?: boolean;
            name?: string;
            offline?: boolean;
            origin?: { readonly archived?: boolean; readonly description?: string; readonly fork?: boolean; readonly forkable?: boolean; readonly hierarchyId?: string; readonly id?: number; readonly local?: boolean; ... 11 more ...; readonly statusMessage?: string; } | undefined;
            partition?: number;
            project?: {
                description?: string;
                id?: number;
                key?: string;
                name?: string;
                public?: boolean;
                type?: "NORMAL" | "PERSONAL";
            };
            public?: boolean;
            readOnly?: boolean;
            remote?: boolean;
            scmId?: string;
            slug?: string;
            state?:
                | "AVAILABLE"
                | "INITIALISATION_FAILED"
                | "INITIALISING"
                | "OFFLINE";
            statusMessage?: string;
        };
        type?: unknown;
    }
    • Optional ReadonlydisplayId?: string
    • Optional Readonlyid?: string
    • Optional ReadonlylatestCommit?: string
    • Optional Readonlyrepository?: {
          archived?: boolean;
          description?: string;
          fork?: boolean;
          forkable?: boolean;
          hierarchyId?: string;
          id?: number;
          local?: boolean;
          name?: string;
          offline?: boolean;
          origin?: { readonly archived?: boolean; readonly description?: string; readonly fork?: boolean; readonly forkable?: boolean; readonly hierarchyId?: string; readonly id?: number; readonly local?: boolean; ... 11 more ...; readonly statusMessage?: string; } | undefined;
          partition?: number;
          project?: {
              description?: string;
              id?: number;
              key?: string;
              name?: string;
              public?: boolean;
              type?: "NORMAL" | "PERSONAL";
          };
          public?: boolean;
          readOnly?: boolean;
          remote?: boolean;
          scmId?: string;
          slug?: string;
          state?:
              | "AVAILABLE"
              | "INITIALISATION_FAILED"
              | "INITIALISING"
              | "OFFLINE";
          statusMessage?: string;
      }
      • Optional Readonlyarchived?: boolean
      • Optional Readonlydescription?: string
      • Optional Readonlyfork?: boolean
      • Optional Readonlyforkable?: boolean
      • Optional ReadonlyhierarchyId?: string
      • Optional Readonlyid?: number

        Format: int32

      • Optional Readonlylocal?: boolean
      • Optional Readonlyname?: string
      • Optional Readonlyoffline?: boolean
      • Optional Readonlyorigin?: { readonly archived?: boolean; readonly description?: string; readonly fork?: boolean; readonly forkable?: boolean; readonly hierarchyId?: string; readonly id?: number; readonly local?: boolean; ... 11 more ...; readonly statusMessage?: string; } | undefined
      • Optional Readonlypartition?: number

        Format: int32

      • Optional Readonlyproject?: {
            description?: string;
            id?: number;
            key?: string;
            name?: string;
            public?: boolean;
            type?: "NORMAL" | "PERSONAL";
        }
        • Optional Readonlydescription?: string
        • Optional Readonlyid?: number

          Format: int32

        • Optional Readonlykey?: string
        • Optional Readonlyname?: string
        • Optional Readonlypublic?: boolean
        • Optional Readonlytype?: "NORMAL" | "PERSONAL"
      • Optional Readonlypublic?: boolean
      • Optional ReadonlyreadOnly?: boolean
      • Optional Readonlyremote?: boolean
      • Optional ReadonlyscmId?: string
      • Optional Readonlyslug?: string
      • Optional Readonlystate?:
            | "AVAILABLE"
            | "INITIALISATION_FAILED"
            | "INITIALISING"
            | "OFFLINE"
      • Optional ReadonlystatusMessage?: string
    • Optional Readonlytype?: unknown
  • ReadonlyRefType: unknown
  • ReadonlyRepository: {
        archived?: boolean;
        description?: string;
        fork?: boolean;
        forkable?: boolean;
        hierarchyId?: string;
        id?: number;
        local?: boolean;
        name?: string;
        offline?: boolean;
        origin?: { readonly archived?: boolean; readonly description?: string; readonly fork?: boolean; readonly forkable?: boolean; readonly hierarchyId?: string; readonly id?: number; readonly local?: boolean; ... 11 more ...; readonly statusMessage?: string; };
        partition?: number;
        project?: {
            description?: string;
            id?: number;
            key?: string;
            name?: string;
            public?: boolean;
            type?: "NORMAL" | "PERSONAL";
        };
        public?: boolean;
        readOnly?: boolean;
        remote?: boolean;
        scmId?: string;
        slug?: string;
        state?:
            | "AVAILABLE"
            | "INITIALISATION_FAILED"
            | "INITIALISING"
            | "OFFLINE";
        statusMessage?: string;
    }
    • Optional Readonlyarchived?: boolean
    • Optional Readonlydescription?: string
    • Optional Readonlyfork?: boolean
    • Optional Readonlyforkable?: boolean
    • Optional ReadonlyhierarchyId?: string
    • Optional Readonlyid?: number

      Format: int32

    • Optional Readonlylocal?: boolean
    • Optional Readonlyname?: string
    • Optional Readonlyoffline?: boolean
    • Optional Readonlyorigin?: { readonly archived?: boolean; readonly description?: string; readonly fork?: boolean; readonly forkable?: boolean; readonly hierarchyId?: string; readonly id?: number; readonly local?: boolean; ... 11 more ...; readonly statusMessage?: string; }
    • Optional Readonlypartition?: number

      Format: int32

    • Optional Readonlyproject?: {
          description?: string;
          id?: number;
          key?: string;
          name?: string;
          public?: boolean;
          type?: "NORMAL" | "PERSONAL";
      }
      • Optional Readonlydescription?: string
      • Optional Readonlyid?: number

        Format: int32

      • Optional Readonlykey?: string
      • Optional Readonlyname?: string
      • Optional Readonlypublic?: boolean
      • Optional Readonlytype?: "NORMAL" | "PERSONAL"
    • Optional Readonlypublic?: boolean
    • Optional ReadonlyreadOnly?: boolean
    • Optional Readonlyremote?: boolean
    • Optional ReadonlyscmId?: string
    • Optional Readonlyslug?: string
    • Optional Readonlystate?:
          | "AVAILABLE"
          | "INITIALISATION_FAILED"
          | "INITIALISING"
          | "OFFLINE"
    • Optional ReadonlystatusMessage?: string
  • ReadonlyRepositoryHookDetails: {
        configFormKey?: string;
        description?: string;
        key?: string;
        name?: string;
        supportedScopes?: readonly ("GLOBAL" | "PROJECT" | "REPOSITORY")[];
        type?: "POST_RECEIVE" | "PRE_PULL_REQUEST_MERGE" | "PRE_RECEIVE";
        version?: string;
    }
    • Optional ReadonlyconfigFormKey?: string
    • Optional Readonlydescription?: string
    • Optional Readonlykey?: string
    • Optional Readonlyname?: string
    • Optional ReadonlysupportedScopes?: readonly ("GLOBAL" | "PROJECT" | "REPOSITORY")[]
    • Optional Readonlytype?: "POST_RECEIVE" | "PRE_PULL_REQUEST_MERGE" | "PRE_RECEIVE"
    • Optional Readonlyversion?: string
  • ReadonlyRestAccessToken: {
        createdDate?: string;
        id?: string;
        name?: string;
    }
    • Optional ReadonlycreatedDate?: string

      Format: date-time

    • Optional Readonlyid?: string
      252973515069
      
    • Optional Readonlyname?: string
      My access token
      
  • ReadonlyRestAccessTokenRequest: {
        expiryDays?: number;
        name?: string;
        permissions?: readonly string[];
    }
    • Optional ReadonlyexpiryDays?: number

      Format: int32

    • Optional Readonlyname?: string
      My access token
      
    • Optional Readonlypermissions?: readonly string[]
      [
      "REPO_ADMIN",
      "PROJECT_READ"
      ]
  • ReadonlyRestAggregateRejectCounter: {
        lastRejectTime?: number;
        rejectCount?: number;
        user?: {
            active?: boolean;
            avatarUrl?: string;
            displayName?: string;
            emailAddress?: string;
            id?: number;
            links?: Record<string, unknown>;
            name?: string;
            slug?: string;
            type?: "NORMAL" | "SERVICE";
        };
    }
    • Optional ReadonlylastRejectTime?: number
      1630041546433
      
    • Optional ReadonlyrejectCount?: number

      Format: int64

      5
      
    • Optional Readonlyuser?: {
          active?: boolean;
          avatarUrl?: string;
          displayName?: string;
          emailAddress?: string;
          id?: number;
          links?: Record<string, unknown>;
          name?: string;
          slug?: string;
          type?: "NORMAL" | "SERVICE";
      }
      • Optional Readonlyactive?: boolean
      • Optional ReadonlyavatarUrl?: string
      • Optional ReadonlydisplayName?: string
        Jane Citizen
        
      • Optional ReadonlyemailAddress?: string
        jane@example.com
        
      • Optional Readonlyid?: number

        Format: int32

        101
        
      • Optional Readonlylinks?: Record<string, unknown>
      • Optional Readonlyname?: string
        jcitizen
        
      • Optional Readonlyslug?: string
        jcitizen
        
      • Optional Readonlytype?: "NORMAL" | "SERVICE"
  • ReadonlyRestAnalyticsSettings: {
        canCollectAnalytics?: boolean;
        serverTime?: number;
        supportEntitlementNumber?: string;
    }
    • Optional ReadonlycanCollectAnalytics?: boolean
    • Optional ReadonlyserverTime?: number

      Format: int64

      1640390400000
      
    • Optional ReadonlysupportEntitlementNumber?: string
      SEN-500
      
  • ReadonlyRestAnnouncementBanner: {
        audience?: "ALL" | "AUTHENTICATED";
        enabled?: boolean;
        message?: string;
    }
    • Optional Readonlyaudience?: "ALL" | "AUTHENTICATED"
    • Optional Readonlyenabled?: boolean
    • Optional Readonlymessage?: string
  • ReadonlyRestApplicationProperties: {
        buildDate?: string;
        buildNumber?: string;
        displayName?: string;
        version?: string;
    }
    • Optional ReadonlybuildDate?: string
      1358897885952000
      
    • Optional ReadonlybuildNumber?: string
      20220123103656677
      
    • Optional ReadonlydisplayName?: string
      Example.com Bitbucket
      
    • Optional Readonlyversion?: string
      2.1.0
      
  • ReadonlyRestApplicationUser: {
        active?: boolean;
        avatarUrl?: string;
        displayName?: string;
        emailAddress?: string;
        id?: number;
        links?: Record<string, unknown>;
        name?: string;
        slug?: string;
        type?: "NORMAL" | "SERVICE";
    }
    • Optional Readonlyactive?: boolean
    • Optional ReadonlyavatarUrl?: string
    • Optional ReadonlydisplayName?: string
      Jane Citizen
      
    • Optional ReadonlyemailAddress?: string
      jane@example.com
      
    • Optional Readonlyid?: number

      Format: int32

      101
      
    • Optional Readonlylinks?: Record<string, unknown>
    • Optional Readonlyname?: string
      jcitizen
      
    • Optional Readonlyslug?: string
      jcitizen
      
    • Optional Readonlytype?: "NORMAL" | "SERVICE"
  • ReadonlyRestApplicationUserWithPermissions: {
        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";
    }
    • Optional Readonlyactive?: boolean
    • Optional ReadonlyavatarUrl?: string
    • Optional ReadonlydisplayName?: string
      Jane Citizen
      
    • Optional ReadonlyeffectivePermissions?: Record<string, unknown>
    • Optional ReadonlyemailAddress?: string
      jane@example.com
      
    • Optional Readonlyid?: number

      Format: int32

      101
      
    • Optional Readonlylinks?: Record<string, unknown>
    • Optional Readonlyname?: string
      jcitizen
      
    • Optional Readonlyslug?: string
      jcitizen
      
    • Optional Readonlytype?: "NORMAL" | "SERVICE"
  • ReadonlyRestApplySuggestionRequest: {
        commentVersion?: {
            asInt?: number;
            present?: boolean;
        };
        commitMessage?: string;
        pullRequestVersion?: {
            asInt?: number;
            present?: boolean;
        };
        suggestionIndex?: {
            asInt?: number;
            present?: boolean;
        };
    }
    • Optional ReadonlycommentVersion?: {
          asInt?: number;
          present?: boolean;
      }
      0
      
      • Optional ReadonlyasInt?: number

        Format: int32

      • Optional Readonlypresent?: boolean
    • Optional ReadonlycommitMessage?: string
      A commit message
      
    • Optional ReadonlypullRequestVersion?: {
          asInt?: number;
          present?: boolean;
      }
      1
      
      • Optional ReadonlyasInt?: number

        Format: int32

      • Optional Readonlypresent?: boolean
    • Optional ReadonlysuggestionIndex?: {
          asInt?: number;
          present?: boolean;
      }
      2
      
      • Optional ReadonlyasInt?: number

        Format: int32

      • Optional Readonlypresent?: boolean
  • ReadonlyRestAttachmentMetadata: {
        id?: number;
        metadata?: string;
        url?: string;
    }
    • Optional Readonlyid?: number

      Format: int64

      1
      
    • Optional Readonlymetadata?: string
      {\"A\":\"B\"}
      
    • Optional Readonlyurl?: string
      test.com/test
      
  • ReadonlyRestAuthenticationRequest: {
        credentials: {
            token: string;
        } | {
            algorithm?: string;
            publicKey: string;
            username?: string;
        } | {
            password: string;
            username: string;
        };
        repositoryId?: number;
    }
    • Readonlycredentials: {
          token: string;
      } | {
          algorithm?: string;
          publicKey: string;
          username?: string;
      } | {
          password: string;
          username: string;
      }
    • Optional ReadonlyrepositoryId?: number

      Format: int32

  • ReadonlyRestAutoDeclineSettings: {
        enabled?: boolean;
        inactivityWeeks?: number;
        scope?: {
            resourceId?: number;
            type?: "GLOBAL" | "PROJECT" | "REPOSITORY";
        };
    }
    • Optional Readonlyenabled?: boolean
      true
      
    • Optional ReadonlyinactivityWeeks?: number

      Format: int32

      4
      
    • Optional Readonlyscope?: {
          resourceId?: number;
          type?: "GLOBAL" | "PROJECT" | "REPOSITORY";
      }
      • Optional ReadonlyresourceId?: number

        Format: int32

        2
        
      • Optional Readonlytype?: "GLOBAL" | "PROJECT" | "REPOSITORY"
  • ReadonlyRestAutoDeclineSettingsRequest: {
        enabled?: boolean;
        inactivityWeeks?: number;
    }
    • Optional Readonlyenabled?: boolean
      true
      
    • Optional ReadonlyinactivityWeeks?: number

      Format: int32

      4
      
  • ReadonlyRestAutoMergeProcessingResult: {
        autoMergeProcessingStatus?:
            | "MERGED"
            | "CANCELLED"
            | "LOCK_FAILURE"
            | "STALE"
            | "UNKNOWN"
            | "VETOED";
        pullRequest?: {
            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<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;
                };
                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?: boolean;
                    avatarUrl?: string;
                    displayName?: string;
                    emailAddress?: string;
                    id?: number;
                    links?: Record<(...), (...)>;
                    name?: string;
                    slug?: string;
                    type?: "NORMAL" | "SERVICE";
                };
            }[];
            reviewers?: readonly {
                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<(...), (...)>;
                    name?: string;
                    slug?: string;
                    type?: "NORMAL" | "SERVICE";
                };
            }[];
            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<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;
                };
                type?: "BRANCH" | "TAG";
            };
            updatedDate?: number;
            version?: number;
        };
    }
    • Optional ReadonlyautoMergeProcessingStatus?:
          | "MERGED"
          | "CANCELLED"
          | "LOCK_FAILURE"
          | "STALE"
          | "UNKNOWN"
          | "VETOED"
      CANCELLED
      @enum {string}
    • Optional ReadonlypullRequest?: {
          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<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;
              };
              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?: boolean;
                  avatarUrl?: string;
                  displayName?: string;
                  emailAddress?: string;
                  id?: number;
                  links?: Record<(...), (...)>;
                  name?: string;
                  slug?: string;
                  type?: "NORMAL" | "SERVICE";
              };
          }[];
          reviewers?: readonly {
              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<(...), (...)>;
                  name?: string;
                  slug?: string;
                  type?: "NORMAL" | "SERVICE";
              };
          }[];
          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<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;
              };
              type?: "BRANCH" | "TAG";
          };
          updatedDate?: number;
          version?: number;
      }
      • Optional Readonlyclosed?: boolean
      • Optional ReadonlyclosedDate?: number

        Format: int64

        19990759200
        
      • Optional ReadonlycreatedDate?: number

        Format: int64

        13590759200
        
      • Optional Readonlydescription?: string
        It is a kludge, but put the tuple from the database in the cache.
        
      • Optional ReadonlydescriptionAsHtml?: string
      • Optional Readonlydraft?: boolean
      • Optional ReadonlyfromRef?: {
            displayId?: string;
            id?: string;
            latestCommit?: string;
            repository?: {
                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;
            };
            type?: "BRANCH" | "TAG";
        }
        • Optional ReadonlydisplayId?: string
          feature-ABC-1233
          
        • Optional Readonlyid?: string
          refs/heads/feature-ABC-123
          
        • Optional ReadonlylatestCommit?: string
          babecafebabecafebabecafebabecafebabecafe
          
        • Optional Readonlyrepository?: {
              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;
          }
          • Optional Readonlyarchived?: boolean
          • Optional ReadonlydefaultBranch?: string
            main
            
          • Optional Readonlydescription?: string
            My repo description
            
          • Optional Readonlyforkable?: boolean
          • Optional ReadonlyhierarchyId?: string
            e3c939f9ef4a7fae272e
            
          • Optional Readonlyid?: number

            Format: int32

          • Optional Readonlylinks?: Record<string, unknown>
          • Optional Readonlyname?: string
            My repo
            
          • Optional Readonlyorigin?: {
                archived?: (...) | (...) | (...);
                defaultBranch?: (...) | (...);
                description?: (...) | (...);
                forkable?: (...) | (...) | (...);
                hierarchyId?: (...) | (...);
                id?: (...) | (...);
                links?: (...) | (...);
                name?: (...) | (...);
                partition?: (...) | (...);
                project?: (...) | (...);
                public?: (...) | (...) | (...);
                relatedLinks?: (...) | (...);
                scmId?: (...) | (...);
                scope?: (...) | (...);
                slug?: (...) | (...);
                state?:
                    | (...)
                    | (...)
                    | (...)
                    | (...)
                    | (...);
                statusMessage?: (...) | (...);
            }
            • Optional Readonlyarchived?: (...) | (...) | (...)
            • Optional ReadonlydefaultBranch?: (...) | (...)
              main
              
            • Optional Readonlydescription?: (...) | (...)
              My repo description
              
            • Optional Readonlyforkable?: (...) | (...) | (...)
            • Optional ReadonlyhierarchyId?: (...) | (...)
              e3c939f9ef4a7fae272e
              
            • Optional Readonlyid?: (...) | (...)

              Format: int32

            • Optional Readonlylinks?: (...) | (...)
            • Optional Readonlyname?: (...) | (...)
              My repo
              
            • Optional Readonlypartition?: (...) | (...)

              Format: int32

            • Optional Readonlyproject?: (...) | (...)
            • Optional Readonlypublic?: (...) | (...) | (...)
            • Optional ReadonlyrelatedLinks?: (...) | (...)
            • Optional ReadonlyscmId?: (...) | (...)
              git
              
            • Optional Readonlyscope?: (...) | (...)
              REPOSITORY
              
            • Optional Readonlyslug?: (...) | (...)
              my-repo
              
            • Optional Readonlystate?:
                  | (...)
                  | (...)
                  | (...)
                  | (...)
                  | (...)
            • Optional ReadonlystatusMessage?: (...) | (...)
              Available
              
          • Optional Readonlypartition?: number

            Format: int32

          • Optional Readonlyproject?: {
                avatar?: (...) | (...);
                avatarUrl?: (...) | (...);
                description?: (...) | (...);
                id?: (...) | (...);
                key: string;
                links?: (...) | (...);
                name?: (...) | (...);
                public?: (...) | (...) | (...);
                scope?: (...) | (...);
                type?: (...) | (...) | (...);
            }
            • Optional Readonlyavatar?: (...) | (...)
            • Optional ReadonlyavatarUrl?: (...) | (...)
            • Optional Readonlydescription?: (...) | (...)
              The description for my cool project
              
            • Optional Readonlyid?: (...) | (...)

              Format: int32

            • Readonlykey: string
              PRJ
              
            • Optional Readonlylinks?: (...) | (...)
            • Optional Readonlyname?: (...) | (...)
              My Cool Project
              
            • Optional Readonlypublic?: (...) | (...) | (...)
            • Optional Readonlyscope?: (...) | (...)
              PROJECT
              
            • Optional Readonlytype?: (...) | (...) | (...)
          • Optional Readonlypublic?: boolean
          • Optional ReadonlyrelatedLinks?: Record<string, unknown>
          • Optional ReadonlyscmId?: string
            git
            
          • Optional Readonlyscope?: string
            REPOSITORY
            
          • Optional Readonlyslug?: string
            my-repo
            
          • Optional Readonlystate?:
                | "AVAILABLE"
                | "INITIALISATION_FAILED"
                | "INITIALISING"
                | "OFFLINE"
          • Optional ReadonlystatusMessage?: string
            Available
            
        • Optional Readonlytype?: "BRANCH" | "TAG"
      • Optional ReadonlyhtmlDescription?: string
      • Optional Readonlyid?: number

        Format: int64

        1
        
      • Optional Readonlylinks?: Record<string, unknown>
      • Optional Readonlylocked?: boolean
      • Optional Readonlyopen?: boolean
      • Optional Readonlyparticipants?: readonly {
            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<(...), (...)>;
                name?: string;
                slug?: string;
                type?: "NORMAL" | "SERVICE";
            };
        }[]
      • Optional Readonlyreviewers?: readonly {
            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<(...), (...)>;
                name?: string;
                slug?: string;
                type?: "NORMAL" | "SERVICE";
            };
        }[]
      • Optional Readonlystate?: "DECLINED" | "MERGED" | "OPEN"
      • Optional Readonlytitle?: string
        Talking Nerdy
        
      • Optional ReadonlytoRef?: {
            displayId?: string;
            id?: string;
            latestCommit?: string;
            repository?: {
                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;
            };
            type?: "BRANCH" | "TAG";
        }
        • Optional ReadonlydisplayId?: string
          feature-ABC-1233
          
        • Optional Readonlyid?: string
          refs/heads/feature-ABC-123
          
        • Optional ReadonlylatestCommit?: string
          babecafebabecafebabecafebabecafebabecafe
          
        • Optional Readonlyrepository?: {
              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;
          }
          • Optional Readonlyarchived?: boolean
          • Optional ReadonlydefaultBranch?: string
            main
            
          • Optional Readonlydescription?: string
            My repo description
            
          • Optional Readonlyforkable?: boolean
          • Optional ReadonlyhierarchyId?: string
            e3c939f9ef4a7fae272e
            
          • Optional Readonlyid?: number

            Format: int32

          • Optional Readonlylinks?: Record<string, unknown>
          • Optional Readonlyname?: string
            My repo
            
          • Optional Readonlyorigin?: {
                archived?: (...) | (...) | (...);
                defaultBranch?: (...) | (...);
                description?: (...) | (...);
                forkable?: (...) | (...) | (...);
                hierarchyId?: (...) | (...);
                id?: (...) | (...);
                links?: (...) | (...);
                name?: (...) | (...);
                partition?: (...) | (...);
                project?: (...) | (...);
                public?: (...) | (...) | (...);
                relatedLinks?: (...) | (...);
                scmId?: (...) | (...);
                scope?: (...) | (...);
                slug?: (...) | (...);
                state?:
                    | (...)
                    | (...)
                    | (...)
                    | (...)
                    | (...);
                statusMessage?: (...) | (...);
            }
            • Optional Readonlyarchived?: (...) | (...) | (...)
            • Optional ReadonlydefaultBranch?: (...) | (...)
              main
              
            • Optional Readonlydescription?: (...) | (...)
              My repo description
              
            • Optional Readonlyforkable?: (...) | (...) | (...)
            • Optional ReadonlyhierarchyId?: (...) | (...)
              e3c939f9ef4a7fae272e
              
            • Optional Readonlyid?: (...) | (...)

              Format: int32

            • Optional Readonlylinks?: (...) | (...)
            • Optional Readonlyname?: (...) | (...)
              My repo
              
            • Optional Readonlypartition?: (...) | (...)

              Format: int32

            • Optional Readonlyproject?: (...) | (...)
            • Optional Readonlypublic?: (...) | (...) | (...)
            • Optional ReadonlyrelatedLinks?: (...) | (...)
            • Optional ReadonlyscmId?: (...) | (...)
              git
              
            • Optional Readonlyscope?: (...) | (...)
              REPOSITORY
              
            • Optional Readonlyslug?: (...) | (...)
              my-repo
              
            • Optional Readonlystate?:
                  | (...)
                  | (...)
                  | (...)
                  | (...)
                  | (...)
            • Optional ReadonlystatusMessage?: (...) | (...)
              Available
              
          • Optional Readonlypartition?: number

            Format: int32

          • Optional Readonlyproject?: {
                avatar?: (...) | (...);
                avatarUrl?: (...) | (...);
                description?: (...) | (...);
                id?: (...) | (...);
                key: string;
                links?: (...) | (...);
                name?: (...) | (...);
                public?: (...) | (...) | (...);
                scope?: (...) | (...);
                type?: (...) | (...) | (...);
            }
            • Optional Readonlyavatar?: (...) | (...)
            • Optional ReadonlyavatarUrl?: (...) | (...)
            • Optional Readonlydescription?: (...) | (...)
              The description for my cool project
              
            • Optional Readonlyid?: (...) | (...)

              Format: int32

            • Readonlykey: string
              PRJ
              
            • Optional Readonlylinks?: (...) | (...)
            • Optional Readonlyname?: (...) | (...)
              My Cool Project
              
            • Optional Readonlypublic?: (...) | (...) | (...)
            • Optional Readonlyscope?: (...) | (...)
              PROJECT
              
            • Optional Readonlytype?: (...) | (...) | (...)
          • Optional Readonlypublic?: boolean
          • Optional ReadonlyrelatedLinks?: Record<string, unknown>
          • Optional ReadonlyscmId?: string
            git
            
          • Optional Readonlyscope?: string
            REPOSITORY
            
          • Optional Readonlyslug?: string
            my-repo
            
          • Optional Readonlystate?:
                | "AVAILABLE"
                | "INITIALISATION_FAILED"
                | "INITIALISING"
                | "OFFLINE"
          • Optional ReadonlystatusMessage?: string
            Available
            
        • Optional Readonlytype?: "BRANCH" | "TAG"
      • Optional ReadonlyupdatedDate?: number

        Format: int64

        14490759200
        
      • Optional Readonlyversion?: number

        Format: int32

  • ReadonlyRestAutoMergeProjectSettingsRequest: {
        enabled?: boolean;
        restrictionAction?: "CREATE" | "DELETE" | "NONE";
    }
    • Optional Readonlyenabled?: boolean
      false
      
    • Optional ReadonlyrestrictionAction?: "CREATE" | "DELETE" | "NONE"
      CREATE
      @enum {string}
  • ReadonlyRestAutoMergeRequest: {
        autoSubject?: boolean;
        createdDate?: number;
        fromHash?: string;
        message?: string;
        strategyId?: string;
        toRefId?: string;
    }
    • Optional ReadonlyautoSubject?: boolean
      true
      
    • Optional ReadonlycreatedDate?: number

      Format: int64

      13590759200
      
    • Optional ReadonlyfromHash?: string
      babecafebabecafebabecafebabecafebabecafe
      
    • Optional Readonlymessage?: string
      (Optional) A descriptive message for the merge commit
      
    • Optional ReadonlystrategyId?: string
      (Optional) squash
      
    • Optional ReadonlytoRefId?: string
      refs/heads/feature-ABC-123
      
  • ReadonlyRestAutoMergeRestrictedSettings: {
        enabled?: boolean;
        restrictionState?: "NONE" | "RESTRICTED_MODIFIABLE" | "RESTRICTED_UNMODIFIABLE";
        scope?: {
            resourceId?: number;
            type?: "GLOBAL" | "PROJECT" | "REPOSITORY";
        };
    }
    • Optional Readonlyenabled?: boolean
      false
      
    • Optional ReadonlyrestrictionState?: "NONE" | "RESTRICTED_MODIFIABLE" | "RESTRICTED_UNMODIFIABLE"

      The restriction state of this scope's project.

    • Optional Readonlyscope?: {
          resourceId?: number;
          type?: "GLOBAL" | "PROJECT" | "REPOSITORY";
      }

      The scope that these settings apply to.

      • Optional ReadonlyresourceId?: number

        Format: int32

        2
        
      • Optional Readonlytype?: "GLOBAL" | "PROJECT" | "REPOSITORY"
  • ReadonlyRestAutoMergeSettingsRequest: {
        enabled?: boolean;
    }
    • Optional Readonlyenabled?: boolean
      false
      
  • ReadonlyRestBearerTokenCredentials: {
        token: string;
    }
    • Readonlytoken: string
      NjU4MjM0NDkxMzM0OuPEm9jk1TZUuhuAw45pdirCqvbD
      
  • ReadonlyRestBitbucketLicense: {
        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;
    }
    • Optional ReadonlycreationDate?: number

      Format: int64

      1331038800000
      
    • Optional ReadonlydaysBeforeExpiry?: number

      Format: int32

    • Optional ReadonlyexpiryDate?: number

      Format: int64

      1372493732817
      
    • Optional ReadonlygracePeriodEndDate?: number

      Format: int64

      1372493732817
      
    • Optional Readonlylicense?: string
      <encoded license text>
      
    • Optional ReadonlymaintenanceExpiryDate?: number

      Format: int64

      1372493732817
      
    • Optional ReadonlymaximumNumberOfUsers?: number

      Format: int32

      12
      
    • Optional ReadonlynumberOfDaysBeforeExpiry?: number

      Format: int32

    • Optional ReadonlynumberOfDaysBeforeGracePeriodExpiry?: number

      Format: int32

    • Optional ReadonlynumberOfDaysBeforeMaintenanceExpiry?: number

      Format: int32

    • Optional ReadonlypurchaseDate?: number

      Format: int64

      1331038800000
      
    • Optional ReadonlyserverId?: string
      <server ID embedded in license>
      
    • Optional Readonlystatus?: {
          currentNumberOfUsers?: number;
          serverId?: string;
      }
      • Optional ReadonlycurrentNumberOfUsers?: number

        Format: int32

        2
        
      • Optional ReadonlyserverId?: string
        <actual server ID>
        
    • Optional ReadonlysupportEntitlementNumber?: string
      <support entitlement number embedded in license>
      
    • Optional ReadonlyunlimitedNumberOfUsers?: boolean
  • ReadonlyRestBranch: {
        default?: boolean;
        displayId?: string;
        id?: string;
        latestChangeset?: string;
        latestCommit?: string;
        type?: unknown;
    }
    • Optional Readonlydefault?: boolean
    • Optional ReadonlydisplayId?: string
    • Optional Readonlyid?: string
      refs/heads/master
      
    • Optional ReadonlylatestChangeset?: string
      8d51122def5632836d1cb1026e879069e10a1e13
      
    • Optional ReadonlylatestCommit?: string
      8d51122def5632836d1cb1026e879069e10a1e13
      
    • Optional Readonlytype?: unknown
  • ReadonlyRestBranchCreateRequest: {
        name?: string;
        startPoint?: string;
    }
    • Optional Readonlyname?: string

      Name of the branch to be created

    • Optional ReadonlystartPoint?: string

      Commit ID from which the branch is created

  • ReadonlyRestBranchDeleteRequest: {
        dryRun?: boolean;
        endPoint?: string;
        name?: string;
    }
    • Optional ReadonlydryRun?: boolean

      Don't actually delete the ref name, just do a dry run

    • Optional ReadonlyendPoint?: string

      Commit ID that the provided ref name is expected to point to

    • Optional Readonlyname?: string

      Name of the ref to be deleted

  • ReadonlyRestBuildCapabilities: {
        buildStatus?: readonly string[];
    }
    • Optional ReadonlybuildStatus?: readonly string[]
  • ReadonlyRestBuildStats: {
        cancelled?: number;
        failed?: number;
        inProgress?: number;
        successful?: number;
        unknown?: number;
    }
    • Optional Readonlycancelled?: number

      Format: int32

    • Optional Readonlyfailed?: number

      Format: int32

    • Optional ReadonlyinProgress?: number

      Format: int32

    • Optional Readonlysuccessful?: number

      Format: int32

    • Optional Readonlyunknown?: number

      Format: int32

  • ReadonlyRestBuildStatus: {
        buildNumber?: string;
        createdDate?: number;
        description?: string;
        duration?: number;
        key?: string;
        name?: string;
        parent?: string;
        ref?: string;
        state?:
            | "FAILED"
            | "INPROGRESS"
            | "SUCCESSFUL"
            | "CANCELLED"
            | "UNKNOWN";
        testResults?: {
            failed?: number;
            skipped?: number;
            successful?: number;
        };
        updatedDate?: number;
        url?: string;
    }
    • Optional ReadonlybuildNumber?: string
      3
      
    • Optional ReadonlycreatedDate?: number

      Format: int64

      1587533099278
      
    • Optional Readonlydescription?: string
      A description of the build goes here
      
    • Optional Readonlyduration?: number

      Format: int64

    • Optional Readonlykey?: string
      TEST-REP3
      
    • Optional Readonlyname?: string
      Database Matrix Tests
      
    • Optional Readonlyparent?: string
      TEST-REP
      
    • Optional Readonlyref?: string
      refs/heads/master
      
    • Optional Readonlystate?:
          | "FAILED"
          | "INPROGRESS"
          | "SUCCESSFUL"
          | "CANCELLED"
          | "UNKNOWN"
    • Optional ReadonlytestResults?: {
          failed?: number;
          skipped?: number;
          successful?: number;
      }
      • Optional Readonlyfailed?: number

        Format: int32

        1
        
      • Optional Readonlyskipped?: number

        Format: int32

        5
        
      • Optional Readonlysuccessful?: number

        Format: int32

        134
        
    • Optional ReadonlyupdatedDate?: number

      Format: int64

      1587533699278
      
    • Optional Readonlyurl?: string
      https://bamboo.example.com/browse/TEST-REP3
      
  • ReadonlyRestBuildStatusSetRequest: {
        buildNumber?: string;
        description?: string;
        duration?: number;
        key: string;
        lastUpdated?: number;
        name?: string;
        parent?: string;
        ref?: string;
        state:
            | "FAILED"
            | "INPROGRESS"
            | "SUCCESSFUL"
            | "CANCELLED"
            | "UNKNOWN";
        testResults?: {
            failed?: number;
            skipped?: number;
            successful?: number;
        };
        url: string;
    }
    • Optional ReadonlybuildNumber?: string
      3
      
    • Optional Readonlydescription?: string
      Unit test build
      
    • Optional Readonlyduration?: number

      Format: int64

      1500000
      
    • Readonlykey: string
      TEST-REP123
      
    • Optional ReadonlylastUpdated?: number

      Format: int64

      1359075920
      
    • Optional Readonlyname?: string
      Database Matrix Tests
      
    • Optional Readonlyparent?: string
      TEST-REP
      
    • Optional Readonlyref?: string
      refs/heads/master
      
    • Readonlystate:
          | "FAILED"
          | "INPROGRESS"
          | "SUCCESSFUL"
          | "CANCELLED"
          | "UNKNOWN"
    • Optional ReadonlytestResults?: {
          failed?: number;
          skipped?: number;
          successful?: number;
      }
      • Optional Readonlyfailed?: number

        Format: int32

        1
        
      • Optional Readonlyskipped?: number

        Format: int32

        5
        
      • Optional Readonlysuccessful?: number

        Format: int32

        134
        
    • Readonlyurl: string
      https://bamboo.example.com/browse/TEST-REP1-3
      
  • ReadonlyRestBulkAddInsightAnnotationRequest: {
        annotations?: readonly {
            externalId?: string;
            line?: number;
            link?: string;
            message: string;
            path?: string;
            severity: string;
            type?: string;
        }[];
    }
    • Optional Readonlyannotations?: readonly {
          externalId?: string;
          line?: number;
          link?: string;
          message: string;
          path?: string;
          severity: string;
          type?: string;
      }[]
  • ReadonlyRestBulkUserRateLimitSettingsUpdateRequest: {
        settings?: {
            capacity?: number;
            fillRate?: number;
        };
        usernames?: readonly string[];
        whitelisted?: boolean;
    }
    • Optional Readonlysettings?: {
          capacity?: number;
          fillRate?: number;
      }
      • Optional Readonlycapacity?: number

        Format: int32

        60
        
      • Optional ReadonlyfillRate?: number

        Format: int32

        5
        
    • Optional Readonlyusernames?: readonly string[]
    • Optional Readonlywhitelisted?: boolean
  • ReadonlyRestChange: {
        conflict?: {
            ourChange?: {
                path?: {
                    components?: readonly string[];
                    extension?: string;
                    name?: string;
                    parent?: string;
                };
                srcPath?: {
                    components?: readonly string[];
                    extension?: string;
                    name?: string;
                    parent?: string;
                };
                type?:
                    | "UNKNOWN"
                    | "DELETE"
                    | "ADD"
                    | "COPY"
                    | "MODIFY"
                    | "MOVE";
            };
            theirChange?: {
                path?: {
                    components?: readonly string[];
                    extension?: string;
                    name?: string;
                    parent?: string;
                };
                srcPath?: {
                    components?: readonly string[];
                    extension?: string;
                    name?: string;
                    parent?: string;
                };
                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";
    }
    • Optional Readonlyconflict?: {
          ourChange?: {
              path?: {
                  components?: readonly string[];
                  extension?: string;
                  name?: string;
                  parent?: string;
              };
              srcPath?: {
                  components?: readonly string[];
                  extension?: string;
                  name?: string;
                  parent?: string;
              };
              type?:
                  | "UNKNOWN"
                  | "DELETE"
                  | "ADD"
                  | "COPY"
                  | "MODIFY"
                  | "MOVE";
          };
          theirChange?: {
              path?: {
                  components?: readonly string[];
                  extension?: string;
                  name?: string;
                  parent?: string;
              };
              srcPath?: {
                  components?: readonly string[];
                  extension?: string;
                  name?: string;
                  parent?: string;
              };
              type?:
                  | "UNKNOWN"
                  | "DELETE"
                  | "ADD"
                  | "COPY"
                  | "MODIFY"
                  | "MOVE";
          };
      }
      • Optional ReadonlyourChange?: {
            path?: {
                components?: readonly string[];
                extension?: string;
                name?: string;
                parent?: string;
            };
            srcPath?: {
                components?: readonly string[];
                extension?: string;
                name?: string;
                parent?: string;
            };
            type?:
                | "UNKNOWN"
                | "DELETE"
                | "ADD"
                | "COPY"
                | "MODIFY"
                | "MOVE";
        }
        • Optional Readonlypath?: {
              components?: readonly string[];
              extension?: string;
              name?: string;
              parent?: string;
          }
          • Optional Readonlycomponents?: readonly string[]
            [
            "path",
            "to",
            "file.txt"
            ]
          • Optional Readonlyextension?: string
            txt
            
          • Optional Readonlyname?: string
            file.txt
            
          • Optional Readonlyparent?: string
            path/to
            
        • Optional ReadonlysrcPath?: {
              components?: readonly string[];
              extension?: string;
              name?: string;
              parent?: string;
          }
          • Optional Readonlycomponents?: readonly string[]
            [
            "path",
            "to",
            "file.txt"
            ]
          • Optional Readonlyextension?: string
            txt
            
          • Optional Readonlyname?: string
            file.txt
            
          • Optional Readonlyparent?: string
            path/to
            
        • Optional Readonlytype?:
              | "UNKNOWN"
              | "DELETE"
              | "ADD"
              | "COPY"
              | "MODIFY"
              | "MOVE"
      • Optional ReadonlytheirChange?: {
            path?: {
                components?: readonly string[];
                extension?: string;
                name?: string;
                parent?: string;
            };
            srcPath?: {
                components?: readonly string[];
                extension?: string;
                name?: string;
                parent?: string;
            };
            type?:
                | "UNKNOWN"
                | "DELETE"
                | "ADD"
                | "COPY"
                | "MODIFY"
                | "MOVE";
        }
        • Optional Readonlypath?: {
              components?: readonly string[];
              extension?: string;
              name?: string;
              parent?: string;
          }
          • Optional Readonlycomponents?: readonly string[]
            [
            "path",
            "to",
            "file.txt"
            ]
          • Optional Readonlyextension?: string
            txt
            
          • Optional Readonlyname?: string
            file.txt
            
          • Optional Readonlyparent?: string
            path/to
            
        • Optional ReadonlysrcPath?: {
              components?: readonly string[];
              extension?: string;
              name?: string;
              parent?: string;
          }
          • Optional Readonlycomponents?: readonly string[]
            [
            "path",
            "to",
            "file.txt"
            ]
          • Optional Readonlyextension?: string
            txt
            
          • Optional Readonlyname?: string
            file.txt
            
          • Optional Readonlyparent?: string
            path/to
            
        • Optional Readonlytype?:
              | "UNKNOWN"
              | "DELETE"
              | "ADD"
              | "COPY"
              | "MODIFY"
              | "MOVE"
    • Optional ReadonlycontentId?: string
      abcdef0123abcdef4567abcdef8987abcdef6543
      
    • Optional Readonlyexecutable?: boolean
    • Optional ReadonlyfromContentId?: string
      bcdef0123abcdef4567abcdef8987abcdef6543a
      
    • Optional Readonlylinks?: Record<string, unknown>
    • Optional ReadonlynodeType?: "DIRECTORY" | "FILE" | "SUBMODULE"
    • Optional Readonlypath?: {
          components?: readonly string[];
          extension?: string;
          name?: string;
          parent?: string;
      }
      • Optional Readonlycomponents?: readonly string[]
        [
        "path",
        "to",
        "file.txt"
        ]
      • Optional Readonlyextension?: string
        txt
        
      • Optional Readonlyname?: string
        file.txt
        
      • Optional Readonlyparent?: string
        path/to
        
    • Optional ReadonlypercentUnchanged?: number

      Format: int32

      98
      
    • Optional ReadonlysrcExecutable?: boolean
    • Optional ReadonlysrcPath?: {
          components?: readonly string[];
          extension?: string;
          name?: string;
          parent?: string;
      }
      • Optional Readonlycomponents?: readonly string[]
        [
        "path",
        "to",
        "file.txt"
        ]
      • Optional Readonlyextension?: string
        txt
        
      • Optional Readonlyname?: string
        file.txt
        
      • Optional Readonlyparent?: string
        path/to
        
    • Optional Readonlytype?:
          | "UNKNOWN"
          | "DELETE"
          | "ADD"
          | "COPY"
          | "MODIFY"
          | "MOVE"
  • ReadonlyRestChangeset: {
        changes?: {
            isLastPage?: boolean;
            limit?: number;
            nextPageStart?: number;
            size?: number;
            start?: number;
            values?: Record<string, unknown>;
        };
        fromCommit?: {
            displayId?: string;
            id?: string;
        };
        links?: Record<string, unknown>;
        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<string, unknown>;
                name?: 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;
            };
            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;
        };
        toCommit?: {
            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;
            }[];
        };
    }
    • Optional Readonlychanges?: {
          isLastPage?: boolean;
          limit?: number;
          nextPageStart?: number;
          size?: number;
          start?: number;
          values?: Record<string, unknown>;
      }
      • Optional ReadonlyisLastPage?: boolean
      • Optional Readonlylimit?: number

        Format: int32

      • Optional ReadonlynextPageStart?: number

        Format: int32

      • Optional Readonlysize?: number

        Format: int32

      • Optional Readonlystart?: number

        Format: int32

      • Optional Readonlyvalues?: Record<string, unknown>
    • Optional ReadonlyfromCommit?: {
          displayId?: string;
          id?: string;
      }
      • Optional ReadonlydisplayId?: string
        abcdef0
        
      • Optional Readonlyid?: string
        abcdef0123abcdef4567abcdef8987abcdef6543
        
    • Optional Readonlylinks?: Record<string, unknown>
    • Optional Readonlyrepository?: {
          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<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;
          };
          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;
      }
      • Optional Readonlyarchived?: boolean
      • Optional ReadonlydefaultBranch?: string
        main
        
      • Optional Readonlydescription?: string
        My repo description
        
      • Optional Readonlyforkable?: boolean
      • Optional ReadonlyhierarchyId?: string
        e3c939f9ef4a7fae272e
        
      • Optional Readonlyid?: number

        Format: int32

      • Optional Readonlylinks?: Record<string, unknown>
      • Optional Readonlyname?: string
        My repo
        
      • Optional Readonlyorigin?: {
            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<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;
        }
        • Optional Readonlyarchived?: boolean
        • Optional ReadonlydefaultBranch?: string
          main
          
        • Optional Readonlydescription?: string
          My repo description
          
        • Optional Readonlyforkable?: boolean
        • Optional ReadonlyhierarchyId?: string
          e3c939f9ef4a7fae272e
          
        • Optional Readonlyid?: number

          Format: int32

        • Optional Readonlylinks?: Record<string, unknown>
        • Optional Readonlyname?: string
          My repo
          
        • Optional Readonlypartition?: number

          Format: int32

        • Optional Readonlyproject?: {
              avatar?: string;
              avatarUrl?: string;
              description?: string;
              id?: number;
              key: string;
              links?: Record<string, unknown>;
              name?: string;
              public?: boolean;
              scope?: string;
              type?: "NORMAL" | "PERSONAL";
          }
          • Optional Readonlyavatar?: string
          • Optional ReadonlyavatarUrl?: string
          • Optional Readonlydescription?: string
            The description for my cool project
            
          • Optional Readonlyid?: number

            Format: int32

          • Readonlykey: string
            PRJ
            
          • Optional Readonlylinks?: Record<string, unknown>
          • Optional Readonlyname?: string
            My Cool Project
            
          • Optional Readonlypublic?: boolean
          • Optional Readonlyscope?: string
            PROJECT
            
          • Optional Readonlytype?: "NORMAL" | "PERSONAL"
        • Optional Readonlypublic?: boolean
        • Optional ReadonlyrelatedLinks?: Record<string, unknown>
        • Optional ReadonlyscmId?: string
          git
          
        • Optional Readonlyscope?: string
          REPOSITORY
          
        • Optional Readonlyslug?: string
          my-repo
          
        • Optional Readonlystate?:
              | "AVAILABLE"
              | "INITIALISATION_FAILED"
              | "INITIALISING"
              | "OFFLINE"
        • Optional ReadonlystatusMessage?: string
          Available
          
      • Optional Readonlypartition?: number

        Format: int32

      • Optional Readonlyproject?: {
            avatar?: string;
            avatarUrl?: string;
            description?: string;
            id?: number;
            key: string;
            links?: Record<string, unknown>;
            name?: string;
            public?: boolean;
            scope?: string;
            type?: "NORMAL" | "PERSONAL";
        }
        • Optional Readonlyavatar?: string
        • Optional ReadonlyavatarUrl?: string
        • Optional Readonlydescription?: string
          The description for my cool project
          
        • Optional Readonlyid?: number

          Format: int32

        • Readonlykey: string
          PRJ
          
        • Optional Readonlylinks?: Record<string, unknown>
        • Optional Readonlyname?: string
          My Cool Project
          
        • Optional Readonlypublic?: boolean
        • Optional Readonlyscope?: string
          PROJECT
          
        • Optional Readonlytype?: "NORMAL" | "PERSONAL"
      • Optional Readonlypublic?: boolean
      • Optional ReadonlyrelatedLinks?: Record<string, unknown>
      • Optional ReadonlyscmId?: string
        git
        
      • Optional Readonlyscope?: string
        REPOSITORY
        
      • Optional Readonlyslug?: string
        my-repo
        
      • Optional Readonlystate?:
            | "AVAILABLE"
            | "INITIALISATION_FAILED"
            | "INITIALISING"
            | "OFFLINE"
      • Optional ReadonlystatusMessage?: string
        Available
        
    • Optional ReadonlytoCommit?: {
          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;
          }[];
      }
      • Optional Readonlyauthor?: {
            avatarUrl?: string;
            emailAddress?: string;
            name?: string;
        }
        • Optional ReadonlyavatarUrl?: string
        • Optional ReadonlyemailAddress?: string
          charlie@example.com
          
        • Optional Readonlyname?: string
          Charlie
          
      • Optional ReadonlyauthorTimestamp?: number

        Format: int64

        1359075920
        
      • Optional Readonlycommitter?: {
            avatarUrl?: string;
            emailAddress?: string;
            name?: string;
        }
        • Optional ReadonlyavatarUrl?: string
        • Optional ReadonlyemailAddress?: string
          charlie@example.com
          
        • Optional Readonlyname?: string
          Charlie
          
      • Optional ReadonlycommitterTimestamp?: number

        Format: int64

        1449075830
        
      • Optional ReadonlydisplayId?: string
        abcdef0
        
      • Optional Readonlyid?: string
        abcdef0123abcdef4567abcdef8987abcdef6543
        
      • Optional Readonlymessage?: string
        More work on feature 1
        
      • Optional Readonlyparents?: readonly {
            displayId?: string;
            id?: string;
        }[]
  • ReadonlyRestClusterInformation: {
        localNode?: {
            address?: {
                address?: string;
                port?: number;
            };
            buildVersion?: string;
            id?: string;
            local?: boolean;
            name?: string;
        };
        nodes?: readonly {
            address?: {
                address?: string;
                port?: number;
            };
            buildVersion?: string;
            id?: string;
            local?: boolean;
            name?: string;
        }[];
        running?: boolean;
    }
    • Optional ReadonlylocalNode?: {
          address?: {
              address?: string;
              port?: number;
          };
          buildVersion?: string;
          id?: string;
          local?: boolean;
          name?: string;
      }
      • Optional Readonlyaddress?: {
            address?: string;
            port?: number;
        }
        • Optional Readonlyaddress?: string
          node.example.com
          
        • Optional Readonlyport?: number

          Format: int32

          8230
          
      • Optional ReadonlybuildVersion?: string
        7.0.0
        
      • Optional Readonlyid?: string
        d4fde8b1-2504-4998-a0ba-14fbe98edd4d
        
      • Optional Readonlylocal?: boolean
      • Optional Readonlyname?: string
        foo
        
    • Optional Readonlynodes?: readonly {
          address?: {
              address?: string;
              port?: number;
          };
          buildVersion?: string;
          id?: string;
          local?: boolean;
          name?: string;
      }[]
    • Optional Readonlyrunning?: boolean
  • ReadonlyRestClusterNode: {
        address?: {
            address?: string;
            port?: number;
        };
        buildVersion?: string;
        id?: string;
        local?: boolean;
        name?: string;
    }
    • Optional Readonlyaddress?: {
          address?: string;
          port?: number;
      }
      • Optional Readonlyaddress?: string
        node.example.com
        
      • Optional Readonlyport?: number

        Format: int32

        8230
        
    • Optional ReadonlybuildVersion?: string
      7.0.0
      
    • Optional Readonlyid?: string
      d4fde8b1-2504-4998-a0ba-14fbe98edd4d
      
    • Optional Readonlylocal?: boolean
    • Optional Readonlyname?: string
      foo
      
  • ReadonlyRestComment: {
        anchor?: {
            diffType?: "COMMIT" | "EFFECTIVE" | "RANGE";
            fileType?: "FROM" | "TO";
            fromHash?: string;
            line?: number;
            lineComment?: boolean;
            lineType?: "ADDED" | "CONTEXT" | "REMOVED";
            path?: {
                components?: readonly string[];
                extension?: string;
                name?: string;
                parent?: string;
            };
            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?: 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?: (...) | (...) | (...);
                        defaultBranch?: (...) | (...);
                        description?: (...) | (...);
                        forkable?: (...) | (...) | (...);
                        hierarchyId?: (...) | (...);
                        id?: (...) | (...);
                        links?: (...) | (...);
                        name?: (...) | (...);
                        origin?: (...) | (...);
                        partition?: (...) | (...);
                        project?: (...) | (...);
                        public?: (...) | (...) | (...);
                        relatedLinks?: (...) | (...);
                        scmId?: (...) | (...);
                        scope?: (...) | (...);
                        slug?: (...) | (...);
                        state?:
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...);
                        statusMessage?: (...) | (...);
                    };
                    type?: "BRANCH" | "TAG";
                };
                updatedDate?: number;
                version?: number;
            };
            srcPath?: {
                components?: readonly string[];
                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 lineComment?: boolean; ... 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;
                lineComment?: boolean;
                lineType?: "ADDED" | "CONTEXT" | "REMOVED";
                path?: {
                    components?: readonly string[];
                    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<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;
                };
                srcPath?: {
                    components?: readonly string[];
                    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 lineComment?: boolean; ... 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<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;
        };
        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;
    }
    • Optional Readonlyanchor?: {
          diffType?: "COMMIT" | "EFFECTIVE" | "RANGE";
          fileType?: "FROM" | "TO";
          fromHash?: string;
          line?: number;
          lineComment?: boolean;
          lineType?: "ADDED" | "CONTEXT" | "REMOVED";
          path?: {
              components?: readonly string[];
              extension?: string;
              name?: string;
              parent?: string;
          };
          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?: 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?: (...) | (...) | (...);
                      defaultBranch?: (...) | (...);
                      description?: (...) | (...);
                      forkable?: (...) | (...) | (...);
                      hierarchyId?: (...) | (...);
                      id?: (...) | (...);
                      links?: (...) | (...);
                      name?: (...) | (...);
                      origin?: (...) | (...);
                      partition?: (...) | (...);
                      project?: (...) | (...);
                      public?: (...) | (...) | (...);
                      relatedLinks?: (...) | (...);
                      scmId?: (...) | (...);
                      scope?: (...) | (...);
                      slug?: (...) | (...);
                      state?:
                          | (...)
                          | (...)
                          | (...)
                          | (...)
                          | (...);
                      statusMessage?: (...) | (...);
                  };
                  type?: "BRANCH" | "TAG";
              };
              updatedDate?: number;
              version?: number;
          };
          srcPath?: {
              components?: readonly string[];
              extension?: string;
              name?: string;
              parent?: string;
          };
          toHash?: string;
      }
      • Optional ReadonlydiffType?: "COMMIT" | "EFFECTIVE" | "RANGE"
      • Optional ReadonlyfileType?: "FROM" | "TO"
      • Optional ReadonlyfromHash?: string
        62a0505e8204115b8b9c8a95bfa264a8c0896a93
        
      • Optional Readonlyline?: number

        Format: int32

        98
        
      • Optional ReadonlylineComment?: boolean
      • Optional ReadonlylineType?: "ADDED" | "CONTEXT" | "REMOVED"
      • Optional Readonlypath?: {
            components?: readonly string[];
            extension?: string;
            name?: string;
            parent?: string;
        }
        • Optional Readonlycomponents?: readonly string[]
          [
          "path",
          "to",
          "file.txt"
          ]
        • Optional Readonlyextension?: string
          txt
          
        • Optional Readonlyname?: string
          file.txt
          
        • Optional Readonlyparent?: string
          path/to
          
      • Optional ReadonlypullRequest?: {
            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?: 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?: (...) | (...) | (...);
                    defaultBranch?: (...) | (...);
                    description?: (...) | (...);
                    forkable?: (...) | (...) | (...);
                    hierarchyId?: (...) | (...);
                    id?: (...) | (...);
                    links?: (...) | (...);
                    name?: (...) | (...);
                    origin?: (...) | (...);
                    partition?: (...) | (...);
                    project?: (...) | (...);
                    public?: (...) | (...) | (...);
                    relatedLinks?: (...) | (...);
                    scmId?: (...) | (...);
                    scope?: (...) | (...);
                    slug?: (...) | (...);
                    state?:
                        | (...)
                        | (...)
                        | (...)
                        | (...)
                        | (...);
                    statusMessage?: (...) | (...);
                };
                type?: "BRANCH" | "TAG";
            };
            updatedDate?: number;
            version?: number;
        }
        • Optional Readonlyclosed?: boolean
        • Optional ReadonlyclosedDate?: number

          Format: int64

          19990759200
          
        • Optional ReadonlycreatedDate?: number

          Format: int64

          13590759200
          
        • Optional Readonlydescription?: string
          It is a kludge, but put the tuple from the database in the cache.
          
        • Optional ReadonlydescriptionAsHtml?: string
        • Optional Readonlydraft?: boolean
        • Optional ReadonlyfromRef?: {
              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";
          }
          • Optional ReadonlydisplayId?: string
            feature-ABC-1233
            
          • Optional Readonlyid?: string
            refs/heads/feature-ABC-123
            
          • Optional ReadonlylatestCommit?: string
            babecafebabecafebabecafebabecafebabecafe
            
          • Optional Readonlyrepository?: {
                archived?: (...) | (...) | (...);
                defaultBranch?: (...) | (...);
                description?: (...) | (...);
                forkable?: (...) | (...) | (...);
                hierarchyId?: (...) | (...);
                id?: (...) | (...);
                links?: (...) | (...);
                name?: (...) | (...);
                origin?: (...) | (...);
                partition?: (...) | (...);
                project?: (...) | (...);
                public?: (...) | (...) | (...);
                relatedLinks?: (...) | (...);
                scmId?: (...) | (...);
                scope?: (...) | (...);
                slug?: (...) | (...);
                state?:
                    | (...)
                    | (...)
                    | (...)
                    | (...)
                    | (...);
                statusMessage?: (...) | (...);
            }
            • Optional Readonlyarchived?: (...) | (...) | (...)
            • Optional ReadonlydefaultBranch?: (...) | (...)
              main
              
            • Optional Readonlydescription?: (...) | (...)
              My repo description
              
            • Optional Readonlyforkable?: (...) | (...) | (...)
            • Optional ReadonlyhierarchyId?: (...) | (...)
              e3c939f9ef4a7fae272e
              
            • Optional Readonlyid?: (...) | (...)

              Format: int32

            • Optional Readonlylinks?: (...) | (...)
            • Optional Readonlyname?: (...) | (...)
              My repo
              
            • Optional Readonlyorigin?: (...) | (...)
            • Optional Readonlypartition?: (...) | (...)

              Format: int32

            • Optional Readonlyproject?: (...) | (...)
            • Optional Readonlypublic?: (...) | (...) | (...)
            • Optional ReadonlyrelatedLinks?: (...) | (...)
            • Optional ReadonlyscmId?: (...) | (...)
              git
              
            • Optional Readonlyscope?: (...) | (...)
              REPOSITORY
              
            • Optional Readonlyslug?: (...) | (...)
              my-repo
              
            • Optional Readonlystate?:
                  | (...)
                  | (...)
                  | (...)
                  | (...)
                  | (...)
            • Optional ReadonlystatusMessage?: (...) | (...)
              Available
              
          • Optional Readonlytype?: "BRANCH" | "TAG"
        • Optional ReadonlyhtmlDescription?: string
        • Optional Readonlyid?: number

          Format: int64

          1
          
        • Optional Readonlylinks?: Record<string, unknown>
        • Optional Readonlylocked?: boolean
        • Optional Readonlyopen?: boolean
        • Optional Readonlyparticipants?: readonly {
              approved?: boolean;
              lastReviewedCommit?: string;
              role?: "PARTICIPANT" | "REVIEWER" | "AUTHOR";
              status?: "APPROVED" | "NEEDS_WORK" | "UNAPPROVED";
              user?: {
                  active?: ...;
                  avatarUrl?: ...;
                  displayName?: ...;
                  emailAddress?: ...;
                  id?: ...;
                  links?: ...;
                  name?: ...;
                  slug?: ...;
                  type?: ...;
              };
          }[]
        • Optional Readonlyreviewers?: readonly {
              approved?: boolean;
              lastReviewedCommit?: string;
              role?: "PARTICIPANT" | "REVIEWER" | "AUTHOR";
              status?: "APPROVED" | "NEEDS_WORK" | "UNAPPROVED";
              user?: {
                  active?: ...;
                  avatarUrl?: ...;
                  displayName?: ...;
                  emailAddress?: ...;
                  id?: ...;
                  links?: ...;
                  name?: ...;
                  slug?: ...;
                  type?: ...;
              };
          }[]
        • Optional Readonlystate?: "DECLINED" | "MERGED" | "OPEN"
        • Optional Readonlytitle?: string
          Talking Nerdy
          
        • Optional ReadonlytoRef?: {
              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";
          }
          • Optional ReadonlydisplayId?: string
            feature-ABC-1233
            
          • Optional Readonlyid?: string
            refs/heads/feature-ABC-123
            
          • Optional ReadonlylatestCommit?: string
            babecafebabecafebabecafebabecafebabecafe
            
          • Optional Readonlyrepository?: {
                archived?: (...) | (...) | (...);
                defaultBranch?: (...) | (...);
                description?: (...) | (...);
                forkable?: (...) | (...) | (...);
                hierarchyId?: (...) | (...);
                id?: (...) | (...);
                links?: (...) | (...);
                name?: (...) | (...);
                origin?: (...) | (...);
                partition?: (...) | (...);
                project?: (...) | (...);
                public?: (...) | (...) | (...);
                relatedLinks?: (...) | (...);
                scmId?: (...) | (...);
                scope?: (...) | (...);
                slug?: (...) | (...);
                state?:
                    | (...)
                    | (...)
                    | (...)
                    | (...)
                    | (...);
                statusMessage?: (...) | (...);
            }
            • Optional Readonlyarchived?: (...) | (...) | (...)
            • Optional ReadonlydefaultBranch?: (...) | (...)
              main
              
            • Optional Readonlydescription?: (...) | (...)
              My repo description
              
            • Optional Readonlyforkable?: (...) | (...) | (...)
            • Optional ReadonlyhierarchyId?: (...) | (...)
              e3c939f9ef4a7fae272e
              
            • Optional Readonlyid?: (...) | (...)

              Format: int32

            • Optional Readonlylinks?: (...) | (...)
            • Optional Readonlyname?: (...) | (...)
              My repo
              
            • Optional Readonlyorigin?: (...) | (...)
            • Optional Readonlypartition?: (...) | (...)

              Format: int32

            • Optional Readonlyproject?: (...) | (...)
            • Optional Readonlypublic?: (...) | (...) | (...)
            • Optional ReadonlyrelatedLinks?: (...) | (...)
            • Optional ReadonlyscmId?: (...) | (...)
              git
              
            • Optional Readonlyscope?: (...) | (...)
              REPOSITORY
              
            • Optional Readonlyslug?: (...) | (...)
              my-repo
              
            • Optional Readonlystate?:
                  | (...)
                  | (...)
                  | (...)
                  | (...)
                  | (...)
            • Optional ReadonlystatusMessage?: (...) | (...)
              Available
              
          • Optional Readonlytype?: "BRANCH" | "TAG"
        • Optional ReadonlyupdatedDate?: number

          Format: int64

          14490759200
          
        • Optional Readonlyversion?: number

          Format: int32

      • Optional ReadonlysrcPath?: {
            components?: readonly string[];
            extension?: string;
            name?: string;
            parent?: string;
        }
        • Optional Readonlycomponents?: readonly string[]
          [
          "path",
          "to",
          "file.txt"
          ]
        • Optional Readonlyextension?: string
          txt
          
        • Optional Readonlyname?: string
          file.txt
          
        • Optional Readonlyparent?: string
          path/to
          
      • Optional ReadonlytoHash?: string
        3cdd5d19178a54d2e51b5098d43b57571241d0ab
        
    • Optional Readonlyanchored?: boolean
    • Optional Readonlyauthor?: {
          active?: boolean;
          avatarUrl?: string;
          displayName?: string;
          emailAddress?: string;
          id?: number;
          links?: Record<string, unknown>;
          name?: string;
          slug?: string;
          type?: "NORMAL" | "SERVICE";
      }
      • Optional Readonlyactive?: boolean
      • Optional ReadonlyavatarUrl?: string
      • Optional ReadonlydisplayName?: string
        Jane Citizen
        
      • Optional ReadonlyemailAddress?: string
        jane@example.com
        
      • Optional Readonlyid?: number

        Format: int32

        101
        
      • Optional Readonlylinks?: Record<string, unknown>
      • Optional Readonlyname?: string
        jcitizen
        
      • Optional Readonlyslug?: string
        jcitizen
        
      • Optional Readonlytype?: "NORMAL" | "SERVICE"
    • Optional Readonlycomments?: readonly ({ readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineComment?: boolean; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; })[]
    • Optional ReadonlycreatedDate?: number

      Format: int64

      1359075920
      
    • Optional Readonlyhtml?: string
    • Optional Readonlyid?: number

      Format: int64

      1
      
    • Optional Readonlyparent?: {
          anchor?: {
              diffType?: "COMMIT" | "EFFECTIVE" | "RANGE";
              fileType?: "FROM" | "TO";
              fromHash?: string;
              line?: number;
              lineComment?: boolean;
              lineType?: "ADDED" | "CONTEXT" | "REMOVED";
              path?: {
                  components?: readonly string[];
                  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<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;
              };
              srcPath?: {
                  components?: readonly string[];
                  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 lineComment?: boolean; ... 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<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;
      }
      • Optional Readonlyanchor?: {
            diffType?: "COMMIT" | "EFFECTIVE" | "RANGE";
            fileType?: "FROM" | "TO";
            fromHash?: string;
            line?: number;
            lineComment?: boolean;
            lineType?: "ADDED" | "CONTEXT" | "REMOVED";
            path?: {
                components?: readonly string[];
                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<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;
            };
            srcPath?: {
                components?: readonly string[];
                extension?: string;
                name?: string;
                parent?: string;
            };
            toHash?: string;
        }
        • Optional ReadonlydiffType?: "COMMIT" | "EFFECTIVE" | "RANGE"
        • Optional ReadonlyfileType?: "FROM" | "TO"
        • Optional ReadonlyfromHash?: string
          62a0505e8204115b8b9c8a95bfa264a8c0896a93
          
        • Optional Readonlyline?: number

          Format: int32

          98
          
        • Optional ReadonlylineComment?: boolean
        • Optional ReadonlylineType?: "ADDED" | "CONTEXT" | "REMOVED"
        • Optional Readonlypath?: {
              components?: readonly string[];
              extension?: string;
              name?: string;
              parent?: string;
          }
          • Optional Readonlycomponents?: readonly string[]
            [
            "path",
            "to",
            "file.txt"
            ]
          • Optional Readonlyextension?: string
            txt
            
          • Optional Readonlyname?: string
            file.txt
            
          • Optional Readonlyparent?: string
            path/to
            
        • Optional ReadonlypullRequest?: {
              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;
          }
          • Optional Readonlyclosed?: boolean
          • Optional ReadonlyclosedDate?: number

            Format: int64

            19990759200
            
          • Optional ReadonlycreatedDate?: number

            Format: int64

            13590759200
            
          • Optional Readonlydescription?: string
            It is a kludge, but put the tuple from the database in the cache.
            
          • Optional ReadonlydescriptionAsHtml?: string
          • Optional Readonlydraft?: boolean
          • Optional ReadonlyfromRef?: {
                displayId?: (...) | (...);
                id?: (...) | (...);
                latestCommit?: (...) | (...);
                repository?: (...) | (...);
                type?: (...) | (...) | (...);
            }
            • Optional ReadonlydisplayId?: (...) | (...)
              feature-ABC-1233
              
            • Optional Readonlyid?: (...) | (...)
              refs/heads/feature-ABC-123
              
            • Optional ReadonlylatestCommit?: (...) | (...)
              babecafebabecafebabecafebabecafebabecafe
              
            • Optional Readonlyrepository?: (...) | (...)
            • Optional Readonlytype?: (...) | (...) | (...)
          • Optional ReadonlyhtmlDescription?: string
          • Optional Readonlyid?: number

            Format: int64

            1
            
          • Optional Readonlylinks?: Record<string, unknown>
          • Optional Readonlylocked?: boolean
          • Optional Readonlyopen?: boolean
          • Optional Readonlyparticipants?: readonly {
                approved?: ...;
                lastReviewedCommit?: ...;
                role?: ...;
                status?: ...;
                user?: ...;
            }[]
          • Optional Readonlyreviewers?: readonly {
                approved?: ...;
                lastReviewedCommit?: ...;
                role?: ...;
                status?: ...;
                user?: ...;
            }[]
          • Optional Readonlystate?: "DECLINED" | "MERGED" | "OPEN"
          • Optional Readonlytitle?: string
            Talking Nerdy
            
          • Optional ReadonlytoRef?: {
                displayId?: (...) | (...);
                id?: (...) | (...);
                latestCommit?: (...) | (...);
                repository?: (...) | (...);
                type?: (...) | (...) | (...);
            }
            • Optional ReadonlydisplayId?: (...) | (...)
              feature-ABC-1233
              
            • Optional Readonlyid?: (...) | (...)
              refs/heads/feature-ABC-123
              
            • Optional ReadonlylatestCommit?: (...) | (...)
              babecafebabecafebabecafebabecafebabecafe
              
            • Optional Readonlyrepository?: (...) | (...)
            • Optional Readonlytype?: (...) | (...) | (...)
          • Optional ReadonlyupdatedDate?: number

            Format: int64

            14490759200
            
          • Optional Readonlyversion?: number

            Format: int32

        • Optional ReadonlysrcPath?: {
              components?: readonly string[];
              extension?: string;
              name?: string;
              parent?: string;
          }
          • Optional Readonlycomponents?: readonly string[]
            [
            "path",
            "to",
            "file.txt"
            ]
          • Optional Readonlyextension?: string
            txt
            
          • Optional Readonlyname?: string
            file.txt
            
          • Optional Readonlyparent?: string
            path/to
            
        • Optional ReadonlytoHash?: string
          3cdd5d19178a54d2e51b5098d43b57571241d0ab
          
      • Optional Readonlyanchored?: boolean
      • Optional Readonlyauthor?: {
            active?: boolean;
            avatarUrl?: string;
            displayName?: string;
            emailAddress?: string;
            id?: number;
            links?: Record<string, unknown>;
            name?: string;
            slug?: string;
            type?: "NORMAL" | "SERVICE";
        }
        • Optional Readonlyactive?: boolean
        • Optional ReadonlyavatarUrl?: string
        • Optional ReadonlydisplayName?: string
          Jane Citizen
          
        • Optional ReadonlyemailAddress?: string
          jane@example.com
          
        • Optional Readonlyid?: number

          Format: int32

          101
          
        • Optional Readonlylinks?: Record<string, unknown>
        • Optional Readonlyname?: string
          jcitizen
          
        • Optional Readonlyslug?: string
          jcitizen
          
        • Optional Readonlytype?: "NORMAL" | "SERVICE"
      • Optional Readonlycomments?: readonly ({ readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineComment?: boolean; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; })[]
      • Optional ReadonlycreatedDate?: number

        Format: int64

        1359075920
        
      • Optional Readonlyhtml?: string
      • Optional Readonlyid?: number

        Format: int64

        1
        
      • Optional Readonlypending?: boolean
      • Optional Readonlyproperties?: Record<string, unknown>
      • Optional Readonlyreply?: boolean
      • Optional ReadonlyresolvedDate?: number

        Format: int64

        1239075920
        
      • Optional Readonlyresolver?: {
            active?: boolean;
            avatarUrl?: string;
            displayName?: string;
            emailAddress?: string;
            id?: number;
            links?: Record<string, unknown>;
            name?: string;
            slug?: string;
            type?: "NORMAL" | "SERVICE";
        }
        • Optional Readonlyactive?: boolean
        • Optional ReadonlyavatarUrl?: string
        • Optional ReadonlydisplayName?: string
          Jane Citizen
          
        • Optional ReadonlyemailAddress?: string
          jane@example.com
          
        • Optional Readonlyid?: number

          Format: int32

          101
          
        • Optional Readonlylinks?: Record<string, unknown>
        • Optional Readonlyname?: string
          jcitizen
          
        • Optional Readonlyslug?: string
          jcitizen
          
        • Optional Readonlytype?: "NORMAL" | "SERVICE"
      • Optional Readonlyseverity?: string
        NORMAL
        
      • Optional Readonlystate?: string
        OPEN
        
      • Optional Readonlytext?: string
        An insightful comment.
        
      • Optional ReadonlythreadResolved?: boolean

        Indicates if this comment thread has been marked as resolved or not

      • Optional ReadonlythreadResolvedDate?: number

        Format: int64

        1569075920
        
      • Optional ReadonlythreadResolver?: {
            active?: boolean;
            avatarUrl?: string;
            displayName?: string;
            emailAddress?: string;
            id?: number;
            links?: Record<string, unknown>;
            name?: string;
            slug?: string;
            type?: "NORMAL" | "SERVICE";
        }
        • Optional Readonlyactive?: boolean
        • Optional ReadonlyavatarUrl?: string
        • Optional ReadonlydisplayName?: string
          Jane Citizen
          
        • Optional ReadonlyemailAddress?: string
          jane@example.com
          
        • Optional Readonlyid?: number

          Format: int32

          101
          
        • Optional Readonlylinks?: Record<string, unknown>
        • Optional Readonlyname?: string
          jcitizen
          
        • Optional Readonlyslug?: string
          jcitizen
          
        • Optional Readonlytype?: "NORMAL" | "SERVICE"
      • Optional ReadonlyupdatedDate?: number

        Format: int64

        1449075920
        
      • Optional Readonlyversion?: number

        Format: int32

        1
        
    • Optional Readonlypending?: boolean
    • Optional Readonlyproperties?: Record<string, unknown>
    • Optional Readonlyreply?: boolean
    • Optional ReadonlyresolvedDate?: number

      Format: int64

      1239075920
      
    • Optional Readonlyresolver?: {
          active?: boolean;
          avatarUrl?: string;
          displayName?: string;
          emailAddress?: string;
          id?: number;
          links?: Record<string, unknown>;
          name?: string;
          slug?: string;
          type?: "NORMAL" | "SERVICE";
      }
      • Optional Readonlyactive?: boolean
      • Optional ReadonlyavatarUrl?: string
      • Optional ReadonlydisplayName?: string
        Jane Citizen
        
      • Optional ReadonlyemailAddress?: string
        jane@example.com
        
      • Optional Readonlyid?: number

        Format: int32

        101
        
      • Optional Readonlylinks?: Record<string, unknown>
      • Optional Readonlyname?: string
        jcitizen
        
      • Optional Readonlyslug?: string
        jcitizen
        
      • Optional Readonlytype?: "NORMAL" | "SERVICE"
    • Optional Readonlyseverity?: string
      NORMAL
      
    • Optional Readonlystate?: string
      OPEN
      
    • Optional Readonlytext?: string
      An insightful comment.
      
    • Optional ReadonlythreadResolved?: boolean

      Indicates if this comment thread has been marked as resolved or not

    • Optional ReadonlythreadResolvedDate?: number

      Format: int64

      1569075920
      
    • Optional ReadonlythreadResolver?: {
          active?: boolean;
          avatarUrl?: string;
          displayName?: string;
          emailAddress?: string;
          id?: number;
          links?: Record<string, unknown>;
          name?: string;
          slug?: string;
          type?: "NORMAL" | "SERVICE";
      }
      • Optional Readonlyactive?: boolean
      • Optional ReadonlyavatarUrl?: string
      • Optional ReadonlydisplayName?: string
        Jane Citizen
        
      • Optional ReadonlyemailAddress?: string
        jane@example.com
        
      • Optional Readonlyid?: number

        Format: int32

        101
        
      • Optional Readonlylinks?: Record<string, unknown>
      • Optional Readonlyname?: string
        jcitizen
        
      • Optional Readonlyslug?: string
        jcitizen
        
      • Optional Readonlytype?: "NORMAL" | "SERVICE"
    • Optional ReadonlyupdatedDate?: number

      Format: int64

      1449075920
      
    • Optional Readonlyversion?: number

      Format: int32

      1
      
  • ReadonlyRestCommentJiraIssue: {
        commentId?: number;
        issueKey?: string;
    }
    • Optional ReadonlycommentId?: number

      Format: int64

      1
      
    • Optional ReadonlyissueKey?: string
      TEST-123
      
  • ReadonlyRestCommentThreadDiffAnchor: {
        diffType?: "COMMIT" | "EFFECTIVE" | "RANGE";
        fileType?: "FROM" | "TO";
        fromHash?: string;
        line?: number;
        lineComment?: boolean;
        lineType?: "ADDED" | "CONTEXT" | "REMOVED";
        path?: {
            components?: readonly string[];
            extension?: string;
            name?: string;
            parent?: string;
        };
        pullRequest?: {
            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<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;
                };
                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?: boolean;
                    avatarUrl?: string;
                    displayName?: string;
                    emailAddress?: string;
                    id?: number;
                    links?: Record<(...), (...)>;
                    name?: string;
                    slug?: string;
                    type?: "NORMAL" | "SERVICE";
                };
            }[];
            reviewers?: readonly {
                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<(...), (...)>;
                    name?: string;
                    slug?: string;
                    type?: "NORMAL" | "SERVICE";
                };
            }[];
            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<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;
                };
                type?: "BRANCH" | "TAG";
            };
            updatedDate?: number;
            version?: number;
        };
        srcPath?: {
            components?: readonly string[];
            extension?: string;
            name?: string;
            parent?: string;
        };
        toHash?: string;
    }
    • Optional ReadonlydiffType?: "COMMIT" | "EFFECTIVE" | "RANGE"
    • Optional ReadonlyfileType?: "FROM" | "TO"
    • Optional ReadonlyfromHash?: string
      62a0505e8204115b8b9c8a95bfa264a8c0896a93
      
    • Optional Readonlyline?: number

      Format: int32

      98
      
    • Optional ReadonlylineComment?: boolean
    • Optional ReadonlylineType?: "ADDED" | "CONTEXT" | "REMOVED"
    • Optional Readonlypath?: {
          components?: readonly string[];
          extension?: string;
          name?: string;
          parent?: string;
      }
      • Optional Readonlycomponents?: readonly string[]
        [
        "path",
        "to",
        "file.txt"
        ]
      • Optional Readonlyextension?: string
        txt
        
      • Optional Readonlyname?: string
        file.txt
        
      • Optional Readonlyparent?: string
        path/to
        
    • Optional ReadonlypullRequest?: {
          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<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;
              };
              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?: boolean;
                  avatarUrl?: string;
                  displayName?: string;
                  emailAddress?: string;
                  id?: number;
                  links?: Record<(...), (...)>;
                  name?: string;
                  slug?: string;
                  type?: "NORMAL" | "SERVICE";
              };
          }[];
          reviewers?: readonly {
              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<(...), (...)>;
                  name?: string;
                  slug?: string;
                  type?: "NORMAL" | "SERVICE";
              };
          }[];
          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<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;
              };
              type?: "BRANCH" | "TAG";
          };
          updatedDate?: number;
          version?: number;
      }
      • Optional Readonlyclosed?: boolean
      • Optional ReadonlyclosedDate?: number

        Format: int64

        19990759200
        
      • Optional ReadonlycreatedDate?: number

        Format: int64

        13590759200
        
      • Optional Readonlydescription?: string
        It is a kludge, but put the tuple from the database in the cache.
        
      • Optional ReadonlydescriptionAsHtml?: string
      • Optional Readonlydraft?: boolean
      • Optional ReadonlyfromRef?: {
            displayId?: string;
            id?: string;
            latestCommit?: string;
            repository?: {
                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;
            };
            type?: "BRANCH" | "TAG";
        }
        • Optional ReadonlydisplayId?: string
          feature-ABC-1233
          
        • Optional Readonlyid?: string
          refs/heads/feature-ABC-123
          
        • Optional ReadonlylatestCommit?: string
          babecafebabecafebabecafebabecafebabecafe
          
        • Optional Readonlyrepository?: {
              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;
          }
          • Optional Readonlyarchived?: boolean
          • Optional ReadonlydefaultBranch?: string
            main
            
          • Optional Readonlydescription?: string
            My repo description
            
          • Optional Readonlyforkable?: boolean
          • Optional ReadonlyhierarchyId?: string
            e3c939f9ef4a7fae272e
            
          • Optional Readonlyid?: number

            Format: int32

          • Optional Readonlylinks?: Record<string, unknown>
          • Optional Readonlyname?: string
            My repo
            
          • Optional Readonlyorigin?: {
                archived?: (...) | (...) | (...);
                defaultBranch?: (...) | (...);
                description?: (...) | (...);
                forkable?: (...) | (...) | (...);
                hierarchyId?: (...) | (...);
                id?: (...) | (...);
                links?: (...) | (...);
                name?: (...) | (...);
                partition?: (...) | (...);
                project?: (...) | (...);
                public?: (...) | (...) | (...);
                relatedLinks?: (...) | (...);
                scmId?: (...) | (...);
                scope?: (...) | (...);
                slug?: (...) | (...);
                state?:
                    | (...)
                    | (...)
                    | (...)
                    | (...)
                    | (...);
                statusMessage?: (...) | (...);
            }
            • Optional Readonlyarchived?: (...) | (...) | (...)
            • Optional ReadonlydefaultBranch?: (...) | (...)
              main
              
            • Optional Readonlydescription?: (...) | (...)
              My repo description
              
            • Optional Readonlyforkable?: (...) | (...) | (...)
            • Optional ReadonlyhierarchyId?: (...) | (...)
              e3c939f9ef4a7fae272e
              
            • Optional Readonlyid?: (...) | (...)

              Format: int32

            • Optional Readonlylinks?: (...) | (...)
            • Optional Readonlyname?: (...) | (...)
              My repo
              
            • Optional Readonlypartition?: (...) | (...)

              Format: int32

            • Optional Readonlyproject?: (...) | (...)
            • Optional Readonlypublic?: (...) | (...) | (...)
            • Optional ReadonlyrelatedLinks?: (...) | (...)
            • Optional ReadonlyscmId?: (...) | (...)
              git
              
            • Optional Readonlyscope?: (...) | (...)
              REPOSITORY
              
            • Optional Readonlyslug?: (...) | (...)
              my-repo
              
            • Optional Readonlystate?:
                  | (...)
                  | (...)
                  | (...)
                  | (...)
                  | (...)
            • Optional ReadonlystatusMessage?: (...) | (...)
              Available
              
          • Optional Readonlypartition?: number

            Format: int32

          • Optional Readonlyproject?: {
                avatar?: (...) | (...);
                avatarUrl?: (...) | (...);
                description?: (...) | (...);
                id?: (...) | (...);
                key: string;
                links?: (...) | (...);
                name?: (...) | (...);
                public?: (...) | (...) | (...);
                scope?: (...) | (...);
                type?: (...) | (...) | (...);
            }
            • Optional Readonlyavatar?: (...) | (...)
            • Optional ReadonlyavatarUrl?: (...) | (...)
            • Optional Readonlydescription?: (...) | (...)
              The description for my cool project
              
            • Optional Readonlyid?: (...) | (...)

              Format: int32

            • Readonlykey: string
              PRJ
              
            • Optional Readonlylinks?: (...) | (...)
            • Optional Readonlyname?: (...) | (...)
              My Cool Project
              
            • Optional Readonlypublic?: (...) | (...) | (...)
            • Optional Readonlyscope?: (...) | (...)
              PROJECT
              
            • Optional Readonlytype?: (...) | (...) | (...)
          • Optional Readonlypublic?: boolean
          • Optional ReadonlyrelatedLinks?: Record<string, unknown>
          • Optional ReadonlyscmId?: string
            git
            
          • Optional Readonlyscope?: string
            REPOSITORY
            
          • Optional Readonlyslug?: string
            my-repo
            
          • Optional Readonlystate?:
                | "AVAILABLE"
                | "INITIALISATION_FAILED"
                | "INITIALISING"
                | "OFFLINE"
          • Optional ReadonlystatusMessage?: string
            Available
            
        • Optional Readonlytype?: "BRANCH" | "TAG"
      • Optional ReadonlyhtmlDescription?: string
      • Optional Readonlyid?: number

        Format: int64

        1
        
      • Optional Readonlylinks?: Record<string, unknown>
      • Optional Readonlylocked?: boolean
      • Optional Readonlyopen?: boolean
      • Optional Readonlyparticipants?: readonly {
            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<(...), (...)>;
                name?: string;
                slug?: string;
                type?: "NORMAL" | "SERVICE";
            };
        }[]
      • Optional Readonlyreviewers?: readonly {
            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<(...), (...)>;
                name?: string;
                slug?: string;
                type?: "NORMAL" | "SERVICE";
            };
        }[]
      • Optional Readonlystate?: "DECLINED" | "MERGED" | "OPEN"
      • Optional Readonlytitle?: string
        Talking Nerdy
        
      • Optional ReadonlytoRef?: {
            displayId?: string;
            id?: string;
            latestCommit?: string;
            repository?: {
                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;
            };
            type?: "BRANCH" | "TAG";
        }
        • Optional ReadonlydisplayId?: string
          feature-ABC-1233
          
        • Optional Readonlyid?: string
          refs/heads/feature-ABC-123
          
        • Optional ReadonlylatestCommit?: string
          babecafebabecafebabecafebabecafebabecafe
          
        • Optional Readonlyrepository?: {
              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;
          }
          • Optional Readonlyarchived?: boolean
          • Optional ReadonlydefaultBranch?: string
            main
            
          • Optional Readonlydescription?: string
            My repo description
            
          • Optional Readonlyforkable?: boolean
          • Optional ReadonlyhierarchyId?: string
            e3c939f9ef4a7fae272e
            
          • Optional Readonlyid?: number

            Format: int32

          • Optional Readonlylinks?: Record<string, unknown>
          • Optional Readonlyname?: string
            My repo
            
          • Optional Readonlyorigin?: {
                archived?: (...) | (...) | (...);
                defaultBranch?: (...) | (...);
                description?: (...) | (...);
                forkable?: (...) | (...) | (...);
                hierarchyId?: (...) | (...);
                id?: (...) | (...);
                links?: (...) | (...);
                name?: (...) | (...);
                partition?: (...) | (...);
                project?: (...) | (...);
                public?: (...) | (...) | (...);
                relatedLinks?: (...) | (...);
                scmId?: (...) | (...);
                scope?: (...) | (...);
                slug?: (...) | (...);
                state?:
                    | (...)
                    | (...)
                    | (...)
                    | (...)
                    | (...);
                statusMessage?: (...) | (...);
            }
            • Optional Readonlyarchived?: (...) | (...) | (...)
            • Optional ReadonlydefaultBranch?: (...) | (...)
              main
              
            • Optional Readonlydescription?: (...) | (...)
              My repo description
              
            • Optional Readonlyforkable?: (...) | (...) | (...)
            • Optional ReadonlyhierarchyId?: (...) | (...)
              e3c939f9ef4a7fae272e
              
            • Optional Readonlyid?: (...) | (...)

              Format: int32

            • Optional Readonlylinks?: (...) | (...)
            • Optional Readonlyname?: (...) | (...)
              My repo
              
            • Optional Readonlypartition?: (...) | (...)

              Format: int32

            • Optional Readonlyproject?: (...) | (...)
            • Optional Readonlypublic?: (...) | (...) | (...)
            • Optional ReadonlyrelatedLinks?: (...) | (...)
            • Optional ReadonlyscmId?: (...) | (...)
              git
              
            • Optional Readonlyscope?: (...) | (...)
              REPOSITORY
              
            • Optional Readonlyslug?: (...) | (...)
              my-repo
              
            • Optional Readonlystate?:
                  | (...)
                  | (...)
                  | (...)
                  | (...)
                  | (...)
            • Optional ReadonlystatusMessage?: (...) | (...)
              Available
              
          • Optional Readonlypartition?: number

            Format: int32

          • Optional Readonlyproject?: {
                avatar?: (...) | (...);
                avatarUrl?: (...) | (...);
                description?: (...) | (...);
                id?: (...) | (...);
                key: string;
                links?: (...) | (...);
                name?: (...) | (...);
                public?: (...) | (...) | (...);
                scope?: (...) | (...);
                type?: (...) | (...) | (...);
            }
            • Optional Readonlyavatar?: (...) | (...)
            • Optional ReadonlyavatarUrl?: (...) | (...)
            • Optional Readonlydescription?: (...) | (...)
              The description for my cool project
              
            • Optional Readonlyid?: (...) | (...)

              Format: int32

            • Readonlykey: string
              PRJ
              
            • Optional Readonlylinks?: (...) | (...)
            • Optional Readonlyname?: (...) | (...)
              My Cool Project
              
            • Optional Readonlypublic?: (...) | (...) | (...)
            • Optional Readonlyscope?: (...) | (...)
              PROJECT
              
            • Optional Readonlytype?: (...) | (...) | (...)
          • Optional Readonlypublic?: boolean
          • Optional ReadonlyrelatedLinks?: Record<string, unknown>
          • Optional ReadonlyscmId?: string
            git
            
          • Optional Readonlyscope?: string
            REPOSITORY
            
          • Optional Readonlyslug?: string
            my-repo
            
          • Optional Readonlystate?:
                | "AVAILABLE"
                | "INITIALISATION_FAILED"
                | "INITIALISING"
                | "OFFLINE"
          • Optional ReadonlystatusMessage?: string
            Available
            
        • Optional Readonlytype?: "BRANCH" | "TAG"
      • Optional ReadonlyupdatedDate?: number

        Format: int64

        14490759200
        
      • Optional Readonlyversion?: number

        Format: int32

    • Optional ReadonlysrcPath?: {
          components?: readonly string[];
          extension?: string;
          name?: string;
          parent?: string;
      }
      • Optional Readonlycomponents?: readonly string[]
        [
        "path",
        "to",
        "file.txt"
        ]
      • Optional Readonlyextension?: string
        txt
        
      • Optional Readonlyname?: string
        file.txt
        
      • Optional Readonlyparent?: string
        path/to
        
    • Optional ReadonlytoHash?: string
      3cdd5d19178a54d2e51b5098d43b57571241d0ab
      
  • ReadonlyRestCommit: {
        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;
        }[];
    }
    • Optional Readonlyauthor?: {
          avatarUrl?: string;
          emailAddress?: string;
          name?: string;
      }
      • Optional ReadonlyavatarUrl?: string
      • Optional ReadonlyemailAddress?: string
        charlie@example.com
        
      • Optional Readonlyname?: string
        Charlie
        
    • Optional ReadonlyauthorTimestamp?: number

      Format: int64

      1359075920
      
    • Optional Readonlycommitter?: {
          avatarUrl?: string;
          emailAddress?: string;
          name?: string;
      }
      • Optional ReadonlyavatarUrl?: string
      • Optional ReadonlyemailAddress?: string
        charlie@example.com
        
      • Optional Readonlyname?: string
        Charlie
        
    • Optional ReadonlycommitterTimestamp?: number

      Format: int64

      1449075830
      
    • Optional ReadonlydisplayId?: string
      abcdef0
      
    • Optional Readonlyid?: string
      abcdef0123abcdef4567abcdef8987abcdef6543
      
    • Optional Readonlymessage?: string
      More work on feature 1
      
    • Optional Readonlyparents?: readonly {
          displayId?: string;
          id?: string;
      }[]
  • ReadonlyRestCommitMessageSuggestion: {
        body?: string;
        title?: string;
    }
    • Optional Readonlybody?: string
      Merge in PROJECT_1/repo_1 from feature/feature-2 to main
      
    • Optional Readonlytitle?: string
      Pull request #2: add new feature
      
  • ReadonlyRestConflict: {
        ourChange?: {
            path?: {
                components?: readonly string[];
                extension?: string;
                name?: string;
                parent?: string;
            };
            srcPath?: {
                components?: readonly string[];
                extension?: string;
                name?: string;
                parent?: string;
            };
            type?:
                | "UNKNOWN"
                | "DELETE"
                | "ADD"
                | "COPY"
                | "MODIFY"
                | "MOVE";
        };
        theirChange?: {
            path?: {
                components?: readonly string[];
                extension?: string;
                name?: string;
                parent?: string;
            };
            srcPath?: {
                components?: readonly string[];
                extension?: string;
                name?: string;
                parent?: string;
            };
            type?:
                | "UNKNOWN"
                | "DELETE"
                | "ADD"
                | "COPY"
                | "MODIFY"
                | "MOVE";
        };
    }
    • Optional ReadonlyourChange?: {
          path?: {
              components?: readonly string[];
              extension?: string;
              name?: string;
              parent?: string;
          };
          srcPath?: {
              components?: readonly string[];
              extension?: string;
              name?: string;
              parent?: string;
          };
          type?:
              | "UNKNOWN"
              | "DELETE"
              | "ADD"
              | "COPY"
              | "MODIFY"
              | "MOVE";
      }
      • Optional Readonlypath?: {
            components?: readonly string[];
            extension?: string;
            name?: string;
            parent?: string;
        }
        • Optional Readonlycomponents?: readonly string[]
          [
          "path",
          "to",
          "file.txt"
          ]
        • Optional Readonlyextension?: string
          txt
          
        • Optional Readonlyname?: string
          file.txt
          
        • Optional Readonlyparent?: string
          path/to
          
      • Optional ReadonlysrcPath?: {
            components?: readonly string[];
            extension?: string;
            name?: string;
            parent?: string;
        }
        • Optional Readonlycomponents?: readonly string[]
          [
          "path",
          "to",
          "file.txt"
          ]
        • Optional Readonlyextension?: string
          txt
          
        • Optional Readonlyname?: string
          file.txt
          
        • Optional Readonlyparent?: string
          path/to
          
      • Optional Readonlytype?:
            | "UNKNOWN"
            | "DELETE"
            | "ADD"
            | "COPY"
            | "MODIFY"
            | "MOVE"
    • Optional ReadonlytheirChange?: {
          path?: {
              components?: readonly string[];
              extension?: string;
              name?: string;
              parent?: string;
          };
          srcPath?: {
              components?: readonly string[];
              extension?: string;
              name?: string;
              parent?: string;
          };
          type?:
              | "UNKNOWN"
              | "DELETE"
              | "ADD"
              | "COPY"
              | "MODIFY"
              | "MOVE";
      }
      • Optional Readonlypath?: {
            components?: readonly string[];
            extension?: string;
            name?: string;
            parent?: string;
        }
        • Optional Readonlycomponents?: readonly string[]
          [
          "path",
          "to",
          "file.txt"
          ]
        • Optional Readonlyextension?: string
          txt
          
        • Optional Readonlyname?: string
          file.txt
          
        • Optional Readonlyparent?: string
          path/to
          
      • Optional ReadonlysrcPath?: {
            components?: readonly string[];
            extension?: string;
            name?: string;
            parent?: string;
        }
        • Optional Readonlycomponents?: readonly string[]
          [
          "path",
          "to",
          "file.txt"
          ]
        • Optional Readonlyextension?: string
          txt
          
        • Optional Readonlyname?: string
          file.txt
          
        • Optional Readonlyparent?: string
          path/to
          
      • Optional Readonlytype?:
            | "UNKNOWN"
            | "DELETE"
            | "ADD"
            | "COPY"
            | "MODIFY"
            | "MOVE"
  • ReadonlyRestConflictChange: {
        path?: {
            components?: readonly string[];
            extension?: string;
            name?: string;
            parent?: string;
        };
        srcPath?: {
            components?: readonly string[];
            extension?: string;
            name?: string;
            parent?: string;
        };
        type?:
            | "UNKNOWN"
            | "DELETE"
            | "ADD"
            | "COPY"
            | "MODIFY"
            | "MOVE";
    }
    • Optional Readonlypath?: {
          components?: readonly string[];
          extension?: string;
          name?: string;
          parent?: string;
      }
      • Optional Readonlycomponents?: readonly string[]
        [
        "path",
        "to",
        "file.txt"
        ]
      • Optional Readonlyextension?: string
        txt
        
      • Optional Readonlyname?: string
        file.txt
        
      • Optional Readonlyparent?: string
        path/to
        
    • Optional ReadonlysrcPath?: {
          components?: readonly string[];
          extension?: string;
          name?: string;
          parent?: string;
      }
      • Optional Readonlycomponents?: readonly string[]
        [
        "path",
        "to",
        "file.txt"
        ]
      • Optional Readonlyextension?: string
        txt
        
      • Optional Readonlyname?: string
        file.txt
        
      • Optional Readonlyparent?: string
        path/to
        
    • Optional Readonlytype?:
          | "UNKNOWN"
          | "DELETE"
          | "ADD"
          | "COPY"
          | "MODIFY"
          | "MOVE"
  • ReadonlyRestConnectivitySummary: {
        errorMessage?: string;
        reachable?: boolean;
        roundTripTime?: number;
    }
    • Optional ReadonlyerrorMessage?: string
      Unable to connect to the node.
      
    • Optional Readonlyreachable?: boolean
      true
      
    • Optional ReadonlyroundTripTime?: number

      Format: int64

      100
      
  • ReadonlyRestCreateBranchRequest: {
        message?: string;
        name?: string;
        startPoint?: string;
    }
    • Optional Readonlymessage?: string
      This is my branch or tag
      
    • Optional Readonlyname?: string
      my-branch-or-tag
      
    • Optional ReadonlystartPoint?: string
      8d351a10fb428c0c1239530256e21cf24f136e73
      
  • ReadonlyRestCreateTagRequest: {
        message?: string;
        name?: string;
        startPoint?: string;
    }
    • Optional Readonlymessage?: string
      This is my branch or tag
      
    • Optional Readonlyname?: string
      my-branch-or-tag
      
    • Optional ReadonlystartPoint?: string
      8d351a10fb428c0c1239530256e21cf24f136e73
      
  • ReadonlyRestDefaultBranch: {
        id?: string;
    }
    • Optional Readonlyid?: string
  • ReadonlyRestDefaultReviewersRequest: {
        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;
            };
        };
    }
    • Optional ReadonlyrequiredApprovals?: number

      Format: int32

      1
      
    • Optional Readonlyreviewers?: readonly {
          active?: boolean;
          avatarUrl?: string;
          displayName?: string;
          emailAddress?: string;
          id?: number;
          links?: Record<string, unknown>;
          name?: string;
          slug?: string;
          type?: "NORMAL" | "SERVICE";
      }[]
    • Optional ReadonlysourceMatcher?: {
          displayId?: string;
          id?: string;
          type?: {
              id?:
                  | "BRANCH"
                  | "ANY_REF"
                  | "MODEL_BRANCH"
                  | "MODEL_CATEGORY"
                  | "PATTERN";
              name?: string;
          };
      }
      • Optional ReadonlydisplayId?: string
        main
        
      • Optional Readonlyid?: string
        refs/heads/main
        
      • Optional Readonlytype?: {
            id?:
                | "BRANCH"
                | "ANY_REF"
                | "MODEL_BRANCH"
                | "MODEL_CATEGORY"
                | "PATTERN";
            name?: string;
        }
        • Optional Readonlyid?:
              | "BRANCH"
              | "ANY_REF"
              | "MODEL_BRANCH"
              | "MODEL_CATEGORY"
              | "PATTERN"
        • Optional Readonlyname?: string
          Branch
          
    • Optional ReadonlytargetMatcher?: {
          displayId?: string;
          id?: string;
          type?: {
              id?:
                  | "BRANCH"
                  | "ANY_REF"
                  | "MODEL_BRANCH"
                  | "MODEL_CATEGORY"
                  | "PATTERN";
              name?: string;
          };
      }
      • Optional ReadonlydisplayId?: string
        main
        
      • Optional Readonlyid?: string
        refs/heads/main
        
      • Optional Readonlytype?: {
            id?:
                | "BRANCH"
                | "ANY_REF"
                | "MODEL_BRANCH"
                | "MODEL_CATEGORY"
                | "PATTERN";
            name?: string;
        }
        • Optional Readonlyid?:
              | "BRANCH"
              | "ANY_REF"
              | "MODEL_BRANCH"
              | "MODEL_CATEGORY"
              | "PATTERN"
        • Optional Readonlyname?: string
          Branch
          
  • ReadonlyRestDefaultTask: {
        description?: string;
        html?: string;
        id?: number;
    }
    • Optional Readonlydescription?: string
      Default task description
      
    • Optional Readonlyhtml?: string
    • Optional Readonlyid?: number

      Format: int64

      1
      
  • ReadonlyRestDefaultTaskRequest: {
        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;
            };
        };
    }
    • Optional Readonlydescription?: string
      Default task description
      
    • Optional ReadonlysourceMatcher?: {
          displayId?: string;
          id?: string;
          type?: {
              id?:
                  | "BRANCH"
                  | "ANY_REF"
                  | "MODEL_BRANCH"
                  | "MODEL_CATEGORY"
                  | "PATTERN";
              name?: string;
          };
      }
      • Optional ReadonlydisplayId?: string
        main
        
      • Optional Readonlyid?: string
        refs/heads/main
        
      • Optional Readonlytype?: {
            id?:
                | "BRANCH"
                | "ANY_REF"
                | "MODEL_BRANCH"
                | "MODEL_CATEGORY"
                | "PATTERN";
            name?: string;
        }
        • Optional Readonlyid?:
              | "BRANCH"
              | "ANY_REF"
              | "MODEL_BRANCH"
              | "MODEL_CATEGORY"
              | "PATTERN"
        • Optional Readonlyname?: string
          Branch
          
    • Optional ReadonlytargetMatcher?: {
          displayId?: string;
          id?: string;
          type?: {
              id?:
                  | "BRANCH"
                  | "ANY_REF"
                  | "MODEL_BRANCH"
                  | "MODEL_CATEGORY"
                  | "PATTERN";
              name?: string;
          };
      }
      • Optional ReadonlydisplayId?: string
        main
        
      • Optional Readonlyid?: string
        refs/heads/main
        
      • Optional Readonlytype?: {
            id?:
                | "BRANCH"
                | "ANY_REF"
                | "MODEL_BRANCH"
                | "MODEL_CATEGORY"
                | "PATTERN";
            name?: string;
        }
        • Optional Readonlyid?:
              | "BRANCH"
              | "ANY_REF"
              | "MODEL_BRANCH"
              | "MODEL_CATEGORY"
              | "PATTERN"
        • Optional Readonlyname?: string
          Branch
          
  • ReadonlyRestDeployment: {
        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<string, unknown>;
                name?: 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;
            };
            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;
        };
        state?:
            | "FAILED"
            | "SUCCESSFUL"
            | "IN_PROGRESS"
            | "PENDING"
            | "CANCELLED"
            | "UNKNOWN"
            | "ROLLED_BACK";
        toCommit?: {
            displayId?: string;
            id?: string;
        };
        url?: string;
    }
    • Optional ReadonlydeploymentSequenceNumber?: number

      Format: int64

      5
      
    • Optional Readonlydescription?: string
      Production and mirror environments
      
    • Optional ReadonlydisplayName?: string
      US East Mirror
      
    • Optional Readonlyenvironment?: {
          displayName: string;
          key: string;
          type?: string;
          url?: string;
      }
      • ReadonlydisplayName: string
        US East Mirror
        
      • Readonlykey: string
        us-east-mirror
        
      • Optional Readonlytype?: string
        production
        
      • Optional Readonlyurl?: string
        https://foo-bar.production/us-east
        
    • Optional ReadonlyfromCommit?: {
          displayId?: string;
          id?: string;
      }
      • Optional ReadonlydisplayId?: string
        abcdef0
        
      • Optional Readonlyid?: string
        abcdef0123abcdef4567abcdef8987abcdef6543
        
    • Optional Readonlykey?: string
      PROD-MIR
      
    • Optional ReadonlylastUpdated?: number

      Format: int64

      1449075920
      
    • Optional Readonlyrepository?: {
          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<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;
          };
          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;
      }
      • Optional Readonlyarchived?: boolean
      • Optional ReadonlydefaultBranch?: string
        main
        
      • Optional Readonlydescription?: string
        My repo description
        
      • Optional Readonlyforkable?: boolean
      • Optional ReadonlyhierarchyId?: string
        e3c939f9ef4a7fae272e
        
      • Optional Readonlyid?: number

        Format: int32

      • Optional Readonlylinks?: Record<string, unknown>
      • Optional Readonlyname?: string
        My repo
        
      • Optional Readonlyorigin?: {
            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<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;
        }
        • Optional Readonlyarchived?: boolean
        • Optional ReadonlydefaultBranch?: string
          main
          
        • Optional Readonlydescription?: string
          My repo description
          
        • Optional Readonlyforkable?: boolean
        • Optional ReadonlyhierarchyId?: string
          e3c939f9ef4a7fae272e
          
        • Optional Readonlyid?: number

          Format: int32

        • Optional Readonlylinks?: Record<string, unknown>
        • Optional Readonlyname?: string
          My repo
          
        • Optional Readonlypartition?: number

          Format: int32

        • Optional Readonlyproject?: {
              avatar?: string;
              avatarUrl?: string;
              description?: string;
              id?: number;
              key: string;
              links?: Record<string, unknown>;
              name?: string;
              public?: boolean;
              scope?: string;
              type?: "NORMAL" | "PERSONAL";
          }
          • Optional Readonlyavatar?: string
          • Optional ReadonlyavatarUrl?: string
          • Optional Readonlydescription?: string
            The description for my cool project
            
          • Optional Readonlyid?: number

            Format: int32

          • Readonlykey: string
            PRJ
            
          • Optional Readonlylinks?: Record<string, unknown>
          • Optional Readonlyname?: string
            My Cool Project
            
          • Optional Readonlypublic?: boolean
          • Optional Readonlyscope?: string
            PROJECT
            
          • Optional Readonlytype?: "NORMAL" | "PERSONAL"
        • Optional Readonlypublic?: boolean
        • Optional ReadonlyrelatedLinks?: Record<string, unknown>
        • Optional ReadonlyscmId?: string
          git
          
        • Optional Readonlyscope?: string
          REPOSITORY
          
        • Optional Readonlyslug?: string
          my-repo
          
        • Optional Readonlystate?:
              | "AVAILABLE"
              | "INITIALISATION_FAILED"
              | "INITIALISING"
              | "OFFLINE"
        • Optional ReadonlystatusMessage?: string
          Available
          
      • Optional Readonlypartition?: number

        Format: int32

      • Optional Readonlyproject?: {
            avatar?: string;
            avatarUrl?: string;
            description?: string;
            id?: number;
            key: string;
            links?: Record<string, unknown>;
            name?: string;
            public?: boolean;
            scope?: string;
            type?: "NORMAL" | "PERSONAL";
        }
        • Optional Readonlyavatar?: string
        • Optional ReadonlyavatarUrl?: string
        • Optional Readonlydescription?: string
          The description for my cool project
          
        • Optional Readonlyid?: number

          Format: int32

        • Readonlykey: string
          PRJ
          
        • Optional Readonlylinks?: Record<string, unknown>
        • Optional Readonlyname?: string
          My Cool Project
          
        • Optional Readonlypublic?: boolean
        • Optional Readonlyscope?: string
          PROJECT
          
        • Optional Readonlytype?: "NORMAL" | "PERSONAL"
      • Optional Readonlypublic?: boolean
      • Optional ReadonlyrelatedLinks?: Record<string, unknown>
      • Optional ReadonlyscmId?: string
        git
        
      • Optional Readonlyscope?: string
        REPOSITORY
        
      • Optional Readonlyslug?: string
        my-repo
        
      • Optional Readonlystate?:
            | "AVAILABLE"
            | "INITIALISATION_FAILED"
            | "INITIALISING"
            | "OFFLINE"
      • Optional ReadonlystatusMessage?: string
        Available
        
    • Optional Readonlystate?:
          | "FAILED"
          | "SUCCESSFUL"
          | "IN_PROGRESS"
          | "PENDING"
          | "CANCELLED"
          | "UNKNOWN"
          | "ROLLED_BACK"
    • Optional ReadonlytoCommit?: {
          displayId?: string;
          id?: string;
      }
      • Optional ReadonlydisplayId?: string
        abcdef0
        
      • Optional Readonlyid?: string
        abcdef0123abcdef4567abcdef8987abcdef6543
        
    • Optional Readonlyurl?: string
      http://example.ci.org/projects/PROJ/deploy/mirror-deploy/100
      
  • ReadonlyRestDeploymentEnvironment: {
        displayName?: string;
        key?: string;
        type?: string;
        url?: string;
    }
    • Optional ReadonlydisplayName?: string
      US East Mirror
      
    • Optional Readonlykey?: string
      us-east-mirror
      
    • Optional Readonlytype?: string
      production
      
    • Optional Readonlyurl?: string
      https://foo-bar.production/us-east
      
  • ReadonlyRestDeploymentSetRequest: {
        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"
            | "CANCELLED"
            | "UNKNOWN"
            | "ROLLED_BACK";
        url: string;
    }
    • ReadonlydeploymentSequenceNumber: number

      Format: int64

      2
      
    • Readonlydescription: string
      2nd deployment of commit 44bca31f4be to US East production
      
    • ReadonlydisplayName: string
      US East marketing website production
      
    • Readonlyenvironment: {
          displayName?: string;
          key?: string;
          type?: string;
          url?: string;
      }
      • Optional ReadonlydisplayName?: string
        US East Mirror
        
      • Optional Readonlykey?: string
        us-east-mirror
        
      • Optional Readonlytype?: string
        production
        
      • Optional Readonlyurl?: string
        https://foo-bar.production/us-east
        
    • Readonlykey: string
      marketing-us-prod
      
    • Optional ReadonlylastUpdated?: number

      Format: int64

      1359075920
      
    • Readonlystate:
          | "FAILED"
          | "SUCCESSFUL"
          | "IN_PROGRESS"
          | "PENDING"
          | "CANCELLED"
          | "UNKNOWN"
          | "ROLLED_BACK"
      SUCCESSFUL
      @enum {string}
    • Readonlyurl: string
      https://my-dep-tool/marketing-us-prod/2
      
  • ReadonlyRestDetailedGroup: {
        deletable?: boolean;
        name?: string;
    }
    • Optional Readonlydeletable?: boolean
    • Optional Readonlyname?: string
      group-a
      
  • ReadonlyRestDetailedInvocation: {
        duration?: number;
        event?: string;
        eventScope?: {
            id?: string;
            type?: string;
        };
        finish?: number;
        id?: number;
        request?: Record<string, unknown>;
        result?: Record<string, unknown>;
        start?: number;
    }
    • Optional Readonlyduration?: number

      Format: int32

    • Optional Readonlyevent?: string
    • Optional ReadonlyeventScope?: {
          id?: string;
          type?: string;
      }
      • Optional Readonlyid?: string
      • Optional Readonlytype?: string
    • Optional Readonlyfinish?: number

      Format: int32

    • Optional Readonlyid?: number

      Format: int32

    • Optional Readonlyrequest?: Record<string, unknown>
    • Optional Readonlyresult?: Record<string, unknown>
    • Optional Readonlystart?: number

      Format: int32

  • ReadonlyRestDetailedUser: {
        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";
    }
    • Optional Readonlyactive?: boolean
    • Optional ReadonlyavatarUrl?: string
    • Optional Readonlydeletable?: boolean
    • Optional ReadonlydirectoryName?: string
      Bitbucket Internal Directory
      
    • Optional ReadonlydisplayName?: string
      Jane Citizen
      
    • Optional ReadonlyemailAddress?: string
      jane@example.com
      
    • Optional Readonlyid?: number

      Format: int32

      101
      
    • Optional ReadonlylastAuthenticationTimestamp?: number
      1368145580548
      
    • Optional Readonlylinks?: Record<string, unknown>
    • Optional ReadonlymutableDetails?: boolean
    • Optional ReadonlymutableGroups?: boolean
    • Optional Readonlyname?: string
      jcitizen
      
    • Optional Readonlyslug?: string
      jcitizen
      
    • Optional Readonlytype?: "NORMAL" | "SERVICE"
  • ReadonlyRestDiff: {
        binary?: boolean;
        destination?: {
            components?: readonly string[];
            extension?: string;
            name?: string;
            parent?: string;
        };
        hunks?: readonly {
            context?: string;
            destinationLine?: number;
            destinationSpan?: number;
            segments?: readonly {
                lines?: readonly {
                    commentIds?: ...;
                    conflictMarker?: ...;
                    destination?: ...;
                    line?: ...;
                    source?: ...;
                    truncated?: ...;
                }[];
                truncated?: boolean;
                type?: "ADDED" | "CONTEXT" | "REMOVED";
            }[];
            sourceLine?: number;
            sourceSpan?: number;
            truncated?: boolean;
        }[];
        lineComments?: readonly {
            anchor?: {
                diffType?: "COMMIT" | "EFFECTIVE" | "RANGE";
                fileType?: "FROM" | "TO";
                fromHash?: string;
                line?: number;
                lineComment?: boolean;
                lineType?: "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 lineComment?: boolean; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }[] | undefined;
            createdDate?: number;
            html?: string;
            id?: number;
            parent?: {
                anchor?: {
                    diffType?: "COMMIT" | "EFFECTIVE" | "RANGE";
                    fileType?: "FROM" | "TO";
                    fromHash?: string;
                    line?: number;
                    lineComment?: boolean;
                    lineType?: "ADDED" | "CONTEXT" | "REMOVED";
                    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 lineComment?: boolean; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }[] | undefined;
                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;
        }[];
        properties?: Record<string, unknown>;
        source?: {
            components?: readonly string[];
            extension?: string;
            name?: string;
            parent?: string;
        };
        truncated?: boolean;
    }
    • Optional Readonlybinary?: boolean
    • Optional Readonlydestination?: {
          components?: readonly string[];
          extension?: string;
          name?: string;
          parent?: string;
      }
      • Optional Readonlycomponents?: readonly string[]
        [
        "path",
        "to",
        "file.txt"
        ]
      • Optional Readonlyextension?: string
        txt
        
      • Optional Readonlyname?: string
        file.txt
        
      • Optional Readonlyparent?: string
        path/to
        
    • Optional Readonlyhunks?: readonly {
          context?: string;
          destinationLine?: number;
          destinationSpan?: number;
          segments?: readonly {
              lines?: readonly {
                  commentIds?: ...;
                  conflictMarker?: ...;
                  destination?: ...;
                  line?: ...;
                  source?: ...;
                  truncated?: ...;
              }[];
              truncated?: boolean;
              type?: "ADDED" | "CONTEXT" | "REMOVED";
          }[];
          sourceLine?: number;
          sourceSpan?: number;
          truncated?: boolean;
      }[]
    • Optional ReadonlylineComments?: readonly {
          anchor?: {
              diffType?: "COMMIT" | "EFFECTIVE" | "RANGE";
              fileType?: "FROM" | "TO";
              fromHash?: string;
              line?: number;
              lineComment?: boolean;
              lineType?: "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 lineComment?: boolean; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }[] | undefined;
          createdDate?: number;
          html?: string;
          id?: number;
          parent?: {
              anchor?: {
                  diffType?: "COMMIT" | "EFFECTIVE" | "RANGE";
                  fileType?: "FROM" | "TO";
                  fromHash?: string;
                  line?: number;
                  lineComment?: boolean;
                  lineType?: "ADDED" | "CONTEXT" | "REMOVED";
                  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 lineComment?: boolean; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }[] | undefined;
              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;
      }[]
    • Optional Readonlyproperties?: Record<string, unknown>
    • Optional Readonlysource?: {
          components?: readonly string[];
          extension?: string;
          name?: string;
          parent?: string;
      }
      • Optional Readonlycomponents?: readonly string[]
        [
        "path",
        "to",
        "file.txt"
        ]
      • Optional Readonlyextension?: string
        txt
        
      • Optional Readonlyname?: string
        file.txt
        
      • Optional Readonlyparent?: string
        path/to
        
    • Optional Readonlytruncated?: boolean
  • ReadonlyRestDiffHunk: {
        context?: string;
        destinationLine?: number;
        destinationSpan?: number;
        segments?: readonly {
            lines?: readonly {
                commentIds?: readonly number[];
                conflictMarker?: "MARKER" | "OURS" | "THEIRS";
                destination?: number;
                line?: string;
                source?: number;
                truncated?: boolean;
            }[];
            truncated?: boolean;
            type?: "ADDED" | "CONTEXT" | "REMOVED";
        }[];
        sourceLine?: number;
        sourceSpan?: number;
        truncated?: boolean;
    }
    • Optional Readonlycontext?: string
    • Optional ReadonlydestinationLine?: number

      Format: int32

    • Optional ReadonlydestinationSpan?: number

      Format: int32

    • Optional Readonlysegments?: readonly {
          lines?: readonly {
              commentIds?: readonly number[];
              conflictMarker?: "MARKER" | "OURS" | "THEIRS";
              destination?: number;
              line?: string;
              source?: number;
              truncated?: boolean;
          }[];
          truncated?: boolean;
          type?: "ADDED" | "CONTEXT" | "REMOVED";
      }[]
    • Optional ReadonlysourceLine?: number

      Format: int32

    • Optional ReadonlysourceSpan?: number

      Format: int32

    • Optional Readonlytruncated?: boolean
  • ReadonlyRestDiffLine: {
        commentIds?: readonly number[];
        conflictMarker?: "MARKER" | "OURS" | "THEIRS";
        destination?: number;
        line?: string;
        source?: number;
        truncated?: boolean;
    }
    • Optional ReadonlycommentIds?: readonly number[]
    • Optional ReadonlyconflictMarker?: "MARKER" | "OURS" | "THEIRS"
    • Optional Readonlydestination?: number

      Format: int32

    • Optional Readonlyline?: string
    • Optional Readonlysource?: number

      Format: int32

    • Optional Readonlytruncated?: boolean
  • ReadonlyRestDiffSegment: {
        lines?: readonly {
            commentIds?: readonly number[];
            conflictMarker?: "MARKER" | "OURS" | "THEIRS";
            destination?: number;
            line?: string;
            source?: number;
            truncated?: boolean;
        }[];
        truncated?: boolean;
        type?: "ADDED" | "CONTEXT" | "REMOVED";
    }
    • Optional Readonlylines?: readonly {
          commentIds?: readonly number[];
          conflictMarker?: "MARKER" | "OURS" | "THEIRS";
          destination?: number;
          line?: string;
          source?: number;
          truncated?: boolean;
      }[]
    • Optional Readonlytruncated?: boolean
    • Optional Readonlytype?: "ADDED" | "CONTEXT" | "REMOVED"
  • ReadonlyRestDiffStatsSummary: unknown
  • ReadonlyRestEmoticon: {
        shortcut?: string;
        url?: string;
        value?: string;
    }
    • Optional Readonlyshortcut?: string
    • Optional Readonlyurl?: string
    • Optional Readonlyvalue?: string
  • ReadonlyRestEnhancedEntityLink: {
        applicationLinkId?: string;
        displayUrl?: string;
        projectId?: number;
        projectKey?: string;
        projectName?: string;
    }
    • Optional ReadonlyapplicationLinkId?: string
      a1b54cs4wsd45
      
    • Optional ReadonlydisplayUrl?: string
      example.com/jira
      
    • Optional ReadonlyprojectId?: number

      Format: int64

      10000
      
    • Optional ReadonlyprojectKey?: string
      MPROJ
      
    • Optional ReadonlyprojectName?: string
      My Project
      
  • ReadonlyRestErasedUser: {
        newIdentifier?: string;
    }
    • Optional ReadonlynewIdentifier?: string
      user-123ab
      
  • ReadonlyRestErrorMessage: {
        context?: string;
        exceptionName?: string;
        message?: string;
    }
    • Optional Readonlycontext?: string
    • Optional ReadonlyexceptionName?: string
    • Optional Readonlymessage?: string
  • ReadonlyRestErrors: {
        errors?: readonly {
            context?: string;
            exceptionName?: string;
            message?: string;
        }[];
    }
    • Optional Readonlyerrors?: readonly {
          context?: string;
          exceptionName?: string;
          message?: string;
      }[]
  • ReadonlyRestExportRequest: {
        exportLocation?: string;
        repositoriesRequest: {
            includes: readonly {
                projectKey?: string;
                slug?: string;
            }[];
        };
    }
    • Optional ReadonlyexportLocation?: string
      example/sub/directory
      
    • ReadonlyrepositoriesRequest: {
          includes: readonly {
              projectKey?: string;
              slug?: string;
          }[];
      }
      • Readonlyincludes: readonly {
            projectKey?: string;
            slug?: string;
        }[]
  • ReadonlyRestFarmSynchronizationRequest: {
        attempt?: number;
        createdAt?: string;
        externalRepoId?: string;
        type?: "incremental" | "snapshot";
    }
    • Optional Readonlyattempt?: number

      Format: int32

      1
      
    • Optional ReadonlycreatedAt?: string
      2022-08-18T02:04:46.435Z
      
    • Optional ReadonlyexternalRepoId?: string
      1
      
    • Optional Readonlytype?: "incremental" | "snapshot"
      INCREMENTAL
      @enum {string}
  • ReadonlyRestGitTagCreateRequest: {
        force?: boolean;
        message?: string;
        name?: string;
        startPoint?: string;
        type?: "ANNOTATED" | "LIGHTWEIGHT";
    }
    • Optional Readonlyforce?: boolean
    • Optional Readonlymessage?: string
      A new release tag
      
    • Optional Readonlyname?: string
      release-tag
      
    • Optional ReadonlystartPoint?: string
      refs/heads/master
      
    • Optional Readonlytype?: "ANNOTATED" | "LIGHTWEIGHT"
  • ReadonlyRestGpgKey: {
        emailAddress?: string;
        expiryDate?: number;
        fingerprint?: string;
        id?: string;
        subKeys?: readonly {
            expiryDate?: string;
            fingerprint?: string;
        }[];
        text?: string;
    }
    • Optional ReadonlyemailAddress?: string
      bitbucket@example.com
      
    • Optional ReadonlyexpiryDate?: number

      Format: int64

      61550496000000
      
    • Optional Readonlyfingerprint?: string
      43:51:43:a1:b5:fc:8b:b7:0a:3a:a9:b1:0f:66:73:a8
      
    • Optional Readonlyid?: string
      00000000000004d2
      
    • Optional ReadonlysubKeys?: readonly {
          expiryDate?: string;
          fingerprint?: string;
      }[]
      []
      
    • Optional Readonlytext?: string
      -----BEGIN PGP SIGNATURE-----

      iQEzBAABCAAdFiEEM8MrWnoxlp3K1lFY5BMGiWNefn4FAlkqKE4ACgkQ5BMGiWNe
      fn6/kggAyzKhDDqdVb3Rq02hiSqeqKa1JuKRqDmzIpa6Pxa+1CpCnxwaIVrGgIii
      vj0ZNJzL1Bm2xm0JasotJDiZq5pFKi0FfQ0WmskuhsW1VY/f08TltHpHvK2kHVRr
      GEMVDUb0nj0I7Duc8XTipiYoDGS1GvydNR/bu3SsFTcZyapXirQcTCRT6/Sn0/IP
      pUeIwQo1qK4e8gTOhWhfWEiVig39lQhiZFtm5S/vfAY72/Rgp68zMYmwasMSnBgF
      /LLFW6lXAqZIoAP8AnmsMRjCH6mS98+/lxKq2+K71+2YUUIAnNEeO09Lufo3B3Da
      Pbs7BpD28w4lKlzb2EQ0n0C9rrxdPA==
      =VZpm
      -----END PGP SIGNATURE-----
  • ReadonlyRestGpgSubKey: {
        expiryDate?: string;
        fingerprint?: string;
    }
    • Optional ReadonlyexpiryDate?: string

      Format: date-time

    • Optional Readonlyfingerprint?: string
  • ReadonlyRestHookScript: {
        createdDate?: string;
        description?: string;
        id?: number;
        name?: string;
        pluginKey?: string;
        type?: "POST" | "PRE";
        updatedDate?: string;
        version?: number;
    }
    • Optional ReadonlycreatedDate?: string

      Format: date-time

    • Optional Readonlydescription?: string
    • Optional Readonlyid?: number

      Format: int64

    • Optional Readonlyname?: string
    • Optional ReadonlypluginKey?: string
    • Optional Readonlytype?: "POST" | "PRE"
    • Optional ReadonlyupdatedDate?: string

      Format: date-time

    • Optional Readonlyversion?: number

      Format: int32

  • ReadonlyRestHookScriptConfig: {
        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[];
    }
    • Optional Readonlyscope?: {
          resourceId?: number;
          type?: "GLOBAL" | "PROJECT" | "REPOSITORY";
      }
      • Optional ReadonlyresourceId?: number

        Format: int32

        2
        
      • Optional Readonlytype?: "GLOBAL" | "PROJECT" | "REPOSITORY"
    • Optional Readonlyscript?: {
          createdDate?: string;
          description?: string;
          id?: number;
          name?: string;
          pluginKey?: string;
          type?: "POST" | "PRE";
          updatedDate?: string;
          version?: number;
      }
      • Optional ReadonlycreatedDate?: string

        Format: date-time

      • Optional Readonlydescription?: string
      • Optional Readonlyid?: number

        Format: int64

      • Optional Readonlyname?: string
      • Optional ReadonlypluginKey?: string
      • Optional Readonlytype?: "POST" | "PRE"
      • Optional ReadonlyupdatedDate?: string

        Format: date-time

      • Optional Readonlyversion?: number

        Format: int32

    • Optional ReadonlytriggerIds?: readonly string[]
  • ReadonlyRestHookScriptTriggers: {
        triggerIds?: readonly string[];
    }
    • Optional ReadonlytriggerIds?: readonly string[]
  • ReadonlyRestImportRequest: {
        archivePath?: string;
    }
    • Optional ReadonlyarchivePath?: string
      Bitbucket_export_1.tar
      
  • ReadonlyRestInsightAnnotation: {
        externalId?: string;
        line?: number;
        link?: string;
        message?: string;
        path?: string;
        reportKey?: string;
        severity?: string;
        type?: string;
    }
    • Optional ReadonlyexternalId?: string
      external.id
      
    • Optional Readonlyline?: number

      Format: int32

      5
      
    • Optional Readonlylink?: string
      http://example.com/my/file/analysis?line=5
      
    • Optional Readonlymessage?: string
      This is an annotation message
      
    • Optional Readonlypath?: string
      src/some/structure/file.ext
      
    • Optional ReadonlyreportKey?: string
      report.key
      
    • Optional Readonlyseverity?: string
      HIGH
      
    • Optional Readonlytype?: string
      BUG
      
  • ReadonlyRestInsightAnnotationsResponse: {
        annotations?: readonly {
            externalId?: string;
            line?: number;
            link?: string;
            message?: string;
            path?: string;
            reportKey?: string;
            severity?: string;
            type?: string;
        }[];
    }
    • Optional Readonlyannotations?: readonly {
          externalId?: string;
          line?: number;
          link?: string;
          message?: string;
          path?: string;
          reportKey?: string;
          severity?: string;
          type?: string;
      }[]
  • ReadonlyRestInsightReport: {
        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;
    }
    • Optional ReadonlycreatedDate?: number
      1630041546433
      
    • Optional Readonlydata?: readonly {
          title?: string;
          type?: string;
          value?: Record<string, unknown>;
      }[]
    • Optional Readonlydetails?: string
      This is the details of the report, it can be a longer string describing the report
      
    • Optional Readonlykey?: string
      report.key
      
    • Optional Readonlylink?: string

      Format: uri

      http://integration.example.com
      
    • Optional ReadonlylogoUrl?: string

      Format: uri

      http://integration.example.com/logo
      
    • Optional Readonlyreporter?: string
      Reporter/tool that produced this report
      
    • Optional Readonlyresult?: "FAIL" | "PASS"
      PASS
      @enum {string}
    • Optional Readonlytitle?: string
      report.title
      
  • ReadonlyRestInsightReportData: {
        title?: string;
        type?: string;
        value?: Record<string, unknown>;
    }
    • Optional Readonlytitle?: string
      data.title
      
    • Optional Readonlytype?: string
      NUMBER
      
    • Optional Readonlyvalue?: Record<string, unknown>
      9
      
  • ReadonlyRestInvocationHistory: unknown
  • ReadonlyRestInvocationRequest: unknown
  • ReadonlyRestInvocationResult: unknown
  • ReadonlyRestJiraIssue: {
        key?: string;
        url?: string;
    }
    • Optional Readonlykey?: string
      JRA-9
      
    • Optional Readonlyurl?: string
      https://jira.atlassian.com/browse/JRA-9
      
  • ReadonlyRestJob: {
        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;
    }
    • Optional ReadonlyendDate?: number

      Format: int64

      1497657603000
      
    • Optional Readonlyid?: number

      Format: int64

      1
      
    • Optional Readonlyinitiator?: {
          active?: boolean;
          avatarUrl?: string;
          displayName?: string;
          emailAddress?: string;
          id?: number;
          links?: Record<string, unknown>;
          name?: string;
          slug?: string;
          type?: "NORMAL" | "SERVICE";
      }
      • Optional Readonlyactive?: boolean
      • Optional ReadonlyavatarUrl?: string
      • Optional ReadonlydisplayName?: string
        Jane Citizen
        
      • Optional ReadonlyemailAddress?: string
        jane@example.com
        
      • Optional Readonlyid?: number

        Format: int32

        101
        
      • Optional Readonlylinks?: Record<string, unknown>
      • Optional Readonlyname?: string
        jcitizen
        
      • Optional Readonlyslug?: string
        jcitizen
        
      • Optional Readonlytype?: "NORMAL" | "SERVICE"
    • Optional ReadonlynodeId?: string
      1bec7499-077a-4b58-b27c-996a9c2187a4
      
    • Optional Readonlyprogress?: {
          message?: string;
          percentage?: number;
      }
      • Optional Readonlymessage?: string
        Working on it...
        
      • Optional Readonlypercentage?: number

        Format: int32

        42
        
    • Optional ReadonlystartDate?: number

      Format: int64

      1497657601000
      
    • Optional Readonlystate?:
          | "FAILED"
          | "COMPLETED"
          | "RUNNING"
          | "READY"
          | "INITIALISING"
          | "ABORTED"
          | "CANCELED"
          | "CANCELING"
          | "FINALISING"
          | "TIMED_OUT"
    • Optional Readonlytype?: string
      com.atlassian.bitbucket.migration.export
      
    • Optional ReadonlyupdatedDate?: number

      Format: int64

      1497657603000
      
  • ReadonlyRestJobMessage: {
        createdDate?: string;
        id?: string;
        severity?: "ERROR" | "INFO" | "WARN";
        subject?: string;
        text?: string;
    }
    • Optional ReadonlycreatedDate?: string

      Format: date-time

    • Optional Readonlyid?: string
      617
      
    • Optional Readonlyseverity?: "ERROR" | "INFO" | "WARN"
    • Optional Readonlysubject?: string
      job
      
    • Optional Readonlytext?: string
      Something of interest happened
      
  • ReadonlyRestLabel: {
        name?: string;
    }
    • Optional Readonlyname?: string
      labelName
      
  • ReadonlyRestLabelable: {
        archived?: boolean;
        defaultBranch?: string;
        description?: string;
        forkable?: boolean;
        hierarchyId?: string;
        id?: number;
        labelableType?: "REPOSITORY";
        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<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;
        };
        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;
    }
    • Optional Readonlyarchived?: boolean
    • Optional ReadonlydefaultBranch?: string
      main
      
    • Optional Readonlydescription?: string
      My repo description
      
    • Optional Readonlyforkable?: boolean
    • Optional ReadonlyhierarchyId?: string
      e3c939f9ef4a7fae272e
      
    • Optional Readonlyid?: number

      Format: int32

    • Optional ReadonlylabelableType?: "REPOSITORY"
    • Optional Readonlylinks?: Record<string, unknown>
    • Optional Readonlyname?: string
      My repo
      
    • Optional Readonlyorigin?: {
          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<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;
      }
      • Optional Readonlyarchived?: boolean
      • Optional ReadonlydefaultBranch?: string
        main
        
      • Optional Readonlydescription?: string
        My repo description
        
      • Optional Readonlyforkable?: boolean
      • Optional ReadonlyhierarchyId?: string
        e3c939f9ef4a7fae272e
        
      • Optional Readonlyid?: number

        Format: int32

      • Optional Readonlylinks?: Record<string, unknown>
      • Optional Readonlyname?: string
        My repo
        
      • Optional Readonlypartition?: number

        Format: int32

      • Optional Readonlyproject?: {
            avatar?: string;
            avatarUrl?: string;
            description?: string;
            id?: number;
            key: string;
            links?: Record<string, unknown>;
            name?: string;
            public?: boolean;
            scope?: string;
            type?: "NORMAL" | "PERSONAL";
        }
        • Optional Readonlyavatar?: string
        • Optional ReadonlyavatarUrl?: string
        • Optional Readonlydescription?: string
          The description for my cool project
          
        • Optional Readonlyid?: number

          Format: int32

        • Readonlykey: string
          PRJ
          
        • Optional Readonlylinks?: Record<string, unknown>
        • Optional Readonlyname?: string
          My Cool Project
          
        • Optional Readonlypublic?: boolean
        • Optional Readonlyscope?: string
          PROJECT
          
        • Optional Readonlytype?: "NORMAL" | "PERSONAL"
      • Optional Readonlypublic?: boolean
      • Optional ReadonlyrelatedLinks?: Record<string, unknown>
      • Optional ReadonlyscmId?: string
        git
        
      • Optional Readonlyscope?: string
        REPOSITORY
        
      • Optional Readonlyslug?: string
        my-repo
        
      • Optional Readonlystate?:
            | "AVAILABLE"
            | "INITIALISATION_FAILED"
            | "INITIALISING"
            | "OFFLINE"
      • Optional ReadonlystatusMessage?: string
        Available
        
    • Optional Readonlypartition?: number

      Format: int32

    • Optional Readonlyproject?: {
          avatar?: string;
          avatarUrl?: string;
          description?: string;
          id?: number;
          key: string;
          links?: Record<string, unknown>;
          name?: string;
          public?: boolean;
          scope?: string;
          type?: "NORMAL" | "PERSONAL";
      }
      • Optional Readonlyavatar?: string
      • Optional ReadonlyavatarUrl?: string
      • Optional Readonlydescription?: string
        The description for my cool project
        
      • Optional Readonlyid?: number

        Format: int32

      • Readonlykey: string
        PRJ
        
      • Optional Readonlylinks?: Record<string, unknown>
      • Optional Readonlyname?: string
        My Cool Project
        
      • Optional Readonlypublic?: boolean
      • Optional Readonlyscope?: string
        PROJECT
        
      • Optional Readonlytype?: "NORMAL" | "PERSONAL"
    • Optional Readonlypublic?: boolean
    • Optional ReadonlyrelatedLinks?: Record<string, unknown>
    • Optional ReadonlyscmId?: string
      git
      
    • Optional Readonlyscope?: string
      REPOSITORY
      
    • Optional Readonlyslug?: string
      my-repo
      
    • Optional Readonlystate?:
          | "AVAILABLE"
          | "INITIALISATION_FAILED"
          | "INITIALISING"
          | "OFFLINE"
    • Optional ReadonlystatusMessage?: string
      Available
      
  • ReadonlyRestLogLevel: {
        logLevel?: string;
    }
    • Optional ReadonlylogLevel?: string
      DEBUG
      
  • ReadonlyRestMailConfiguration: {
        hostname?: string;
        password?: string;
        port?: number;
        protocol?: "SMTP" | "SMTPS";
        requireStartTls?: boolean;
        senderAddress?: string;
        username?: string;
        useStartTls?: boolean;
    }
    • Optional Readonlyhostname?: string
      smtp.example.com
      
    • Optional Readonlypassword?: string
      password
      
    • Optional Readonlyport?: number

      Format: int32

      465
      
    • Optional Readonlyprotocol?: "SMTP" | "SMTPS"
    • Optional ReadonlyrequireStartTls?: boolean
    • Optional ReadonlysenderAddress?: string
      stash-no-reply@company.com
      
    • Optional Readonlyusername?: string
      user
      
    • Optional ReadonlyuseStartTls?: boolean
  • ReadonlyRestMarkup: {
        html?: string;
    }
    • Optional Readonlyhtml?: string
      <h1>Hello World!</h1>
      
  • ReadonlyRestMeshConnectivityReport: {
        reports?: readonly {
            node?: {
                id?: string;
                name?: string;
                type?: "BITBUCKET" | "MESH";
            };
            summaries?: readonly {
                node?: {
                    id?: (...) | (...);
                    name?: (...) | (...);
                    type?: (...) | (...) | (...);
                };
                summary?: {
                    errorMessage?: (...) | (...);
                    reachable?: (...) | (...) | (...);
                    roundTripTime?: (...) | (...);
                };
            }[];
        }[];
    }
    • Optional Readonlyreports?: readonly {
          node?: {
              id?: string;
              name?: string;
              type?: "BITBUCKET" | "MESH";
          };
          summaries?: readonly {
              node?: {
                  id?: (...) | (...);
                  name?: (...) | (...);
                  type?: (...) | (...) | (...);
              };
              summary?: {
                  errorMessage?: (...) | (...);
                  reachable?: (...) | (...) | (...);
                  roundTripTime?: (...) | (...);
              };
          }[];
      }[]
  • ReadonlyRestMeshMigrationQueueStateCounts: unknown
  • ReadonlyRestMeshMigrationRequest: {
        all?: boolean;
        maxBytesPerSecond?: {
            asLong?: number;
            present?: boolean;
        };
        projectIds?: readonly number[];
        repositoryIds?: readonly number[];
    }
    • Optional Readonlyall?: boolean
    • Optional ReadonlymaxBytesPerSecond?: {
          asLong?: number;
          present?: boolean;
      }
      • Optional ReadonlyasLong?: number

        Format: int64

      • Optional Readonlypresent?: boolean
    • Optional ReadonlyprojectIds?: readonly number[]
    • Optional ReadonlyrepositoryIds?: readonly number[]
  • ReadonlyRestMeshMigrationSummary: {
        endTime?: number;
        jobId?: number;
        maxBandwidth?: number;
        progress?: number;
        queue?: Record<string, unknown>;
        startTime?: number;
        state?: string;
    }
    • Optional ReadonlyendTime?: number

      Format: int64

      1331038800000
      
    • Optional ReadonlyjobId?: number

      Format: int64

    • Optional ReadonlymaxBandwidth?: number

      Format: int64

    • Optional Readonlyprogress?: number

      Format: int32

      53
      
    • Optional Readonlyqueue?: Record<string, unknown>
    • Optional ReadonlystartTime?: number

      Format: int64

      1331038800000
      
    • Optional Readonlystate?: string
      RUNNING
      
  • ReadonlyRestMeshNode: {
        id?: string;
        lastSeenDate?: number;
        name?: string;
        offline?: boolean;
        rpcId?: string;
        rpcUrl?: string;
        state?:
            | "AVAILABLE"
            | "OFFLINE"
            | "DELETING"
            | "DISABLED"
            | "DRAINING";
    }
    • Optional Readonlyid?: string
      1
      
    • Optional ReadonlylastSeenDate?: number
      1630041546433
      
    • Optional Readonlyname?: string
      My node
      
    • Optional Readonlyoffline?: boolean
      false
      
    • Optional ReadonlyrpcId?: string
      1
      
    • Optional ReadonlyrpcUrl?: string
      http://127.0.0.1:7999
      
    • Optional Readonlystate?:
          | "AVAILABLE"
          | "OFFLINE"
          | "DELETING"
          | "DISABLED"
          | "DRAINING"
      AVAILABLE
      @enum {string}
  • ReadonlyRestMigrationRepository: {
        migrationState?:
            | "FAILED"
            | "SKIPPED"
            | "CANCELED"
            | "MIGRATED"
            | "QUEUED"
            | "STAGED"
            | "STAGING";
        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<string, unknown>;
                name?: 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;
            };
            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;
        };
    }
    • Optional ReadonlymigrationState?:
          | "FAILED"
          | "SKIPPED"
          | "CANCELED"
          | "MIGRATED"
          | "QUEUED"
          | "STAGED"
          | "STAGING"
    • Optional Readonlyrepository?: {
          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<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;
          };
          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;
      }
      • Optional Readonlyarchived?: boolean
      • Optional ReadonlydefaultBranch?: string
        main
        
      • Optional Readonlydescription?: string
        My repo description
        
      • Optional Readonlyforkable?: boolean
      • Optional ReadonlyhierarchyId?: string
        e3c939f9ef4a7fae272e
        
      • Optional Readonlyid?: number

        Format: int32

      • Optional Readonlylinks?: Record<string, unknown>
      • Optional Readonlyname?: string
        My repo
        
      • Optional Readonlyorigin?: {
            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<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;
        }
        • Optional Readonlyarchived?: boolean
        • Optional ReadonlydefaultBranch?: string
          main
          
        • Optional Readonlydescription?: string
          My repo description
          
        • Optional Readonlyforkable?: boolean
        • Optional ReadonlyhierarchyId?: string
          e3c939f9ef4a7fae272e
          
        • Optional Readonlyid?: number

          Format: int32

        • Optional Readonlylinks?: Record<string, unknown>
        • Optional Readonlyname?: string
          My repo
          
        • Optional Readonlypartition?: number

          Format: int32

        • Optional Readonlyproject?: {
              avatar?: string;
              avatarUrl?: string;
              description?: string;
              id?: number;
              key: string;
              links?: Record<string, unknown>;
              name?: string;
              public?: boolean;
              scope?: string;
              type?: "NORMAL" | "PERSONAL";
          }
          • Optional Readonlyavatar?: string
          • Optional ReadonlyavatarUrl?: string
          • Optional Readonlydescription?: string
            The description for my cool project
            
          • Optional Readonlyid?: number

            Format: int32

          • Readonlykey: string
            PRJ
            
          • Optional Readonlylinks?: Record<string, unknown>
          • Optional Readonlyname?: string
            My Cool Project
            
          • Optional Readonlypublic?: boolean
          • Optional Readonlyscope?: string
            PROJECT
            
          • Optional Readonlytype?: "NORMAL" | "PERSONAL"
        • Optional Readonlypublic?: boolean
        • Optional ReadonlyrelatedLinks?: Record<string, unknown>
        • Optional ReadonlyscmId?: string
          git
          
        • Optional Readonlyscope?: string
          REPOSITORY
          
        • Optional Readonlyslug?: string
          my-repo
          
        • Optional Readonlystate?:
              | "AVAILABLE"
              | "INITIALISATION_FAILED"
              | "INITIALISING"
              | "OFFLINE"
        • Optional ReadonlystatusMessage?: string
          Available
          
      • Optional Readonlypartition?: number

        Format: int32

      • Optional Readonlyproject?: {
            avatar?: string;
            avatarUrl?: string;
            description?: string;
            id?: number;
            key: string;
            links?: Record<string, unknown>;
            name?: string;
            public?: boolean;
            scope?: string;
            type?: "NORMAL" | "PERSONAL";
        }
        • Optional Readonlyavatar?: string
        • Optional ReadonlyavatarUrl?: string
        • Optional Readonlydescription?: string
          The description for my cool project
          
        • Optional Readonlyid?: number

          Format: int32

        • Readonlykey: string
          PRJ
          
        • Optional Readonlylinks?: Record<string, unknown>
        • Optional Readonlyname?: string
          My Cool Project
          
        • Optional Readonlypublic?: boolean
        • Optional Readonlyscope?: string
          PROJECT
          
        • Optional Readonlytype?: "NORMAL" | "PERSONAL"
      • Optional Readonlypublic?: boolean
      • Optional ReadonlyrelatedLinks?: Record<string, unknown>
      • Optional ReadonlyscmId?: string
        git
        
      • Optional Readonlyscope?: string
        REPOSITORY
        
      • Optional Readonlyslug?: string
        my-repo
        
      • Optional Readonlystate?:
            | "AVAILABLE"
            | "INITIALISATION_FAILED"
            | "INITIALISING"
            | "OFFLINE"
      • Optional ReadonlystatusMessage?: string
        Available
        
  • ReadonlyRestMinimalCommit: {
        displayId?: string;
        id?: string;
    }
    • Optional ReadonlydisplayId?: string
      abcdef0
      
    • Optional Readonlyid?: string
      abcdef0123abcdef4567abcdef8987abcdef6543
      
  • ReadonlyRestMinimalRef: {
        displayId?: string;
        id?: string;
        type?: "BRANCH" | "TAG";
    }
    • Optional ReadonlydisplayId?: string
      master
      
    • Optional Readonlyid?: string
      refs/heads/master
      
    • Optional Readonlytype?: "BRANCH" | "TAG"
  • ReadonlyRestMirroredRepository: {
        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";
    }
    • Optional Readonlyavailable?: boolean
    • Optional ReadonlycloneUrls?: readonly {
          href?: string;
          name?: string;
      }[]
    • Optional ReadonlylastUpdated?: string

      Format: date-time

    • Optional ReadonlymirrorName?: string
      Saigon Mirror
      
    • Optional ReadonlypushUrls?: readonly {
          href?: string;
          name?: string;
      }[]
    • Optional ReadonlyrepositoryId?: string
      1
      
    • Optional Readonlystatus?:
          | "AVAILABLE"
          | "ERROR_AVAILABLE"
          | "ERROR_INITIALIZING"
          | "INITIALIZING"
          | "NOT_MIRRORED"
  • ReadonlyRestMirroredRepositoryDescriptor: {
        links?: Record<string, unknown>;
        mirrorServer?: {
            baseUrl?: string;
            enabled?: boolean;
            id?: string;
            lastSeenDate: string;
            mirrorType?: "FARM" | "SINGLE";
            name?: string;
            productVersion?: string;
        };
    }
    • Optional Readonlylinks?: Record<string, unknown>
    • Optional ReadonlymirrorServer?: {
          baseUrl?: string;
          enabled?: boolean;
          id?: string;
          lastSeenDate: string;
          mirrorType?: "FARM" | "SINGLE";
          name?: string;
          productVersion?: string;
      }
      • Optional ReadonlybaseUrl?: string
        http://vietnam.example.com
        
      • Optional Readonlyenabled?: boolean
      • Optional Readonlyid?: string
        B0F5-CS21-45C2-CCK3
        
      • ReadonlylastSeenDate: string

        Format: date-time

      • Optional ReadonlymirrorType?: "FARM" | "SINGLE"
      • Optional Readonlyname?: string
        Mirror
        
      • Optional ReadonlyproductVersion?: string
        8.0.0
        
  • ReadonlyRestMirrorHashes: {
        content?: string;
        metadata?: string;
    }
    • Optional Readonlycontent?: string
      677513e1f2a93ff50e7b709e3c96454c23a3fcd40046ab385c4093e30809500a
      
    • Optional Readonlymetadata?: string
      677513e1f2a93ff50e7b709e3c96454c23a3fcd40046ab385c4093e30809500a
      
  • ReadonlyRestMirroringRequest: {
        id?: number;
        mirrorBaseUrl?: string;
        mirrorId?: string;
        mirrorName?: string;
        mirrorType?: "FARM" | "SINGLE";
        productVersion?: string;
        state?: "ACCEPTED" | "PENDING" | "REJECTED";
    }
    • Optional Readonlyid?: number

      Format: int32

    • Optional ReadonlymirrorBaseUrl?: string
      https://bitbucket-eu.example.com:7990/bitbucket
      
    • Optional ReadonlymirrorId?: string
      4f0eb5fc-67fc-48f8-b4a7-87981f026c6a
      
    • Optional ReadonlymirrorName?: string
      Bitbucket Mirror
      
    • Optional ReadonlymirrorType?: "FARM" | "SINGLE"
    • Optional ReadonlyproductVersion?: string
      8.0.0
      
    • Optional Readonlystate?: "ACCEPTED" | "PENDING" | "REJECTED"
  • ReadonlyRestMirrorRepositorySynchronizationStatus: {
        externalRepoId?: string;
        failedSyncCount?: number;
        hashes?: {
            content?: string;
            metadata?: string;
        };
        initialSyncDate?: string;
        lastSyncDate?: string;
        localProjectId?: number;
        localRepoId?: number;
        upstreamId?: string;
    }
    • Optional ReadonlyexternalRepoId?: string
      1
      
    • Optional ReadonlyfailedSyncCount?: number

      Format: int32

      1
      
    • Optional Readonlyhashes?: {
          content?: string;
          metadata?: string;
      }
      • Optional Readonlycontent?: string
        677513e1f2a93ff50e7b709e3c96454c23a3fcd40046ab385c4093e30809500a
        
      • Optional Readonlymetadata?: string
        677513e1f2a93ff50e7b709e3c96454c23a3fcd40046ab385c4093e30809500a
        
    • Optional ReadonlyinitialSyncDate?: string

      Format: date-time

    • Optional ReadonlylastSyncDate?: string

      Format: date-time

    • Optional ReadonlylocalProjectId?: number

      Format: int32

      1
      
    • Optional ReadonlylocalRepoId?: number

      Format: int32

      1
      
    • Optional ReadonlyupstreamId?: string
      148728f5-df0f-3f3e-af11-5ca16be3725f
      
  • ReadonlyRestMirrorServer: {
        baseUrl?: string;
        enabled?: boolean;
        id?: string;
        lastSeenDate?: string;
        mirrorType?: "FARM" | "SINGLE";
        name?: string;
        productVersion?: string;
    }
    • Optional ReadonlybaseUrl?: string
      http://vietnam.example.com
      
    • Optional Readonlyenabled?: boolean
    • Optional Readonlyid?: string
      B0F5-CS21-45C2-CCK3
      
    • Optional ReadonlylastSeenDate?: string

      Format: date-time

    • Optional ReadonlymirrorType?: "FARM" | "SINGLE"
    • Optional Readonlyname?: string
      Mirror
      
    • Optional ReadonlyproductVersion?: string
      8.0.0
      
  • ReadonlyRestMirrorUpgradeRequest: {
        baseUrl?: string;
        productVersion?: string;
    }
    • Optional ReadonlybaseUrl?: string
      https://bitbucket-eu.example.com:7990/bitbucket
      
    • Optional ReadonlyproductVersion?: string
      8.0.0
      
  • ReadonlyRestMultipleBuildStats: unknown
  • ReadonlyRestNamedLink: {
        href?: string;
        name?: string;
    }
    • Optional Readonlyhref?: string
      https://bitbucket.example.com/scm/awesomeproject/awesomerepo.git
      
    • Optional Readonlyname?: string
      http
      
  • ReadonlyRestNode: {
        id?: string;
        name?: string;
        type?: "BITBUCKET" | "MESH";
    }
    • Optional Readonlyid?: string
      1
      
    • Optional Readonlyname?: string
      My Node
      
    • Optional Readonlytype?: "BITBUCKET" | "MESH"
  • ReadonlyRestNodeConnectivityReport: {
        node?: {
            id?: string;
            name?: string;
            type?: "BITBUCKET" | "MESH";
        };
        summaries?: readonly {
            node?: {
                id?: string;
                name?: string;
                type?: "BITBUCKET" | "MESH";
            };
            summary?: {
                errorMessage?: string;
                reachable?: boolean;
                roundTripTime?: number;
            };
        }[];
    }
    • Optional Readonlynode?: {
          id?: string;
          name?: string;
          type?: "BITBUCKET" | "MESH";
      }
      • Optional Readonlyid?: string
        1
        
      • Optional Readonlyname?: string
        My Node
        
      • Optional Readonlytype?: "BITBUCKET" | "MESH"
    • Optional Readonlysummaries?: readonly {
          node?: {
              id?: string;
              name?: string;
              type?: "BITBUCKET" | "MESH";
          };
          summary?: {
              errorMessage?: string;
              reachable?: boolean;
              roundTripTime?: number;
          };
      }[]
  • ReadonlyRestNodeConnectivitySummary: {
        node?: {
            id?: string;
            name?: string;
            type?: "BITBUCKET" | "MESH";
        };
        summary?: {
            errorMessage?: string;
            reachable?: boolean;
            roundTripTime?: number;
        };
    }
    • Optional Readonlynode?: {
          id?: string;
          name?: string;
          type?: "BITBUCKET" | "MESH";
      }
      • Optional Readonlyid?: string
        1
        
      • Optional Readonlyname?: string
        My Node
        
      • Optional Readonlytype?: "BITBUCKET" | "MESH"
    • Optional Readonlysummary?: {
          errorMessage?: string;
          reachable?: boolean;
          roundTripTime?: number;
      }
      • Optional ReadonlyerrorMessage?: string
        Unable to connect to the node.
        
      • Optional Readonlyreachable?: boolean
        true
        
      • Optional ReadonlyroundTripTime?: number

        Format: int64

        100
        
  • ReadonlyRestPageRestChange: {
        isLastPage?: boolean;
        limit?: number;
        nextPageStart?: number;
        size?: number;
        start?: number;
        values?: Record<string, unknown>;
    }
    • Optional ReadonlyisLastPage?: boolean
    • Optional Readonlylimit?: number

      Format: int32

    • Optional ReadonlynextPageStart?: number

      Format: int32

    • Optional Readonlysize?: number

      Format: int32

    • Optional Readonlystart?: number

      Format: int32

    • Optional Readonlyvalues?: Record<string, unknown>
  • ReadonlyRestPath: {
        components?: readonly string[];
        extension?: string;
        name?: string;
        parent?: string;
    }
    • Optional Readonlycomponents?: readonly string[]
      [
      "path",
      "to",
      "file.txt"
      ]
    • Optional Readonlyextension?: string
      txt
      
    • Optional Readonlyname?: string
      file.txt
      
    • Optional Readonlyparent?: string
      path/to
      
  • ReadonlyRestPermitted: {
        permitted?: boolean;
    }
    • Optional Readonlypermitted?: boolean
      true
      
  • ReadonlyRestPermittedGroup: {
        group?: {
            name?: string;
        };
        permission?: string;
    }
    • Optional Readonlygroup?: {
          name?: string;
      }
      • Optional Readonlyname?: string
        group_a
        
    • Optional Readonlypermission?: string
      ADMIN
      
  • ReadonlyRestPermittedUser: {
        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?: boolean;
            avatarUrl?: string;
            displayName?: string;
            emailAddress?: string;
            id?: number;
            links?: Record<string, unknown>;
            name?: string;
            slug?: string;
            type?: "NORMAL" | "SERVICE";
        };
    }
    • Optional Readonlypermission?:
          | "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"
    • Optional Readonlyuser?: {
          active?: boolean;
          avatarUrl?: string;
          displayName?: string;
          emailAddress?: string;
          id?: number;
          links?: Record<string, unknown>;
          name?: string;
          slug?: string;
          type?: "NORMAL" | "SERVICE";
      }
      • Optional Readonlyactive?: boolean
      • Optional ReadonlyavatarUrl?: string
      • Optional ReadonlydisplayName?: string
        Jane Citizen
        
      • Optional ReadonlyemailAddress?: string
        jane@example.com
        
      • Optional Readonlyid?: number

        Format: int32

        101
        
      • Optional Readonlylinks?: Record<string, unknown>
      • Optional Readonlyname?: string
        jcitizen
        
      • Optional Readonlyslug?: string
        jcitizen
        
      • Optional Readonlytype?: "NORMAL" | "SERVICE"
  • ReadonlyRestPerson: {
        avatarUrl?: string;
        emailAddress?: string;
        name?: string;
    }
    • Optional ReadonlyavatarUrl?: string
    • Optional ReadonlyemailAddress?: string
      charlie@example.com
      
    • Optional Readonlyname?: string
      Charlie
      
  • ReadonlyRestProgress: {
        message?: string;
        percentage?: number;
    }
    • Optional Readonlymessage?: string
      Working on it...
      
    • Optional Readonlypercentage?: number

      Format: int32

      42
      
  • ReadonlyRestProject: {
        avatar?: string;
        avatarUrl?: string;
        description?: string;
        id?: number;
        key?: string;
        links?: Record<string, unknown>;
        name?: string;
        public?: boolean;
        scope?: string;
        type?: "NORMAL" | "PERSONAL";
    }
    • Optional Readonlyavatar?: string
    • Optional ReadonlyavatarUrl?: string
    • Optional Readonlydescription?: string
      The description for my cool project
      
    • Optional Readonlyid?: number

      Format: int32

    • Optional Readonlykey?: string
      PRJ
      
    • Optional Readonlylinks?: Record<string, unknown>
    • Optional Readonlyname?: string
      My Cool Project
      
    • Optional Readonlypublic?: boolean
    • Optional Readonlyscope?: string
      PROJECT
      
    • Optional Readonlytype?: "NORMAL" | "PERSONAL"
  • ReadonlyRestProjectSettingsRestriction: {
        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";
        };
    }
    • Optional ReadonlycomponentKey?: string
      my-admin-component
      
    • Optional ReadonlyfeatureKey?: string
      my-admin-feature
      
    • Optional Readonlynamespace?: string
      org.featuredeveloper
      
    • Optional ReadonlyprocessedState?:
          | "FAILED"
          | "IN_PROGRESS"
          | "PROCESSED"
          | "UNPROCESSED"
      PROCESSED
      @enum {string}
    • Optional Readonlyproject?: {
          avatar?: string;
          avatarUrl?: string;
          description?: string;
          id?: number;
          key: string;
          links?: Record<string, unknown>;
          name?: string;
          public?: boolean;
          scope?: string;
          type?: "NORMAL" | "PERSONAL";
      }
      • Optional Readonlyavatar?: string
      • Optional ReadonlyavatarUrl?: string
      • Optional Readonlydescription?: string
        The description for my cool project
        
      • Optional Readonlyid?: number

        Format: int32

      • Readonlykey: string
        PRJ
        
      • Optional Readonlylinks?: Record<string, unknown>
      • Optional Readonlyname?: string
        My Cool Project
        
      • Optional Readonlypublic?: boolean
      • Optional Readonlyscope?: string
        PROJECT
        
      • Optional Readonlytype?: "NORMAL" | "PERSONAL"
  • ReadonlyRestProjectSettingsRestrictionRequest: {
        componentKey?: string;
        featureKey: string;
        namespace: string;
    }
    • Optional ReadonlycomponentKey?: string
      my-admin-component
      
    • ReadonlyfeatureKey: string
      my-admin-feature
      
    • Readonlynamespace: string
      org.featuredeveloper
      
  • ReadonlyRestProperties: {
        contentHash?: string;
        defaultBranchId?: string;
        metadataHash?: string;
    }
    • Optional ReadonlycontentHash?: string
      457389a0b871fb61012a7351d09aefc0cf1c57c306449d4b5df4d2f381df8433
      
    • Optional ReadonlydefaultBranchId?: string
      refs/heads/master
      
    • Optional ReadonlymetadataHash?: string
      11e5cd17e8d74d84a11f2c8a6bbc6ae0a2b69059e54030f49214c94d980364c1
      
  • ReadonlyRestPullRequest: {
        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<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?: (...) | (...);
                        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;
                };
                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;
            };
            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?: boolean;
                avatarUrl?: string;
                displayName?: string;
                emailAddress?: string;
                id?: number;
                links?: Record<string, unknown>;
                name?: string;
                slug?: string;
                type?: "NORMAL" | "SERVICE";
            };
        }[];
        reviewers?: readonly {
            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";
            };
        }[];
        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<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?: (...) | (...);
                        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;
                };
                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;
            };
            type?: "BRANCH" | "TAG";
        };
        updatedDate?: number;
        version?: number;
    }
    • Optional Readonlyclosed?: boolean
    • Optional ReadonlyclosedDate?: number

      Format: int64

      19990759200
      
    • Optional ReadonlycreatedDate?: number

      Format: int64

      13590759200
      
    • Optional Readonlydescription?: string
      It is a kludge, but put the tuple from the database in the cache.
      
    • Optional ReadonlydescriptionAsHtml?: string
    • Optional Readonlydraft?: boolean
    • Optional ReadonlyfromRef?: {
          displayId?: string;
          id?: string;
          latestCommit?: string;
          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<string, unknown>;
                  name?: string;
                  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;
              };
              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;
          };
          type?: "BRANCH" | "TAG";
      }
      • Optional ReadonlydisplayId?: string
        feature-ABC-1233
        
      • Optional Readonlyid?: string
        refs/heads/feature-ABC-123
        
      • Optional ReadonlylatestCommit?: string
        babecafebabecafebabecafebabecafebabecafe
        
      • Optional Readonlyrepository?: {
            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?: (...) | (...);
                    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;
            };
            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;
        }
        • Optional Readonlyarchived?: boolean
        • Optional ReadonlydefaultBranch?: string
          main
          
        • Optional Readonlydescription?: string
          My repo description
          
        • Optional Readonlyforkable?: boolean
        • Optional ReadonlyhierarchyId?: string
          e3c939f9ef4a7fae272e
          
        • Optional Readonlyid?: number

          Format: int32

        • Optional Readonlylinks?: Record<string, unknown>
        • Optional Readonlyname?: string
          My repo
          
        • Optional Readonlyorigin?: {
              archived?: boolean;
              defaultBranch?: string;
              description?: string;
              forkable?: boolean;
              hierarchyId?: string;
              id?: number;
              links?: Record<string, unknown>;
              name?: string;
              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;
          }
          • Optional Readonlyarchived?: boolean
          • Optional ReadonlydefaultBranch?: string
            main
            
          • Optional Readonlydescription?: string
            My repo description
            
          • Optional Readonlyforkable?: boolean
          • Optional ReadonlyhierarchyId?: string
            e3c939f9ef4a7fae272e
            
          • Optional Readonlyid?: number

            Format: int32

          • Optional Readonlylinks?: Record<string, unknown>
          • Optional Readonlyname?: string
            My repo
            
          • Optional Readonlypartition?: number

            Format: int32

          • Optional Readonlyproject?: {
                avatar?: (...) | (...);
                avatarUrl?: (...) | (...);
                description?: (...) | (...);
                id?: (...) | (...);
                key: string;
                links?: (...) | (...);
                name?: (...) | (...);
                public?: (...) | (...) | (...);
                scope?: (...) | (...);
                type?: (...) | (...) | (...);
            }
            • Optional Readonlyavatar?: (...) | (...)
            • Optional ReadonlyavatarUrl?: (...) | (...)
            • Optional Readonlydescription?: (...) | (...)
              The description for my cool project
              
            • Optional Readonlyid?: (...) | (...)

              Format: int32

            • Readonlykey: string
              PRJ
              
            • Optional Readonlylinks?: (...) | (...)
            • Optional Readonlyname?: (...) | (...)
              My Cool Project
              
            • Optional Readonlypublic?: (...) | (...) | (...)
            • Optional Readonlyscope?: (...) | (...)
              PROJECT
              
            • Optional Readonlytype?: (...) | (...) | (...)
          • Optional Readonlypublic?: boolean
          • Optional ReadonlyrelatedLinks?: Record<string, unknown>
          • Optional ReadonlyscmId?: string
            git
            
          • Optional Readonlyscope?: string
            REPOSITORY
            
          • Optional Readonlyslug?: string
            my-repo
            
          • Optional Readonlystate?:
                | "AVAILABLE"
                | "INITIALISATION_FAILED"
                | "INITIALISING"
                | "OFFLINE"
          • Optional ReadonlystatusMessage?: string
            Available
            
        • Optional Readonlypartition?: number

          Format: int32

        • Optional Readonlyproject?: {
              avatar?: string;
              avatarUrl?: string;
              description?: string;
              id?: number;
              key: string;
              links?: Record<string, unknown>;
              name?: string;
              public?: boolean;
              scope?: string;
              type?: "NORMAL" | "PERSONAL";
          }
          • Optional Readonlyavatar?: string
          • Optional ReadonlyavatarUrl?: string
          • Optional Readonlydescription?: string
            The description for my cool project
            
          • Optional Readonlyid?: number

            Format: int32

          • Readonlykey: string
            PRJ
            
          • Optional Readonlylinks?: Record<string, unknown>
          • Optional Readonlyname?: string
            My Cool Project
            
          • Optional Readonlypublic?: boolean
          • Optional Readonlyscope?: string
            PROJECT
            
          • Optional Readonlytype?: "NORMAL" | "PERSONAL"
        • Optional Readonlypublic?: boolean
        • Optional ReadonlyrelatedLinks?: Record<string, unknown>
        • Optional ReadonlyscmId?: string
          git
          
        • Optional Readonlyscope?: string
          REPOSITORY
          
        • Optional Readonlyslug?: string
          my-repo
          
        • Optional Readonlystate?:
              | "AVAILABLE"
              | "INITIALISATION_FAILED"
              | "INITIALISING"
              | "OFFLINE"
        • Optional ReadonlystatusMessage?: string
          Available
          
      • Optional Readonlytype?: "BRANCH" | "TAG"
    • Optional ReadonlyhtmlDescription?: string
    • Optional Readonlyid?: number

      Format: int64

      1
      
    • Optional Readonlylinks?: Record<string, unknown>
    • Optional Readonlylocked?: boolean
    • Optional Readonlyopen?: boolean
    • Optional Readonlyparticipants?: readonly {
          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";
          };
      }[]
    • Optional Readonlyreviewers?: readonly {
          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";
          };
      }[]
    • Optional Readonlystate?: "DECLINED" | "MERGED" | "OPEN"
    • Optional Readonlytitle?: string
      Talking Nerdy
      
    • Optional ReadonlytoRef?: {
          displayId?: string;
          id?: string;
          latestCommit?: string;
          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<string, unknown>;
                  name?: string;
                  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;
              };
              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;
          };
          type?: "BRANCH" | "TAG";
      }
      • Optional ReadonlydisplayId?: string
        feature-ABC-1233
        
      • Optional Readonlyid?: string
        refs/heads/feature-ABC-123
        
      • Optional ReadonlylatestCommit?: string
        babecafebabecafebabecafebabecafebabecafe
        
      • Optional Readonlyrepository?: {
            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?: (...) | (...);
                    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;
            };
            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;
        }
        • Optional Readonlyarchived?: boolean
        • Optional ReadonlydefaultBranch?: string
          main
          
        • Optional Readonlydescription?: string
          My repo description
          
        • Optional Readonlyforkable?: boolean
        • Optional ReadonlyhierarchyId?: string
          e3c939f9ef4a7fae272e
          
        • Optional Readonlyid?: number

          Format: int32

        • Optional Readonlylinks?: Record<string, unknown>
        • Optional Readonlyname?: string
          My repo
          
        • Optional Readonlyorigin?: {
              archived?: boolean;
              defaultBranch?: string;
              description?: string;
              forkable?: boolean;
              hierarchyId?: string;
              id?: number;
              links?: Record<string, unknown>;
              name?: string;
              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;
          }
          • Optional Readonlyarchived?: boolean
          • Optional ReadonlydefaultBranch?: string
            main
            
          • Optional Readonlydescription?: string
            My repo description
            
          • Optional Readonlyforkable?: boolean
          • Optional ReadonlyhierarchyId?: string
            e3c939f9ef4a7fae272e
            
          • Optional Readonlyid?: number

            Format: int32

          • Optional Readonlylinks?: Record<string, unknown>
          • Optional Readonlyname?: string
            My repo
            
          • Optional Readonlypartition?: number

            Format: int32

          • Optional Readonlyproject?: {
                avatar?: (...) | (...);
                avatarUrl?: (...) | (...);
                description?: (...) | (...);
                id?: (...) | (...);
                key: string;
                links?: (...) | (...);
                name?: (...) | (...);
                public?: (...) | (...) | (...);
                scope?: (...) | (...);
                type?: (...) | (...) | (...);
            }
            • Optional Readonlyavatar?: (...) | (...)
            • Optional ReadonlyavatarUrl?: (...) | (...)
            • Optional Readonlydescription?: (...) | (...)
              The description for my cool project
              
            • Optional Readonlyid?: (...) | (...)

              Format: int32

            • Readonlykey: string
              PRJ
              
            • Optional Readonlylinks?: (...) | (...)
            • Optional Readonlyname?: (...) | (...)
              My Cool Project
              
            • Optional Readonlypublic?: (...) | (...) | (...)
            • Optional Readonlyscope?: (...) | (...)
              PROJECT
              
            • Optional Readonlytype?: (...) | (...) | (...)
          • Optional Readonlypublic?: boolean
          • Optional ReadonlyrelatedLinks?: Record<string, unknown>
          • Optional ReadonlyscmId?: string
            git
            
          • Optional Readonlyscope?: string
            REPOSITORY
            
          • Optional Readonlyslug?: string
            my-repo
            
          • Optional Readonlystate?:
                | "AVAILABLE"
                | "INITIALISATION_FAILED"
                | "INITIALISING"
                | "OFFLINE"
          • Optional ReadonlystatusMessage?: string
            Available
            
        • Optional Readonlypartition?: number

          Format: int32

        • Optional Readonlyproject?: {
              avatar?: string;
              avatarUrl?: string;
              description?: string;
              id?: number;
              key: string;
              links?: Record<string, unknown>;
              name?: string;
              public?: boolean;
              scope?: string;
              type?: "NORMAL" | "PERSONAL";
          }
          • Optional Readonlyavatar?: string
          • Optional ReadonlyavatarUrl?: string
          • Optional Readonlydescription?: string
            The description for my cool project
            
          • Optional Readonlyid?: number

            Format: int32

          • Readonlykey: string
            PRJ
            
          • Optional Readonlylinks?: Record<string, unknown>
          • Optional Readonlyname?: string
            My Cool Project
            
          • Optional Readonlypublic?: boolean
          • Optional Readonlyscope?: string
            PROJECT
            
          • Optional Readonlytype?: "NORMAL" | "PERSONAL"
        • Optional Readonlypublic?: boolean
        • Optional ReadonlyrelatedLinks?: Record<string, unknown>
        • Optional ReadonlyscmId?: string
          git
          
        • Optional Readonlyscope?: string
          REPOSITORY
          
        • Optional Readonlyslug?: string
          my-repo
          
        • Optional Readonlystate?:
              | "AVAILABLE"
              | "INITIALISATION_FAILED"
              | "INITIALISING"
              | "OFFLINE"
        • Optional ReadonlystatusMessage?: string
          Available
          
      • Optional Readonlytype?: "BRANCH" | "TAG"
    • Optional ReadonlyupdatedDate?: number

      Format: int64

      14490759200
      
    • Optional Readonlyversion?: number

      Format: int32

  • ReadonlyRestPullRequestActivity: {
        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?: boolean;
            avatarUrl?: string;
            displayName?: string;
            emailAddress?: string;
            id?: number;
            links?: Record<string, unknown>;
            name?: string;
            slug?: string;
            type?: "NORMAL" | "SERVICE";
        };
    }
    • Optional Readonlyaction?:
          | "DECLINED"
          | "MERGED"
          | "APPROVED"
          | "UNAPPROVED"
          | "AUTO_MERGE_CANCELLED"
          | "AUTO_MERGE_REQUESTED"
          | "COMMENTED"
          | "DELETED"
          | "OPENED"
          | "REOPENED"
          | "RESCOPED"
          | "REVIEW_COMMENTED"
          | "REVIEW_DISCARDED"
          | "REVIEW_FINISHED"
          | "REVIEWED"
          | "UPDATED"
    • Optional ReadonlycreatedDate?: number

      Format: int64

      19990759200
      
    • Optional Readonlyid?: number

      Format: int64

      1
      
    • Optional Readonlyuser?: {
          active?: boolean;
          avatarUrl?: string;
          displayName?: string;
          emailAddress?: string;
          id?: number;
          links?: Record<string, unknown>;
          name?: string;
          slug?: string;
          type?: "NORMAL" | "SERVICE";
      }
      • Optional Readonlyactive?: boolean
      • Optional ReadonlyavatarUrl?: string
      • Optional ReadonlydisplayName?: string
        Jane Citizen
        
      • Optional ReadonlyemailAddress?: string
        jane@example.com
        
      • Optional Readonlyid?: number

        Format: int32

        101
        
      • Optional Readonlylinks?: Record<string, unknown>
      • Optional Readonlyname?: string
        jcitizen
        
      • Optional Readonlyslug?: string
        jcitizen
        
      • Optional Readonlytype?: "NORMAL" | "SERVICE"
  • ReadonlyRestPullRequestAssignParticipantRoleRequest: {
        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";
        };
    }
    • Optional Readonlyrole?: "PARTICIPANT" | "REVIEWER" | "AUTHOR"
    • Optional Readonlyuser?: {
          active?: boolean;
          avatarUrl?: string;
          displayName?: string;
          emailAddress?: string;
          id?: number;
          links?: Record<string, unknown>;
          name?: string;
          slug?: string;
          type?: "NORMAL" | "SERVICE";
      }
      • Optional Readonlyactive?: boolean
      • Optional ReadonlyavatarUrl?: string
      • Optional ReadonlydisplayName?: string
        Jane Citizen
        
      • Optional ReadonlyemailAddress?: string
        jane@example.com
        
      • Optional Readonlyid?: number

        Format: int32

        101
        
      • Optional Readonlylinks?: Record<string, unknown>
      • Optional Readonlyname?: string
        jcitizen
        
      • Optional Readonlyslug?: string
        jcitizen
        
      • Optional Readonlytype?: "NORMAL" | "SERVICE"
  • ReadonlyRestPullRequestAssignStatusRequest: {
        lastReviewedCommit?: string;
        status?: "APPROVED" | "NEEDS_WORK" | "UNAPPROVED";
    }
    • Optional ReadonlylastReviewedCommit?: string
      685cac2c4499ff1f308851e35d2b4357844d8927
      
    • Optional Readonlystatus?: "APPROVED" | "NEEDS_WORK" | "UNAPPROVED"
  • ReadonlyRestPullRequestCommitMessageTemplate: {
        body?: string;
        title?: string;
    }
    • Optional Readonlybody?: string
      Merge in ${toProjectKey}/${toRepoSlug} from ${crossRepoProjectRepo}${fromRefName} to ${toRefName}
      
    • Optional Readonlytitle?: string
      Pull request #${id}: ${title}
      
  • ReadonlyRestPullRequestCondition: {
        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;
            };
        };
    }
    • Optional Readonlyid?: number

      Format: int32

      1
      
    • Optional ReadonlyrequiredApprovals?: number

      Format: int32

      1
      
    • Optional Readonlyreviewers?: readonly {
          active?: boolean;
          avatarUrl?: string;
          displayName?: string;
          emailAddress?: string;
          id?: number;
          links?: Record<string, unknown>;
          name?: string;
          slug?: string;
          type?: "NORMAL" | "SERVICE";
      }[]
    • Optional Readonlyscope?: {
          resourceId?: number;
          type?: "GLOBAL" | "PROJECT" | "REPOSITORY";
      }
      • Optional ReadonlyresourceId?: number

        Format: int32

        2
        
      • Optional Readonlytype?: "GLOBAL" | "PROJECT" | "REPOSITORY"
    • Optional ReadonlysourceRefMatcher?: {
          displayId?: string;
          id?: string;
          type?: {
              id?:
                  | "BRANCH"
                  | "ANY_REF"
                  | "MODEL_BRANCH"
                  | "MODEL_CATEGORY"
                  | "PATTERN";
              name?: string;
          };
      }
      • Optional ReadonlydisplayId?: string
        main
        
      • Optional Readonlyid?: string
        refs/heads/main
        
      • Optional Readonlytype?: {
            id?:
                | "BRANCH"
                | "ANY_REF"
                | "MODEL_BRANCH"
                | "MODEL_CATEGORY"
                | "PATTERN";
            name?: string;
        }
        • Optional Readonlyid?:
              | "BRANCH"
              | "ANY_REF"
              | "MODEL_BRANCH"
              | "MODEL_CATEGORY"
              | "PATTERN"
        • Optional Readonlyname?: string
          Branch
          
    • Optional ReadonlytargetRefMatcher?: {
          displayId?: string;
          id?: string;
          type?: {
              id?:
                  | "BRANCH"
                  | "ANY_REF"
                  | "MODEL_BRANCH"
                  | "MODEL_CATEGORY"
                  | "PATTERN";
              name?: string;
          };
      }
      • Optional ReadonlydisplayId?: string
        main
        
      • Optional Readonlyid?: string
        refs/heads/main
        
      • Optional Readonlytype?: {
            id?:
                | "BRANCH"
                | "ANY_REF"
                | "MODEL_BRANCH"
                | "MODEL_CATEGORY"
                | "PATTERN";
            name?: string;
        }
        • Optional Readonlyid?:
              | "BRANCH"
              | "ANY_REF"
              | "MODEL_BRANCH"
              | "MODEL_CATEGORY"
              | "PATTERN"
        • Optional Readonlyname?: string
          Branch
          
  • ReadonlyRestPullRequestDeclineRequest: {
        comment?: string;
        version?: number;
    }
    • Optional Readonlycomment?: string
      An optional comment explaining why the pull request is being declined
      
    • Optional Readonlyversion?: number

      Format: int32

  • ReadonlyRestPullRequestDeleteRequest: {
        version?: number;
    }
    • Optional Readonlyversion?: number

      Format: int32

  • ReadonlyRestPullRequestFinishReviewRequest: {
        commentText?: string;
        lastReviewedCommit?: string;
        participantStatus?: string;
    }
    • Optional ReadonlycommentText?: string
      General comment text
      
    • Optional ReadonlylastReviewedCommit?: string
      685cac2c4499ff1f308851e35d2b4357844d8927
      
    • Optional ReadonlyparticipantStatus?: string
      approved
      
  • ReadonlyRestPullRequestMergeability: {
        conflicted?: boolean;
        outcome?: "UNKNOWN" | "CLEAN" | "CONFLICTED";
        vetoes?: readonly {
            detailedMessage?: string;
            summaryMessage?: string;
        }[];
    }
    • Optional Readonlyconflicted?: boolean
    • Optional Readonlyoutcome?: "UNKNOWN" | "CLEAN" | "CONFLICTED"
    • Optional Readonlyvetoes?: readonly {
          detailedMessage?: string;
          summaryMessage?: string;
      }[]
  • ReadonlyRestPullRequestMergeConfig: {
        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;
    }
    • Optional ReadonlycommitMessageTemplate?: {
          body?: string;
          title?: string;
      }
      • Optional Readonlybody?: string
        Merge in ${toProjectKey}/${toRepoSlug} from ${crossRepoProjectRepo}${fromRefName} to ${toRefName}
        
      • Optional Readonlytitle?: string
        Pull request #${id}: ${title}
        
    • Optional ReadonlycommitSummaries?: number

      Format: int32

    • Optional ReadonlydefaultStrategy?: {
          description?: string;
          enabled?: boolean;
          flag?: string;
          id?: string;
          links?: Record<string, unknown>;
          name?: string;
      }
      • Optional Readonlydescription?: string
        Always create a merge commit
        
      • Optional Readonlyenabled?: boolean
      • Optional Readonlyflag?: string
        --no-ff
        
      • Optional Readonlyid?: string
        no-ff
        
      • Optional Readonlylinks?: Record<string, unknown>
      • Optional Readonlyname?: string
        Merge commit
        
    • Optional Readonlystrategies?: readonly {
          description?: string;
          enabled?: boolean;
          flag?: string;
          id?: string;
          links?: Record<string, unknown>;
          name?: string;
      }[]
    • Optional Readonlytype?: string
      repository
      
  • ReadonlyRestPullRequestMergeRequest: {
        autoMerge?: boolean;
        autoSubject?: string;
        message?: string;
        strategyId?: string;
        version?: number;
    }
    • Optional ReadonlyautoMerge?: boolean
      false
      
    • Optional ReadonlyautoSubject?: string
      (Optional, 5.7+) true to prepend an auto-generated subject to the message (default), or false to use the message as-is
      
    • Optional Readonlymessage?: string
      (Optional) A descriptive message for the merge commit
      
    • Optional ReadonlystrategyId?: string
      (Optional) squash
      
    • Optional Readonlyversion?: number

      Format: int32

  • ReadonlyRestPullRequestMergeStrategy: {
        description?: string;
        enabled?: boolean;
        flag?: string;
        id?: string;
        links?: Record<string, unknown>;
        name?: string;
    }
    • Optional Readonlydescription?: string
      Always create a merge commit
      
    • Optional Readonlyenabled?: boolean
    • Optional Readonlyflag?: string
      --no-ff
      
    • Optional Readonlyid?: string
      no-ff
      
    • Optional Readonlylinks?: Record<string, unknown>
    • Optional Readonlyname?: string
      Merge commit
      
  • ReadonlyRestPullRequestParticipant: {
        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";
        };
    }
    • Optional Readonlyapproved?: boolean
    • Optional ReadonlylastReviewedCommit?: string
      7549846524f8aed2bd1c0249993ae1bf9d3c9998
      
    • Optional Readonlyrole?: "PARTICIPANT" | "REVIEWER" | "AUTHOR"
    • Optional Readonlystatus?: "APPROVED" | "NEEDS_WORK" | "UNAPPROVED"
    • Optional Readonlyuser?: {
          active?: boolean;
          avatarUrl?: string;
          displayName?: string;
          emailAddress?: string;
          id?: number;
          links?: Record<string, unknown>;
          name?: string;
          slug?: string;
          type?: "NORMAL" | "SERVICE";
      }
      • Optional Readonlyactive?: boolean
      • Optional ReadonlyavatarUrl?: string
      • Optional ReadonlydisplayName?: string
        Jane Citizen
        
      • Optional ReadonlyemailAddress?: string
        jane@example.com
        
      • Optional Readonlyid?: number

        Format: int32

        101
        
      • Optional Readonlylinks?: Record<string, unknown>
      • Optional Readonlyname?: string
        jcitizen
        
      • Optional Readonlyslug?: string
        jcitizen
        
      • Optional Readonlytype?: "NORMAL" | "SERVICE"
  • ReadonlyRestPullRequestRebaseability: {
        vetoes?: readonly {
            detailedMessage?: string;
            summaryMessage?: string;
        }[];
    }
    • Optional Readonlyvetoes?: readonly {
          detailedMessage?: string;
          summaryMessage?: string;
      }[]
  • ReadonlyRestPullRequestRebaseRequest: {
        version?: number;
    }
    • Optional Readonlyversion?: number

      Format: int32

      1
      
  • ReadonlyRestPullRequestRebaseResult: {
        refChange?: {
            fromHash?: string;
            ref?: {
                displayId?: string;
                id?: string;
                type?: "BRANCH" | "TAG";
            };
            refId?: string;
            toHash?: string;
            type?: "DELETE" | "ADD" | "UPDATE";
        };
    }
    • Optional ReadonlyrefChange?: {
          fromHash?: string;
          ref?: {
              displayId?: string;
              id?: string;
              type?: "BRANCH" | "TAG";
          };
          refId?: string;
          toHash?: string;
          type?: "DELETE" | "ADD" | "UPDATE";
      }
      • Optional ReadonlyfromHash?: string
        6053a1eaa1c009dd11092d09a72f3c41af1b59ad
        
      • Optional Readonlyref?: {
            displayId?: string;
            id?: string;
            type?: "BRANCH" | "TAG";
        }
        • Optional ReadonlydisplayId?: string
          master
          
        • Optional Readonlyid?: string
          refs/heads/master
          
        • Optional Readonlytype?: "BRANCH" | "TAG"
      • Optional ReadonlyrefId?: string
        refs/heads/master
        
      • Optional ReadonlytoHash?: string
        d6edcbf924697ab811a867421dab60d954ccad99
        
      • Optional Readonlytype?: "DELETE" | "ADD" | "UPDATE"
  • ReadonlyRestPullRequestRef: {
        displayId?: string;
        id?: string;
        latestCommit?: string;
        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<string, unknown>;
                name?: 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;
            };
            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;
        };
        type?: "BRANCH" | "TAG";
    }
    • Optional ReadonlydisplayId?: string
      feature-ABC-1233
      
    • Optional Readonlyid?: string
      refs/heads/feature-ABC-123
      
    • Optional ReadonlylatestCommit?: string
      babecafebabecafebabecafebabecafebabecafe
      
    • Optional Readonlyrepository?: {
          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<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;
          };
          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;
      }
      • Optional Readonlyarchived?: boolean
      • Optional ReadonlydefaultBranch?: string
        main
        
      • Optional Readonlydescription?: string
        My repo description
        
      • Optional Readonlyforkable?: boolean
      • Optional ReadonlyhierarchyId?: string
        e3c939f9ef4a7fae272e
        
      • Optional Readonlyid?: number

        Format: int32

      • Optional Readonlylinks?: Record<string, unknown>
      • Optional Readonlyname?: string
        My repo
        
      • Optional Readonlyorigin?: {
            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<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;
        }
        • Optional Readonlyarchived?: boolean
        • Optional ReadonlydefaultBranch?: string
          main
          
        • Optional Readonlydescription?: string
          My repo description
          
        • Optional Readonlyforkable?: boolean
        • Optional ReadonlyhierarchyId?: string
          e3c939f9ef4a7fae272e
          
        • Optional Readonlyid?: number

          Format: int32

        • Optional Readonlylinks?: Record<string, unknown>
        • Optional Readonlyname?: string
          My repo
          
        • Optional Readonlypartition?: number

          Format: int32

        • Optional Readonlyproject?: {
              avatar?: string;
              avatarUrl?: string;
              description?: string;
              id?: number;
              key: string;
              links?: Record<string, unknown>;
              name?: string;
              public?: boolean;
              scope?: string;
              type?: "NORMAL" | "PERSONAL";
          }
          • Optional Readonlyavatar?: string
          • Optional ReadonlyavatarUrl?: string
          • Optional Readonlydescription?: string
            The description for my cool project
            
          • Optional Readonlyid?: number

            Format: int32

          • Readonlykey: string
            PRJ
            
          • Optional Readonlylinks?: Record<string, unknown>
          • Optional Readonlyname?: string
            My Cool Project
            
          • Optional Readonlypublic?: boolean
          • Optional Readonlyscope?: string
            PROJECT
            
          • Optional Readonlytype?: "NORMAL" | "PERSONAL"
        • Optional Readonlypublic?: boolean
        • Optional ReadonlyrelatedLinks?: Record<string, unknown>
        • Optional ReadonlyscmId?: string
          git
          
        • Optional Readonlyscope?: string
          REPOSITORY
          
        • Optional Readonlyslug?: string
          my-repo
          
        • Optional Readonlystate?:
              | "AVAILABLE"
              | "INITIALISATION_FAILED"
              | "INITIALISING"
              | "OFFLINE"
        • Optional ReadonlystatusMessage?: string
          Available
          
      • Optional Readonlypartition?: number

        Format: int32

      • Optional Readonlyproject?: {
            avatar?: string;
            avatarUrl?: string;
            description?: string;
            id?: number;
            key: string;
            links?: Record<string, unknown>;
            name?: string;
            public?: boolean;
            scope?: string;
            type?: "NORMAL" | "PERSONAL";
        }
        • Optional Readonlyavatar?: string
        • Optional ReadonlyavatarUrl?: string
        • Optional Readonlydescription?: string
          The description for my cool project
          
        • Optional Readonlyid?: number

          Format: int32

        • Readonlykey: string
          PRJ
          
        • Optional Readonlylinks?: Record<string, unknown>
        • Optional Readonlyname?: string
          My Cool Project
          
        • Optional Readonlypublic?: boolean
        • Optional Readonlyscope?: string
          PROJECT
          
        • Optional Readonlytype?: "NORMAL" | "PERSONAL"
      • Optional Readonlypublic?: boolean
      • Optional ReadonlyrelatedLinks?: Record<string, unknown>
      • Optional ReadonlyscmId?: string
        git
        
      • Optional Readonlyscope?: string
        REPOSITORY
        
      • Optional Readonlyslug?: string
        my-repo
        
      • Optional Readonlystate?:
            | "AVAILABLE"
            | "INITIALISATION_FAILED"
            | "INITIALISING"
            | "OFFLINE"
      • Optional ReadonlystatusMessage?: string
        Available
        
    • Optional Readonlytype?: "BRANCH" | "TAG"
  • ReadonlyRestPullRequestReopenRequest: {
        version?: number;
    }
    • Optional Readonlyversion?: number

      Format: int32

  • ReadonlyRestPullRequestSettings: {
        mergeConfig?: {
            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;
        };
    }
    • Optional ReadonlymergeConfig?: {
          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;
      }
      • Optional ReadonlycommitMessageTemplate?: {
            body?: string;
            title?: string;
        }
        • Optional Readonlybody?: string
          Merge in ${toProjectKey}/${toRepoSlug} from ${crossRepoProjectRepo}${fromRefName} to ${toRefName}
          
        • Optional Readonlytitle?: string
          Pull request #${id}: ${title}
          
      • Optional ReadonlycommitSummaries?: number

        Format: int32

      • Optional ReadonlydefaultStrategy?: {
            description?: string;
            enabled?: boolean;
            flag?: string;
            id?: string;
            links?: Record<string, unknown>;
            name?: string;
        }
        • Optional Readonlydescription?: string
          Always create a merge commit
          
        • Optional Readonlyenabled?: boolean
        • Optional Readonlyflag?: string
          --no-ff
          
        • Optional Readonlyid?: string
          no-ff
          
        • Optional Readonlylinks?: Record<string, unknown>
        • Optional Readonlyname?: string
          Merge commit
          
      • Optional Readonlystrategies?: readonly {
            description?: string;
            enabled?: boolean;
            flag?: string;
            id?: string;
            links?: Record<string, unknown>;
            name?: string;
        }[]
      • Optional Readonlytype?: string
        repository
        
  • ReadonlyRestPullRequestSuggestion: {
        changeTme?: number;
        fromRef?: {
            displayId?: string;
            id?: string;
            type?: "BRANCH" | "TAG";
        };
        refChange?: {
            fromHash?: string;
            ref?: {
                displayId?: string;
                id?: string;
                type?: "BRANCH" | "TAG";
            };
            refId?: string;
            toHash?: string;
            type?: "DELETE" | "ADD" | "UPDATE";
        };
        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<string, unknown>;
                name?: 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;
            };
            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;
        };
        toRef?: {
            displayId?: string;
            id?: string;
            type?: "BRANCH" | "TAG";
        };
    }
    • Optional ReadonlychangeTme?: number

      Format: int64

      1359075920
      
    • Optional ReadonlyfromRef?: {
          displayId?: string;
          id?: string;
          type?: "BRANCH" | "TAG";
      }
      • Optional ReadonlydisplayId?: string
        master
        
      • Optional Readonlyid?: string
        refs/heads/master
        
      • Optional Readonlytype?: "BRANCH" | "TAG"
    • Optional ReadonlyrefChange?: {
          fromHash?: string;
          ref?: {
              displayId?: string;
              id?: string;
              type?: "BRANCH" | "TAG";
          };
          refId?: string;
          toHash?: string;
          type?: "DELETE" | "ADD" | "UPDATE";
      }
      • Optional ReadonlyfromHash?: string
        6053a1eaa1c009dd11092d09a72f3c41af1b59ad
        
      • Optional Readonlyref?: {
            displayId?: string;
            id?: string;
            type?: "BRANCH" | "TAG";
        }
        • Optional ReadonlydisplayId?: string
          master
          
        • Optional Readonlyid?: string
          refs/heads/master
          
        • Optional Readonlytype?: "BRANCH" | "TAG"
      • Optional ReadonlyrefId?: string
        refs/heads/master
        
      • Optional ReadonlytoHash?: string
        d6edcbf924697ab811a867421dab60d954ccad99
        
      • Optional Readonlytype?: "DELETE" | "ADD" | "UPDATE"
    • Optional Readonlyrepository?: {
          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<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;
          };
          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;
      }
      • Optional Readonlyarchived?: boolean
      • Optional ReadonlydefaultBranch?: string
        main
        
      • Optional Readonlydescription?: string
        My repo description
        
      • Optional Readonlyforkable?: boolean
      • Optional ReadonlyhierarchyId?: string
        e3c939f9ef4a7fae272e
        
      • Optional Readonlyid?: number

        Format: int32

      • Optional Readonlylinks?: Record<string, unknown>
      • Optional Readonlyname?: string
        My repo
        
      • Optional Readonlyorigin?: {
            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<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;
        }
        • Optional Readonlyarchived?: boolean
        • Optional ReadonlydefaultBranch?: string
          main
          
        • Optional Readonlydescription?: string
          My repo description
          
        • Optional Readonlyforkable?: boolean
        • Optional ReadonlyhierarchyId?: string
          e3c939f9ef4a7fae272e
          
        • Optional Readonlyid?: number

          Format: int32

        • Optional Readonlylinks?: Record<string, unknown>
        • Optional Readonlyname?: string
          My repo
          
        • Optional Readonlypartition?: number

          Format: int32

        • Optional Readonlyproject?: {
              avatar?: string;
              avatarUrl?: string;
              description?: string;
              id?: number;
              key: string;
              links?: Record<string, unknown>;
              name?: string;
              public?: boolean;
              scope?: string;
              type?: "NORMAL" | "PERSONAL";
          }
          • Optional Readonlyavatar?: string
          • Optional ReadonlyavatarUrl?: string
          • Optional Readonlydescription?: string
            The description for my cool project
            
          • Optional Readonlyid?: number

            Format: int32

          • Readonlykey: string
            PRJ
            
          • Optional Readonlylinks?: Record<string, unknown>
          • Optional Readonlyname?: string
            My Cool Project
            
          • Optional Readonlypublic?: boolean
          • Optional Readonlyscope?: string
            PROJECT
            
          • Optional Readonlytype?: "NORMAL" | "PERSONAL"
        • Optional Readonlypublic?: boolean
        • Optional ReadonlyrelatedLinks?: Record<string, unknown>
        • Optional ReadonlyscmId?: string
          git
          
        • Optional Readonlyscope?: string
          REPOSITORY
          
        • Optional Readonlyslug?: string
          my-repo
          
        • Optional Readonlystate?:
              | "AVAILABLE"
              | "INITIALISATION_FAILED"
              | "INITIALISING"
              | "OFFLINE"
        • Optional ReadonlystatusMessage?: string
          Available
          
      • Optional Readonlypartition?: number

        Format: int32

      • Optional Readonlyproject?: {
            avatar?: string;
            avatarUrl?: string;
            description?: string;
            id?: number;
            key: string;
            links?: Record<string, unknown>;
            name?: string;
            public?: boolean;
            scope?: string;
            type?: "NORMAL" | "PERSONAL";
        }
        • Optional Readonlyavatar?: string
        • Optional ReadonlyavatarUrl?: string
        • Optional Readonlydescription?: string
          The description for my cool project
          
        • Optional Readonlyid?: number

          Format: int32

        • Readonlykey: string
          PRJ
          
        • Optional Readonlylinks?: Record<string, unknown>
        • Optional Readonlyname?: string
          My Cool Project
          
        • Optional Readonlypublic?: boolean
        • Optional Readonlyscope?: string
          PROJECT
          
        • Optional Readonlytype?: "NORMAL" | "PERSONAL"
      • Optional Readonlypublic?: boolean
      • Optional ReadonlyrelatedLinks?: Record<string, unknown>
      • Optional ReadonlyscmId?: string
        git
        
      • Optional Readonlyscope?: string
        REPOSITORY
        
      • Optional Readonlyslug?: string
        my-repo
        
      • Optional Readonlystate?:
            | "AVAILABLE"
            | "INITIALISATION_FAILED"
            | "INITIALISING"
            | "OFFLINE"
      • Optional ReadonlystatusMessage?: string
        Available
        
    • Optional ReadonlytoRef?: {
          displayId?: string;
          id?: string;
          type?: "BRANCH" | "TAG";
      }
      • Optional ReadonlydisplayId?: string
        master
        
      • Optional Readonlyid?: string
        refs/heads/master
        
      • Optional Readonlytype?: "BRANCH" | "TAG"
  • ReadonlyRestPushRefChange: {
        fromHash?: string;
        ref?: {
            displayId?: string;
            id?: string;
            type?: "BRANCH" | "TAG";
        };
        refId?: string;
        toHash?: string;
        type?: "DELETE" | "ADD" | "UPDATE";
        updatedType?:
            | "UNRESOLVED"
            | "UNKNOWN"
            | "FORCED"
            | "NOT_FORCED";
    }
    • Optional ReadonlyfromHash?: string
      6053a1eaa1c009dd11092d09a72f3c41af1b59ad
      
    • Optional Readonlyref?: {
          displayId?: string;
          id?: string;
          type?: "BRANCH" | "TAG";
      }
      • Optional ReadonlydisplayId?: string
        master
        
      • Optional Readonlyid?: string
        refs/heads/master
        
      • Optional Readonlytype?: "BRANCH" | "TAG"
    • Optional ReadonlyrefId?: string
      refs/heads/master
      
    • Optional ReadonlytoHash?: string
      d6edcbf924697ab811a867421dab60d954ccad99
      
    • Optional Readonlytype?: "DELETE" | "ADD" | "UPDATE"
    • Optional ReadonlyupdatedType?:
          | "UNRESOLVED"
          | "UNKNOWN"
          | "FORCED"
          | "NOT_FORCED"
  • ReadonlyRestRateLimitSettings: {
        defaultSettings?: {
            capacity?: number;
            fillRate?: number;
        };
        enabled?: boolean;
    }
    • Optional ReadonlydefaultSettings?: {
          capacity?: number;
          fillRate?: number;
      }
      • Optional Readonlycapacity?: number

        Format: int32

        60
        
      • Optional ReadonlyfillRate?: number

        Format: int32

        5
        
    • Optional Readonlyenabled?: boolean
  • ReadonlyRestRawAccessToken: {
        createdDate?: string;
        id?: string;
        name?: string;
        token?: string;
    }
    • Optional ReadonlycreatedDate?: string

      Format: date-time

    • Optional Readonlyid?: string
      252973515069
      
    • Optional Readonlyname?: string
      My access token
      
    • Optional Readonlytoken?: string
      MjUyOTczNTE1MDY5On2rDbID2EgYpH8AVOECHv0saruQ
      
  • ReadonlyRestRefChange: {
        fromHash?: string;
        ref?: {
            displayId?: string;
            id?: string;
            type?: "BRANCH" | "TAG";
        };
        refId?: string;
        toHash?: string;
        type?: "DELETE" | "ADD" | "UPDATE";
    }
    • Optional ReadonlyfromHash?: string
      6053a1eaa1c009dd11092d09a72f3c41af1b59ad
      
    • Optional Readonlyref?: {
          displayId?: string;
          id?: string;
          type?: "BRANCH" | "TAG";
      }
      • Optional ReadonlydisplayId?: string
        master
        
      • Optional Readonlyid?: string
        refs/heads/master
        
      • Optional Readonlytype?: "BRANCH" | "TAG"
    • Optional ReadonlyrefId?: string
      refs/heads/master
      
    • Optional ReadonlytoHash?: string
      d6edcbf924697ab811a867421dab60d954ccad99
      
    • Optional Readonlytype?: "DELETE" | "ADD" | "UPDATE"
  • ReadonlyRestRefMatcher: {
        displayId?: string;
        id?: string;
        type?: {
            id?:
                | "BRANCH"
                | "ANY_REF"
                | "MODEL_BRANCH"
                | "MODEL_CATEGORY"
                | "PATTERN";
            name?: string;
        };
    }
    • Optional ReadonlydisplayId?: string
      main
      
    • Optional Readonlyid?: string
      refs/heads/main
      
    • Optional Readonlytype?: {
          id?:
              | "BRANCH"
              | "ANY_REF"
              | "MODEL_BRANCH"
              | "MODEL_CATEGORY"
              | "PATTERN";
          name?: string;
      }
      • Optional Readonlyid?:
            | "BRANCH"
            | "ANY_REF"
            | "MODEL_BRANCH"
            | "MODEL_CATEGORY"
            | "PATTERN"
      • Optional Readonlyname?: string
        Branch
        
  • ReadonlyRestRefMatcherType: {
        id?:
            | "BRANCH"
            | "ANY_REF"
            | "MODEL_BRANCH"
            | "MODEL_CATEGORY"
            | "PATTERN";
        name?: string;
    }
    • Optional Readonlyid?:
          | "BRANCH"
          | "ANY_REF"
          | "MODEL_BRANCH"
          | "MODEL_CATEGORY"
          | "PATTERN"
    • Optional Readonlyname?: string
      Branch
      
  • ReadonlyRestRefRestriction: {
        accessKeys?: readonly {
            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;
            };
        }[];
        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";
        }[];
    }
    • Optional ReadonlyaccessKeys?: readonly {
          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;
          };
      }[]
    • Optional Readonlygroups?: readonly string[]
      [
      "group_a",
      "group_b"
      ]
    • Optional Readonlyid?: number

      Format: int32

      1
      
    • Optional Readonlymatcher?: {
          displayId?: string;
          id?: string;
          type?: {
              id?:
                  | "BRANCH"
                  | "ANY_REF"
                  | "MODEL_BRANCH"
                  | "MODEL_CATEGORY"
                  | "PATTERN";
              name?: string;
          };
      }
      • Optional ReadonlydisplayId?: string
        main
        
      • Optional Readonlyid?: string
        refs/heads/main
        
      • Optional Readonlytype?: {
            id?:
                | "BRANCH"
                | "ANY_REF"
                | "MODEL_BRANCH"
                | "MODEL_CATEGORY"
                | "PATTERN";
            name?: string;
        }
        • Optional Readonlyid?:
              | "BRANCH"
              | "ANY_REF"
              | "MODEL_BRANCH"
              | "MODEL_CATEGORY"
              | "PATTERN"
        • Optional Readonlyname?: string
          Branch
          
    • Optional Readonlyscope?: {
          resourceId?: number;
          type?: "GLOBAL" | "PROJECT" | "REPOSITORY";
      }
      • Optional ReadonlyresourceId?: number

        Format: int32

        2
        
      • Optional Readonlytype?: "GLOBAL" | "PROJECT" | "REPOSITORY"
    • Optional Readonlytype?: string
      pull-request-only
      
    • Optional Readonlyusers?: readonly {
          active?: boolean;
          avatarUrl?: string;
          displayName?: string;
          emailAddress?: string;
          id?: number;
          links?: Record<string, unknown>;
          name?: string;
          slug?: string;
          type?: "NORMAL" | "SERVICE";
      }[]
  • ReadonlyRestRefSyncQueue: {
        values?: readonly {
            attempt?: number;
            createdAt?: string;
            externalRepoId?: string;
            type?: "incremental" | "snapshot";
        }[];
    }
    • Optional Readonlyvalues?: readonly {
          attempt?: number;
          createdAt?: string;
          externalRepoId?: string;
          type?: "incremental" | "snapshot";
      }[]
  • ReadonlyRestRefSyncRequest: {
        action?: "DISCARD" | "MERGE" | "REBASE";
        context?: {
            commitMessage?: string;
        };
        refId?: string;
    }
    • Optional Readonlyaction?: "DISCARD" | "MERGE" | "REBASE"
      MERGE
      @enum {string}
    • Optional Readonlycontext?: {
          commitMessage?: string;
      }
      • Optional ReadonlycommitMessage?: string
        Merging in latest from upstream.
        
    • Optional ReadonlyrefId?: string
      refs/heads/master
      
  • ReadonlyRestRefSyncStatus: {
        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";
        };
    }
    • Optional ReadonlyaheadRefs?: {
          displayId?: string;
          id?: string;
          state?: "AHEAD" | "DIVERGED" | "ORPHANED";
          tag?: boolean;
          type?: "BRANCH" | "TAG";
      }
      • Optional ReadonlydisplayId?: string
        master
        
      • Optional Readonlyid?: string
        refs/heads/master
        
      • Optional Readonlystate?: "AHEAD" | "DIVERGED" | "ORPHANED"
      • Optional Readonlytag?: boolean
      • Optional Readonlytype?: "BRANCH" | "TAG"
    • Optional Readonlyavailable?: boolean
    • Optional ReadonlydivergedRefs?: {
          displayId?: string;
          id?: string;
          state?: "AHEAD" | "DIVERGED" | "ORPHANED";
          tag?: boolean;
          type?: "BRANCH" | "TAG";
      }
      • Optional ReadonlydisplayId?: string
        master
        
      • Optional Readonlyid?: string
        refs/heads/master
        
      • Optional Readonlystate?: "AHEAD" | "DIVERGED" | "ORPHANED"
      • Optional Readonlytag?: boolean
      • Optional Readonlytype?: "BRANCH" | "TAG"
    • Optional Readonlyenabled?: boolean
    • Optional ReadonlylastSync?: number
      1331038800000
      
    • Optional ReadonlyorphanedRefs?: {
          displayId?: string;
          id?: string;
          state?: "AHEAD" | "DIVERGED" | "ORPHANED";
          tag?: boolean;
          type?: "BRANCH" | "TAG";
      }
      • Optional ReadonlydisplayId?: string
        master
        
      • Optional Readonlyid?: string
        refs/heads/master
        
      • Optional Readonlystate?: "AHEAD" | "DIVERGED" | "ORPHANED"
      • Optional Readonlytag?: boolean
      • Optional Readonlytype?: "BRANCH" | "TAG"
  • ReadonlyRestRejectedRef: {
        displayId?: string;
        id?: string;
        state?: "AHEAD" | "DIVERGED" | "ORPHANED";
        tag?: boolean;
        type?: "BRANCH" | "TAG";
    }
    • Optional ReadonlydisplayId?: string
      master
      
    • Optional Readonlyid?: string
      refs/heads/master
      
    • Optional Readonlystate?: "AHEAD" | "DIVERGED" | "ORPHANED"
    • Optional Readonlytag?: boolean
    • Optional Readonlytype?: "BRANCH" | "TAG"
  • ReadonlyRestRelatedLinks: unknown
  • ReadonlyRestRepositoriesExportRequest: {
        includes: readonly {
            projectKey?: string;
            slug?: string;
        }[];
    }
    • Readonlyincludes: readonly {
          projectKey?: string;
          slug?: string;
      }[]
  • ReadonlyRestRepository: {
        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<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;
        };
        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;
    }
    • Optional Readonlyarchived?: boolean
    • Optional ReadonlydefaultBranch?: string
      main
      
    • Optional Readonlydescription?: string
      My repo description
      
    • Optional Readonlyforkable?: boolean
    • Optional ReadonlyhierarchyId?: string
      e3c939f9ef4a7fae272e
      
    • Optional Readonlyid?: number

      Format: int32

    • Optional Readonlylinks?: Record<string, unknown>
    • Optional Readonlyname?: string
      My repo
      
    • Optional Readonlyorigin?: {
          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<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;
      }
      • Optional Readonlyarchived?: boolean
      • Optional ReadonlydefaultBranch?: string
        main
        
      • Optional Readonlydescription?: string
        My repo description
        
      • Optional Readonlyforkable?: boolean
      • Optional ReadonlyhierarchyId?: string
        e3c939f9ef4a7fae272e
        
      • Optional Readonlyid?: number

        Format: int32

      • Optional Readonlylinks?: Record<string, unknown>
      • Optional Readonlyname?: string
        My repo
        
      • Optional Readonlypartition?: number

        Format: int32

      • Optional Readonlyproject?: {
            avatar?: string;
            avatarUrl?: string;
            description?: string;
            id?: number;
            key: string;
            links?: Record<string, unknown>;
            name?: string;
            public?: boolean;
            scope?: string;
            type?: "NORMAL" | "PERSONAL";
        }
        • Optional Readonlyavatar?: string
        • Optional ReadonlyavatarUrl?: string
        • Optional Readonlydescription?: string
          The description for my cool project
          
        • Optional Readonlyid?: number

          Format: int32

        • Readonlykey: string
          PRJ
          
        • Optional Readonlylinks?: Record<string, unknown>
        • Optional Readonlyname?: string
          My Cool Project
          
        • Optional Readonlypublic?: boolean
        • Optional Readonlyscope?: string
          PROJECT
          
        • Optional Readonlytype?: "NORMAL" | "PERSONAL"
      • Optional Readonlypublic?: boolean
      • Optional ReadonlyrelatedLinks?: Record<string, unknown>
      • Optional ReadonlyscmId?: string
        git
        
      • Optional Readonlyscope?: string
        REPOSITORY
        
      • Optional Readonlyslug?: string
        my-repo
        
      • Optional Readonlystate?:
            | "AVAILABLE"
            | "INITIALISATION_FAILED"
            | "INITIALISING"
            | "OFFLINE"
      • Optional ReadonlystatusMessage?: string
        Available
        
    • Optional Readonlypartition?: number

      Format: int32

    • Optional Readonlyproject?: {
          avatar?: string;
          avatarUrl?: string;
          description?: string;
          id?: number;
          key: string;
          links?: Record<string, unknown>;
          name?: string;
          public?: boolean;
          scope?: string;
          type?: "NORMAL" | "PERSONAL";
      }
      • Optional Readonlyavatar?: string
      • Optional ReadonlyavatarUrl?: string
      • Optional Readonlydescription?: string
        The description for my cool project
        
      • Optional Readonlyid?: number

        Format: int32

      • Readonlykey: string
        PRJ
        
      • Optional Readonlylinks?: Record<string, unknown>
      • Optional Readonlyname?: string
        My Cool Project
        
      • Optional Readonlypublic?: boolean
      • Optional Readonlyscope?: string
        PROJECT
        
      • Optional Readonlytype?: "NORMAL" | "PERSONAL"
    • Optional Readonlypublic?: boolean
    • Optional ReadonlyrelatedLinks?: Record<string, unknown>
    • Optional ReadonlyscmId?: string
      git
      
    • Optional Readonlyscope?: string
      REPOSITORY
      
    • Optional Readonlyslug?: string
      my-repo
      
    • Optional Readonlystate?:
          | "AVAILABLE"
          | "INITIALISATION_FAILED"
          | "INITIALISING"
          | "OFFLINE"
    • Optional ReadonlystatusMessage?: string
      Available
      
  • ReadonlyRestRepositoryHook: {
        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";
        };
    }
    • Optional Readonlyconfigured?: boolean
    • Optional Readonlydetails?: {
          configFormKey?: string;
          description?: string;
          key?: string;
          name?: string;
          supportedScopes?: readonly ("GLOBAL" | "PROJECT" | "REPOSITORY")[];
          type?: "POST_RECEIVE" | "PRE_PULL_REQUEST_MERGE" | "PRE_RECEIVE";
          version?: string;
      }
      • Optional ReadonlyconfigFormKey?: string
      • Optional Readonlydescription?: string
      • Optional Readonlykey?: string
      • Optional Readonlyname?: string
      • Optional ReadonlysupportedScopes?: readonly ("GLOBAL" | "PROJECT" | "REPOSITORY")[]
      • Optional Readonlytype?: "POST_RECEIVE" | "PRE_PULL_REQUEST_MERGE" | "PRE_RECEIVE"
      • Optional Readonlyversion?: string
    • Optional Readonlyenabled?: boolean
    • Optional Readonlyscope?: {
          resourceId?: number;
          type?: "GLOBAL" | "PROJECT" | "REPOSITORY";
      }
      • Optional ReadonlyresourceId?: number

        Format: int32

        2
        
      • Optional Readonlytype?: "GLOBAL" | "PROJECT" | "REPOSITORY"
  • ReadonlyRestRepositoryHookVeto: {
        detailedMessage?: string;
        summaryMessage?: string;
    }
    • Optional ReadonlydetailedMessage?: string
      You have insufficient permissions to rebase 'refs/heads/feature-branch'.
      
    • Optional ReadonlysummaryMessage?: string
      Insufficient branch permissions
      
  • ReadonlyRestRepositoryMirrorEvent: {
        mirrorRepoId?: number;
        type?: "SYNCHRONIZATION_FAILED" | "SYNCHRONIZED";
        upstreamRepoId?: string;
    }
    • Optional ReadonlymirrorRepoId?: number

      Format: int32

      42
      
    • Optional Readonlytype?: "SYNCHRONIZATION_FAILED" | "SYNCHRONIZED"
    • Optional ReadonlyupstreamRepoId?: string
      24
      
  • ReadonlyRestRepositoryPolicy: {
        permission?:
            | "ADMIN"
            | "PROJECT_ADMIN"
            | "REPO_ADMIN"
            | "SYS_ADMIN";
    }
    • Optional Readonlypermission?:
          | "ADMIN"
          | "PROJECT_ADMIN"
          | "REPO_ADMIN"
          | "SYS_ADMIN"

      The permission required to delete repositories. Must be one of: "SYS_ADMIN", "ADMIN", "PROJECT_ADMIN", "REPO_ADMIN".

      ADMIN
      @enum {string}
  • ReadonlyRestRepositoryPullRequestSettings: {
        mergeConfig?: {
            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;
        };
        requiredAllApprovers?: boolean;
        requiredAllTasksComplete?: boolean;
        requiredApprovers?: {
            count?: string;
            enabled?: boolean;
        };
        requiredApproversDeprecated?: number;
        requiredSuccessfulBuilds?: {
            count?: string;
            enabled?: boolean;
        };
        requiredSuccessfulBuildsDeprecated?: number;
    }
    • Optional ReadonlymergeConfig?: {
          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;
      }
      • Optional ReadonlycommitMessageTemplate?: {
            body?: string;
            title?: string;
        }
        • Optional Readonlybody?: string
          Merge in ${toProjectKey}/${toRepoSlug} from ${crossRepoProjectRepo}${fromRefName} to ${toRefName}
          
        • Optional Readonlytitle?: string
          Pull request #${id}: ${title}
          
      • Optional ReadonlycommitSummaries?: number

        Format: int32

      • Optional ReadonlydefaultStrategy?: {
            description?: string;
            enabled?: boolean;
            flag?: string;
            id?: string;
            links?: Record<string, unknown>;
            name?: string;
        }
        • Optional Readonlydescription?: string
          Always create a merge commit
          
        • Optional Readonlyenabled?: boolean
        • Optional Readonlyflag?: string
          --no-ff
          
        • Optional Readonlyid?: string
          no-ff
          
        • Optional Readonlylinks?: Record<string, unknown>
        • Optional Readonlyname?: string
          Merge commit
          
      • Optional Readonlystrategies?: readonly {
            description?: string;
            enabled?: boolean;
            flag?: string;
            id?: string;
            links?: Record<string, unknown>;
            name?: string;
        }[]
      • Optional Readonlytype?: string
        repository
        
    • Optional ReadonlyrequiredAllApprovers?: boolean
    • Optional ReadonlyrequiredAllTasksComplete?: boolean
    • Optional ReadonlyrequiredApprovers?: {
          count?: string;
          enabled?: boolean;
      }
      • Optional Readonlycount?: string
        3
        
      • Optional Readonlyenabled?: boolean
        true
        
    • Optional ReadonlyrequiredApproversDeprecated?: number

      Format: int32

    • Optional ReadonlyrequiredSuccessfulBuilds?: {
          count?: string;
          enabled?: boolean;
      }
      • Optional Readonlycount?: string
        3
        
      • Optional Readonlyenabled?: boolean
        true
        
    • Optional ReadonlyrequiredSuccessfulBuildsDeprecated?: number

      Format: int32

  • ReadonlyRestRepositoryRefChangeActivity: {
        createdDate?: number;
        id?: number;
        refChange?: {
            fromHash?: string;
            ref?: {
                displayId?: string;
                id?: string;
                type?: "BRANCH" | "TAG";
            };
            refId?: string;
            toHash?: string;
            type?: "DELETE" | "ADD" | "UPDATE";
            updatedType?:
                | "UNRESOLVED"
                | "UNKNOWN"
                | "FORCED"
                | "NOT_FORCED";
        };
        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<string, unknown>;
                name?: 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;
            };
            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;
        };
        trigger?: string;
        user?: {
            active?: boolean;
            avatarUrl?: string;
            displayName?: string;
            emailAddress?: string;
            id?: number;
            links?: Record<string, unknown>;
            name?: string;
            slug?: string;
            type?: "NORMAL" | "SERVICE";
        };
    }
    • Optional ReadonlycreatedDate?: number

      Format: int64

      19990759200
      
    • Optional Readonlyid?: number

      Format: int64

      1
      
    • Optional ReadonlyrefChange?: {
          fromHash?: string;
          ref?: {
              displayId?: string;
              id?: string;
              type?: "BRANCH" | "TAG";
          };
          refId?: string;
          toHash?: string;
          type?: "DELETE" | "ADD" | "UPDATE";
          updatedType?:
              | "UNRESOLVED"
              | "UNKNOWN"
              | "FORCED"
              | "NOT_FORCED";
      }
      • Optional ReadonlyfromHash?: string
        6053a1eaa1c009dd11092d09a72f3c41af1b59ad
        
      • Optional Readonlyref?: {
            displayId?: string;
            id?: string;
            type?: "BRANCH" | "TAG";
        }
        • Optional ReadonlydisplayId?: string
          master
          
        • Optional Readonlyid?: string
          refs/heads/master
          
        • Optional Readonlytype?: "BRANCH" | "TAG"
      • Optional ReadonlyrefId?: string
        refs/heads/master
        
      • Optional ReadonlytoHash?: string
        d6edcbf924697ab811a867421dab60d954ccad99
        
      • Optional Readonlytype?: "DELETE" | "ADD" | "UPDATE"
      • Optional ReadonlyupdatedType?:
            | "UNRESOLVED"
            | "UNKNOWN"
            | "FORCED"
            | "NOT_FORCED"
    • Optional Readonlyrepository?: {
          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<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;
          };
          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;
      }
      • Optional Readonlyarchived?: boolean
      • Optional ReadonlydefaultBranch?: string
        main
        
      • Optional Readonlydescription?: string
        My repo description
        
      • Optional Readonlyforkable?: boolean
      • Optional ReadonlyhierarchyId?: string
        e3c939f9ef4a7fae272e
        
      • Optional Readonlyid?: number

        Format: int32

      • Optional Readonlylinks?: Record<string, unknown>
      • Optional Readonlyname?: string
        My repo
        
      • Optional Readonlyorigin?: {
            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<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;
        }
        • Optional Readonlyarchived?: boolean
        • Optional ReadonlydefaultBranch?: string
          main
          
        • Optional Readonlydescription?: string
          My repo description
          
        • Optional Readonlyforkable?: boolean
        • Optional ReadonlyhierarchyId?: string
          e3c939f9ef4a7fae272e
          
        • Optional Readonlyid?: number

          Format: int32

        • Optional Readonlylinks?: Record<string, unknown>
        • Optional Readonlyname?: string
          My repo
          
        • Optional Readonlypartition?: number

          Format: int32

        • Optional Readonlyproject?: {
              avatar?: string;
              avatarUrl?: string;
              description?: string;
              id?: number;
              key: string;
              links?: Record<string, unknown>;
              name?: string;
              public?: boolean;
              scope?: string;
              type?: "NORMAL" | "PERSONAL";
          }
          • Optional Readonlyavatar?: string
          • Optional ReadonlyavatarUrl?: string
          • Optional Readonlydescription?: string
            The description for my cool project
            
          • Optional Readonlyid?: number

            Format: int32

          • Readonlykey: string
            PRJ
            
          • Optional Readonlylinks?: Record<string, unknown>
          • Optional Readonlyname?: string
            My Cool Project
            
          • Optional Readonlypublic?: boolean
          • Optional Readonlyscope?: string
            PROJECT
            
          • Optional Readonlytype?: "NORMAL" | "PERSONAL"
        • Optional Readonlypublic?: boolean
        • Optional ReadonlyrelatedLinks?: Record<string, unknown>
        • Optional ReadonlyscmId?: string
          git
          
        • Optional Readonlyscope?: string
          REPOSITORY
          
        • Optional Readonlyslug?: string
          my-repo
          
        • Optional Readonlystate?:
              | "AVAILABLE"
              | "INITIALISATION_FAILED"
              | "INITIALISING"
              | "OFFLINE"
        • Optional ReadonlystatusMessage?: string
          Available
          
      • Optional Readonlypartition?: number

        Format: int32

      • Optional Readonlyproject?: {
            avatar?: string;
            avatarUrl?: string;
            description?: string;
            id?: number;
            key: string;
            links?: Record<string, unknown>;
            name?: string;
            public?: boolean;
            scope?: string;
            type?: "NORMAL" | "PERSONAL";
        }
        • Optional Readonlyavatar?: string
        • Optional ReadonlyavatarUrl?: string
        • Optional Readonlydescription?: string
          The description for my cool project
          
        • Optional Readonlyid?: number

          Format: int32

        • Readonlykey: string
          PRJ
          
        • Optional Readonlylinks?: Record<string, unknown>
        • Optional Readonlyname?: string
          My Cool Project
          
        • Optional Readonlypublic?: boolean
        • Optional Readonlyscope?: string
          PROJECT
          
        • Optional Readonlytype?: "NORMAL" | "PERSONAL"
      • Optional Readonlypublic?: boolean
      • Optional ReadonlyrelatedLinks?: Record<string, unknown>
      • Optional ReadonlyscmId?: string
        git
        
      • Optional Readonlyscope?: string
        REPOSITORY
        
      • Optional Readonlyslug?: string
        my-repo
        
      • Optional Readonlystate?:
            | "AVAILABLE"
            | "INITIALISATION_FAILED"
            | "INITIALISING"
            | "OFFLINE"
      • Optional ReadonlystatusMessage?: string
        Available
        
    • Optional Readonlytrigger?: string
      push
      
    • Optional Readonlyuser?: {
          active?: boolean;
          avatarUrl?: string;
          displayName?: string;
          emailAddress?: string;
          id?: number;
          links?: Record<string, unknown>;
          name?: string;
          slug?: string;
          type?: "NORMAL" | "SERVICE";
      }
      • Optional Readonlyactive?: boolean
      • Optional ReadonlyavatarUrl?: string
      • Optional ReadonlydisplayName?: string
        Jane Citizen
        
      • Optional ReadonlyemailAddress?: string
        jane@example.com
        
      • Optional Readonlyid?: number

        Format: int32

        101
        
      • Optional Readonlylinks?: Record<string, unknown>
      • Optional Readonlyname?: string
        jcitizen
        
      • Optional Readonlyslug?: string
        jcitizen
        
      • Optional Readonlytype?: "NORMAL" | "SERVICE"
  • ReadonlyRestRepositorySelector: {
        projectKey?: string;
        slug?: string;
    }
    • Optional ReadonlyprojectKey?: string
      PRJ
      
    • Optional Readonlyslug?: string
      my-repo
      
  • ReadonlyRestRequiredBuildCondition: {
        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;
            };
        };
    }
    • Optional ReadonlybuildParentKeys?: readonly string[]

      A non-empty list of build parent keys that require green builds for this merge check to pass

      [
      "build-key-1",
      "build-key-2"
      ]
    • Optional ReadonlyexemptRefMatcher?: {
          displayId?: string;
          id?: string;
          type?: {
              id?:
                  | "BRANCH"
                  | "ANY_REF"
                  | "MODEL_BRANCH"
                  | "MODEL_CATEGORY"
                  | "PATTERN";
              name?: string;
          };
      }
      • Optional ReadonlydisplayId?: string
        main
        
      • Optional Readonlyid?: string
        refs/heads/main
        
      • Optional Readonlytype?: {
            id?:
                | "BRANCH"
                | "ANY_REF"
                | "MODEL_BRANCH"
                | "MODEL_CATEGORY"
                | "PATTERN";
            name?: string;
        }
        • Optional Readonlyid?:
              | "BRANCH"
              | "ANY_REF"
              | "MODEL_BRANCH"
              | "MODEL_CATEGORY"
              | "PATTERN"
        • Optional Readonlyname?: string
          Branch
          
    • Optional Readonlyid?: number

      Format: int64

      15
      
    • Optional ReadonlyrefMatcher?: {
          displayId?: string;
          id?: string;
          type?: {
              id?:
                  | "BRANCH"
                  | "ANY_REF"
                  | "MODEL_BRANCH"
                  | "MODEL_CATEGORY"
                  | "PATTERN";
              name?: string;
          };
      }
      • Optional ReadonlydisplayId?: string
        main
        
      • Optional Readonlyid?: string
        refs/heads/main
        
      • Optional Readonlytype?: {
            id?:
                | "BRANCH"
                | "ANY_REF"
                | "MODEL_BRANCH"
                | "MODEL_CATEGORY"
                | "PATTERN";
            name?: string;
        }
        • Optional Readonlyid?:
              | "BRANCH"
              | "ANY_REF"
              | "MODEL_BRANCH"
              | "MODEL_CATEGORY"
              | "PATTERN"
        • Optional Readonlyname?: string
          Branch
          
  • ReadonlyRestRequiredBuildConditionSetRequest: {
        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;
            };
        };
    }
    • ReadonlybuildParentKeys: readonly string[]

      A non-empty list of build parent keys that require green builds for this merge check to pass

      [
      "build-key-1",
      "build-key-2"
      ]
    • Optional ReadonlyexemptRefMatcher?: {
          displayId?: string;
          id?: string;
          type?: {
              id?:
                  | "BRANCH"
                  | "ANY_REF"
                  | "MODEL_BRANCH"
                  | "MODEL_CATEGORY"
                  | "PATTERN";
              name?: string;
          };
      }
      • Optional ReadonlydisplayId?: string
        main
        
      • Optional Readonlyid?: string
        refs/heads/main
        
      • Optional Readonlytype?: {
            id?:
                | "BRANCH"
                | "ANY_REF"
                | "MODEL_BRANCH"
                | "MODEL_CATEGORY"
                | "PATTERN";
            name?: string;
        }
        • Optional Readonlyid?:
              | "BRANCH"
              | "ANY_REF"
              | "MODEL_BRANCH"
              | "MODEL_CATEGORY"
              | "PATTERN"
        • Optional Readonlyname?: string
          Branch
          
    • ReadonlyrefMatcher: {
          displayId?: string;
          id?: string;
          type?: {
              id?:
                  | "BRANCH"
                  | "ANY_REF"
                  | "MODEL_BRANCH"
                  | "MODEL_CATEGORY"
                  | "PATTERN";
              name?: string;
          };
      }
      • Optional ReadonlydisplayId?: string
        main
        
      • Optional Readonlyid?: string
        refs/heads/main
        
      • Optional Readonlytype?: {
            id?:
                | "BRANCH"
                | "ANY_REF"
                | "MODEL_BRANCH"
                | "MODEL_CATEGORY"
                | "PATTERN";
            name?: string;
        }
        • Optional Readonlyid?:
              | "BRANCH"
              | "ANY_REF"
              | "MODEL_BRANCH"
              | "MODEL_CATEGORY"
              | "PATTERN"
        • Optional Readonlyname?: string
          Branch
          
  • ReadonlyRestRestrictionRequest: {
        accessKeyIds?: readonly number[];
        accessKeys?: readonly {
            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;
            };
        }[];
        groupNames?: readonly string[];
        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";
        }[];
        userSlugs?: readonly string[];
    }
    • Optional ReadonlyaccessKeyIds?: readonly number[]
      [
      1,
      2,
      3
      ]
    • Optional ReadonlyaccessKeys?: readonly {
          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;
          };
      }[]
    • Optional ReadonlygroupNames?: readonly string[]
      [
      "bitbucket-developers"
      ]
    • Optional Readonlygroups?: readonly string[]
      [
      "group_a",
      "group_b"
      ]
    • Optional Readonlyid?: number

      Format: int32

      1
      
    • Optional Readonlymatcher?: {
          displayId?: string;
          id?: string;
          type?: {
              id?:
                  | "BRANCH"
                  | "ANY_REF"
                  | "MODEL_BRANCH"
                  | "MODEL_CATEGORY"
                  | "PATTERN";
              name?: string;
          };
      }
      • Optional ReadonlydisplayId?: string
        main
        
      • Optional Readonlyid?: string
        refs/heads/main
        
      • Optional Readonlytype?: {
            id?:
                | "BRANCH"
                | "ANY_REF"
                | "MODEL_BRANCH"
                | "MODEL_CATEGORY"
                | "PATTERN";
            name?: string;
        }
        • Optional Readonlyid?:
              | "BRANCH"
              | "ANY_REF"
              | "MODEL_BRANCH"
              | "MODEL_CATEGORY"
              | "PATTERN"
        • Optional Readonlyname?: string
          Branch
          
    • Optional Readonlyscope?: {
          resourceId?: number;
          type?: "GLOBAL" | "PROJECT" | "REPOSITORY";
      }
      • Optional ReadonlyresourceId?: number

        Format: int32

        2
        
      • Optional Readonlytype?: "GLOBAL" | "PROJECT" | "REPOSITORY"
    • Optional Readonlytype?: string
      pull-request-only
      
    • Optional Readonlyusers?: readonly {
          active?: boolean;
          avatarUrl?: string;
          displayName?: string;
          emailAddress?: string;
          id?: number;
          links?: Record<string, unknown>;
          name?: string;
          slug?: string;
          type?: "NORMAL" | "SERVICE";
      }[]
    • Optional ReadonlyuserSlugs?: readonly string[]
      [
      "bman",
      "tstark",
      "hulk"
      ]
  • ReadonlyRestReviewerGroup: {
        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";
        }[];
    }
    • Optional ReadonlyavatarUrl?: string
    • Optional Readonlydescription?: string
      null
      
    • Optional Readonlyid?: number

      Format: int64

    • Optional Readonlyname?: string
      name
      
    • Optional Readonlyscope?: {
          resourceId?: number;
          type?: "GLOBAL" | "PROJECT" | "REPOSITORY";
      }
      • Optional ReadonlyresourceId?: number

        Format: int32

        2
        
      • Optional Readonlytype?: "GLOBAL" | "PROJECT" | "REPOSITORY"
    • Optional Readonlyusers?: readonly {
          active?: boolean;
          displayName?: string;
          emailAddress?: string;
          id?: number;
          name?: string;
          slug?: string;
          type?: "NORMAL" | "SERVICE";
      }[]
  • ReadonlyRestRollingUpgradeState: {
        rollingUpgradeEnabled?: boolean;
        version?: string;
    }
    • Optional ReadonlyrollingUpgradeEnabled?: boolean
      true
      
    • Optional Readonlyversion?: string
      9.0.0
      
  • ReadonlyRestScope: {
        resourceId?: number;
        type?: "GLOBAL" | "PROJECT" | "REPOSITORY";
    }
    • Optional ReadonlyresourceId?: number

      Format: int32

      2
      
    • Optional Readonlytype?: "GLOBAL" | "PROJECT" | "REPOSITORY"
  • ReadonlyRestScopesExample: {
        links?: Record<string, unknown>;
        scopes?: readonly Record<string, unknown>[];
    }
    • Optional Readonlylinks?: Record<string, unknown>
    • Optional Readonlyscopes?: readonly Record<string, unknown>[]
  • ReadonlyRestSecretScanningAllowlistRule: {
        id?: number;
        lineRegex?: string;
        name?: string;
        pathRegex?: string;
    }
    • Optional Readonlyid?: number

      Format: int64

      The ID of the rule

      7
      
    • Optional ReadonlylineRegex?: string

      If present, regular expression for matching a secret on a code line

      (BBDC-[a-zA-Z0-9+]{44})
      
    • Optional Readonlyname?: string

      Human readable name for the rule

      Bitbucket DC HTTP access token
      
    • Optional ReadonlypathRegex?: string

      If present, regular expression matching file names

      *.pem
      
  • ReadonlyRestSecretScanningAllowlistRuleSetRequest: {
        lineRegex?: string;
        name?: string;
        pathRegex?: string;
    }
    • Optional ReadonlylineRegex?: string

      Regular expression for matching a secret on a code line

      (BBDC-[a-zA-Z0-9+]{44})
      
    • Optional Readonlyname?: string

      Human readable name for the rule

      Bitbucket DC HTTP access token
      
    • Optional ReadonlypathRegex?: string

      Regular expression matching file names

      *.pem
      
  • ReadonlyRestSecretScanningRule: {
        id?: number;
        lineRegex?: string;
        name?: string;
        pathRegex?: string;
        scope?: {
            resourceId?: number;
            type?: "GLOBAL" | "PROJECT" | "REPOSITORY";
        };
    }
    • Optional Readonlyid?: number

      Format: int64

      The ID of the rule

      7
      
    • Optional ReadonlylineRegex?: string

      If present, regular expression for matching a secret on a code line

      (BBDC-[a-zA-Z0-9+]{44})
      
    • Optional Readonlyname?: string

      Human readable name for the rule

      Bitbucket DC HTTP access token
      
    • Optional ReadonlypathRegex?: string

      If present, regular expression matching file names

      *.pem
      
    • Optional Readonlyscope?: {
          resourceId?: number;
          type?: "GLOBAL" | "PROJECT" | "REPOSITORY";
      }

      The scope in which this rule was configured for.

      • Optional ReadonlyresourceId?: number

        Format: int32

        2
        
      • Optional Readonlytype?: "GLOBAL" | "PROJECT" | "REPOSITORY"
  • ReadonlyRestSecretScanningRuleSetRequest: {
        lineRegex?: string;
        name?: string;
        pathRegex?: string;
    }
    • Optional ReadonlylineRegex?: string

      Regular expression for matching a secret on a code line

      (BBDC-[a-zA-Z0-9+]{44})
      
    • Optional Readonlyname?: string

      Human readable name for the rule

      Bitbucket DC HTTP access token
      
    • Optional ReadonlypathRegex?: string

      Regular expression matching file names

      *.pem
      
  • ReadonlyRestSetInsightReportRequest: {
        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;
    }
    • Optional ReadonlycoverageProviderKey?: string
    • Optional ReadonlycreatedDate?: number

      Format: int64

      1630041546433
      
    • Readonlydata: readonly {
          title?: string;
          type?: string;
          value?: Record<string, unknown>;
      }[]
    • Optional Readonlydetails?: string
      This is the details of the report, it can be a longer string describing the report.
      
    • Optional Readonlylink?: string
      http://insight.example.com
      
    • Optional ReadonlylogoUrl?: string
      http://insight.example.com/logo
      
    • Optional Readonlyreporter?: string
      Reporter/tool that produced this report
      
    • Optional Readonlyresult?: string
      PASS
      
    • Readonlytitle: string
      report.title
      
  • ReadonlyRestSingleAddInsightAnnotationRequest: {
        externalId?: string;
        line?: number;
        link?: string;
        message: string;
        path?: string;
        severity: string;
        type?: string;
    }
    • Optional ReadonlyexternalId?: string
      message-1
      
    • Optional Readonlyline?: number

      Format: int32

      4
      
    • Optional Readonlylink?: string
      https://link.to.tool/that/produced/annotation/message-1
      
    • Readonlymessage: string
      This is a bug here because reasons
      
    • Optional Readonlypath?: string
      path/to/file/in/repo
      
    • Readonlyseverity: string
      MEDIUM
      
    • Optional Readonlytype?: string
      CODE_SMELL
      
  • ReadonlyRestSshAccessKey: {
        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<string, unknown>;
                name?: 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;
            };
            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;
        };
    }
    • Optional Readonlykey?: {
          algorithmType?: string;
          bitLength?: number;
          createdDate?: string;
          expiryDays?: number;
          fingerprint?: string;
          id?: number;
          label?: string;
          lastAuthenticated?: string;
          text?: string;
      }
      • Optional ReadonlyalgorithmType?: string
      • Optional ReadonlybitLength?: number

        Format: int32

      • Optional ReadonlycreatedDate?: string

        Format: date-time

      • Optional ReadonlyexpiryDays?: number

        Format: int32

        30
        
      • Optional Readonlyfingerprint?: string
        Cbg38r+gDCiNHqBk6Y1BKO+EvufFBqhFWIEXh8oq9MI
        
      • Optional Readonlyid?: number

        Format: int32

        1
        
      • Optional Readonlylabel?: string
        me@127.0.0.1
        
      • Optional ReadonlylastAuthenticated?: string
        1630041546434
        
      • Optional Readonlytext?: string
        ssh-rsa AAAAB3... me@127.0.0.1
        
    • Optional Readonlypermission?:
          | "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"
    • Optional Readonlyproject?: {
          avatar?: string;
          avatarUrl?: string;
          description?: string;
          id?: number;
          key: string;
          links?: Record<string, unknown>;
          name?: string;
          public?: boolean;
          scope?: string;
          type?: "NORMAL" | "PERSONAL";
      }
      • Optional Readonlyavatar?: string
      • Optional ReadonlyavatarUrl?: string
      • Optional Readonlydescription?: string
        The description for my cool project
        
      • Optional Readonlyid?: number

        Format: int32

      • Readonlykey: string
        PRJ
        
      • Optional Readonlylinks?: Record<string, unknown>
      • Optional Readonlyname?: string
        My Cool Project
        
      • Optional Readonlypublic?: boolean
      • Optional Readonlyscope?: string
        PROJECT
        
      • Optional Readonlytype?: "NORMAL" | "PERSONAL"
    • Optional Readonlyrepository?: {
          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<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;
          };
          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;
      }
      • Optional Readonlyarchived?: boolean
      • Optional ReadonlydefaultBranch?: string
        main
        
      • Optional Readonlydescription?: string
        My repo description
        
      • Optional Readonlyforkable?: boolean
      • Optional ReadonlyhierarchyId?: string
        e3c939f9ef4a7fae272e
        
      • Optional Readonlyid?: number

        Format: int32

      • Optional Readonlylinks?: Record<string, unknown>
      • Optional Readonlyname?: string
        My repo
        
      • Optional Readonlyorigin?: {
            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<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;
        }
        • Optional Readonlyarchived?: boolean
        • Optional ReadonlydefaultBranch?: string
          main
          
        • Optional Readonlydescription?: string
          My repo description
          
        • Optional Readonlyforkable?: boolean
        • Optional ReadonlyhierarchyId?: string
          e3c939f9ef4a7fae272e
          
        • Optional Readonlyid?: number

          Format: int32

        • Optional Readonlylinks?: Record<string, unknown>
        • Optional Readonlyname?: string
          My repo
          
        • Optional Readonlypartition?: number

          Format: int32

        • Optional Readonlyproject?: {
              avatar?: string;
              avatarUrl?: string;
              description?: string;
              id?: number;
              key: string;
              links?: Record<string, unknown>;
              name?: string;
              public?: boolean;
              scope?: string;
              type?: "NORMAL" | "PERSONAL";
          }
          • Optional Readonlyavatar?: string
          • Optional ReadonlyavatarUrl?: string
          • Optional Readonlydescription?: string
            The description for my cool project
            
          • Optional Readonlyid?: number

            Format: int32

          • Readonlykey: string
            PRJ
            
          • Optional Readonlylinks?: Record<string, unknown>
          • Optional Readonlyname?: string
            My Cool Project
            
          • Optional Readonlypublic?: boolean
          • Optional Readonlyscope?: string
            PROJECT
            
          • Optional Readonlytype?: "NORMAL" | "PERSONAL"
        • Optional Readonlypublic?: boolean
        • Optional ReadonlyrelatedLinks?: Record<string, unknown>
        • Optional ReadonlyscmId?: string
          git
          
        • Optional Readonlyscope?: string
          REPOSITORY
          
        • Optional Readonlyslug?: string
          my-repo
          
        • Optional Readonlystate?:
              | "AVAILABLE"
              | "INITIALISATION_FAILED"
              | "INITIALISING"
              | "OFFLINE"
        • Optional ReadonlystatusMessage?: string
          Available
          
      • Optional Readonlypartition?: number

        Format: int32

      • Optional Readonlyproject?: {
            avatar?: string;
            avatarUrl?: string;
            description?: string;
            id?: number;
            key: string;
            links?: Record<string, unknown>;
            name?: string;
            public?: boolean;
            scope?: string;
            type?: "NORMAL" | "PERSONAL";
        }
        • Optional Readonlyavatar?: string
        • Optional ReadonlyavatarUrl?: string
        • Optional Readonlydescription?: string
          The description for my cool project
          
        • Optional Readonlyid?: number

          Format: int32

        • Readonlykey: string
          PRJ
          
        • Optional Readonlylinks?: Record<string, unknown>
        • Optional Readonlyname?: string
          My Cool Project
          
        • Optional Readonlypublic?: boolean
        • Optional Readonlyscope?: string
          PROJECT
          
        • Optional Readonlytype?: "NORMAL" | "PERSONAL"
      • Optional Readonlypublic?: boolean
      • Optional ReadonlyrelatedLinks?: Record<string, unknown>
      • Optional ReadonlyscmId?: string
        git
        
      • Optional Readonlyscope?: string
        REPOSITORY
        
      • Optional Readonlyslug?: string
        my-repo
        
      • Optional Readonlystate?:
            | "AVAILABLE"
            | "INITIALISATION_FAILED"
            | "INITIALISING"
            | "OFFLINE"
      • Optional ReadonlystatusMessage?: string
        Available
        
  • ReadonlyRestSshAccessKeyLocations: {
        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<string, unknown>;
                name?: 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;
            };
            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;
        };
    }
    • Optional Readonlyprojects?: {
          avatar?: string;
          avatarUrl?: string;
          description?: string;
          id?: number;
          key?: string;
          links?: Record<string, unknown>;
          name?: string;
          public?: boolean;
          scope?: string;
          type?: "NORMAL" | "PERSONAL";
      }
      • Optional Readonlyavatar?: string
      • Optional ReadonlyavatarUrl?: string
      • Optional Readonlydescription?: string
        The description for my cool project
        
      • Optional Readonlyid?: number

        Format: int32

      • Optional Readonlykey?: string
        PRJ
        
      • Optional Readonlylinks?: Record<string, unknown>
      • Optional Readonlyname?: string
        My Cool Project
        
      • Optional Readonlypublic?: boolean
      • Optional Readonlyscope?: string
        PROJECT
        
      • Optional Readonlytype?: "NORMAL" | "PERSONAL"
    • Optional Readonlyrepositories?: {
          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<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;
          };
          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;
      }
      • Optional Readonlyarchived?: boolean
      • Optional ReadonlydefaultBranch?: string
        main
        
      • Optional Readonlydescription?: string
        My repo description
        
      • Optional Readonlyforkable?: boolean
      • Optional ReadonlyhierarchyId?: string
        e3c939f9ef4a7fae272e
        
      • Optional Readonlyid?: number

        Format: int32

      • Optional Readonlylinks?: Record<string, unknown>
      • Optional Readonlyname?: string
        My repo
        
      • Optional Readonlyorigin?: {
            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<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;
        }
        • Optional Readonlyarchived?: boolean
        • Optional ReadonlydefaultBranch?: string
          main
          
        • Optional Readonlydescription?: string
          My repo description
          
        • Optional Readonlyforkable?: boolean
        • Optional ReadonlyhierarchyId?: string
          e3c939f9ef4a7fae272e
          
        • Optional Readonlyid?: number

          Format: int32

        • Optional Readonlylinks?: Record<string, unknown>
        • Optional Readonlyname?: string
          My repo
          
        • Optional Readonlypartition?: number

          Format: int32

        • Optional Readonlyproject?: {
              avatar?: string;
              avatarUrl?: string;
              description?: string;
              id?: number;
              key: string;
              links?: Record<string, unknown>;
              name?: string;
              public?: boolean;
              scope?: string;
              type?: "NORMAL" | "PERSONAL";
          }
          • Optional Readonlyavatar?: string
          • Optional ReadonlyavatarUrl?: string
          • Optional Readonlydescription?: string
            The description for my cool project
            
          • Optional Readonlyid?: number

            Format: int32

          • Readonlykey: string
            PRJ
            
          • Optional Readonlylinks?: Record<string, unknown>
          • Optional Readonlyname?: string
            My Cool Project
            
          • Optional Readonlypublic?: boolean
          • Optional Readonlyscope?: string
            PROJECT
            
          • Optional Readonlytype?: "NORMAL" | "PERSONAL"
        • Optional Readonlypublic?: boolean
        • Optional ReadonlyrelatedLinks?: Record<string, unknown>
        • Optional ReadonlyscmId?: string
          git
          
        • Optional Readonlyscope?: string
          REPOSITORY
          
        • Optional Readonlyslug?: string
          my-repo
          
        • Optional Readonlystate?:
              | "AVAILABLE"
              | "INITIALISATION_FAILED"
              | "INITIALISING"
              | "OFFLINE"
        • Optional ReadonlystatusMessage?: string
          Available
          
      • Optional Readonlypartition?: number

        Format: int32

      • Optional Readonlyproject?: {
            avatar?: string;
            avatarUrl?: string;
            description?: string;
            id?: number;
            key: string;
            links?: Record<string, unknown>;
            name?: string;
            public?: boolean;
            scope?: string;
            type?: "NORMAL" | "PERSONAL";
        }
        • Optional Readonlyavatar?: string
        • Optional ReadonlyavatarUrl?: string
        • Optional Readonlydescription?: string
          The description for my cool project
          
        • Optional Readonlyid?: number

          Format: int32

        • Readonlykey: string
          PRJ
          
        • Optional Readonlylinks?: Record<string, unknown>
        • Optional Readonlyname?: string
          My Cool Project
          
        • Optional Readonlypublic?: boolean
        • Optional Readonlyscope?: string
          PROJECT
          
        • Optional Readonlytype?: "NORMAL" | "PERSONAL"
      • Optional Readonlypublic?: boolean
      • Optional ReadonlyrelatedLinks?: Record<string, unknown>
      • Optional ReadonlyscmId?: string
        git
        
      • Optional Readonlyscope?: string
        REPOSITORY
        
      • Optional Readonlyslug?: string
        my-repo
        
      • Optional Readonlystate?:
            | "AVAILABLE"
            | "INITIALISATION_FAILED"
            | "INITIALISING"
            | "OFFLINE"
      • Optional ReadonlystatusMessage?: string
        Available
        
  • ReadonlyRestSshCredentials: {
        algorithm?: string;
        publicKey: string;
        username?: string;
    }
    • Optional Readonlyalgorithm?: string

      The key algorithm, if passing in a legacy X.509 encoded key. Do not specify for OpenSSH encoded keys

      RSA
      
    • ReadonlypublicKey: string

      The public key text in the OpenSSH format. The algorithm must be specified in case of the legacy X.509 keys

      ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKjFjYCLJjrIY/jCXPbJ9wd3drcGospvPkKFNZ1ZcacA test@test.local
      
    • Optional Readonlyusername?: string
      git
      
  • ReadonlyRestSshKey: {
        algorithmType?: string;
        bitLength?: number;
        createdDate?: string;
        expiryDays?: number;
        fingerprint?: string;
        id?: number;
        label?: string;
        lastAuthenticated?: string;
        text?: string;
    }
    • Optional ReadonlyalgorithmType?: string
    • Optional ReadonlybitLength?: number

      Format: int32

    • Optional ReadonlycreatedDate?: string

      Format: date-time

    • Optional ReadonlyexpiryDays?: number

      Format: int32

      30
      
    • Optional Readonlyfingerprint?: string
      Cbg38r+gDCiNHqBk6Y1BKO+EvufFBqhFWIEXh8oq9MI
      
    • Optional Readonlyid?: number

      Format: int32

      1
      
    • Optional Readonlylabel?: string
      me@127.0.0.1
      
    • Optional ReadonlylastAuthenticated?: string
      1630041546434
      
    • Optional Readonlytext?: string
      ssh-rsa AAAAB3... me@127.0.0.1
      
  • ReadonlyRestSshKeySettings: {
        keyTypeRestrictions?: readonly {
            algorithm?: string;
            allowed?: boolean;
            minKeyLength?: {
                asInt?: number;
                present?: boolean;
            };
        }[];
        maxExpiryDays?: {
            asInt?: number;
            present?: boolean;
        };
    }
    • Optional ReadonlykeyTypeRestrictions?: readonly {
          algorithm?: string;
          allowed?: boolean;
          minKeyLength?: {
              asInt?: number;
              present?: boolean;
          };
      }[]
    • Optional ReadonlymaxExpiryDays?: {
          asInt?: number;
          present?: boolean;
      }
      • Optional ReadonlyasInt?: number

        Format: int32

      • Optional Readonlypresent?: boolean
  • ReadonlyRestSshKeyTypeRestriction: {
        algorithm?: string;
        allowed?: boolean;
        minKeyLength?: {
            asInt?: number;
            present?: boolean;
        };
    }
    • Optional Readonlyalgorithm?: string
      RSA
      
    • Optional Readonlyallowed?: boolean
      true
      
    • Optional ReadonlyminKeyLength?: {
          asInt?: number;
          present?: boolean;
      }
      2048
      
      • Optional ReadonlyasInt?: number

        Format: int32

      • Optional Readonlypresent?: boolean
  • ReadonlyRestSshSettings: {
        accessKeysEnabled?: boolean;
        baseUrl?: string;
        enabled?: boolean;
        fingerprint?: {
            algorithm?: string;
            value?: string;
        };
        port?: number;
    }
    • Optional ReadonlyaccessKeysEnabled?: boolean
    • Optional ReadonlybaseUrl?: string
      ssh://example.com
      
    • Optional Readonlyenabled?: boolean
      true
      
    • Optional Readonlyfingerprint?: {
          algorithm?: string;
          value?: string;
      }
      • Optional Readonlyalgorithm?: string
      • Optional Readonlyvalue?: string
    • Optional Readonlyport?: number

      Format: int32

      7999
      
  • ReadonlyRestSyncProgress: {
        discovering?: boolean;
        syncedRepos?: number;
        totalRepos?: number;
    }
    • Optional Readonlydiscovering?: boolean
    • Optional ReadonlysyncedRepos?: number

      Format: int32

    • Optional ReadonlytotalRepos?: number

      Format: int32

  • ReadonlyRestSystemSigningConfiguration: {
        enabled?: boolean;
    }
    • Optional Readonlyenabled?: boolean
      false
      
  • ReadonlyRestTag: {
        displayId?: string;
        hash?: string;
        id?: string;
        latestChangeset?: string;
        latestCommit?: string;
        type?: "BRANCH" | "TAG";
    }
    • Optional ReadonlydisplayId?: string
      master
      
    • Optional Readonlyhash?: string
      8d51122def5632836d1cb1026e879069e10a1e13
      
    • Optional Readonlyid?: string
      refs/heads/master
      
    • Optional ReadonlylatestChangeset?: string
      8d51122def5632836d1cb1026e879069e10a1e13
      
    • Optional ReadonlylatestCommit?: string
      8d51122def5632836d1cb1026e879069e10a1e13
      
    • Optional Readonlytype?: "BRANCH" | "TAG"
  • ReadonlyRestTestResults: {
        failed?: number;
        skipped?: number;
        successful?: number;
    }
    • Optional Readonlyfailed?: number

      Format: int32

      1
      
    • Optional Readonlyskipped?: number

      Format: int32

      5
      
    • Optional Readonlysuccessful?: number

      Format: int32

      134
      
  • ReadonlyRestTokenBucketSettings: {
        capacity?: number;
        fillRate?: number;
    }
    • Optional Readonlycapacity?: number

      Format: int32

      60
      
    • Optional ReadonlyfillRate?: number

      Format: int32

      5
      
  • ReadonlyRestUpstreamServer: {
        baseUrl?: string;
        id?: string;
        state?:
            | "PENDING"
            | "REMOVED"
            | "UNKNOWN"
            | "INITIALIZING"
            | "INSTALLED";
    }
    • Optional ReadonlybaseUrl?: string
      https://bitbucket.example.com
      
    • Optional Readonlyid?: string
      f76a35c5-4592-425d-bf85-b4d9db68e809
      
    • Optional Readonlystate?:
          | "PENDING"
          | "REMOVED"
          | "UNKNOWN"
          | "INITIALIZING"
          | "INSTALLED"
      INSTALLED
      @enum {string}
  • ReadonlyRestUpstreamSettings: {
        mode?: "ALL_PROJECTS" | "SELECTED_PROJECTS";
        projectIds?: readonly string[];
    }
    • Optional Readonlymode?: "ALL_PROJECTS" | "SELECTED_PROJECTS"
    • Optional ReadonlyprojectIds?: readonly string[]
  • ReadonlyRestUserDirectory: {
        active?: boolean;
        description?: string;
        name?: string;
        type?: string;
    }
    • Optional Readonlyactive?: boolean
      true
      
    • Optional Readonlydescription?: string
      This directory has users that are able to access Bitbucket DC
      
    • Optional Readonlyname?: string
      Bitbucket Internal Directory
      
    • Optional Readonlytype?: string
      Crowd
      
  • ReadonlyRestUsernamePasswordCredentials: {
        password: string;
        username: string;
    }
    • Readonlypassword: string
      secr3t
      
    • Readonlyusername: string
      user1
      
  • ReadonlyRestUserRateLimitSettings: {
        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;
    }
    • Optional Readonlysettings?: {
          capacity?: number;
          fillRate?: number;
      }
      • Optional Readonlycapacity?: number

        Format: int32

        60
        
      • Optional ReadonlyfillRate?: number

        Format: int32

        5
        
    • Optional Readonlyuser?: {
          active?: boolean;
          avatarUrl?: string;
          displayName?: string;
          emailAddress?: string;
          id?: number;
          links?: Record<string, unknown>;
          name?: string;
          slug?: string;
          type?: "NORMAL" | "SERVICE";
      }
      • Optional Readonlyactive?: boolean
      • Optional ReadonlyavatarUrl?: string
      • Optional ReadonlydisplayName?: string
        Jane Citizen
        
      • Optional ReadonlyemailAddress?: string
        jane@example.com
        
      • Optional Readonlyid?: number

        Format: int32

        101
        
      • Optional Readonlylinks?: Record<string, unknown>
      • Optional Readonlyname?: string
        jcitizen
        
      • Optional Readonlyslug?: string
        jcitizen
        
      • Optional Readonlytype?: "NORMAL" | "SERVICE"
    • Optional Readonlywhitelisted?: boolean
  • ReadonlyRestUserRateLimitSettingsUpdateRequest: {
        settings?: {
            capacity?: number;
            fillRate?: number;
        };
        whitelisted?: boolean;
    }
    • Optional Readonlysettings?: {
          capacity?: number;
          fillRate?: number;
      }
      • Optional Readonlycapacity?: number

        Format: int32

        60
        
      • Optional ReadonlyfillRate?: number

        Format: int32

        5
        
    • Optional Readonlywhitelisted?: boolean
  • ReadonlyRestUserReaction: {
        comment?: {
            anchor?: {
                diffType?: "COMMIT" | "EFFECTIVE" | "RANGE";
                fileType?: "FROM" | "TO";
                fromHash?: string;
                line?: number;
                lineComment?: boolean;
                lineType?: "ADDED" | "CONTEXT" | "REMOVED";
                path?: {
                    components?: readonly string[];
                    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<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;
                };
                srcPath?: {
                    components?: readonly string[];
                    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 {
                anchor?: {
                    diffType?: "COMMIT" | "EFFECTIVE" | "RANGE";
                    fileType?: "FROM" | "TO";
                    fromHash?: string;
                    line?: number;
                    lineComment?: boolean;
                    lineType?: "ADDED" | "CONTEXT" | "REMOVED";
                    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 lineComment?: boolean; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }[] | undefined;
                createdDate?: number;
                html?: string;
                id?: number;
                parent?: {
                    anchor?: {
                        diffType?: ...;
                        fileType?: ...;
                        fromHash?: ...;
                        line?: ...;
                        lineComment?: ...;
                        lineType?: ...;
                        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 lineComment?: boolean; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }[] | undefined;
                    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;
            }[];
            createdDate?: number;
            html?: string;
            id?: number;
            parent?: {
                anchor?: {
                    diffType?: "COMMIT" | "EFFECTIVE" | "RANGE";
                    fileType?: "FROM" | "TO";
                    fromHash?: string;
                    line?: number;
                    lineComment?: boolean;
                    lineType?: "ADDED" | "CONTEXT" | "REMOVED";
                    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<string, unknown>;
                    name?: string;
                    slug?: string;
                    type?: "NORMAL" | "SERVICE";
                };
                comments?: readonly {
                    anchor?: {
                        diffType?: ...;
                        fileType?: ...;
                        fromHash?: ...;
                        line?: ...;
                        lineComment?: ...;
                        lineType?: ...;
                        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 lineComment?: boolean; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }[] | undefined;
                    createdDate?: number;
                    html?: string;
                    id?: number;
                    parent?: {
                        anchor?: ...;
                        anchored?: ...;
                        author?: ...;
                        comments?: ...;
                        createdDate?: ...;
                        html?: ...;
                        id?: ...;
                        pending?: ...;
                        properties?: ...;
                        reply?: ...;
                        resolvedDate?: ...;
                        resolver?: ...;
                        severity?: ...;
                        state?: ...;
                        text?: ...;
                        threadResolved?: ...;
                        threadResolvedDate?: ...;
                        threadResolver?: ...;
                        updatedDate?: ...;
                        version?: ...;
                    };
                    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;
                }[];
                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<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;
            };
            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;
        };
        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";
        };
    }
    • Optional Readonlycomment?: {
          anchor?: {
              diffType?: "COMMIT" | "EFFECTIVE" | "RANGE";
              fileType?: "FROM" | "TO";
              fromHash?: string;
              line?: number;
              lineComment?: boolean;
              lineType?: "ADDED" | "CONTEXT" | "REMOVED";
              path?: {
                  components?: readonly string[];
                  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<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;
              };
              srcPath?: {
                  components?: readonly string[];
                  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 {
              anchor?: {
                  diffType?: "COMMIT" | "EFFECTIVE" | "RANGE";
                  fileType?: "FROM" | "TO";
                  fromHash?: string;
                  line?: number;
                  lineComment?: boolean;
                  lineType?: "ADDED" | "CONTEXT" | "REMOVED";
                  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 lineComment?: boolean; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }[] | undefined;
              createdDate?: number;
              html?: string;
              id?: number;
              parent?: {
                  anchor?: {
                      diffType?: ...;
                      fileType?: ...;
                      fromHash?: ...;
                      line?: ...;
                      lineComment?: ...;
                      lineType?: ...;
                      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 lineComment?: boolean; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }[] | undefined;
                  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;
          }[];
          createdDate?: number;
          html?: string;
          id?: number;
          parent?: {
              anchor?: {
                  diffType?: "COMMIT" | "EFFECTIVE" | "RANGE";
                  fileType?: "FROM" | "TO";
                  fromHash?: string;
                  line?: number;
                  lineComment?: boolean;
                  lineType?: "ADDED" | "CONTEXT" | "REMOVED";
                  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<string, unknown>;
                  name?: string;
                  slug?: string;
                  type?: "NORMAL" | "SERVICE";
              };
              comments?: readonly {
                  anchor?: {
                      diffType?: ...;
                      fileType?: ...;
                      fromHash?: ...;
                      line?: ...;
                      lineComment?: ...;
                      lineType?: ...;
                      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 lineComment?: boolean; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }[] | undefined;
                  createdDate?: number;
                  html?: string;
                  id?: number;
                  parent?: {
                      anchor?: ...;
                      anchored?: ...;
                      author?: ...;
                      comments?: ...;
                      createdDate?: ...;
                      html?: ...;
                      id?: ...;
                      pending?: ...;
                      properties?: ...;
                      reply?: ...;
                      resolvedDate?: ...;
                      resolver?: ...;
                      severity?: ...;
                      state?: ...;
                      text?: ...;
                      threadResolved?: ...;
                      threadResolvedDate?: ...;
                      threadResolver?: ...;
                      updatedDate?: ...;
                      version?: ...;
                  };
                  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;
              }[];
              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<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;
          };
          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;
      }
      • Optional Readonlyanchor?: {
            diffType?: "COMMIT" | "EFFECTIVE" | "RANGE";
            fileType?: "FROM" | "TO";
            fromHash?: string;
            line?: number;
            lineComment?: boolean;
            lineType?: "ADDED" | "CONTEXT" | "REMOVED";
            path?: {
                components?: readonly string[];
                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<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;
            };
            srcPath?: {
                components?: readonly string[];
                extension?: string;
                name?: string;
                parent?: string;
            };
            toHash?: string;
        }
        • Optional ReadonlydiffType?: "COMMIT" | "EFFECTIVE" | "RANGE"
        • Optional ReadonlyfileType?: "FROM" | "TO"
        • Optional ReadonlyfromHash?: string
          62a0505e8204115b8b9c8a95bfa264a8c0896a93
          
        • Optional Readonlyline?: number

          Format: int32

          98
          
        • Optional ReadonlylineComment?: boolean
        • Optional ReadonlylineType?: "ADDED" | "CONTEXT" | "REMOVED"
        • Optional Readonlypath?: {
              components?: readonly string[];
              extension?: string;
              name?: string;
              parent?: string;
          }
          • Optional Readonlycomponents?: readonly string[]
            [
            "path",
            "to",
            "file.txt"
            ]
          • Optional Readonlyextension?: string
            txt
            
          • Optional Readonlyname?: string
            file.txt
            
          • Optional Readonlyparent?: string
            path/to
            
        • Optional ReadonlypullRequest?: {
              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;
          }
          • Optional Readonlyclosed?: boolean
          • Optional ReadonlyclosedDate?: number

            Format: int64

            19990759200
            
          • Optional ReadonlycreatedDate?: number

            Format: int64

            13590759200
            
          • Optional Readonlydescription?: string
            It is a kludge, but put the tuple from the database in the cache.
            
          • Optional ReadonlydescriptionAsHtml?: string
          • Optional Readonlydraft?: boolean
          • Optional ReadonlyfromRef?: {
                displayId?: (...) | (...);
                id?: (...) | (...);
                latestCommit?: (...) | (...);
                repository?: (...) | (...);
                type?: (...) | (...) | (...);
            }
            • Optional ReadonlydisplayId?: (...) | (...)
              feature-ABC-1233
              
            • Optional Readonlyid?: (...) | (...)
              refs/heads/feature-ABC-123
              
            • Optional ReadonlylatestCommit?: (...) | (...)
              babecafebabecafebabecafebabecafebabecafe
              
            • Optional Readonlyrepository?: (...) | (...)
            • Optional Readonlytype?: (...) | (...) | (...)
          • Optional ReadonlyhtmlDescription?: string
          • Optional Readonlyid?: number

            Format: int64

            1
            
          • Optional Readonlylinks?: Record<string, unknown>
          • Optional Readonlylocked?: boolean
          • Optional Readonlyopen?: boolean
          • Optional Readonlyparticipants?: readonly {
                approved?: ...;
                lastReviewedCommit?: ...;
                role?: ...;
                status?: ...;
                user?: ...;
            }[]
          • Optional Readonlyreviewers?: readonly {
                approved?: ...;
                lastReviewedCommit?: ...;
                role?: ...;
                status?: ...;
                user?: ...;
            }[]
          • Optional Readonlystate?: "DECLINED" | "MERGED" | "OPEN"
          • Optional Readonlytitle?: string
            Talking Nerdy
            
          • Optional ReadonlytoRef?: {
                displayId?: (...) | (...);
                id?: (...) | (...);
                latestCommit?: (...) | (...);
                repository?: (...) | (...);
                type?: (...) | (...) | (...);
            }
            • Optional ReadonlydisplayId?: (...) | (...)
              feature-ABC-1233
              
            • Optional Readonlyid?: (...) | (...)
              refs/heads/feature-ABC-123
              
            • Optional ReadonlylatestCommit?: (...) | (...)
              babecafebabecafebabecafebabecafebabecafe
              
            • Optional Readonlyrepository?: (...) | (...)
            • Optional Readonlytype?: (...) | (...) | (...)
          • Optional ReadonlyupdatedDate?: number

            Format: int64

            14490759200
            
          • Optional Readonlyversion?: number

            Format: int32

        • Optional ReadonlysrcPath?: {
              components?: readonly string[];
              extension?: string;
              name?: string;
              parent?: string;
          }
          • Optional Readonlycomponents?: readonly string[]
            [
            "path",
            "to",
            "file.txt"
            ]
          • Optional Readonlyextension?: string
            txt
            
          • Optional Readonlyname?: string
            file.txt
            
          • Optional Readonlyparent?: string
            path/to
            
        • Optional ReadonlytoHash?: string
          3cdd5d19178a54d2e51b5098d43b57571241d0ab
          
      • Optional Readonlyanchored?: boolean
      • Optional Readonlyauthor?: {
            active?: boolean;
            avatarUrl?: string;
            displayName?: string;
            emailAddress?: string;
            id?: number;
            links?: Record<string, unknown>;
            name?: string;
            slug?: string;
            type?: "NORMAL" | "SERVICE";
        }
        • Optional Readonlyactive?: boolean
        • Optional ReadonlyavatarUrl?: string
        • Optional ReadonlydisplayName?: string
          Jane Citizen
          
        • Optional ReadonlyemailAddress?: string
          jane@example.com
          
        • Optional Readonlyid?: number

          Format: int32

          101
          
        • Optional Readonlylinks?: Record<string, unknown>
        • Optional Readonlyname?: string
          jcitizen
          
        • Optional Readonlyslug?: string
          jcitizen
          
        • Optional Readonlytype?: "NORMAL" | "SERVICE"
      • Optional Readonlycomments?: readonly {
            anchor?: {
                diffType?: "COMMIT" | "EFFECTIVE" | "RANGE";
                fileType?: "FROM" | "TO";
                fromHash?: string;
                line?: number;
                lineComment?: boolean;
                lineType?: "ADDED" | "CONTEXT" | "REMOVED";
                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 lineComment?: boolean; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }[] | undefined;
            createdDate?: number;
            html?: string;
            id?: number;
            parent?: {
                anchor?: {
                    diffType?: ...;
                    fileType?: ...;
                    fromHash?: ...;
                    line?: ...;
                    lineComment?: ...;
                    lineType?: ...;
                    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 lineComment?: boolean; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }[] | undefined;
                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;
        }[]
      • Optional ReadonlycreatedDate?: number

        Format: int64

        1359075920
        
      • Optional Readonlyhtml?: string
      • Optional Readonlyid?: number

        Format: int64

        1
        
      • Optional Readonlyparent?: {
            anchor?: {
                diffType?: "COMMIT" | "EFFECTIVE" | "RANGE";
                fileType?: "FROM" | "TO";
                fromHash?: string;
                line?: number;
                lineComment?: boolean;
                lineType?: "ADDED" | "CONTEXT" | "REMOVED";
                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<string, unknown>;
                name?: string;
                slug?: string;
                type?: "NORMAL" | "SERVICE";
            };
            comments?: readonly {
                anchor?: {
                    diffType?: ...;
                    fileType?: ...;
                    fromHash?: ...;
                    line?: ...;
                    lineComment?: ...;
                    lineType?: ...;
                    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 lineComment?: boolean; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }[] | undefined;
                createdDate?: number;
                html?: string;
                id?: number;
                parent?: {
                    anchor?: ...;
                    anchored?: ...;
                    author?: ...;
                    comments?: ...;
                    createdDate?: ...;
                    html?: ...;
                    id?: ...;
                    pending?: ...;
                    properties?: ...;
                    reply?: ...;
                    resolvedDate?: ...;
                    resolver?: ...;
                    severity?: ...;
                    state?: ...;
                    text?: ...;
                    threadResolved?: ...;
                    threadResolvedDate?: ...;
                    threadResolver?: ...;
                    updatedDate?: ...;
                    version?: ...;
                };
                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;
            }[];
            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<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;
        }
        • Optional Readonlyanchor?: {
              diffType?: "COMMIT" | "EFFECTIVE" | "RANGE";
              fileType?: "FROM" | "TO";
              fromHash?: string;
              line?: number;
              lineComment?: boolean;
              lineType?: "ADDED" | "CONTEXT" | "REMOVED";
              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;
          }
          • Optional ReadonlydiffType?: "COMMIT" | "EFFECTIVE" | "RANGE"
          • Optional ReadonlyfileType?: "FROM" | "TO"
          • Optional ReadonlyfromHash?: string
            62a0505e8204115b8b9c8a95bfa264a8c0896a93
            
          • Optional Readonlyline?: number

            Format: int32

            98
            
          • Optional ReadonlylineComment?: boolean
          • Optional ReadonlylineType?: "ADDED" | "CONTEXT" | "REMOVED"
          • Optional Readonlypath?: {
                components?: (...) | (...);
                extension?: (...) | (...);
                name?: (...) | (...);
                parent?: (...) | (...);
            }
            • Optional Readonlycomponents?: (...) | (...)
              [
              "path",
              "to",
              "file.txt"
              ]
            • Optional Readonlyextension?: (...) | (...)
              txt
              
            • Optional Readonlyname?: (...) | (...)
              file.txt
              
            • Optional Readonlyparent?: (...) | (...)
              path/to
              
          • Optional ReadonlypullRequest?: {
                closed?: (...) | (...) | (...);
                closedDate?: (...) | (...);
                createdDate?: (...) | (...);
                description?: (...) | (...);
                descriptionAsHtml?: (...) | (...);
                draft?: (...) | (...) | (...);
                fromRef?: (...) | (...);
                htmlDescription?: (...) | (...);
                id?: (...) | (...);
                links?: (...) | (...);
                locked?: (...) | (...) | (...);
                open?: (...) | (...) | (...);
                participants?: (...) | (...);
                reviewers?: (...) | (...);
                state?:
                    | (...)
                    | (...)
                    | (...)
                    | (...);
                title?: (...) | (...);
                toRef?: (...) | (...);
                updatedDate?: (...) | (...);
                version?: (...) | (...);
            }
            • Optional Readonlyclosed?: (...) | (...) | (...)
            • Optional ReadonlyclosedDate?: (...) | (...)

              Format: int64

              19990759200
              
            • Optional ReadonlycreatedDate?: (...) | (...)

              Format: int64

              13590759200
              
            • Optional Readonlydescription?: (...) | (...)
              It is a kludge, but put the tuple from the database in the cache.
              
            • Optional ReadonlydescriptionAsHtml?: (...) | (...)
            • Optional Readonlydraft?: (...) | (...) | (...)
            • Optional ReadonlyfromRef?: (...) | (...)
            • Optional ReadonlyhtmlDescription?: (...) | (...)
            • Optional Readonlyid?: (...) | (...)

              Format: int64

              1
              
            • Optional Readonlylinks?: (...) | (...)
            • Optional Readonlylocked?: (...) | (...) | (...)
            • Optional Readonlyopen?: (...) | (...) | (...)
            • Optional Readonlyparticipants?: (...) | (...)
            • Optional Readonlyreviewers?: (...) | (...)
            • Optional Readonlystate?:
                  | (...)
                  | (...)
                  | (...)
                  | (...)
            • Optional Readonlytitle?: (...) | (...)
              Talking Nerdy
              
            • Optional ReadonlytoRef?: (...) | (...)
            • Optional ReadonlyupdatedDate?: (...) | (...)

              Format: int64

              14490759200
              
            • Optional Readonlyversion?: (...) | (...)

              Format: int32

          • Optional ReadonlysrcPath?: {
                components?: (...) | (...);
                extension?: (...) | (...);
                name?: (...) | (...);
                parent?: (...) | (...);
            }
            • Optional Readonlycomponents?: (...) | (...)
              [
              "path",
              "to",
              "file.txt"
              ]
            • Optional Readonlyextension?: (...) | (...)
              txt
              
            • Optional Readonlyname?: (...) | (...)
              file.txt
              
            • Optional Readonlyparent?: (...) | (...)
              path/to
              
          • Optional ReadonlytoHash?: string
            3cdd5d19178a54d2e51b5098d43b57571241d0ab
            
        • Optional Readonlyanchored?: boolean
        • Optional Readonlyauthor?: {
              active?: boolean;
              avatarUrl?: string;
              displayName?: string;
              emailAddress?: string;
              id?: number;
              links?: Record<string, unknown>;
              name?: string;
              slug?: string;
              type?: "NORMAL" | "SERVICE";
          }
          • Optional Readonlyactive?: boolean
          • Optional ReadonlyavatarUrl?: string
          • Optional ReadonlydisplayName?: string
            Jane Citizen
            
          • Optional ReadonlyemailAddress?: string
            jane@example.com
            
          • Optional Readonlyid?: number

            Format: int32

            101
            
          • Optional Readonlylinks?: Record<string, unknown>
          • Optional Readonlyname?: string
            jcitizen
            
          • Optional Readonlyslug?: string
            jcitizen
            
          • Optional Readonlytype?: "NORMAL" | "SERVICE"
        • Optional Readonlycomments?: readonly {
              anchor?: {
                  diffType?: ...;
                  fileType?: ...;
                  fromHash?: ...;
                  line?: ...;
                  lineComment?: ...;
                  lineType?: ...;
                  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 lineComment?: boolean; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }[] | undefined;
              createdDate?: number;
              html?: string;
              id?: number;
              parent?: {
                  anchor?: ...;
                  anchored?: ...;
                  author?: ...;
                  comments?: ...;
                  createdDate?: ...;
                  html?: ...;
                  id?: ...;
                  pending?: ...;
                  properties?: ...;
                  reply?: ...;
                  resolvedDate?: ...;
                  resolver?: ...;
                  severity?: ...;
                  state?: ...;
                  text?: ...;
                  threadResolved?: ...;
                  threadResolvedDate?: ...;
                  threadResolver?: ...;
                  updatedDate?: ...;
                  version?: ...;
              };
              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;
          }[]
        • Optional ReadonlycreatedDate?: number

          Format: int64

          1359075920
          
        • Optional Readonlyhtml?: string
        • Optional Readonlyid?: number

          Format: int64

          1
          
        • Optional Readonlypending?: boolean
        • Optional Readonlyproperties?: Record<string, unknown>
        • Optional Readonlyreply?: boolean
        • Optional ReadonlyresolvedDate?: number

          Format: int64

          1239075920
          
        • Optional Readonlyresolver?: {
              active?: boolean;
              avatarUrl?: string;
              displayName?: string;
              emailAddress?: string;
              id?: number;
              links?: Record<string, unknown>;
              name?: string;
              slug?: string;
              type?: "NORMAL" | "SERVICE";
          }
          • Optional Readonlyactive?: boolean
          • Optional ReadonlyavatarUrl?: string
          • Optional ReadonlydisplayName?: string
            Jane Citizen
            
          • Optional ReadonlyemailAddress?: string
            jane@example.com
            
          • Optional Readonlyid?: number

            Format: int32

            101
            
          • Optional Readonlylinks?: Record<string, unknown>
          • Optional Readonlyname?: string
            jcitizen
            
          • Optional Readonlyslug?: string
            jcitizen
            
          • Optional Readonlytype?: "NORMAL" | "SERVICE"
        • Optional Readonlyseverity?: string
          NORMAL
          
        • Optional Readonlystate?: string
          OPEN
          
        • Optional Readonlytext?: string
          An insightful comment.
          
        • Optional ReadonlythreadResolved?: boolean

          Indicates if this comment thread has been marked as resolved or not

        • Optional ReadonlythreadResolvedDate?: number

          Format: int64

          1569075920
          
        • Optional ReadonlythreadResolver?: {
              active?: boolean;
              avatarUrl?: string;
              displayName?: string;
              emailAddress?: string;
              id?: number;
              links?: Record<string, unknown>;
              name?: string;
              slug?: string;
              type?: "NORMAL" | "SERVICE";
          }
          • Optional Readonlyactive?: boolean
          • Optional ReadonlyavatarUrl?: string
          • Optional ReadonlydisplayName?: string
            Jane Citizen
            
          • Optional ReadonlyemailAddress?: string
            jane@example.com
            
          • Optional Readonlyid?: number

            Format: int32

            101
            
          • Optional Readonlylinks?: Record<string, unknown>
          • Optional Readonlyname?: string
            jcitizen
            
          • Optional Readonlyslug?: string
            jcitizen
            
          • Optional Readonlytype?: "NORMAL" | "SERVICE"
        • Optional ReadonlyupdatedDate?: number

          Format: int64

          1449075920
          
        • Optional Readonlyversion?: number

          Format: int32

          1
          
      • Optional Readonlypending?: boolean
      • Optional Readonlyproperties?: Record<string, unknown>
      • Optional Readonlyreply?: boolean
      • Optional ReadonlyresolvedDate?: number

        Format: int64

        1239075920
        
      • Optional Readonlyresolver?: {
            active?: boolean;
            avatarUrl?: string;
            displayName?: string;
            emailAddress?: string;
            id?: number;
            links?: Record<string, unknown>;
            name?: string;
            slug?: string;
            type?: "NORMAL" | "SERVICE";
        }
        • Optional Readonlyactive?: boolean
        • Optional ReadonlyavatarUrl?: string
        • Optional ReadonlydisplayName?: string
          Jane Citizen
          
        • Optional ReadonlyemailAddress?: string
          jane@example.com
          
        • Optional Readonlyid?: number

          Format: int32

          101
          
        • Optional Readonlylinks?: Record<string, unknown>
        • Optional Readonlyname?: string
          jcitizen
          
        • Optional Readonlyslug?: string
          jcitizen
          
        • Optional Readonlytype?: "NORMAL" | "SERVICE"
      • Optional Readonlyseverity?: string
        NORMAL
        
      • Optional Readonlystate?: string
        OPEN
        
      • Optional Readonlytext?: string
        An insightful comment.
        
      • Optional ReadonlythreadResolved?: boolean

        Indicates if this comment thread has been marked as resolved or not

      • Optional ReadonlythreadResolvedDate?: number

        Format: int64

        1569075920
        
      • Optional ReadonlythreadResolver?: {
            active?: boolean;
            avatarUrl?: string;
            displayName?: string;
            emailAddress?: string;
            id?: number;
            links?: Record<string, unknown>;
            name?: string;
            slug?: string;
            type?: "NORMAL" | "SERVICE";
        }
        • Optional Readonlyactive?: boolean
        • Optional ReadonlyavatarUrl?: string
        • Optional ReadonlydisplayName?: string
          Jane Citizen
          
        • Optional ReadonlyemailAddress?: string
          jane@example.com
          
        • Optional Readonlyid?: number

          Format: int32

          101
          
        • Optional Readonlylinks?: Record<string, unknown>
        • Optional Readonlyname?: string
          jcitizen
          
        • Optional Readonlyslug?: string
          jcitizen
          
        • Optional Readonlytype?: "NORMAL" | "SERVICE"
      • Optional ReadonlyupdatedDate?: number

        Format: int64

        1449075920
        
      • Optional Readonlyversion?: number

        Format: int32

        1
        
    • Optional Readonlyemoticon?: {
          shortcut?: string;
          url?: string;
          value?: string;
      }
      • Optional Readonlyshortcut?: string
      • Optional Readonlyurl?: string
      • Optional Readonlyvalue?: string
    • Optional Readonlyuser?: {
          active?: boolean;
          avatarUrl?: string;
          displayName?: string;
          emailAddress?: string;
          id?: number;
          links?: Record<string, unknown>;
          name?: string;
          slug?: string;
          type?: "NORMAL" | "SERVICE";
      }
      • Optional Readonlyactive?: boolean
      • Optional ReadonlyavatarUrl?: string
      • Optional ReadonlydisplayName?: string
        Jane Citizen
        
      • Optional ReadonlyemailAddress?: string
        jane@example.com
        
      • Optional Readonlyid?: number

        Format: int32

        101
        
      • Optional Readonlylinks?: Record<string, unknown>
      • Optional Readonlyname?: string
        jcitizen
        
      • Optional Readonlyslug?: string
        jcitizen
        
      • Optional Readonlytype?: "NORMAL" | "SERVICE"
  • ReadonlyRestWebhook: {
        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;
    }
    • Optional Readonlyactive?: boolean
    • Optional Readonlyconfiguration?: Record<string, unknown>
    • Optional Readonlycredentials?: {
          password?: string;
          username?: string;
      }
      • Optional Readonlypassword?: string
      • Optional Readonlyusername?: string
    • Optional Readonlyevents?: readonly string[]
    • Optional Readonlyname?: string
    • Optional ReadonlyscopeType?: string
    • Optional ReadonlysslVerificationRequired?: boolean
    • Optional Readonlystatistics?: Record<string, unknown>
    • Optional Readonlyurl?: string
  • ReadonlyRestWebhookCredentials: {
        password?: string;
        username?: string;
    }
    • Optional Readonlypassword?: string
    • Optional Readonlyusername?: string
  • ReadonlyRestWebhookRequestResponse: unknown
  • ReadonlyRestWebhookScope: {
        id?: string;
        type?: string;
    }
    • Optional Readonlyid?: string
    • Optional Readonlytype?: string
  • ReadonlyRestX509Certificate: {
        fingerprint?: string;
        id?: number;
    }
    • Optional Readonlyfingerprint?: string

      The SHA-256 fingerprint of the X.509 certificate

      e5e8d632c0b86f5bd5ef9a0d55c58ba1fd7776f6bb7c35ca23d85d23281ce58f
      
    • Optional Readonlyid?: number

      Format: int64

      The ID of the X.509 certificate

      7
      
  • ReadonlyScope: {
        resourceId?: number;
        type?: "GLOBAL" | "PROJECT" | "REPOSITORY";
    }
    • Optional ReadonlyresourceId?: number

      Format: int32

    • Optional Readonlytype?: "GLOBAL" | "PROJECT" | "REPOSITORY"
  • ReadonlySimpleSshKeyFingerprint: {
        algorithm?: string;
        value?: string;
    }
    • Optional Readonlyalgorithm?: string
    • Optional Readonlyvalue?: string
  • ReadonlyUserAndGroups: {
        groups: readonly string[];
        user?: string;
    }
    • Readonlygroups: readonly string[]
      [
      "group_a",
      "group_b"
      ]
    • Optional Readonlyuser?: string
      user
      
  • ReadonlyUserPasswordUpdate: {
        oldPassword?: string;
        password?: string;
        passwordConfirm?: string;
    }
    • Optional ReadonlyoldPassword?: string
      my-old-secret-password
      
    • Optional Readonlypassword?: string
      my-secret-password
      
    • Optional ReadonlypasswordConfirm?: string
      my-secret-password
      
  • ReadonlyUserPickerContext: {
        context?: string;
        itemName?: string;
    }
    • Optional Readonlycontext?: string
      group_a
      
    • Optional ReadonlyitemName?: string
      user_a
      
  • ReadonlyUserRename: {
        name?: string;
        newName?: string;
    }
    • Optional Readonlyname?: string
      jcitizen
      
    • Optional ReadonlynewName?: string
      jcitizen-new
      
  • ReadonlyUserUpdate: {
        displayName?: string;
        email?: string;
        name?: string;
    }
    • Optional ReadonlydisplayName?: string
      Jane Citizen
      
    • Optional Readonlyemail?: string
      jane@example.com
      
    • Optional Readonlyname?: string
      jcitizen