/**
 * This file was auto-generated by openapi-typescript.
 * Do not make direct changes to the file.
 */

export interface paths {
    "/health": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * Health check endpoint
         * @description Returns the current status of the API service
         */
        get: {
            parameters: {
                query?: never;
                header?: never;
                path?: never;
                cookie?: never;
            };
            requestBody?: never;
            responses: {
                /** @description Service is healthy */
                200: {
                    headers: {
                        [name: string]: unknown;
                    };
                    content: {
                        "application/json": components["schemas"]["HealthResponse"];
                    };
                };
            };
        };
        put?: never;
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/auth/login": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        put?: never;
        /**
         * User login
         * @description Authenticate user and return JWT token
         */
        post: {
            parameters: {
                query?: never;
                header?: never;
                path?: never;
                cookie?: never;
            };
            requestBody: {
                content: {
                    "application/json": components["schemas"]["LoginRequest"];
                };
            };
            responses: {
                /** @description Login successful */
                200: {
                    headers: {
                        [name: string]: unknown;
                    };
                    content: {
                        "application/json": components["schemas"]["LoginResponse"];
                    };
                };
                /** @description Invalid credentials */
                401: {
                    headers: {
                        [name: string]: unknown;
                    };
                    content: {
                        "application/json": components["schemas"]["Error"];
                    };
                };
            };
        };
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/auth/register": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        put?: never;
        /**
         * User registration
         * @description Register a new user account
         */
        post: {
            parameters: {
                query?: never;
                header?: never;
                path?: never;
                cookie?: never;
            };
            requestBody: {
                content: {
                    "application/json": components["schemas"]["RegisterRequest"];
                };
            };
            responses: {
                /** @description Registration successful */
                201: {
                    headers: {
                        [name: string]: unknown;
                    };
                    content: {
                        "application/json": components["schemas"]["User"];
                    };
                };
                /** @description Invalid input */
                400: {
                    headers: {
                        [name: string]: unknown;
                    };
                    content: {
                        "application/json": components["schemas"]["Error"];
                    };
                };
            };
        };
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/user/profile": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * Get user profile
         * @description Retrieve current user's profile information
         */
        get: {
            parameters: {
                query?: never;
                header?: never;
                path?: never;
                cookie?: never;
            };
            requestBody?: never;
            responses: {
                /** @description Profile retrieved successfully */
                200: {
                    headers: {
                        [name: string]: unknown;
                    };
                    content: {
                        "application/json": components["schemas"]["User"];
                    };
                };
                /** @description Unauthorized */
                401: {
                    headers: {
                        [name: string]: unknown;
                    };
                    content: {
                        "application/json": components["schemas"]["Error"];
                    };
                };
            };
        };
        /**
         * Update user profile
         * @description Update current user's profile information
         */
        put: {
            parameters: {
                query?: never;
                header?: never;
                path?: never;
                cookie?: never;
            };
            requestBody: {
                content: {
                    "application/json": components["schemas"]["UpdateUserRequest"];
                };
            };
            responses: {
                /** @description Profile updated successfully */
                200: {
                    headers: {
                        [name: string]: unknown;
                    };
                    content: {
                        "application/json": components["schemas"]["User"];
                    };
                };
                /** @description Invalid input */
                400: {
                    headers: {
                        [name: string]: unknown;
                    };
                    content: {
                        "application/json": components["schemas"]["Error"];
                    };
                };
            };
        };
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/projects": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * List projects
         * @description Retrieve all projects accessible to the current user
         */
        get: {
            parameters: {
                query?: {
                    /** @description Page number for pagination */
                    page?: number;
                    /** @description Number of items per page */
                    limit?: number;
                    /** @description Search term to filter projects */
                    search?: string;
                };
                header?: never;
                path?: never;
                cookie?: never;
            };
            requestBody?: never;
            responses: {
                /** @description Projects retrieved successfully */
                200: {
                    headers: {
                        [name: string]: unknown;
                    };
                    content: {
                        "application/json": components["schemas"]["ProjectsResponse"];
                    };
                };
            };
        };
        put?: never;
        /**
         * Create project
         * @description Create a new project
         */
        post: {
            parameters: {
                query?: never;
                header?: never;
                path?: never;
                cookie?: never;
            };
            requestBody: {
                content: {
                    "application/json": components["schemas"]["CreateProjectRequest"];
                };
            };
            responses: {
                /** @description Project created successfully */
                201: {
                    headers: {
                        [name: string]: unknown;
                    };
                    content: {
                        "application/json": components["schemas"]["Project"];
                    };
                };
                /** @description Invalid input */
                400: {
                    headers: {
                        [name: string]: unknown;
                    };
                    content: {
                        "application/json": components["schemas"]["Error"];
                    };
                };
            };
        };
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/projects/{id}": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * Get project
         * @description Retrieve a specific project by ID
         */
        get: {
            parameters: {
                query?: never;
                header?: never;
                path: {
                    /** @description Project ID */
                    id: string;
                };
                cookie?: never;
            };
            requestBody?: never;
            responses: {
                /** @description Project retrieved successfully */
                200: {
                    headers: {
                        [name: string]: unknown;
                    };
                    content: {
                        "application/json": components["schemas"]["Project"];
                    };
                };
                /** @description Project not found */
                404: {
                    headers: {
                        [name: string]: unknown;
                    };
                    content: {
                        "application/json": components["schemas"]["Error"];
                    };
                };
            };
        };
        /**
         * Update project
         * @description Update a specific project
         */
        put: {
            parameters: {
                query?: never;
                header?: never;
                path: {
                    /** @description Project ID */
                    id: string;
                };
                cookie?: never;
            };
            requestBody: {
                content: {
                    "application/json": components["schemas"]["UpdateProjectRequest"];
                };
            };
            responses: {
                /** @description Project updated successfully */
                200: {
                    headers: {
                        [name: string]: unknown;
                    };
                    content: {
                        "application/json": components["schemas"]["Project"];
                    };
                };
                /** @description Project not found */
                404: {
                    headers: {
                        [name: string]: unknown;
                    };
                    content: {
                        "application/json": components["schemas"]["Error"];
                    };
                };
            };
        };
        post?: never;
        /**
         * Delete project
         * @description Delete a specific project
         */
        delete: {
            parameters: {
                query?: never;
                header?: never;
                path: {
                    /** @description Project ID */
                    id: string;
                };
                cookie?: never;
            };
            requestBody?: never;
            responses: {
                /** @description Project deleted successfully */
                204: {
                    headers: {
                        [name: string]: unknown;
                    };
                    content?: never;
                };
                /** @description Project not found */
                404: {
                    headers: {
                        [name: string]: unknown;
                    };
                    content: {
                        "application/json": components["schemas"]["Error"];
                    };
                };
            };
        };
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/projects/{project_id}/services": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * List project services
         * @description Retrieve all services in a project
         */
        get: {
            parameters: {
                query?: never;
                header?: never;
                path: {
                    /** @description Project ID */
                    project_id: string;
                };
                cookie?: never;
            };
            requestBody?: never;
            responses: {
                /** @description Services retrieved successfully */
                200: {
                    headers: {
                        [name: string]: unknown;
                    };
                    content: {
                        "application/json": components["schemas"]["Service"][];
                    };
                };
            };
        };
        put?: never;
        /**
         * Create service
         * @description Create a new service in a project
         */
        post: {
            parameters: {
                query?: never;
                header?: never;
                path: {
                    /** @description Project ID */
                    project_id: string;
                };
                cookie?: never;
            };
            requestBody: {
                content: {
                    "application/json": components["schemas"]["CreateServiceRequest"];
                };
            };
            responses: {
                /** @description Service created successfully */
                201: {
                    headers: {
                        [name: string]: unknown;
                    };
                    content: {
                        "application/json": components["schemas"]["Service"];
                    };
                };
            };
        };
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/services/{id}": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * Get service
         * @description Retrieve a specific service
         */
        get: {
            parameters: {
                query?: never;
                header?: never;
                path: {
                    /** @description Service ID */
                    id: string;
                };
                cookie?: never;
            };
            requestBody?: never;
            responses: {
                /** @description Service retrieved successfully */
                200: {
                    headers: {
                        [name: string]: unknown;
                    };
                    content: {
                        "application/json": components["schemas"]["Service"];
                    };
                };
            };
        };
        /**
         * Update service
         * @description Update a specific service
         */
        put: {
            parameters: {
                query?: never;
                header?: never;
                path: {
                    /** @description Service ID */
                    id: string;
                };
                cookie?: never;
            };
            requestBody: {
                content: {
                    "application/json": components["schemas"]["UpdateServiceRequest"];
                };
            };
            responses: {
                /** @description Service updated successfully */
                200: {
                    headers: {
                        [name: string]: unknown;
                    };
                    content: {
                        "application/json": components["schemas"]["Service"];
                    };
                };
            };
        };
        post?: never;
        /**
         * Delete service
         * @description Delete a specific service
         */
        delete: {
            parameters: {
                query?: never;
                header?: never;
                path: {
                    /** @description Service ID */
                    id: string;
                };
                cookie?: never;
            };
            requestBody?: never;
            responses: {
                /** @description Service deleted successfully */
                204: {
                    headers: {
                        [name: string]: unknown;
                    };
                    content?: never;
                };
            };
        };
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/services/{id}/deployments": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * List deployments
         * @description Retrieve recent deployments for a specific service
         */
        get: {
            parameters: {
                query?: never;
                header?: never;
                path: {
                    /** @description Service ID */
                    id: string;
                };
                cookie?: never;
            };
            requestBody?: never;
            responses: {
                /** @description Deployments retrieved successfully */
                200: {
                    headers: {
                        [name: string]: unknown;
                    };
                    content: {
                        "application/json": components["schemas"]["DeploymentListResponse"];
                    };
                };
            };
        };
        put?: never;
        /**
         * Create deployment
         * @description Trigger a new deployment for a service
         */
        post: {
            parameters: {
                query?: never;
                header?: never;
                path: {
                    /** @description Service ID */
                    id: string;
                };
                cookie?: never;
            };
            requestBody?: {
                content: {
                    "application/json": components["schemas"]["CreateDeploymentRequest"];
                };
            };
            responses: {
                /** @description Deployment created successfully */
                201: {
                    headers: {
                        [name: string]: unknown;
                    };
                    content: {
                        "application/json": components["schemas"]["Deployment"];
                    };
                };
            };
        };
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/deployments/{id}": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * Get deployment
         * @description Retrieve a deployment with build/runtime details
         */
        get: {
            parameters: {
                query?: never;
                header?: never;
                path: {
                    /** @description Deployment ID */
                    id: string;
                };
                cookie?: never;
            };
            requestBody?: never;
            responses: {
                /** @description Deployment retrieved successfully */
                200: {
                    headers: {
                        [name: string]: unknown;
                    };
                    content: {
                        "application/json": {
                            deployment?: components["schemas"]["Deployment"];
                        };
                    };
                };
            };
        };
        put?: never;
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/deployments/{id}/rollback": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        put?: never;
        /**
         * Rollback deployment
         * @description Create a rollback deployment from a previous deployment
         */
        post: {
            parameters: {
                query?: never;
                header?: never;
                path: {
                    /** @description Deployment ID */
                    id: string;
                };
                cookie?: never;
            };
            requestBody?: never;
            responses: {
                /** @description Rollback initiated */
                201: {
                    headers: {
                        [name: string]: unknown;
                    };
                    content: {
                        "application/json": components["schemas"]["RollbackDeploymentResponse"];
                    };
                };
            };
        };
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/services/{id}/logs": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * Get service logs
         * @description Retrieve service container logs
         */
        get: {
            parameters: {
                query?: {
                    /** @description Stream logs continuously over SSE */
                    follow?: boolean;
                    /** @description Number of recent log lines to fetch */
                    tail?: string;
                };
                header?: never;
                path: {
                    /** @description Service ID */
                    id: string;
                };
                cookie?: never;
            };
            requestBody?: never;
            responses: {
                /** @description Service logs retrieved successfully */
                200: {
                    headers: {
                        [name: string]: unknown;
                    };
                    content: {
                        "application/json": components["schemas"]["ServiceLogsResponse"];
                    };
                };
            };
        };
        put?: never;
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/deployments/{id}/logs": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * Get deployment logs
         * @description Retrieve build/runtime logs for a deployment
         */
        get: {
            parameters: {
                query?: {
                    /** @description Select log stream */
                    type?: "all" | "build" | "runtime";
                };
                header?: never;
                path: {
                    /** @description Deployment ID */
                    id: string;
                };
                cookie?: never;
            };
            requestBody?: never;
            responses: {
                /** @description Deployment logs retrieved successfully */
                200: {
                    headers: {
                        [name: string]: unknown;
                    };
                    content: {
                        "application/json": components["schemas"]["DeploymentLogsResponse"];
                    };
                };
            };
        };
        put?: never;
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/builds": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * List builds
         * @description Retrieve builds with optional filtering and pagination
         */
        get: {
            parameters: {
                query?: {
                    /** @description Filter by project ID */
                    project_id?: string;
                    /** @description Filter by service ID */
                    service_id?: string;
                    /** @description Filter by build status */
                    status?: "pending" | "running" | "success" | "failed" | "cancelled";
                    /** @description 1-based page number */
                    page?: number;
                    /** @description Number of items per page (max 100) */
                    limit?: number;
                };
                header?: never;
                path?: never;
                cookie?: never;
            };
            requestBody?: never;
            responses: {
                /** @description Builds retrieved successfully */
                200: {
                    headers: {
                        [name: string]: unknown;
                    };
                    content: {
                        "application/json": components["schemas"]["BuildListResponse"];
                    };
                };
            };
        };
        put?: never;
        /**
         * Start build
         * @description Start a new build
         */
        post: {
            parameters: {
                query?: never;
                header?: never;
                path?: never;
                cookie?: never;
            };
            requestBody: {
                content: {
                    "application/json": components["schemas"]["StartBuildRequest"];
                };
            };
            responses: {
                /** @description Build started successfully */
                201: {
                    headers: {
                        [name: string]: unknown;
                    };
                    content: {
                        "application/json": components["schemas"]["StartBuildResponse"];
                    };
                };
            };
        };
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/builds/{id}": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * Get build status
         * @description Retrieve build status and details
         */
        get: {
            parameters: {
                query?: never;
                header?: never;
                path: {
                    /** @description Build ID */
                    id: string;
                };
                cookie?: never;
            };
            requestBody?: never;
            responses: {
                /** @description Build status retrieved successfully */
                200: {
                    headers: {
                        [name: string]: unknown;
                    };
                    content: {
                        "application/json": components["schemas"]["BuildStatus"];
                    };
                };
            };
        };
        put?: never;
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/builds/{id}/cancel": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        put?: never;
        /**
         * Cancel build
         * @description Cancel an in-progress build
         */
        post: {
            parameters: {
                query?: never;
                header?: never;
                path: {
                    /** @description Build ID */
                    id: string;
                };
                cookie?: never;
            };
            requestBody?: never;
            responses: {
                /** @description Build cancelled */
                200: {
                    headers: {
                        [name: string]: unknown;
                    };
                    content: {
                        "application/json": components["schemas"]["BuildCancelResponse"];
                    };
                };
            };
        };
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/builds/{id}/logs": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * Get build logs
         * @description Retrieve build logs
         */
        get: {
            parameters: {
                query?: {
                    /** @description Follow logs in realtime (currently returns same text output) */
                    follow?: boolean;
                };
                header?: never;
                path: {
                    /** @description Build ID */
                    id: string;
                };
                cookie?: never;
            };
            requestBody?: never;
            responses: {
                /** @description Build logs retrieved successfully */
                200: {
                    headers: {
                        [name: string]: unknown;
                    };
                    content: {
                        "text/plain": string;
                    };
                };
            };
        };
        put?: never;
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/templates": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * List templates
         * @description Retrieve service templates with optional category filter
         */
        get: {
            parameters: {
                query?: {
                    /** @description Filter templates by category */
                    category?: string;
                };
                header?: never;
                path?: never;
                cookie?: never;
            };
            requestBody?: never;
            responses: {
                /** @description Templates retrieved successfully */
                200: {
                    headers: {
                        [name: string]: unknown;
                    };
                    content: {
                        "application/json": {
                            templates?: components["schemas"]["ServiceTemplate"][];
                        };
                    };
                };
            };
        };
        put?: never;
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/templates/{id}": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * Get template
         * @description Retrieve a specific template with parsed config and variables
         */
        get: {
            parameters: {
                query?: never;
                header?: never;
                path: {
                    /** @description Template ID */
                    id: string;
                };
                cookie?: never;
            };
            requestBody?: never;
            responses: {
                /** @description Template retrieved successfully */
                200: {
                    headers: {
                        [name: string]: unknown;
                    };
                    content: {
                        "application/json": components["schemas"]["TemplateDetailResponse"];
                    };
                };
            };
        };
        put?: never;
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/templates/{id}/deploy": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        put?: never;
        /**
         * Create service from template
         * @description Create a new service in a project using a selected template
         */
        post: {
            parameters: {
                query?: never;
                header?: never;
                path: {
                    /** @description Template ID */
                    id: string;
                };
                cookie?: never;
            };
            requestBody: {
                content: {
                    "application/json": components["schemas"]["DeployTemplateRequest"];
                };
            };
            responses: {
                /** @description Service created from template */
                201: {
                    headers: {
                        [name: string]: unknown;
                    };
                    content: {
                        "application/json": components["schemas"]["DeployTemplateResponse"];
                    };
                };
            };
        };
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/audit-logs": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * List audit logs
         * @description Retrieve recent audit log entries for the current user with optional filters
         */
        get: {
            parameters: {
                query?: {
                    /** @description Filter audit logs by resource type */
                    resource?: string;
                    /** @description Filter audit logs by action type */
                    action?: string;
                    /** @description 1-based page number */
                    page?: number;
                    /** @description Number of entries per page */
                    limit?: number;
                };
                header?: never;
                path?: never;
                cookie?: never;
            };
            requestBody?: never;
            responses: {
                /** @description Audit logs retrieved successfully */
                200: {
                    headers: {
                        [name: string]: unknown;
                    };
                    content: {
                        "application/json": components["schemas"]["AuditLogListResponse"];
                    };
                };
            };
        };
        put?: never;
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/audit-logs/{resource}/{id}": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * List resource audit logs
         * @description Retrieve audit log entries for a specific resource and resource ID
         */
        get: {
            parameters: {
                query?: never;
                header?: never;
                path: {
                    /** @description Resource type */
                    resource: string;
                    /** @description Resource ID */
                    id: string;
                };
                cookie?: never;
            };
            requestBody?: never;
            responses: {
                /** @description Resource audit logs retrieved successfully */
                200: {
                    headers: {
                        [name: string]: unknown;
                    };
                    content: {
                        "application/json": components["schemas"]["AuditLogListResponse"];
                    };
                };
            };
        };
        put?: never;
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/databases": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * List databases
         * @description Retrieve all databases
         */
        get: {
            parameters: {
                query?: never;
                header?: never;
                path?: never;
                cookie?: never;
            };
            requestBody?: never;
            responses: {
                /** @description Databases retrieved successfully */
                200: {
                    headers: {
                        [name: string]: unknown;
                    };
                    content: {
                        "application/json": components["schemas"]["Database"][];
                    };
                };
            };
        };
        put?: never;
        /**
         * Create database
         * @description Create a new database
         */
        post: {
            parameters: {
                query?: never;
                header?: never;
                path?: never;
                cookie?: never;
            };
            requestBody: {
                content: {
                    "application/json": components["schemas"]["CreateDatabaseRequest"];
                };
            };
            responses: {
                /** @description Database created successfully */
                201: {
                    headers: {
                        [name: string]: unknown;
                    };
                    content: {
                        "application/json": components["schemas"]["Database"];
                    };
                };
            };
        };
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/databases/{id}": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * Get database
         * @description Retrieve a specific database
         */
        get: {
            parameters: {
                query?: never;
                header?: never;
                path: {
                    /** @description Database ID */
                    id: string;
                };
                cookie?: never;
            };
            requestBody?: never;
            responses: {
                /** @description Database retrieved successfully */
                200: {
                    headers: {
                        [name: string]: unknown;
                    };
                    content: {
                        "application/json": components["schemas"]["Database"];
                    };
                };
            };
        };
        put?: never;
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/git/providers": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * List Git providers
         * @description Retrieve available Git providers
         */
        get: {
            parameters: {
                query?: never;
                header?: never;
                path?: never;
                cookie?: never;
            };
            requestBody?: never;
            responses: {
                /** @description Git providers retrieved successfully */
                200: {
                    headers: {
                        [name: string]: unknown;
                    };
                    content: {
                        "application/json": components["schemas"]["GitProvider"][];
                    };
                };
            };
        };
        put?: never;
        /**
         * Add Git provider
         * @description Add a new Git provider
         */
        post: {
            parameters: {
                query?: never;
                header?: never;
                path?: never;
                cookie?: never;
            };
            requestBody: {
                content: {
                    "application/json": components["schemas"]["CreateGitProviderRequest"];
                };
            };
            responses: {
                /** @description Git provider added successfully */
                201: {
                    headers: {
                        [name: string]: unknown;
                    };
                    content: {
                        "application/json": components["schemas"]["GitProvider"];
                    };
                };
            };
        };
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/git/providers/{providerId}/repositories": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * List repositories
         * @description Retrieve repositories from a Git provider
         */
        get: {
            parameters: {
                query?: never;
                header?: never;
                path: {
                    /** @description Git provider ID */
                    providerId: string;
                };
                cookie?: never;
            };
            requestBody?: never;
            responses: {
                /** @description Repositories retrieved successfully */
                200: {
                    headers: {
                        [name: string]: unknown;
                    };
                    content: {
                        "application/json": components["schemas"]["GitRepository"][];
                    };
                };
            };
        };
        put?: never;
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
}
export type webhooks = Record<string, never>;
export interface components {
    schemas: {
        Error: {
            /** @description Error message */
            error?: string;
            /** @description Error code */
            code?: string;
            /** @description Additional error details */
            details?: Record<string, never>;
        };
        HealthResponse: {
            /** @example ok */
            status?: string;
            /** @example containr-api */
            service?: string;
            /** @example 1.0.0 */
            version?: string;
        };
        LoginRequest: {
            /**
             * Format: email
             * @description User email address
             */
            email: string;
            /**
             * Format: password
             * @description User password
             */
            password: string;
        };
        LoginResponse: {
            /** @description JWT access token */
            token?: string;
            user?: components["schemas"]["User"];
        };
        RegisterRequest: {
            /**
             * Format: email
             * @description User email address
             */
            email: string;
            /**
             * Format: password
             * @description User password
             */
            password: string;
            /** @description User display name */
            name: string;
        };
        User: {
            /** @description User ID */
            id?: string;
            /**
             * Format: email
             * @description User email
             */
            email?: string;
            /** @description User display name */
            name?: string;
            /** @description Optional avatar image URL */
            avatar_url?: string;
            /**
             * Format: date-time
             * @description Account creation timestamp
             */
            created_at?: string;
            /**
             * Format: date-time
             * @description Last update timestamp
             */
            updated_at?: string;
        };
        UpdateUserRequest: {
            /** @description User display name */
            name?: string;
            /**
             * Format: email
             * @description User email address
             */
            email?: string;
            /** @description Optional avatar image URL */
            avatar_url?: string;
        };
        Project: {
            /** @description Project ID */
            id?: string;
            /** @description Project name */
            name?: string;
            /** @description Project description */
            description?: string;
            /** @description Project owner ID */
            owner_id?: string;
            /**
             * Format: date-time
             * @description Project creation timestamp
             */
            created_at?: string;
            /**
             * Format: date-time
             * @description Last update timestamp
             */
            updated_at?: string;
            /** @description Number of services in the project */
            services_count?: number;
        };
        CreateProjectRequest: {
            /** @description Project name */
            name: string;
            /** @description Project description */
            description?: string;
        };
        UpdateProjectRequest: {
            /** @description Project name */
            name?: string;
            /** @description Project description */
            description?: string;
        };
        ProjectsResponse: {
            projects?: components["schemas"]["Project"][];
            pagination?: components["schemas"]["Pagination"];
        };
        Pagination: {
            /** @description Current page number */
            page?: number;
            /** @description Items per page */
            limit?: number;
            /** @description Total number of items */
            total?: number;
            /** @description Total number of pages */
            total_pages?: number;
        };
        Service: {
            /** @description Service ID */
            id?: string;
            /** @description Project ID */
            project_id?: string;
            /** @description Service name */
            name?: string;
            /**
             * @description Service type
             * @enum {string}
             */
            type?: "web" | "worker" | "database" | "cron";
            /**
             * @description Service status
             * @enum {string}
             */
            status?: "running" | "stopped" | "building" | "failed";
            source?: components["schemas"]["ServiceSource"];
            build_config?: components["schemas"]["BuildConfig"];
            resources?: components["schemas"]["ResourceConfig"];
            /**
             * Format: date-time
             * @description Service creation timestamp
             */
            created_at?: string;
            /**
             * Format: date-time
             * @description Last update timestamp
             */
            updated_at?: string;
        };
        CreateServiceRequest: {
            /** @description Service name */
            name: string;
            /**
             * @description Service type
             * @enum {string}
             */
            type: "web" | "worker" | "database" | "cron";
            source?: components["schemas"]["ServiceSource"];
            build_config?: components["schemas"]["BuildConfig"];
            resources?: components["schemas"]["ResourceConfig"];
        };
        UpdateServiceRequest: {
            /** @description Service name */
            name?: string;
            build_config?: components["schemas"]["BuildConfig"];
            resources?: components["schemas"]["ResourceConfig"];
        };
        ServiceSource: {
            /**
             * @description Source type
             * @enum {string}
             */
            type?: "git" | "dockerfile" | "image";
            /** @description Git repository URL */
            repository?: string;
            /** @description Git branch */
            branch?: string;
            /** @description Root directory for build */
            root_directory?: string;
            /** @description Dockerfile path */
            dockerfile?: string;
            /** @description Docker image name */
            image?: string;
        };
        BuildConfig: {
            /**
             * @description Build system type
             * @enum {string}
             */
            builder_type?: "nixpacks" | "dockerfile" | "image";
            /** @description Custom build command */
            build_command?: string;
            /** @description Custom start command */
            start_command?: string;
            /** @description Build environment variables */
            environment_variables?: {
                [key: string]: string;
            };
        };
        ResourceConfig: {
            /** @description CPU allocation */
            cpu?: string;
            /** @description Memory allocation */
            memory?: string;
            /** @description Storage allocation */
            storage?: string;
        };
        Deployment: {
            /** @description Deployment ID */
            id?: string;
            /** @description Service ID */
            service_id?: string;
            /** @description Source commit hash */
            commit_hash?: string;
            /** @description Deployment status */
            status?: string;
            /** @description Deployed image name */
            image_name?: string;
            /** @description Deployed image tag */
            image_tag?: string;
            /** @description Build log content */
            build_log?: string;
            /** @description Runtime log content */
            runtime_log?: string;
            /** @description Deployment error */
            error?: string;
            /**
             * Format: date-time
             * @description Deployment start timestamp
             */
            started_at?: string;
            /**
             * Format: date-time
             * @description Deployment completion timestamp
             */
            completed_at?: string;
            /**
             * Format: date-time
             * @description Deployment creation timestamp
             */
            created_at?: string;
            /**
             * Format: date-time
             * @description Deployment update timestamp
             */
            updated_at?: string;
        };
        DeploymentListResponse: {
            deployments?: components["schemas"]["Deployment"][];
        };
        CreateDeploymentRequest: {
            /** @description Source commit hash */
            commit_hash?: string;
            /** @description Source branch */
            branch?: string;
            /** @description Trigger source (manual, restart, webhook) */
            trigger?: string;
            /** @description Runtime environment variable overrides */
            env_vars?: {
                [key: string]: string;
            };
        };
        RollbackDeploymentResponse: {
            deployment?: components["schemas"]["Deployment"];
            /** @description Rollback result message */
            message?: string;
        };
        ServiceLogEntry: {
            /**
             * Format: date-time
             * @description Log timestamp
             */
            timestamp?: string;
            /** @description Log message */
            message?: string;
            /** @description Log stream identifier */
            stream?: string;
        };
        ServiceLogsResponse: {
            logs?: components["schemas"]["ServiceLogEntry"][];
            /** @description Additional context when logs are unavailable */
            message?: string;
        };
        DeploymentLogsResponse: {
            logs?: components["schemas"]["ServiceLogEntry"][];
            /** @description Build log text */
            build_log?: string;
            /** @description Runtime log text */
            runtime_log?: string;
        };
        BuildStatus: {
            /** @description Build ID */
            id?: string;
            /** @description Project ID */
            project_id?: string;
            /** @description Service ID */
            service_id?: string;
            /**
             * @description Build status
             * @enum {string}
             */
            status?: "pending" | "running" | "success" | "failed" | "cancelled";
            /** @description Build progress percentage */
            progress?: number;
            /**
             * Format: date-time
             * @description Build start time
             */
            started_at?: string;
            /**
             * Format: date-time
             * @description Build completion time
             */
            completed_at?: string;
            /** @description Target image name */
            image_name?: string;
            /** @description Target image tag */
            image_tag?: string;
            /**
             * Format: int64
             * @description Built image size in bytes
             */
            size?: number;
            /** @description Build error message */
            error?: string;
            /** @description Build logs */
            log?: string;
            /** @description Additional build metadata */
            metadata?: {
                [key: string]: string;
            };
        };
        StartBuildRequest: {
            /**
             * @description Build system type; if omitted backend auto-detects
             * @enum {string}
             */
            build_type?: "railpack" | "nixpacks" | "dockerfile" | "prebuilt";
            /** @description Local source path for build context */
            source_path?: string;
            /** @description Existing image reference when using prebuilt mode */
            prebuilt_image?: string;
            /** @description Output image name */
            image_name: string;
            /** @description Output image tag */
            image_tag: string;
            /** @description Optional registry URL for push target */
            registry_url?: string;
            /** @description Optional build command override */
            build_command?: string;
            /** @description Optional runtime command override */
            start_command?: string;
            /** @description Build environment variables */
            environment?: {
                [key: string]: string;
            };
            /** @description Build-time arguments */
            build_args?: {
                [key: string]: string;
            };
            /** @description Image labels */
            labels?: {
                [key: string]: string;
            };
            /** @description Associated project ID */
            project_id?: string;
            /** @description Associated service ID */
            service_id?: string;
            /** @description Git branch */
            branch?: string;
            /** @description Git commit SHA */
            commit?: string;
        };
        StartBuildResponse: {
            /** @description Build ID */
            id?: string;
            /**
             * @description Initial build status
             * @enum {string}
             */
            status?: "pending" | "running" | "success" | "failed" | "cancelled";
            /** @description Requested image name */
            image_name?: string;
            /** @description Requested image tag */
            image_tag?: string;
            /**
             * Format: int64
             * @description Result image size in bytes when available
             */
            size?: number;
            /** @description Result image digest when available */
            digest?: string;
            /**
             * Format: date-time
             * @description Build request timestamp
             */
            build_time?: string;
            /** @description Whether request acceptance succeeded */
            success?: boolean;
            /** @description Error details when acceptance failed */
            error?: string;
        };
        BuildListResponse: {
            builds?: components["schemas"]["BuildStatus"][];
            /** @description Total matching builds */
            total?: number;
            /** @description Current page number */
            page?: number;
            /** @description Page size */
            limit?: number;
        };
        BuildCancelResponse: {
            /** @description Cancellation result message */
            message?: string;
        };
        ServiceTemplate: {
            /** @description Template ID */
            id?: string;
            /** @description Template display name */
            name?: string;
            /** @description Template description */
            description?: string;
            /** @description Template category */
            category?: string;
            /** @description Template logo URL */
            logo?: string;
            /** @description Raw template config JSON string */
            config?: string;
            /** @description Raw template variables JSON string */
            variables?: string;
            /** @description Whether template is an official preset */
            is_official?: boolean;
            /**
             * Format: date-time
             * @description Creation timestamp
             */
            created_at?: string;
            /**
             * Format: date-time
             * @description Last update timestamp
             */
            updated_at?: string;
        };
        TemplateConfig: {
            /** @description Service type for created service */
            type?: string;
            /** @description Runtime or base image */
            runtime?: string;
            /** @description Build command */
            build_command?: string;
            /** @description Start command */
            start_command?: string;
            /** @description Service port */
            port?: number;
            /** @description Health check path */
            health_check?: string;
            /** @description Default environment variables */
            environment?: {
                [key: string]: string;
            };
            /** @description Optional dockerfile path */
            dockerfile?: string;
            /** @description Optional nixpacks-specific config */
            nixpacks_config?: {
                [key: string]: string;
            };
        };
        TemplateVariable: {
            /** @description Variable key */
            key?: string;
            /** @description Display label */
            label?: string;
            /** @description Default value */
            default?: string;
            /** @description Whether variable is required */
            required?: boolean;
            /** @description Whether variable is sensitive */
            secret?: boolean;
            /** @description Variable description */
            description?: string;
        };
        TemplateDetailResponse: {
            template?: components["schemas"]["ServiceTemplate"];
            config?: components["schemas"]["TemplateConfig"];
            variables?: components["schemas"]["TemplateVariable"][];
        };
        DeployTemplateRequest: {
            /** @description Target project ID */
            project_id: string;
            /** @description Name for the created service */
            name: string;
            /** @description Variable overrides for template deployment */
            variables?: {
                [key: string]: string;
            };
        };
        DeployTemplateResponse: {
            /** @description Newly created service ID */
            service_id?: string;
            /** @description Deployment result message */
            message?: string;
        };
        AuditLog: {
            /** @description Audit log ID */
            id?: string;
            /** @description User ID that triggered action */
            user_id?: string;
            /** @description User email snapshot */
            user_email?: string;
            /** @description Resource type */
            resource?: string;
            /** @description Resource ID */
            resource_id?: string;
            /** @description Action type */
            action?: string;
            /** @description JSON-encoded action details */
            details?: string;
            /** @description Source IP address */
            ip_address?: string;
            /** @description Source user agent */
            user_agent?: string;
            /**
             * Format: date-time
             * @description Timestamp when the audit log entry was created
             */
            created_at?: string;
        };
        AuditLogListResponse: {
            audit_logs?: components["schemas"]["AuditLog"][];
        };
        Database: {
            /** @description Database ID */
            id?: string;
            /** @description Project ID */
            project_id?: string;
            /** @description Database name */
            name?: string;
            /**
             * @description Database type
             * @enum {string}
             */
            type?: "postgresql" | "redis" | "mysql" | "mariadb" | "mongodb" | "clickhouse" | "dragonfly";
            /**
             * @description Database status
             * @enum {string}
             */
            status?: "running" | "stopped" | "building" | "error" | "failed";
            /** @description Database connection URL */
            connection_url?: string;
            /** @description Database version */
            version?: string;
            /** @description Database size */
            size?: string;
            /**
             * Format: date-time
             * @description Database creation timestamp
             */
            created_at?: string;
            /**
             * Format: date-time
             * @description Last update timestamp
             */
            updated_at?: string;
        };
        CreateDatabaseRequest: {
            /** @description Database name */
            name: string;
            /**
             * @description Database type
             * @enum {string}
             */
            type: "postgresql" | "redis" | "mysql" | "mariadb" | "mongodb" | "clickhouse" | "dragonfly";
            /** @description Database version */
            version?: string;
            /** @description Database size */
            size?: string;
        };
        GitProvider: {
            /** @description Provider ID */
            id?: string;
            /**
             * @description Provider type
             * @enum {string}
             */
            type?: "github" | "gitlab" | "bitbucket";
            /** @description Provider display name */
            name?: string;
            /** @description Encrypted access token */
            access_token?: string;
            /**
             * Format: date-time
             * @description Provider creation timestamp
             */
            created_at?: string;
        };
        CreateGitProviderRequest: {
            /**
             * @description Provider type
             * @enum {string}
             */
            type: "github" | "gitlab" | "bitbucket";
            /** @description Provider display name */
            name?: string;
            /** @description Access token */
            access_token: string;
        };
        GitRepository: {
            /** @description Repository ID */
            id?: string;
            /** @description Repository name */
            name?: string;
            /** @description Repository full name */
            full_name?: string;
            /** @description Repository description */
            description?: string;
            /** @description Whether repository is private */
            private?: boolean;
            /** @description Default branch */
            default_branch?: string;
            /** @description Clone URL */
            clone_url?: string;
            /** @description Web URL */
            web_url?: string;
        };
    };
    responses: never;
    parameters: never;
    requestBodies: never;
    headers: never;
    pathItems: never;
}
export type $defs = Record<string, never>;
export type operations = Record<string, never>;
