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

export interface paths {
    "/": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /** Index */
        get: operations["index__get"];
        put?: never;
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/upload": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        put?: never;
        /**
         * Upload File
         * @description Upload a file to the temporary uploads directory.
         */
        post: operations["upload_file_api_upload_post"];
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/uploads": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * List Uploads
         * @description List files in the uploads (pending) directory.
         */
        get: operations["list_uploads_api_uploads_get"];
        put?: never;
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/uploads/{filename}": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        put?: never;
        post?: never;
        /**
         * Delete Upload
         * @description Remove a file from the uploads directory.
         */
        delete: operations["delete_upload_api_uploads__filename__delete"];
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/classify": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        put?: never;
        /**
         * Classify File
         * @description Classify a pending file and start processing.
         */
        post: operations["classify_file_api_classify_post"];
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/training/analyze": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        put?: never;
        /**
         * Training Analyze
         * @description Proofread an uploaded file and extract metadata for review.
         *
         *     Input: filename in UPLOAD_DIR (from /api/upload).
         *     Output: clean text preview + extracted metadata (number, date, categories).
         */
        post: operations["training_analyze_api_training_analyze_post"];
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/training/upload": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        put?: never;
        /**
         * Training Upload
         * @description Upload a proofread file to the style corpus.
         *
         *     Runs proofreading again to guarantee clean text (not raw file content),
         *     then inserts into style_corpus + chunks + embeddings.
         */
        post: operations["training_upload_api_training_upload_post"];
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/training/patterns": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * Training Patterns
         * @description List all extracted style patterns, grouped by type.
         */
        get: operations["training_patterns_api_training_patterns_get"];
        put?: never;
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/training/analyze-style": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        put?: never;
        /**
         * Training Analyze Style
         * @description Kick off style analysis over the corpus. Returns immediately.
         */
        post: operations["training_analyze_style_api_training_analyze_style_post"];
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/training/analyze-style/status": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * Training Analyze Style Status
         * @description Poll status of the running style analysis.
         */
        get: operations["training_analyze_style_status_api_training_analyze_style_status_get"];
        put?: never;
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/training/style-report": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * Training Style Report
         * @description Visual dashboard data for Dafna's Style Portrait page.
         */
        get: operations["training_style_report_api_training_style_report_get"];
        put?: never;
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/training/compare": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * Training Compare
         * @description Compare two decisions from style_corpus by ID.
         *
         *     Returns side-by-side data: basic metadata, length, section breakdown,
         *     which patterns appear in each, shared/unique patterns.
         */
        get: operations["training_compare_api_training_compare_get"];
        put?: never;
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/training/corpus/{corpus_id}": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        put?: never;
        post?: never;
        /**
         * Training Corpus Delete
         * @description Remove a decision from the style corpus.
         */
        delete: operations["training_corpus_delete_api_training_corpus__corpus_id__delete"];
        options?: never;
        head?: never;
        /**
         * Training Corpus Patch
         * @description Update metadata fields on a corpus row. Only provided fields are touched.
         */
        patch: operations["training_corpus_patch_api_training_corpus__corpus_id__patch"];
        trace?: never;
    };
    "/api/training/corpus": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * Training Corpus List
         * @description List all decisions currently in the style corpus, with enriched metadata.
         *
         *     Joins to ``documents`` via FK when available, falling back to the
         *     title-token match used in the chunking pipeline so legacy rows with
         *     ``style_corpus.document_id IS NULL`` still resolve to their page_count
         *     and chunk counts.
         */
        get: operations["training_corpus_list_api_training_corpus_get"];
        put?: never;
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/training/chat/conversations": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /** Chat List Conversations */
        get: operations["chat_list_conversations_api_training_chat_conversations_get"];
        put?: never;
        /**
         * Chat Create Conversation
         * @description Create a new style-agent chat conversation.
         */
        post: operations["chat_create_conversation_api_training_chat_conversations_post"];
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/training/chat/conversations/{conv_id}": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /** Chat Get Conversation */
        get: operations["chat_get_conversation_api_training_chat_conversations__conv_id__get"];
        put?: never;
        post?: never;
        /** Chat Delete Conversation */
        delete: operations["chat_delete_conversation_api_training_chat_conversations__conv_id__delete"];
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/training/chat/conversations/{conv_id}/messages": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        put?: never;
        /**
         * Chat Send Message
         * @description Send a user message; stream the assistant response as SSE.
         *
         *     Proxies through ``web.chat_proxy.stream_chat_message`` to the
         *     legal-chat-service running on the host.
         */
        post: operations["chat_send_message_api_training_chat_conversations__conv_id__messages_post"];
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/training/chat/health": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * Chat Health
         * @description Probe legal-chat-service liveness from inside the container.
         *
         *     Useful when the UI wants to gracefully degrade ("שירות הצ'אט אינו
         *     זמין") instead of letting messages fail mid-stream.
         */
        get: operations["chat_health_api_training_chat_health_get"];
        put?: never;
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/training/curator/prompt": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * Get Curator Prompt
         * @description Return the hermes-curator agent's prompt (read-only) + Gitea source URL.
         *
         *     The file is the canonical source of how the curator analyzes Daphna's
         *     final decisions. Changes go through git/Gitea, not the UI — the UI just
         *     surfaces it for transparency.
         */
        get: operations["get_curator_prompt_api_training_curator_prompt_get"];
        put?: never;
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/scripts/catalog": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * Get Scripts Catalog
         * @description Return the maintained ``scripts/SCRIPTS.md`` catalog (read-only).
         *
         *     ``scripts/SCRIPTS.md`` is the single source of truth describing every
         *     script under ``scripts/`` — its role, type, and schedule (CLAUDE.md
         *     mandates updating it on any add/remove/change). The UI just surfaces it
         *     at ``/scripts`` for transparency; edits go through git/Gitea, not here.
         */
        get: operations["get_scripts_catalog_api_scripts_catalog_get"];
        put?: never;
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/training/curator/style-analyzer-prompt": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * Get Style Analyzer Prompt
         * @description Return the system prompt that style_analyzer.py uses to extract patterns.
         *
         *     Surfaces the *training-time* prompt (Claude Opus 1M context) so the
         *     chair can compare it against the curator's post-export prompt. Both
         *     are shown side-by-side in the curator-portrait tab.
         */
        get: operations["get_style_analyzer_prompt_api_training_curator_style_analyzer_prompt_get"];
        put?: never;
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/training/curator/stats": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * Get Curator Stats
         * @description Aggregate over the THREE learning channels that feed the writer, for the
         *     /training "אוצֵר" tab. Each channel is surfaced honestly with its real
         *     backing store and how much of it actually reaches the writer:
         *
         *       A. distillation — Claude draft↔final diff → methodology overrides
         *          (appeal_type_rules['_global']). Folded items flow to the writer now.
         *       B. panel — DeepSeek+Gemini 2/2 vote → decision_lessons
         *          (source='panel:deepseek+gemini'). Flow to the writer only once the
         *          chair approves (review_status='approved', INV-LRN1/G10).
         *       C. curator — the agent's Opus-read qualitative findings → decision_lessons
         *          (source='curator'). Same chair gate as the panel.
         *
         *     Earlier this endpoint counted ONLY source='curator' and reported it as the
         *     whole story, so it read 0 while the panel/methodology channels carried all
         *     the real learning. The card was measuring a column nothing wrote (the agent
         *     posted findings as Paperclip comments, never as decision_lessons — a
         *     spec↔impl drift since closed). It now reports all three (INV-IA2/IA5).
         */
        get: operations["get_curator_stats_api_training_curator_stats_get"];
        put?: never;
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/training/curator/proposals": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * List Curator Proposals
         * @description List proposed-change files in data/curator-proposals/, newest first.
         */
        get: operations["list_curator_proposals_api_training_curator_proposals_get"];
        put?: never;
        /**
         * Create Curator Proposal
         * @description Save a proposed change to the curator prompt as a file on disk.
         *
         *     No automatic commit, no overwrite — the chair (chaim) reviews the
         *     file manually and applies it through git. This is intentional: the
         *     prompt is too load-bearing to mutate from a web UI.
         */
        post: operations["create_curator_proposal_api_training_curator_proposals_post"];
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/training/corpus/{corpus_id}/lessons": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /** List Corpus Lessons */
        get: operations["list_corpus_lessons_api_training_corpus__corpus_id__lessons_get"];
        put?: never;
        /** Add Corpus Lesson */
        post: operations["add_corpus_lesson_api_training_corpus__corpus_id__lessons_post"];
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/training/lessons/{lesson_id}": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        put?: never;
        post?: never;
        /** Delete Corpus Lesson */
        delete: operations["delete_corpus_lesson_api_training_lessons__lesson_id__delete"];
        options?: never;
        head?: never;
        /** Patch Corpus Lesson */
        patch: operations["patch_corpus_lesson_api_training_lessons__lesson_id__patch"];
        trace?: never;
    };
    "/api/training/corpus/{corpus_id}/full-text": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * Training Corpus Full Text
         * @description Return the proofread full_text for a single corpus row.
         *
         *     Kept out of the list endpoint because full_text is large (50K-650K chars
         *     per decision) and the table view only needs counts. The drawer fetches
         *     it on demand when the chair opens the "content" tab.
         */
        get: operations["training_corpus_full_text_api_training_corpus__corpus_id__full_text_get"];
        put?: never;
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/system/tasks": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * System Tasks
         * @description List all active background tasks (one-shot).
         */
        get: operations["system_tasks_api_system_tasks_get"];
        put?: never;
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/system/tasks/stream": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * System Tasks Stream
         * @description SSE stream — pushes active-task snapshots when anything changes.
         *
         *     Replaces client-side polling. Clients connect once and receive
         *     events whenever the task set changes. A short keepalive runs every
         *     tick so proxies flush HTTP/2 frames promptly.
         */
        get: operations["system_tasks_stream_api_system_tasks_stream_get"];
        put?: never;
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/progress/{task_id}": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * Progress Stream
         * @description SSE stream of processing progress for a single upload task.
         *
         *     Behavior:
         *       • Late subscribers (task already cleaned up) get a terminal
         *         ``{"status":"unknown"}`` payload and a clean stream close — never
         *         a 404. EventSource treats 404 as a transient error and reconnects
         *         forever, leaving the UI stuck on the placeholder; we avoid that.
         *       • A heartbeat is emitted every iteration so HTTP/2 framing in the
         *         proxy chain flushes immediately. The previous 30-second silent
         *         tail after completion (and the proxy buffering it caused) was
         *         the original cause of stuck-spinner uploads.
         *       • Cleanup is delegated to Redis TTL — the store auto-expires
         *         entries after PROGRESS_TTL_SECONDS, so we don't hand-roll any
         *         post-completion sleep here.
         */
        get: operations["progress_stream_api_progress__task_id__get"];
        put?: never;
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/health": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /** Health */
        get: operations["health_api_health_get"];
        put?: never;
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/health": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /** Health */
        get: operations["health_health_get"];
        put?: never;
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/status-model": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * Api Status Model
         * @description Canonical case-status model — ordered statuses (key/label/description/
         *     phase/selectable/terminal/on_enter) + the 5 phases. Single source of truth
         *     (legal_mcp/case_status_model.py); the frontend case-status.ts mirrors it.
         */
        get: operations["api_status_model_api_status_model_get"];
        put?: never;
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/cases": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * List Cases
         * @description List existing cases. By default excludes archived (use include_archived=true
         *     or archived_only=true to see them). With detail=true, includes doc counts.
         */
        get: operations["list_cases_api_cases_get"];
        put?: never;
        post?: never;
        /**
         * Api Case Delete
         * @description Delete a case, identified by case_number in the query string.
         *
         *     Uses a query param (not a path segment) because case numbers may contain
         *     characters like `/` that FastAPI path routing cannot capture even when
         *     URL-encoded (%2F). Dependent documents/chunks/qa_results cascade via
         *     FK ON DELETE CASCADE; audit_log rows nullify their case_id.
         *     Pass `remove_files=true` to also rm -rf the on-disk case directory.
         */
        delete: operations["api_case_delete_api_cases_delete"];
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/cases/stale": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * Api Stale Cases
         * @description Return cases that haven't been updated in N days and are not in a terminal/waiting status.
         */
        get: operations["api_stale_cases_api_cases_stale_get"];
        put?: never;
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/cases/{case_number}/archive": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        put?: never;
        /**
         * Api Archive Case
         * @description Move a case to the archive. Also archives the matching Paperclip project.
         */
        post: operations["api_archive_case_api_cases__case_number__archive_post"];
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/cases/{case_number}/restore": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        put?: never;
        /**
         * Api Restore Case
         * @description Restore an archived case. Also restores the matching Paperclip project.
         */
        post: operations["api_restore_case_api_cases__case_number__restore_post"];
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/cases/create": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        put?: never;
        /**
         * Api Case Create
         * @description Create a new appeal case.
         */
        post: operations["api_case_create_api_cases_create_post"];
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/cases/{case_number}/git-status": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * Api Case Git Status
         * @description Git sync status for a case repo.
         */
        get: operations["api_case_git_status_api_cases__case_number__git_status_get"];
        put?: never;
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/cases/{case_number}/details": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * Api Case Get
         * @description Get full case details including documents.
         */
        get: operations["api_case_get_api_cases__case_number__details_get"];
        put?: never;
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/cases/{case_number}": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        /**
         * Api Case Update
         * @description Update case details.
         */
        put: operations["api_case_update_api_cases__case_number__put"];
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/cases/{case_number}/status": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * Api Case Status
         * @description Get full workflow status for a case.
         */
        get: operations["api_case_status_api_cases__case_number__status_get"];
        put?: never;
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/search": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * Api Search
         * @description Semantic search across decisions and documents.
         */
        get: operations["api_search_api_search_get"];
        put?: never;
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/cases/{case_number}/search": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * Api Case Search
         * @description Semantic search within a specific case's documents.
         */
        get: operations["api_case_search_api_cases__case_number__search_get"];
        put?: never;
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/search/cases": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * Api Search Cases
         * @description Lightweight SQL search over cases — by case number, address, parties, title.
         *
         *     Powers the global-search dropdown in the header. Returns small projections,
         *     not full case objects.
         */
        get: operations["api_search_cases_api_search_cases_get"];
        put?: never;
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/cases/{case_number}/template": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * Api Case Template
         * @description Get outcome-aware decision template for a case.
         */
        get: operations["api_case_template_api_cases__case_number__template_get"];
        put?: never;
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/processing-status": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * Api Processing Status
         * @description Get overall processing status.
         */
        get: operations["api_processing_status_api_processing_status_get"];
        put?: never;
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/system/diagnostics": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * System Diagnostics
         * @description System health snapshot: DB counts, recent failures, task queue.
         */
        get: operations["system_diagnostics_api_system_diagnostics_get"];
        put?: never;
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/system/recent-activity": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * System Recent Activity
         * @description Derive a feed of recent events from cases + style_corpus + style_patterns.
         *
         *     Each event has: type, label, timestamp, target.
         */
        get: operations["system_recent_activity_api_system_recent_activity_get"];
        put?: never;
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/cases/{case_number}/outcome": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        put?: never;
        /**
         * Api Set Outcome
         * @description Set the decision outcome (from Dafna) and optional reasoning.
         */
        post: operations["api_set_outcome_api_cases__case_number__outcome_post"];
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/cases/{case_number}/claims": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * Api Get Claims
         * @description Get extracted claims for a case, grouped by party.
         */
        get: operations["api_get_claims_api_cases__case_number__claims_get"];
        put?: never;
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/cases/{case_number}/aggregate-arguments": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        put?: never;
        /**
         * Api Aggregate Arguments
         * @description Queue claim→argument aggregation by waking the legal-analyst agent.
         *
         *     The aggregation itself calls `claude_session.query_json()`, which shells
         *     out to the local `claude` CLI — present on the agent host, **absent in
         *     this FastAPI container**. Running it inline as a BackgroundTask (the old
         *     behaviour) silently produced nothing, and on `force` it destructively
         *     deleted the existing arguments *before* the doomed LLM call. So we
         *     delegate to the analyst exactly like `extract-appraiser-facts`: create a
         *     child Paperclip issue, assign it to the company's analyst, and trigger a
         *     wakeup. The analyst runs the MCP tool locally and posts results.
         *
         *     Cheap in-container pre-checks (DB only, no LLM) short-circuit before any
         *     agent is spun up:
         *       - `no_claims`  — there are no raw claims to aggregate yet.
         *       - `exists`     — arguments already computed and `force` is False.
         *
         *     Response shape:
         *         {"status": "queued", "sub_issue_id", "analyst_id", "main_issue_id"}
         *       or {"status": "no_claims"|"exists", "total", "message"}
         *       or {"status": "skipped", "reason": "no_api_key"|"no_analyst"|"no_issue"}
         */
        post: operations["api_aggregate_arguments_api_cases__case_number__aggregate_arguments_post"];
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/cases/{case_number}/legal-arguments": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * Api Get Legal Arguments
         * @description Return aggregated legal arguments for a case, grouped by party.
         */
        get: operations["api_get_legal_arguments_api_cases__case_number__legal_arguments_get"];
        put?: never;
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/cases/{case_number}/direction": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        put?: never;
        /**
         * Api Set Direction
         * @description Save the approved direction document for the discussion block.
         */
        post: operations["api_set_direction_api_cases__case_number__direction_post"];
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/cases/{case_number}/qa": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        put?: never;
        /**
         * Api Run Qa
         * @description Run QA validation on a drafted decision.
         */
        post: operations["api_run_qa_api_cases__case_number__qa_post"];
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/cases/{case_number}/decision-blocks": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * Api Get Decision Blocks
         * @description Return all 12 decision blocks as JSON (empty blocks included).
         *
         *     Read path for the interactive block viewer — content lives in
         *     decision_blocks but was previously only reachable via DOCX export.
         */
        get: operations["api_get_decision_blocks_api_cases__case_number__decision_blocks_get"];
        put?: never;
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/cases/{case_number}/decision-blocks/{block_id}": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        /**
         * Api Update Decision Block
         * @description Save inline-edited content for a single decision block.
         *
         *     Writes to decision_blocks (upsert, status='draft') and rebuilds the
         *     on-disk decision.md. Creates a decision row if none exists yet.
         */
        put: operations["api_update_decision_block_api_cases__case_number__decision_blocks__block_id__put"];
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/cases/{case_number}/learn": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        put?: never;
        /**
         * Api Learn
         * @description Trigger learning loop — compare draft to final version.
         */
        post: operations["api_learn_api_cases__case_number__learn_post"];
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/cases/{case_number}/local-files": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * Api Local Files
         * @description List local files from case subdirectories (research, drafts, proofread).
         */
        get: operations["api_local_files_api_cases__case_number__local_files_get"];
        put?: never;
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/cases/{case_number}/local-files/{folder}/{filename}": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * Api Read Local File
         * @description Read contents of a local case file.
         */
        get: operations["api_read_local_file_api_cases__case_number__local_files__folder___filename__get"];
        put?: never;
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/cases/{case_number}/research/analysis": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * Api Research Analysis
         * @description Return parsed structure of analysis-and-research.md for UI rendering.
         */
        get: operations["api_research_analysis_api_cases__case_number__research_analysis_get"];
        put?: never;
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/cases/{case_number}/research/analysis/download": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * Api Research Analysis Download
         * @description Download the raw analysis-and-research.md file.
         */
        get: operations["api_research_analysis_download_api_cases__case_number__research_analysis_download_get"];
        put?: never;
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/cases/{case_number}/research/analysis/export-docx": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * Api Research Analysis Export Docx
         * @description Export the legal analysis as a DOCX using דפנה's decision template styles.
         */
        get: operations["api_research_analysis_export_docx_api_cases__case_number__research_analysis_export_docx_get"];
        put?: never;
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/cases/{case_number}/research/party-claims-summary": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * Api Party Claims Summary
         * @description Return the raw markdown of the party-claims executive summary.
         */
        get: operations["api_party_claims_summary_api_cases__case_number__research_party_claims_summary_get"];
        put?: never;
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/cases/{case_number}/generate/party-claims-summary": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        put?: never;
        /**
         * Api Generate Party Claims Summary
         * @description Fire-and-accept: wake the CEO to generate the party-claims executive summary
         *     (שלב H2 → summarize_party_claims). Runs host-side; poll
         *     GET /api/cases/{n}/research/party-claims-summary for completion.
         */
        post: operations["api_generate_party_claims_summary_api_cases__case_number__generate_party_claims_summary_post"];
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/cases/{case_number}/generate/interim-draft": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        put?: never;
        /**
         * Api Generate Interim Draft
         * @description Fire-and-accept: wake the CEO to generate the partial "party-claims" draft
         *     (שלב H → write_interim_draft + export_interim_draft). Runs host-side; poll the
         *     exports list for the new טיוטת-ביניים-{case}-vN.docx.
         */
        post: operations["api_generate_interim_draft_api_cases__case_number__generate_interim_draft_post"];
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/cases/{case_number}/research/party-claims-summary/download": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * Api Party Claims Summary Download
         * @description Download the raw party-claims-summary.md file.
         */
        get: operations["api_party_claims_summary_download_api_cases__case_number__research_party_claims_summary_download_get"];
        put?: never;
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/cases/{case_number}/research/party-claims-summary/export-docx": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * Api Party Claims Summary Export Docx
         * @description Export the party-claims summary as a DOCX using דפנה's template styles.
         */
        get: operations["api_party_claims_summary_export_docx_api_cases__case_number__research_party_claims_summary_export_docx_get"];
        put?: never;
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/cases/{case_number}/research/analysis/upload": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        /**
         * Api Research Analysis Upload
         * @description Upload an updated analysis-and-research.md file.
         *
         *     Validates that:
         *     1. The file is markdown (text)
         *     2. It can be parsed by the research_md parser
         *     3. It contains at least one structural section (issues or threshold_claims)
         *     4. The case number in the file matches the URL
         *
         *     On success, backs up the existing file and replaces it.
         */
        put: operations["api_research_analysis_upload_api_cases__case_number__research_analysis_upload_put"];
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/cases/{case_number}/research/analysis/chair-position": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        put?: never;
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        /**
         * Api Research Chair Position
         * @description Update the chair_position field of a specific subsection, writing
         *     directly to analysis-and-research.md (atomic rename).
         */
        patch: operations["api_research_chair_position_api_cases__case_number__research_analysis_chair_position_patch"];
        trace?: never;
    };
    "/api/cases/{case_number}/precedents": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * Api Precedent List
         * @description List all precedents attached to a case, grouped client-side by section_id.
         */
        get: operations["api_precedent_list_api_cases__case_number__precedents_get"];
        put?: never;
        /**
         * Api Precedent Attach
         * @description Attach a legal precedent (quote + citation) to a case, optionally
         *     scoped to a specific threshold_claim / issue section. Cross-case
         *     library reuse happens at the search endpoint — this one always
         *     inserts a new row.
         */
        post: operations["api_precedent_attach_api_cases__case_number__precedents_post"];
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/cases/{case_number}/precedents/upload-pdf": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        put?: never;
        /**
         * Api Precedent Upload Pdf
         * @description One-shot PDF upload for a precedent attachment. Stores the file
         *     on disk alongside other case documents and creates a `documents`
         *     row with doc_type='precedent_archive'. Returns {document_id} so the
         *     frontend can pass it into POST /precedents. No SSE / background
         *     processing — archive only, no text extraction.
         */
        post: operations["api_precedent_upload_pdf_api_cases__case_number__precedents_upload_pdf_post"];
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/cases/{case_number}/citation-verification": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * Api Citation Verification
         * @description Per legal-argument: supporting corpus precedents (with cited_by authority),
         *     their verify state + chair note, and per-issue radar (unlinked digests). Powers
         *     the compose 'אימות פסיקה' tab — the chair verifies before the writer cites.
         */
        get: operations["api_citation_verification_api_cases__case_number__citation_verification_get"];
        put?: never;
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/cases/{case_number}/citation-verification/verify": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        put?: never;
        /**
         * Api Citation Verify
         * @description Verify / un-verify a precedent for a specific argument (the INV-AH gate the
         *     writer respects). Upsert: PATCH an existing attachment, else attach a new one
         *     linked to the argument + corpus ruling and mark it.
         */
        post: operations["api_citation_verify_api_cases__case_number__citation_verification_verify_post"];
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/precedents/{precedent_id}": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        put?: never;
        post?: never;
        /**
         * Api Precedent Delete
         * @description Delete a precedent attachment. The archived PDF (if any) stays
         *     in the documents table — orphaned references nullify via FK
         *     ON DELETE SET NULL — so we keep the audit trail of the file.
         */
        delete: operations["api_precedent_delete_api_precedents__precedent_id__delete"];
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/precedents/search": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * Api Precedent Search
         * @description Cross-case library typeahead. Returns one row per distinct citation.
         */
        get: operations["api_precedent_search_api_precedents_search_get"];
        put?: never;
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/cases/{case_number}/exports": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * Api List Exports
         * @description List all exported drafts and versions for a case.
         */
        get: operations["api_list_exports_api_cases__case_number__exports_get"];
        put?: never;
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/cases/{case_number}/exports/{filename}/download": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * Api Download Export
         * @description Download an exported file.
         */
        get: operations["api_download_export_api_cases__case_number__exports__filename__download_get"];
        put?: never;
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/cases/{case_number}/exports/{filename}": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        put?: never;
        post?: never;
        /**
         * Api Delete Export
         * @description Delete an exported draft file.
         */
        delete: operations["api_delete_export_api_cases__case_number__exports__filename__delete"];
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/cases/{case_number}/exports/upload": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        put?: never;
        /**
         * Api Upload Export
         * @description Upload a revised version of a draft.
         *
         *     After saving, the file is automatically registered as the case's
         *     active_draft (source of truth) and bookmarks are retrofitted so that
         *     future revise_draft calls can anchor Track Changes to the 12 blocks.
         */
        post: operations["api_upload_export_api_cases__case_number__exports_upload_post"];
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/cases/{case_number}/exports/revise": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        put?: never;
        /**
         * Api Revise Draft
         * @description Apply a batch of Track Changes revisions to the active draft.
         */
        post: operations["api_revise_draft_api_cases__case_number__exports_revise_post"];
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/cases/{case_number}/exports/bookmarks": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * Api List Bookmarks
         * @description List bookmarks in the case's active draft (anchors for revisions).
         */
        get: operations["api_list_bookmarks_api_cases__case_number__exports_bookmarks_get"];
        put?: never;
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/cases/{case_number}/exports/{filename}/retrofit": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        put?: never;
        /**
         * Api Retrofit Bookmarks
         * @description Manually trigger retrofit of bookmarks on an existing file.
         */
        post: operations["api_retrofit_bookmarks_api_cases__case_number__exports__filename__retrofit_post"];
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/cases/{case_number}/active-draft": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * Api Get Active Draft
         * @description Get the current active_draft_path for a case.
         */
        get: operations["api_get_active_draft_api_cases__case_number__active_draft_get"];
        put?: never;
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/cases/{case_number}/citations": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * Api Case Citations
         * @description Precedents CITED inside this case's signed decision — split into those linked to
         *     the precedent library and those still missing from it (flagged for upload).
         *
         *     Powers the case-page "פסיקה שצוטטה בהחלטה" panel. Source: the decision's row in
         *     case_law (source_kind='internal_committee') → precedent_internal_citations.
         */
        get: operations["api_case_citations_api_cases__case_number__citations_get"];
        put?: never;
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/cases/{case_number}/exports/{filename}/mark-final": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        put?: never;
        /**
         * Api Mark Final
         * @description Mark an export as the final version — copies to training corpus.
         */
        post: operations["api_mark_final_api_cases__case_number__exports__filename__mark_final_post"];
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/cases/{case_number}/final/upload": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        put?: never;
        /**
         * Api Upload Final Decision
         * @description Clean path: upload the CHAIR's signed final decision (Dafna's version).
         *
         *     Distinct from the two pre-existing flows:
         *       • exports/upload  → uploads a *revised version of OUR draft* (retrofits bookmarks,
         *         becomes active_draft). NOT for the chair's final.
         *       • exports/{f}/mark-final → marks one of *our* exports as final.
         *
         *     This endpoint takes the EXTERNAL signed final, stores it canonically, and wires it
         *     into the full corpus-growth loop (07-learning §1.3):
         *       • style corpus (voice learning) + draft↔final pair (INV-LRN4);
         *       • the precedent library (case_law, internal_committee) so the decision is CITABLE —
         *         chair_name is resolved deterministically (case → committee default), never left
         *         empty (DB constraint), so enrollment always succeeds;
         *       • its citations are linked to the library and any cited precedent NOT in the library
         *         is auto-flagged as a missing_precedent.
         *     It does NOT touch active_draft. The LLM-heavy steps (style/halacha panels, halacha
         *     extraction, corroboration) still run on the local worker via run-learning/run-halacha.
         */
        post: operations["api_upload_final_decision_api_cases__case_number__final_upload_post"];
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/cases/{case_number}/final/run-learning": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        put?: never;
        /**
         * Api Final Run Learning
         * @description Staged step 1 — voice learning: wake the local worker to run ingest_final_version
         *     (Opus distillation) + the 2-judge style panel (DeepSeek+Gemini).
         */
        post: operations["api_final_run_learning_api_cases__case_number__final_run_learning_post"];
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/cases/{case_number}/final/run-halacha": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        put?: never;
        /**
         * Api Final Run Halacha
         * @description Staged step 2 — halacha validation: wake the local worker to extract the cited
         *     halachot, build corroboration, and run the 3-judge halacha panel (--apply).
         */
        post: operations["api_final_run_halacha_api_cases__case_number__final_run_halacha_post"];
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/cases/{case_number}/learning-status": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * Api Case Learning Status
         * @description Derived status of the two post-final pipelines (voice learning + halacha
         *     extraction) for the case: whether each ran, succeeded, why not, and how many
         *     halachot were extracted. Focused/cheap endpoint for the UI to poll + invalidate
         *     after the run-learning/run-halacha buttons. Same derivation as case_get's
         *     learning_status (single source — db.case_learning_status).
         */
        get: operations["api_case_learning_status_api_cases__case_number__learning_status_get"];
        put?: never;
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/cases/{case_number}/export-docx": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        put?: never;
        /**
         * Api Export Docx
         * @description Trigger DOCX export for a case.
         *
         *     On a successful export, fires a fire-and-forget webhook to the
         *     Paperclip plugin so it can attach a "final-decision" document
         *     (markdown body + download link) to the linked issue.
         */
        post: operations["api_export_docx_api_cases__case_number__export_docx_post"];
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/documents/{doc_id}/text": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * Api Document Text
         * @description Get the extracted text of a document by its ID.
         */
        get: operations["api_document_text_api_documents__doc_id__text_get"];
        put?: never;
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/integrations/gitea/create-repo": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        put?: never;
        /**
         * Api Gitea Create Repo
         * @description Create a Gitea repo in the 'cases' org and link it to the local case directory.
         */
        post: operations["api_gitea_create_repo_api_integrations_gitea_create_repo_post"];
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/integrations/paperclip/create-project": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        put?: never;
        /**
         * Api Paperclip Create Project
         * @description Create a project in Paperclip's embedded DB.
         */
        post: operations["api_paperclip_create_project_api_integrations_paperclip_create_project_post"];
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/cases/{case_number}/start-workflow": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        put?: never;
        /**
         * Api Start Workflow
         * @description Start the CEO agent workflow for a case.
         *
         *     Creates a workflow issue in Paperclip and wakes the CEO agent.
         *     Only works when case status is 'new' or 'documents_ready'.
         */
        post: operations["api_start_workflow_api_cases__case_number__start_workflow_post"];
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/cases/{case_number}/agents": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * Api Case Agents
         * @description Get all Paperclip agent activity for a case: issues, comments, interactions, agent status.
         */
        get: operations["api_case_agents_api_cases__case_number__agents_get"];
        put?: never;
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/cases/{case_number}/agents/comment": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        put?: never;
        /**
         * Api Post Agent Comment
         * @description Post a comment on a Paperclip issue linked to a case.
         *
         *     If issue_id is omitted, the most recent non-done issue is used.
         */
        post: operations["api_post_agent_comment_api_cases__case_number__agents_comment_post"];
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/cases/{case_number}/agents/interaction-response": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        put?: never;
        /**
         * Api Post Interaction Response
         * @description Submit a user's answer to a Paperclip issue-thread interaction.
         *
         *     Routes to /respond | /accept | /reject based on `action`. Paperclip
         *     auto-wakes the issue assignee after a successful submission.
         */
        post: operations["api_post_interaction_response_api_cases__case_number__agents_interaction_response_post"];
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/cases/{case_number}/agents/interaction-dismiss": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        put?: never;
        /**
         * Api Dismiss Interaction
         * @description Dismiss a pending interaction WITHOUT waking the issue assignee.
         *
         *     For stale/duplicate questions (TaskMaster #215). Unlike interaction-response,
         *     this does not resolve via Paperclip's wake_assignee path — it cancels the row
         *     so the chair can clear noise without triggering an agent run.
         */
        post: operations["api_dismiss_interaction_api_cases__case_number__agents_interaction_dismiss_post"];
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/cases/{case_number}/agents/reset": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        put?: never;
        /**
         * Api Reset Case Agents
         * @description Reset stuck agents for a case.
         *
         *     Clears writer/QA agents from 'error' status and reassigns any open
         *     issues back to the chair user, stopping Paperclip recovery loops.
         */
        post: operations["api_reset_case_agents_api_cases__case_number__agents_reset_post"];
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/settings/mcp/env": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * Api Mcp Env
         * @description List all catalog env vars with Coolify (authoritative) + container values.
         */
        get: operations["api_mcp_env_api_settings_mcp_env_get"];
        put?: never;
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/settings/mcp/env/{key}": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        put?: never;
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        /**
         * Api Mcp Env Update
         * @description Update a non-secret env var in Coolify. Requires redeploy to take effect.
         */
        patch: operations["api_mcp_env_update_api_settings_mcp_env__key__patch"];
        trace?: never;
    };
    "/api/settings/mcp/env/redeploy": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        put?: never;
        /**
         * Api Mcp Env Redeploy
         * @description Trigger Coolify redeploy of the legal-ai app.
         */
        post: operations["api_mcp_env_redeploy_api_settings_mcp_env_redeploy_post"];
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/settings/mcp/tools": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * Api Mcp Tools
         * @description List all MCP tools registered in legal_mcp.
         */
        get: operations["api_mcp_tools_api_settings_mcp_tools_get"];
        put?: never;
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/settings/mcp/registrations": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * Api Mcp Registrations
         * @description List MCP server registrations from host config files.
         */
        get: operations["api_mcp_registrations_api_settings_mcp_registrations_get"];
        put?: never;
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/settings/mcp/blocks": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * Api Mcp Blocks
         * @description List the 12-block decision schema (read-only reference).
         */
        get: operations["api_mcp_blocks_api_settings_mcp_blocks_get"];
        put?: never;
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/settings/paperclip-companies": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * Api Paperclip Companies
         * @description List all companies from Paperclip's DB.
         */
        get: operations["api_paperclip_companies_api_settings_paperclip_companies_get"];
        put?: never;
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/settings/tag-mappings": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * Api Get Tag Mappings
         * @description Get all tag → company mappings.
         */
        get: operations["api_get_tag_mappings_api_settings_tag_mappings_get"];
        put?: never;
        /**
         * Api Add Tag Mapping
         * @description Add a tag → company mapping.
         */
        post: operations["api_add_tag_mapping_api_settings_tag_mappings_post"];
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/settings/tag-mappings/{mapping_id}": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        put?: never;
        post?: never;
        /**
         * Api Delete Tag Mapping
         * @description Delete a tag → company mapping.
         */
        delete: operations["api_delete_tag_mapping_api_settings_tag_mappings__mapping_id__delete"];
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/methodology/{category}": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * Api Get Methodology
         * @description Get methodology settings with DB overrides merged over defaults.
         */
        get: operations["api_get_methodology_api_methodology__category__get"];
        put?: never;
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/methodology/{category}/{key}": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        /**
         * Api Update Methodology
         * @description Upsert a methodology override. Validates value shape per category.
         */
        put: operations["api_update_methodology_api_methodology__category___key__put"];
        post?: never;
        /**
         * Api Reset Methodology
         * @description Delete methodology override, restoring the hardcoded default.
         */
        delete: operations["api_reset_methodology_api_methodology__category___key__delete"];
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/learning/pairs": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * Api Learning Pairs
         * @description פנקס-ההתאמה (INV-LRN4) — כל ההחלטות וסטטוס ההשוואה מול הסופי.
         *     status אופציונלי: final_received / analyzed / lessons_folded.
         */
        get: operations["api_learning_pairs_api_learning_pairs_get"];
        put?: never;
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/learning/style-distance/{case_number}": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * Api Learning Style Distance
         * @description מדד מרחק-סגנון (T7) לתיק — האם הטיוטה מתכנסת לדפנה.
         */
        get: operations["api_learning_style_distance_api_learning_style_distance__case_number__get"];
        put?: never;
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/learning/style-distance-history": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * Api Learning Style Distance History
         * @description Path A — מגמת ה-held-out הפרוספקטיבי: snapshot של מרחק-הסגנון שנלכד בכל
         *     העלאת-סופי *לפני* הטמעת-לקחי-התיק, מול גודל-בריכת-הלקחים באותו רגע. ירידה
         *     ב-anti_pattern_total / change_percent ככל שהבריכה גדלה = הלמידה מכלילה.
         */
        get: operations["api_learning_style_distance_history_api_learning_style_distance_history_get"];
        put?: never;
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/learning/pairs/{pair_id}": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * Api Learning Pair Detail
         * @description פירוט שורת-פנקס כולל הצעת-הדיסטילציה (analysis) לאישור יו"ר (T14).
         */
        get: operations["api_learning_pair_detail_api_learning_pairs__pair_id__get"];
        put?: never;
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/learning/pairs/{pair_id}/promote": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        put?: never;
        /**
         * Api Learning Promote
         * @description שער-יו"ר (INV-G10/LRN1): מאשר לקחי-סגנון + ביטויי-מעבר מהצעת-הדיסטילציה
         *     ומטמיע אותם בערוצים שהכותב צורך (methodology overrides → T15). מקדם status.
         */
        post: operations["api_learning_promote_api_learning_pairs__pair_id__promote_post"];
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/admin/skills": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * Api List Skills
         * @description List installed Paperclip skills with DB sync status.
         */
        get: operations["api_list_skills_api_admin_skills_get"];
        put?: never;
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/admin/paperclip-agents": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * Api List Paperclip Agents
         * @description List all Paperclip agents grouped into master+mirror pairs with drift detection.
         *
         *     Read-only. Source of truth: Paperclip ``GET /api/companies/{id}/agents`` API
         *     (not direct DB) — keeps us decoupled from Paperclip's schema changes.
         */
        get: operations["api_list_paperclip_agents_api_admin_paperclip_agents_get"];
        put?: never;
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/admin/skills/install": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        put?: never;
        /**
         * Api Install Skill
         * @description Install or update a Paperclip skill from a ZIP file.
         *
         *     The ZIP should contain a SKILL.md at root (or in a single subdirectory).
         *     The skill slug is derived from the directory name or ZIP filename.
         */
        post: operations["api_install_skill_api_admin_skills_install_post"];
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/admin/skills/{slug}/sync": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        put?: never;
        /**
         * Api Sync Skill
         * @description Sync a skill from disk into the DB (for skills that exist on disk but not in DB).
         */
        post: operations["api_sync_skill_api_admin_skills__slug__sync_post"];
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/admin/skills/{slug}": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        put?: never;
        post?: never;
        /**
         * Api Delete Skill
         * @description Delete a skill from the DB. Does NOT delete files from disk.
         */
        delete: operations["api_delete_skill_api_admin_skills__slug__delete"];
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/admin/paperclip/restart": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        put?: never;
        /**
         * Api Restart Paperclip
         * @description Restart the Paperclip PM2 process.
         *
         *     Tries pm2 directly (works when running locally on the host).
         *     In Docker, writes a restart flag file that the host watcher picks up.
         */
        post: operations["api_restart_paperclip_api_admin_paperclip_restart_post"];
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/cases/{case_number}/documents/upload-tagged": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        put?: never;
        /**
         * Api Upload Tagged Document
         * @description Upload a document to a case with tagging and auto-rename.
         */
        post: operations["api_upload_tagged_document_api_cases__case_number__documents_upload_tagged_post"];
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/cases/{case_number}/documents/{doc_id}/reprocess": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        put?: never;
        /**
         * Api Reprocess Document
         * @description Reprocess a failed document.
         */
        post: operations["api_reprocess_document_api_cases__case_number__documents__doc_id__reprocess_post"];
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/cases/{case_number}/documents/{doc_id}": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        put?: never;
        post?: never;
        /**
         * Api Delete Document
         * @description Delete a single document from a case (including its chunks and file).
         */
        delete: operations["api_delete_document_api_cases__case_number__documents__doc_id__delete"];
        options?: never;
        head?: never;
        /**
         * Api Patch Document
         * @description Update a document's tags. Currently supports doc_type and the
         *     metadata.appraiser_side flag (used by extract_appraiser_facts).
         *
         *     Returns the refreshed document row.
         */
        patch: operations["api_patch_document_api_cases__case_number__documents__doc_id__patch"];
        trace?: never;
    };
    "/api/cases/{case_number}/extract-appraiser-facts": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        put?: never;
        /**
         * Api Extract Appraiser Facts
         * @description Queue appraiser-fact extraction by waking the legal-analyst agent.
         *
         *     The extraction itself calls `claude_session.query_json()`, which shells
         *     out to the local `claude` CLI — present on the agent host, **absent in
         *     this FastAPI container**. So we cannot run the extractor inline here.
         *
         *     Instead we delegate: create a child Paperclip issue under the case's
         *     main issue, assigned to the analyst of the correct company, and trigger
         *     a wakeup with `mutation: extract_appraiser_facts`. The analyst runs the
         *     MCP tool locally and posts results as a comment.
         *
         *     Pre-check: short-circuits with `sides_missing` if any appraisal is
         *     untagged, so the chair gets immediate feedback without spinning up an
         *     agent for nothing. The check uses `_validate_sides_tagged` against the
         *     documents already in the DB — no LLM call, safe to run in-container.
         *
         *     Response shape:
         *         {"status": "queued", "sub_issue_id", "analyst_id", "main_issue_id"}
         *       or {"status": "sides_missing", "missing": [...], "message": "..."}
         *       or {"status": "no_appraisals", ...}
         *       or {"status": "skipped", "reason": "no_api_key"|"no_analyst"|"no_issue"}
         */
        post: operations["api_extract_appraiser_facts_api_cases__case_number__extract_appraiser_facts_post"];
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/feedback": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * Api List Feedback
         * @description List chair feedback, optionally filtered by case/category.
         */
        get: operations["api_list_feedback_api_feedback_get"];
        put?: never;
        /**
         * Api Create Feedback
         * @description Record a new chair feedback entry.
         */
        post: operations["api_create_feedback_api_feedback_post"];
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/feedback/json": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        put?: never;
        /**
         * Api Create Feedback Json
         * @description Record a new chair feedback entry (JSON body).
         */
        post: operations["api_create_feedback_json_api_feedback_json_post"];
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/feedback/{feedback_id}/resolve": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        put?: never;
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        /**
         * Api Resolve Feedback
         * @description Mark feedback as resolved. When ``fold`` is true (default) and the entry
         *     has an extracted lesson, also wake the CEO to fold that lesson into the
         *     right knowledge file (the feedback→agent-knowledge loop).
         *
         *     The fold is fire-and-forget (BackgroundTask) and best-effort — resolving
         *     never fails because Paperclip is down. Pass ``fold=false`` for pure
         *     bookkeeping resolves (e.g. from the per-case drafts panel) to avoid
         *     spawning a CEO run per click.
         */
        patch: operations["api_resolve_feedback_api_feedback__feedback_id__resolve_patch"];
        trace?: never;
    };
    "/api/chair-feedback/weekly-summary": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * Api Chair Feedback Weekly Summary
         * @description Return chair feedback from the last N days as a text summary for the CEO agent.
         */
        get: operations["api_chair_feedback_weekly_summary_api_chair_feedback_weekly_summary_get"];
        put?: never;
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/chair/pending": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * Api Chair Pending
         * @description מרכז אישורים — דפנה: מאגד את כל השערים האנושיים (INV-G10) הממתינים להכרעת
         *     היו"ר במקום אחד, כדי שאף פריט לא יישכח. כל קטגוריה מחזירה ספירה + מדגם + קישור
         *     למקום הטיפול. כל ספירה היא שאילתת-מקור ישירה (לא נגזרת מטמונה).
         */
        get: operations["api_chair_pending_api_chair_pending_get"];
        put?: never;
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/precedent-library/upload": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        put?: never;
        /**
         * Precedent Library Upload
         * @description Upload a court ruling / appeals committee decision to the
         *     authoritative precedent library. Halachot are extracted in the
         *     background and queued for chair approval.
         */
        post: operations["precedent_library_upload_api_precedent_library_upload_post"];
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/precedent-library": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /** Precedent Library List */
        get: operations["precedent_library_list_api_precedent_library_get"];
        put?: never;
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/precedent-library/stats": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /** Precedent Library Stats */
        get: operations["precedent_library_stats_api_precedent_library_stats_get"];
        put?: never;
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/precedent-library/search": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /** Precedent Library Search */
        get: operations["precedent_library_search_api_precedent_library_search_get"];
        put?: never;
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/precedent-library/{case_law_id}": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /** Precedent Library Get */
        get: operations["precedent_library_get_api_precedent_library__case_law_id__get"];
        put?: never;
        post?: never;
        /** Precedent Library Delete */
        delete: operations["precedent_library_delete_api_precedent_library__case_law_id__delete"];
        options?: never;
        head?: never;
        /** Precedent Library Update */
        patch: operations["precedent_library_update_api_precedent_library__case_law_id__patch"];
        trace?: never;
    };
    "/api/precedent-library/{case_law_id}/relations": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        put?: never;
        /** Precedent Add Relation */
        post: operations["precedent_add_relation_api_precedent_library__case_law_id__relations_post"];
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/precedent-library/{case_law_id}/relations/{related_id}": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        put?: never;
        post?: never;
        /** Precedent Remove Relation */
        delete: operations["precedent_remove_relation_api_precedent_library__case_law_id__relations__related_id__delete"];
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/graph/corpus": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * Graph Corpus
         * @description Full corpus graph under the given filters (most-cited nodes survive the cap).
         */
        get: operations["graph_corpus_api_graph_corpus_get"];
        put?: never;
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/graph/facets": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * Graph Facets
         * @description Distinct filter values (courts / levels / chairs / districts) for the UI.
         */
        get: operations["graph_facets_api_graph_facets_get"];
        put?: never;
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/graph/node/{node_id}/neighborhood": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * Graph Node Neighborhood
         * @description Local-graph focus: the node + its neighbors out to ``depth`` (1-2).
         */
        get: operations["graph_node_neighborhood_api_graph_node__node_id__neighborhood_get"];
        put?: never;
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/precedent-library/{case_law_id}/request-metadata": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        put?: never;
        /**
         * Precedent Request Metadata
         * @description Stamp the case_law row as needing metadata extraction AND wake the
         *     Paperclip CEO so extraction runs automatically — same flow as upload.
         */
        post: operations["precedent_request_metadata_api_precedent_library__case_law_id__request_metadata_post"];
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/precedent-library/{case_law_id}/request-halachot": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        put?: never;
        /**
         * Precedent Request Halachot
         * @description Same, for halacha re-extraction.
         */
        post: operations["precedent_request_halachot_api_precedent_library__case_law_id__request_halachot_post"];
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/cases/{case_number}/digest-radar": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * Api Case Digest Radar
         * @description Case-contextual digest radar (X12) — UNLINKED digests whose topic is close to
         *     this case (rulings we don't hold yet). Powers the case-page "📡 רדאר יומונים" lead
         *     so a relevant ruling known only via a digest doesn't fall through the cracks while
         *     the case is decided. INV-DIG1: points at the underlying ruling, never cites the
         *     digest.
         */
        get: operations["api_case_digest_radar_api_cases__case_number__digest_radar_get"];
        put?: never;
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/digests/upload": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        put?: never;
        /**
         * Digest Upload
         * @description Upload a "כל יום" digest. Container-safe: stages the file and extracts
         *     text, creating a row with extraction_status='pending'. LLM enrichment
         *     (concept/headline/citation + embedding + autolink) is deferred to the local
         *     MCP drainer ``digest_process_pending`` (claude CLI not in container).
         */
        post: operations["digest_upload_api_digests_upload_post"];
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/digests": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /** Digest List */
        get: operations["digest_list_api_digests_get"];
        put?: never;
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/digests/search": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /** Digest Search */
        get: operations["digest_search_api_digests_search_get"];
        put?: never;
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/digests/queue/pending": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * Digest Queue Pending
         * @description Digests awaiting local LLM enrichment (UI badge 'N ממתינים לעיבוד').
         */
        get: operations["digest_queue_pending_api_digests_queue_pending_get"];
        put?: never;
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/operations": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * Operations Snapshot
         * @description Everything running in the background: services + pipelines/queues.
         */
        get: operations["operations_snapshot_api_operations_get"];
        put?: never;
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/operations/services/{name}/{action}": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        put?: never;
        /**
         * Operations Service Action
         * @description Control a background service (restart/stop/start) or run a drain now.
         *
         *     'run-now' maps to pm2 restart — for a one-shot cron drain that fires the
         *     job immediately. Whitelisted to legal-* (enforced again on the host).
         */
        post: operations["operations_service_action_api_operations_services__name___action__post"];
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/operations/drains/{name}/disabled": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        put?: never;
        /**
         * Operations Drain Toggle
         * @description Switch a cron drain on/off (the 'startup type' in the services panel).
         *
         *     Written to drain_controls so the drain no-ops at its NEXT startup (pm2
         *     cron_restart can't be trusted to stay stopped). On disable we ALSO stop any
         *     currently-running process immediately via the host pm2 bridge — the DB flag
         *     alone wouldn't halt a drain mid-run. Best-effort: a bridge failure doesn't
         *     fail the toggle (the supervisor stops it on its next tick as a backstop).
         */
        post: operations["operations_drain_toggle_api_operations_drains__name__disabled_post"];
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/operations/drains/{name}/burst": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        put?: never;
        /**
         * Operations Drain Burst
         * @description Start/stop a drain's MANUAL burst window (chair-controlled, from /operations).
         *
         *     ``action='on'``  → ``burst_until`` = body ``until`` (ISO) or the upcoming
         *     Saturday 18:00 Israel time. ``action='off'`` → NULL. The host supervisor
         *     (legal-halacha-supervisor) reads this from the DB and lifts/restores the
         *     drain's window accordingly (takes effect within one supervisor tick, ≤15 min).
         *     Never set automatically — manual only.
         */
        post: operations["operations_drain_burst_api_operations_drains__name__burst_post"];
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/operations/agents": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * Operations Agents
         * @description Queued + running heartbeat runs across all companies (read-only).
         *
         *     Tolerates a per-company Paperclip hiccup: returns whatever it could fetch
         *     plus an ``errors`` list, so one company's outage never blanks the panel.
         */
        get: operations["operations_agents_api_operations_agents_get"];
        put?: never;
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/operations/agents/runs/{run_id}/log": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * Operations Agent Run Log
         * @description Full output log (NDJSON stream) of one heartbeat run.
         */
        get: operations["operations_agent_run_log_api_operations_agents_runs__run_id__log_get"];
        put?: never;
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/operations/agents/runs/{run_id}/events": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * Operations Agent Run Events
         * @description Lifecycle/event timeline of one heartbeat run.
         */
        get: operations["operations_agent_run_events_api_operations_agents_runs__run_id__events_get"];
        put?: never;
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/operations/agents/runs/{run_id}/cancel": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        put?: never;
        /**
         * Operations Agent Run Cancel
         * @description Gracefully cancel a queued/running heartbeat run (not a raw kill).
         */
        post: operations["operations_agent_run_cancel_api_operations_agents_runs__run_id__cancel_post"];
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/operations/agents/{agent_id}/reset-session": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        put?: never;
        /**
         * Operations Agent Reset Session
         * @description Reset a wedged agent session so its next wakeup starts clean.
         */
        post: operations["operations_agent_reset_session_api_operations_agents__agent_id__reset_session_post"];
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/operations/agents/migrate-adapter": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        put?: never;
        /**
         * Operations Agent Migrate Adapter
         * @description Migrate an agent (or 'all') to a target adapter, in both companies.
         *
         *     The migration is host-side (it needs the host filesystem — generated
         *     instruction copies, the gemini settings file — and the embedded board DB),
         *     so this proxies scripts/migrate_agent_adapter.py through the court-fetch host
         *     bridge, Bearer-authenticated exactly like the pm2 controls. The script's exit
         *     code + stdout/stderr are relayed verbatim so the dashboard can show preflight
         *     warnings (a non-zero --check is a refusal to render, not a transport error).
         */
        post: operations["operations_agent_migrate_adapter_api_operations_agents_migrate_adapter_post"];
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/scripts/{name}/run": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        put?: never;
        /**
         * Scripts Run
         * @description Run a read-only allowlisted script via the court-fetch host bridge (#4).
         *
         *     Only scripts in ``script_runner.SCRIPT_RUN_ALLOWLIST`` are runnable; the host
         *     bridge is the enforcer (allowlist + fixed read-only argv, no args from here).
         *     The script's exit code + stdout/stderr are relayed verbatim for the dashboard.
         *     We pre-check the allowlist here too (defense-in-depth, avoids a useless round
         *     trip). Audit scripts can take a while, so the timeout is generous.
         */
        post: operations["scripts_run_api_scripts__name__run_post"];
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/digests/{digest_id}": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /** Digest Get */
        get: operations["digest_get_api_digests__digest_id__get"];
        put?: never;
        post?: never;
        /** Digest Delete */
        delete: operations["digest_delete_api_digests__digest_id__delete"];
        options?: never;
        head?: never;
        /** Digest Update */
        patch: operations["digest_update_api_digests__digest_id__patch"];
        trace?: never;
    };
    "/api/digests/{digest_id}/link": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        put?: never;
        /**
         * Digest Link
         * @description Link a digest to its underlying ruling in the precedent library (INV-DIG3).
         */
        post: operations["digest_link_api_digests__digest_id__link_post"];
        /**
         * Digest Unlink
         * @description Clear a digest's link to the underlying ruling.
         */
        delete: operations["digest_unlink_api_digests__digest_id__link_delete"];
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/digests/{digest_id}/relink": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        put?: never;
        /**
         * Digest Relink
         * @description Re-run autolink: link to the underlying ruling if it is now in the library.
         */
        post: operations["digest_relink_api_digests__digest_id__relink_post"];
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/bulletins/upload": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        put?: never;
        /**
         * Bulletin Upload
         * @description Stage a monthly bulletin PDF to data/bulletins/incoming (no DB). Dedup by
         *     content hash so re-running the n8n backfill never duplicates a file.
         */
        post: operations["bulletin_upload_api_bulletins_upload_post"];
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/internal-decisions/upload": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        put?: never;
        /**
         * Internal Decisions Upload
         * @description Upload a planning appeals-committee decision to the internal corpus.
         *
         *     ``case_number`` is the canonical identifier (e.g. "8027-25"); ``citation``
         *     is the full מראה-מקום (e.g. "ערר ... 8027/25 פלוני נ' הוועדה ..."). They
         *     are distinct fields — previously the UI sent the citation as case_number,
         *     leaving the identifier polluted and citation_formatted empty until the
         *     metadata extractor ran. citation is stored as citation_formatted up-front
         *     so it survives even if extraction is delayed.
         */
        post: operations["internal_decisions_upload_api_internal_decisions_upload_post"];
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/internal-decisions/migrate": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        put?: never;
        /**
         * Internal Decisions Migrate
         * @description Migrate existing data to the internal committee corpus.
         *
         *     source: 'style_corpus' | 'external_corpus' | 'both'
         *     dry_run: if true, only report what would be done (no writes)
         */
        post: operations["internal_decisions_migrate_api_internal_decisions_migrate_post"];
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/internal-decisions": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * Internal Decisions List
         * @description List internal committee decisions with optional filters.
         */
        get: operations["internal_decisions_list_api_internal_decisions_get"];
        put?: never;
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/halachot": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * Halachot List
         * @description List halachot. ``exclude_low_quality`` hides flagged items (#84.1),
         *     ``order_by_priority`` switches to the active-learning order (#84.3),
         *     ``cluster`` annotates near-duplicate groups for one-card review (#84.2),
         *     ``include_equivalents`` attaches cross-precedent parallel-authority links, and
         *     ``include_panel_round`` attaches the latest 3-judge panel deliberation so the
         *     chair sees why the panel split (#133/FU-2). ``search`` locates a pending
         *     halacha by case_number / case_name / rule text server-side (so an item below
         *     the display window stays reachable); ``with_total`` adds the full filter count
         *     so the UI can show "N of TOTAL". All default off so existing callers are
         *     unaffected; the review queue opts in.
         */
        get: operations["halachot_list_api_halachot_get"];
        put?: never;
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/halachot/{halacha_id}/equivalents": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * Halacha Equivalents List
         * @description Cross-precedent parallel-authority links for a halacha (#84.2).
         */
        get: operations["halacha_equivalents_list_api_halachot__halacha_id__equivalents_get"];
        put?: never;
        /**
         * Halacha Equivalents Link
         * @description Chair links two halachot as the same principle across precedents (#84.2).
         */
        post: operations["halacha_equivalents_link_api_halachot__halacha_id__equivalents_post"];
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/halachot/{halacha_id}/equivalents/{other_id}": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        put?: never;
        post?: never;
        /** Halacha Equivalents Unlink */
        delete: operations["halacha_equivalents_unlink_api_halachot__halacha_id__equivalents__other_id__delete"];
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/canonical-halachot/{canonical_id}/instances": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * Canonical Halacha Instances
         * @description All halachot instances sharing a canonical_id (V41 — used by the UI accordion).
         */
        get: operations["canonical_halacha_instances_api_canonical_halachot__canonical_id__instances_get"];
        put?: never;
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/goldset": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * Goldset List Ep
         * @description The gold-set tagging queue (halacha content + machine labels + human tags).
         */
        get: operations["goldset_list_ep_api_goldset_get"];
        put?: never;
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/goldset/sample": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        put?: never;
        /**
         * Goldset Sample Ep
         * @description Create/extend a stratified gold-set batch for tagging (#81.7).
         */
        post: operations["goldset_sample_ep_api_goldset_sample_post"];
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/goldset/score": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * Goldset Score Ep
         * @description Measure the extraction validators against the human tags (#81.8).
         */
        get: operations["goldset_score_ep_api_goldset_score_get"];
        put?: never;
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/goldset/{goldset_id}": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        put?: never;
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        /**
         * Goldset Tag Ep
         * @description Save one human tag on a gold-set item.
         */
        patch: operations["goldset_tag_ep_api_goldset__goldset_id__patch"];
        trace?: never;
    };
    "/api/halachot/{halacha_id}": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        put?: never;
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        /**
         * Halacha Update
         * @description Approve / reject / edit a halacha. Used by the chair review queue.
         */
        patch: operations["halacha_update_api_halachot__halacha_id__patch"];
        trace?: never;
    };
    "/api/halachot/batch": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        put?: never;
        /**
         * Halacha Batch Review
         * @description Apply one review status to many halachot at once (#84 group action).
         */
        post: operations["halacha_batch_review_api_halachot_batch_post"];
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/plans": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * Plans List
         * @description List the plans registry; filter by review_status (queue) or fuzzy q (search).
         */
        get: operations["plans_list_api_plans_get"];
        put?: never;
        /**
         * Plan Create
         * @description Manual chair add/upsert (idempotent on normalized plan_number).
         */
        post: operations["plan_create_api_plans_post"];
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/plans/{plan_id}/duplicates": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * Plan Duplicates
         * @description Near-duplicate candidates for a plan — for the chair to merge (G10, no auto-merge).
         */
        get: operations["plan_duplicates_api_plans__plan_id__duplicates_get"];
        put?: never;
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/plans/{plan_id}": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /** Plan Get */
        get: operations["plan_get_api_plans__plan_id__get"];
        put?: never;
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        /**
         * Plan Edit
         * @description Edit/fix a plan by id (chair). Refuses a number collision (→ merge instead).
         */
        patch: operations["plan_edit_api_plans__plan_id__patch"];
        trace?: never;
    };
    "/api/plans/{plan_id}/review": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        put?: never;
        /**
         * Plan Review
         * @description Chair gate (G10): approve / reject / reset.
         */
        post: operations["plan_review_api_plans__plan_id__review_post"];
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/plans/merge": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        put?: never;
        /**
         * Plan Merge
         * @description Fold source plan into target (chair-initiated dedup); source is deleted.
         */
        post: operations["plan_merge_api_plans_merge_post"];
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/plans/fetch": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        put?: never;
        /**
         * Plan Fetch From Mavat
         * @description Pull a plan's identity + validity from mavat (מנהל התכנון) for the chair form.
         *
         *     Returns a candidate dict (display_name/plan_type/purpose/gazette_date/
         *     yalkut_number/source_url) — does NOT write the registry; the chair saves via
         *     POST /api/plans (review_status gate stays, INV-AH source_url carried). The
         *     browser work runs on the host bridge (Camoufox past F5); 503 if it's down,
         *     404 if the plan wasn't found.
         */
        post: operations["plan_fetch_from_mavat_api_plans_fetch_post"];
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/missing-precedents": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * Missing Precedents List
         * @description List missing precedents, optionally filtered by status / case / text.
         *
         *     ``q`` is a free-text term matched across the gap's own מראה-מקום, case name,
         *     and cited-in appeal number — so the chair can find a gap by the missing
         *     decision's number (e.g. 85074), not only by the appeal it was cited in.
         *     ``case_id``/``case_number`` remain exact filters for programmatic callers.
         */
        get: operations["missing_precedents_list_api_missing_precedents_get"];
        put?: never;
        /**
         * Missing Precedent Create
         * @description Log a new missing precedent (status='open'). Dedupes by
         *     (citation, cited_in_case_id) — duplicate POST returns the existing row.
         *
         *     On first insert (non-duplicate) emits a webhook to the Paperclip
         *     plugin so it can ask Daphna via an ``askUserQuestions`` interaction
         *     whether to upload the missing precedent.
         */
        post: operations["missing_precedent_create_api_missing_precedents_post"];
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/missing-precedents/{mp_id}": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /** Missing Precedent Get */
        get: operations["missing_precedent_get_api_missing_precedents__mp_id__get"];
        put?: never;
        post?: never;
        /** Missing Precedent Delete */
        delete: operations["missing_precedent_delete_api_missing_precedents__mp_id__delete"];
        options?: never;
        head?: never;
        /** Missing Precedent Update */
        patch: operations["missing_precedent_update_api_missing_precedents__mp_id__patch"];
        trace?: never;
    };
    "/api/missing-precedents/{mp_id}/upload": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        put?: never;
        /**
         * Missing Precedent Upload
         * @description Upload the decision file behind a missing-precedent and link it.
         *
         *     Routes to ingest_internal_decision if the citation looks like a
         *     committee decision (ערר / בל"מ prefix), otherwise to ingest_precedent.
         *     Once the case_law row is created, the missing_precedents row is marked
         *     status='closed' with linked_case_law_id pointing to the new row.
         */
        post: operations["missing_precedent_upload_api_missing_precedents__mp_id__upload_post"];
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/admin/rag-metrics": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * Api Rag Metrics
         * @description Return nDCG@k aggregates for the RAG retrieval feedback loop.
         *
         *     Args:
         *         weeks: window for "recent" metrics (default 12).
         *         k: nDCG cutoff (default 10).
         */
        get: operations["api_rag_metrics_api_admin_rag_metrics_get"];
        put?: never;
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/admin/rag-metrics/infer": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        put?: never;
        /**
         * Api Rag Metrics Infer
         * @description Run auto-inference: for every finalized case, mark its cited
         *     precedents as ``relevance_score=3`` against any search_log where
         *     they appeared in the top-K. Idempotent.
         */
        post: operations["api_rag_metrics_infer_api_admin_rag_metrics_infer_post"];
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
}
export type webhooks = Record<string, never>;
export interface components {
    schemas: {
        /** AdapterMigrationRequest */
        AdapterMigrationRequest: {
            /** Action */
            action: string;
            /** Agent */
            agent?: string | null;
            /** To */
            to?: string | null;
            /** Model */
            model?: string | null;
            /**
             * Relax Tools
             * @default false
             */
            relax_tools: boolean;
        };
        /** AgentCommentRequest */
        AgentCommentRequest: {
            /** Body */
            body: string;
            /** Issue Id */
            issue_id?: string | null;
        };
        /** BlockUpdateRequest */
        BlockUpdateRequest: {
            /** Content */
            content: string;
        };
        /** Body_api_create_feedback_api_feedback_post */
        Body_api_create_feedback_api_feedback_post: {
            /**
             * Case Number
             * @default
             */
            case_number: string;
            /**
             * Block Id
             * @default block-yod
             */
            block_id: string;
            /** Feedback Text */
            feedback_text: string;
            /**
             * Category
             * @default missing_content
             */
            category: string;
            /**
             * Lesson Extracted
             * @default
             */
            lesson_extracted: string;
        };
        /** Body_api_install_skill_api_admin_skills_install_post */
        Body_api_install_skill_api_admin_skills_install_post: {
            /** File */
            file: string;
        };
        /** Body_api_precedent_upload_pdf_api_cases__case_number__precedents_upload_pdf_post */
        Body_api_precedent_upload_pdf_api_cases__case_number__precedents_upload_pdf_post: {
            /** File */
            file: string;
        };
        /** Body_api_research_analysis_upload_api_cases__case_number__research_analysis_upload_put */
        Body_api_research_analysis_upload_api_cases__case_number__research_analysis_upload_put: {
            /** File */
            file: string;
        };
        /** Body_api_upload_export_api_cases__case_number__exports_upload_post */
        Body_api_upload_export_api_cases__case_number__exports_upload_post: {
            /** File */
            file: string;
        };
        /** Body_api_upload_final_decision_api_cases__case_number__final_upload_post */
        Body_api_upload_final_decision_api_cases__case_number__final_upload_post: {
            /** File */
            file: string;
        };
        /** Body_api_upload_tagged_document_api_cases__case_number__documents_upload_tagged_post */
        Body_api_upload_tagged_document_api_cases__case_number__documents_upload_tagged_post: {
            /** File */
            file: string;
            /**
             * Doc Type
             * @default auto
             */
            doc_type: string;
            /**
             * Party Name
             * @default
             */
            party_name: string;
            /**
             * Title
             * @default
             */
            title: string;
        };
        /** Body_bulletin_upload_api_bulletins_upload_post */
        Body_bulletin_upload_api_bulletins_upload_post: {
            /** File */
            file: string;
        };
        /** Body_digest_upload_api_digests_upload_post */
        Body_digest_upload_api_digests_upload_post: {
            /** File */
            file: string;
            /**
             * Yomon Number
             * @default
             */
            yomon_number: string;
            /**
             * Digest Date
             * @default
             */
            digest_date: string;
            /**
             * Practice Area
             * @default
             */
            practice_area: string;
            /**
             * Appeal Subtype
             * @default
             */
            appeal_subtype: string;
            /**
             * Subject Tags
             * @default []
             */
            subject_tags: string;
        };
        /** Body_internal_decisions_upload_api_internal_decisions_upload_post */
        Body_internal_decisions_upload_api_internal_decisions_upload_post: {
            /** File */
            file: string;
            /** Case Number */
            case_number: string;
            /**
             * Case Name
             * @default
             */
            case_name: string;
            /**
             * Citation
             * @default
             */
            citation: string;
            /**
             * Court
             * @default
             */
            court: string;
            /**
             * Decision Date
             * @default
             */
            decision_date: string;
            /**
             * Chair Name
             * @default
             */
            chair_name: string;
            /**
             * District
             * @default
             */
            district: string;
            /**
             * Practice Area
             * @default
             */
            practice_area: string;
            /**
             * Appeal Subtype
             * @default
             */
            appeal_subtype: string;
            /**
             * Subject Tags
             * @default []
             */
            subject_tags: string;
            /**
             * Is Binding
             * @default false
             */
            is_binding: boolean;
            /**
             * Summary
             * @default
             */
            summary: string;
        };
        /** Body_missing_precedent_upload_api_missing_precedents__mp_id__upload_post */
        Body_missing_precedent_upload_api_missing_precedents__mp_id__upload_post: {
            /** File */
            file: string;
            /**
             * Case Number
             * @default
             */
            case_number: string;
            /**
             * Chair Name
             * @default
             */
            chair_name: string;
            /**
             * District
             * @default
             */
            district: string;
            /**
             * Case Name
             * @default
             */
            case_name: string;
            /**
             * Court
             * @default
             */
            court: string;
            /**
             * Decision Date
             * @default
             */
            decision_date: string;
            /**
             * Practice Area
             * @default
             */
            practice_area: string;
            /**
             * Appeal Subtype
             * @default
             */
            appeal_subtype: string;
            /**
             * Subject Tags
             * @default []
             */
            subject_tags: string;
            /**
             * Is Binding
             * @default true
             */
            is_binding: boolean;
            /**
             * Headnote
             * @default
             */
            headnote: string;
            /**
             * Summary
             * @default
             */
            summary: string;
            /**
             * Precedent Level
             * @default
             */
            precedent_level: string;
            /**
             * Source Type
             * @default
             */
            source_type: string;
        };
        /** Body_precedent_library_upload_api_precedent_library_upload_post */
        Body_precedent_library_upload_api_precedent_library_upload_post: {
            /** File */
            file: string;
            /** Citation */
            citation: string;
            /**
             * Case Name
             * @default
             */
            case_name: string;
            /**
             * Court
             * @default
             */
            court: string;
            /**
             * Decision Date
             * @default
             */
            decision_date: string;
            /**
             * Source Type
             * @default
             */
            source_type: string;
            /**
             * Precedent Level
             * @default
             */
            precedent_level: string;
            /**
             * Practice Area
             * @default
             */
            practice_area: string;
            /**
             * Appeal Subtype
             * @default
             */
            appeal_subtype: string;
            /**
             * Subject Tags
             * @default []
             */
            subject_tags: string;
            /**
             * Is Binding
             * @default true
             */
            is_binding: boolean;
            /**
             * Headnote
             * @default
             */
            headnote: string;
            /**
             * Summary
             * @default
             */
            summary: string;
        };
        /** Body_training_analyze_api_training_analyze_post */
        Body_training_analyze_api_training_analyze_post: {
            /** Filename */
            filename: string;
        };
        /** Body_upload_file_api_upload_post */
        Body_upload_file_api_upload_post: {
            /** File */
            file: string;
        };
        /** CaseCreateRequest */
        CaseCreateRequest: {
            /** Case Number */
            case_number: string;
            /** Title */
            title: string;
            /** Appellants */
            appellants?: string[] | null;
            /** Respondents */
            respondents?: string[] | null;
            /**
             * Subject
             * @default
             */
            subject: string;
            /**
             * Property Address
             * @default
             */
            property_address: string;
            /**
             * Permit Number
             * @default
             */
            permit_number: string;
            /**
             * Committee Type
             * @default ועדה מקומית
             */
            committee_type: string;
            /**
             * Hearing Date
             * @default
             */
            hearing_date: string;
            /**
             * Notes
             * @default
             */
            notes: string;
            /**
             * Expected Outcome
             * @default
             */
            expected_outcome: string;
            /**
             * Practice Area
             * @default
             */
            practice_area: string;
            /**
             * Appeal Subtype
             * @default
             */
            appeal_subtype: string;
            /**
             * Proceeding Type
             * @default
             */
            proceeding_type: string;
        };
        /** CaseUpdateRequest */
        CaseUpdateRequest: {
            /**
             * Status
             * @default
             */
            status: string;
            /**
             * Title
             * @default
             */
            title: string;
            /**
             * Subject
             * @default
             */
            subject: string;
            /**
             * Notes
             * @default
             */
            notes: string;
            /**
             * Hearing Date
             * @default
             */
            hearing_date: string;
            /**
             * Decision Date
             * @default
             */
            decision_date: string;
            /** Tags */
            tags?: string[] | null;
            /** Expected Outcome */
            expected_outcome?: string | null;
            /** Appellants */
            appellants?: string[] | null;
            /** Respondents */
            respondents?: string[] | null;
            /**
             * Property Address
             * @default
             */
            property_address: string;
            /**
             * Permit Number
             * @default
             */
            permit_number: string;
            /**
             * Proceeding Type
             * @default
             */
            proceeding_type: string;
        };
        /** ChairPositionRequest */
        ChairPositionRequest: {
            /** Section Id */
            section_id: string;
            /**
             * Position
             * @default
             */
            position: string;
        };
        /** ChatConversationCreate */
        ChatConversationCreate: {
            /**
             * Title
             * @default שיחה חדשה
             */
            title: string;
            /** Style Corpus Id */
            style_corpus_id?: string | null;
        };
        /** ChatMessageRequest */
        ChatMessageRequest: {
            /** Content */
            content: string;
        };
        /** CitationVerifyRequest */
        CitationVerifyRequest: {
            /** Argument Id */
            argument_id: string;
            /**
             * Case Law Id
             * @default
             */
            case_law_id: string;
            /**
             * Quote
             * @default
             */
            quote: string;
            /**
             * Citation
             * @default
             */
            citation: string;
            /** Chair Note */
            chair_note?: string | null;
            /**
             * Verified
             * @default true
             */
            verified: boolean;
            /**
             * Attached Id
             * @default
             */
            attached_id: string;
        };
        /** ClassifyRequest */
        ClassifyRequest: {
            /** Filename */
            filename: string;
            /** Category */
            category: string;
            /**
             * Case Number
             * @default
             */
            case_number: string;
            /**
             * Doc Type
             * @default appeal
             */
            doc_type: string;
            /**
             * Title
             * @default
             */
            title: string;
            /**
             * Decision Number
             * @default
             */
            decision_number: string;
            /**
             * Decision Date
             * @default
             */
            decision_date: string;
            /**
             * Subject Categories
             * @default []
             */
            subject_categories: string[];
        };
        /** CorpusGraph */
        CorpusGraph: {
            /** Nodes */
            nodes: components["schemas"]["GraphNode"][];
            /** Edges */
            edges: components["schemas"]["GraphEdge"][];
            /**
             * Truncated
             * @default false
             */
            truncated: boolean;
            /**
             * Total Available
             * @default 0
             */
            total_available: number;
        };
        /** CuratorProposal */
        CuratorProposal: {
            /** Title */
            title: string;
            /** Proposed Change */
            proposed_change: string;
            /** Rationale */
            rationale: string;
        };
        /** DigestLinkRequest */
        DigestLinkRequest: {
            /** Case Law Id */
            case_law_id: string;
        };
        /** DigestUpdateRequest */
        DigestUpdateRequest: {
            /** Yomon Number */
            yomon_number?: string | null;
            /** Digest Date */
            digest_date?: string | null;
            /** Concept Tag */
            concept_tag?: string | null;
            /** Headline Holding */
            headline_holding?: string | null;
            /** Summary */
            summary?: string | null;
            /** Underlying Citation */
            underlying_citation?: string | null;
            /** Underlying Court */
            underlying_court?: string | null;
            /** Underlying Date */
            underlying_date?: string | null;
            /** Underlying Judge */
            underlying_judge?: string | null;
            /** Practice Area */
            practice_area?: string | null;
            /** Appeal Subtype */
            appeal_subtype?: string | null;
            /** Subject Tags */
            subject_tags?: string[] | null;
        };
        /** DirectionRequest */
        DirectionRequest: {
            /** Direction Doc */
            direction_doc: {
                [key: string]: unknown;
            };
        };
        /**
         * DocumentPatchRequest
         * @description Patch payload for a single document. All fields are optional; only the
         *     ones present are applied. The metadata.* flags are display/processing hints
         *     that never change the stored doc_type.
         */
        DocumentPatchRequest: {
            /** Doc Type */
            doc_type?: string | null;
            /** Appraiser Side */
            appraiser_side?: string | null;
            /** Is Post Hearing */
            is_post_hearing?: boolean | null;
            /** Protocol Scope */
            protocol_scope?: string | null;
        };
        /** EquivalentLinkRequest */
        EquivalentLinkRequest: {
            /** Other Id */
            other_id: string;
            /**
             * Note
             * @default
             */
            note: string;
        };
        /** GiteaRepoRequest */
        GiteaRepoRequest: {
            /** Case Number */
            case_number: string;
            /** Title */
            title: string;
            /**
             * Description
             * @default
             */
            description: string;
        };
        /** GoldsetSampleRequest */
        GoldsetSampleRequest: {
            /**
             * N
             * @default 150
             */
            n: number;
            /**
             * Batch
             * @default default
             */
            batch: string;
            /**
             * Reset
             * @default false
             */
            reset: boolean;
        };
        /** GoldsetTagRequest */
        GoldsetTagRequest: {
            /** Is Holding */
            is_holding?: boolean | null;
            /** Correct Type */
            correct_type?: string | null;
            /** Quote Complete */
            quote_complete?: boolean | null;
            /**
             * Tagged By
             * @default chair
             */
            tagged_by: string;
        };
        /** GraphEdge */
        GraphEdge: {
            /** Source */
            source: string;
            /** Target */
            target: string;
            /** Type */
            type: string;
            /** Treatment */
            treatment?: string | null;
            /** Weight */
            weight?: number | null;
        };
        /**
         * GraphFacets
         * @description Distinct filter values so the UI doesn't hardcode Hebrew enum strings.
         */
        GraphFacets: {
            /** Courts */
            courts: string[];
            /** Precedent Levels */
            precedent_levels: string[];
            /** Chairs */
            chairs: string[];
            /** Districts */
            districts: string[];
        };
        /** GraphNode */
        GraphNode: {
            /** Id */
            id: string;
            /** Type */
            type: string;
            /** Label */
            label: string;
            /**
             * Size
             * @default 0
             */
            size: number;
            /** Practice Area */
            practice_area?: string | null;
            /** Source Kind */
            source_kind?: string | null;
            /** Precedent Level */
            precedent_level?: string | null;
            /** Court */
            court?: string | null;
            /** Date */
            date?: string | null;
            /** Case Law Id */
            case_law_id?: string | null;
            /** Pagerank */
            pagerank?: number | null;
            /** Betweenness */
            betweenness?: number | null;
            /** Community */
            community?: number | null;
            /** Gap Status */
            gap_status?: string | null;
            /** Missing Precedent Id */
            missing_precedent_id?: string | null;
            /** Note */
            note?: string | null;
            /** Digest Id */
            digest_id?: string | null;
        };
        /** HTTPValidationError */
        HTTPValidationError: {
            /** Detail */
            detail?: components["schemas"]["ValidationError"][];
        };
        /**
         * HalachaBatchReviewRequest
         * @description #84 — apply one review status to many halachot at once (group action).
         */
        HalachaBatchReviewRequest: {
            /** Halacha Ids */
            halacha_ids: string[];
            /** Review Status */
            review_status: string;
            /**
             * Reviewer
             * @default דפנה
             */
            reviewer: string | null;
        };
        /** HalachaUpdateRequest */
        HalachaUpdateRequest: {
            /** Review Status */
            review_status?: string | null;
            /**
             * Reviewer
             * @default דפנה
             */
            reviewer: string | null;
            /** Rule Statement */
            rule_statement?: string | null;
            /** Reasoning Summary */
            reasoning_summary?: string | null;
            /** Subject Tags */
            subject_tags?: string[] | null;
            /** Practice Areas */
            practice_areas?: string[] | null;
            /** Supporting Quote */
            supporting_quote?: string | null;
            /** Canonical Statement */
            canonical_statement?: string | null;
        };
        /** InteractionDismissRequest */
        InteractionDismissRequest: {
            /** Issue Id */
            issue_id: string;
            /** Interaction Id */
            interaction_id: string;
        };
        /** InteractionResponseRequest */
        InteractionResponseRequest: {
            /** Issue Id */
            issue_id: string;
            /** Interaction Id */
            interaction_id: string;
            /**
             * Action
             * @enum {string}
             */
            action: "respond" | "accept" | "reject";
            /** Payload */
            payload: {
                [key: string]: unknown;
            };
        };
        /** LessonCreate */
        LessonCreate: {
            /** Lesson Text */
            lesson_text: string;
            /**
             * Category
             * @default general
             */
            category: string;
            /**
             * Source
             * @default manual
             */
            source: string;
        };
        /** LessonPatch */
        LessonPatch: {
            /** Lesson Text */
            lesson_text?: string | null;
            /** Category */
            category?: string | null;
            /** Review Status */
            review_status?: string | null;
        };
        /** McpEnvUpdateRequest */
        McpEnvUpdateRequest: {
            /** Value */
            value: unknown;
        };
        /** MethodologyUpdateRequest */
        MethodologyUpdateRequest: {
            /** Value */
            value: unknown;
        };
        /** MissingPrecedentCreate */
        MissingPrecedentCreate: {
            /** Citation */
            citation: string;
            /**
             * Case Number
             * @default
             */
            case_number: string;
            /** Cited In Document Id */
            cited_in_document_id?: string | null;
            /**
             * Cited By Party
             * @default unknown
             * @enum {string}
             */
            cited_by_party: "appellant" | "respondent" | "committee" | "permit_applicant" | "unknown";
            /** Cited By Party Name */
            cited_by_party_name?: string | null;
            /** Legal Topic */
            legal_topic?: string | null;
            /** Legal Issue */
            legal_issue?: string | null;
            /** Claim Quote */
            claim_quote?: string | null;
            /** Case Name */
            case_name?: string | null;
            /** Notes */
            notes?: string | null;
        };
        /** MissingPrecedentPatch */
        MissingPrecedentPatch: {
            /** Legal Topic */
            legal_topic?: string | null;
            /** Legal Issue */
            legal_issue?: string | null;
            /** Notes */
            notes?: string | null;
            /** Cited By Party */
            cited_by_party?: ("appellant" | "respondent" | "committee" | "permit_applicant" | "unknown") | null;
            /** Cited By Party Name */
            cited_by_party_name?: string | null;
            /** Case Name */
            case_name?: string | null;
            /** Status */
            status?: ("open" | "uploaded" | "closed" | "irrelevant") | null;
            /** Citation */
            citation?: string | null;
            /** Claim Quote */
            claim_quote?: string | null;
        };
        /** OutcomeRequest */
        OutcomeRequest: {
            /** Outcome */
            outcome: string;
            /**
             * Reasoning
             * @default
             */
            reasoning: string;
        };
        /** PaperclipProjectRequest */
        PaperclipProjectRequest: {
            /** Case Number */
            case_number: string;
            /** Title */
            title: string;
            /**
             * Description
             * @default
             */
            description: string;
            /**
             * Appeal Type
             * @default רישוי
             */
            appeal_type: string;
        };
        /** PlanEditRequest */
        PlanEditRequest: {
            /** Plan Number */
            plan_number: string;
            /**
             * Display Name
             * @default
             */
            display_name: string;
            /**
             * Plan Type
             * @default
             */
            plan_type: string;
            /**
             * Gazette Date
             * @default
             */
            gazette_date: string;
            /**
             * Yalkut Number
             * @default
             */
            yalkut_number: string;
            /**
             * Purpose
             * @default
             */
            purpose: string;
            /** Aliases */
            aliases?: string[] | null;
        };
        /** PlanFetchRequest */
        PlanFetchRequest: {
            /** Plan Number */
            plan_number: string;
        };
        /** PlanMergeRequest */
        PlanMergeRequest: {
            /** Source Id */
            source_id: string;
            /** Target Id */
            target_id: string;
        };
        /** PlanReviewRequest */
        PlanReviewRequest: {
            /** Review Status */
            review_status: string;
        };
        /** PlanUpsertRequest */
        PlanUpsertRequest: {
            /** Plan Number */
            plan_number: string;
            /**
             * Display Name
             * @default
             */
            display_name: string;
            /**
             * Plan Type
             * @default
             */
            plan_type: string;
            /**
             * Gazette Date
             * @default
             */
            gazette_date: string;
            /**
             * Yalkut Number
             * @default
             */
            yalkut_number: string;
            /**
             * Purpose
             * @default
             */
            purpose: string;
            /**
             * Review Status
             * @default approved
             */
            review_status: string;
            /**
             * Aliases
             * @default []
             */
            aliases: string[];
        };
        /** PrecedentCreateRequest */
        PrecedentCreateRequest: {
            /** Quote */
            quote: string;
            /** Citation */
            citation: string;
            /**
             * Section Id
             * @default
             */
            section_id: string;
            /**
             * Chair Note
             * @default
             */
            chair_note: string;
            /**
             * Pdf Document Id
             * @default
             */
            pdf_document_id: string;
        };
        /** PrecedentRelationRequest */
        PrecedentRelationRequest: {
            /** Related Id */
            related_id: string;
            /**
             * Relation Type
             * @default same_case_chain
             */
            relation_type: string;
        };
        /** PrecedentUpdateRequest */
        PrecedentUpdateRequest: {
            /** Case Number */
            case_number?: string | null;
            /** Case Name */
            case_name?: string | null;
            /** Court */
            court?: string | null;
            /** Decision Date */
            decision_date?: string | null;
            /** Practice Area */
            practice_area?: string | null;
            /** Appeal Subtype */
            appeal_subtype?: string | null;
            /** Subject Tags */
            subject_tags?: string[] | null;
            /** Summary */
            summary?: string | null;
            /** Headnote */
            headnote?: string | null;
            /** Key Quote */
            key_quote?: string | null;
            /** Source Url */
            source_url?: string | null;
            /** Source Type */
            source_type?: string | null;
            /** Precedent Level */
            precedent_level?: string | null;
            /** Is Binding */
            is_binding?: boolean | null;
            /** District */
            district?: string | null;
            /** Chair Name */
            chair_name?: string | null;
            /** Citation Formatted */
            citation_formatted?: string | null;
        };
        /** PromoteLearningRequest */
        PromoteLearningRequest: {
            /**
             * Lessons
             * @default []
             */
            lessons: string[];
            /**
             * Phrases
             * @default []
             */
            phrases: string[];
        };
        /** ReviseRequest */
        ReviseRequest: {
            /** Revisions */
            revisions: {
                [key: string]: unknown;
            }[];
            /**
             * Author
             * @default מערכת AI
             */
            author: string;
        };
        /** TagMappingRequest */
        TagMappingRequest: {
            /** Tag */
            tag: string;
            /**
             * Tag Label
             * @default
             */
            tag_label: string;
            /** Company Id */
            company_id: string;
            /**
             * Company Name
             * @default
             */
            company_name: string;
        };
        /**
         * TrainingCorpusPatch
         * @description Editable metadata fields on a style_corpus row.
         *
         *     full_text is intentionally NOT editable — the corpus is write-once.
         *     For corrections, re-upload the decision via /api/training/upload.
         */
        TrainingCorpusPatch: {
            /** Decision Number */
            decision_number?: string | null;
            /** Decision Date */
            decision_date?: string | null;
            /** Subject Categories */
            subject_categories?: string[] | null;
            /** Summary */
            summary?: string | null;
            /** Outcome */
            outcome?: string | null;
            /** Key Principles */
            key_principles?: string[] | null;
            /** Appeal Subtype */
            appeal_subtype?: string | null;
            /** Practice Area */
            practice_area?: string | null;
        };
        /** TrainingUploadRequest */
        TrainingUploadRequest: {
            /** Filename */
            filename: string;
            /**
             * Decision Number
             * @default
             */
            decision_number: string;
            /**
             * Decision Date
             * @default
             */
            decision_date: string;
            /**
             * Subject Categories
             * @default []
             */
            subject_categories: string[];
            /**
             * Title
             * @default
             */
            title: string;
        };
        /** ValidationError */
        ValidationError: {
            /** Location */
            loc: (string | number)[];
            /** Message */
            msg: string;
            /** Error Type */
            type: string;
            /** Input */
            input?: unknown;
            /** Context */
            ctx?: Record<string, never>;
        };
    };
    responses: never;
    parameters: never;
    requestBodies: never;
    headers: never;
    pathItems: never;
}
export type $defs = Record<string, never>;
export interface operations {
    index__get: {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
        };
    };
    upload_file_api_upload_post: {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody: {
            content: {
                "multipart/form-data": components["schemas"]["Body_upload_file_api_upload_post"];
            };
        };
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    list_uploads_api_uploads_get: {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
        };
    };
    delete_upload_api_uploads__filename__delete: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                filename: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    classify_file_api_classify_post: {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody: {
            content: {
                "application/json": components["schemas"]["ClassifyRequest"];
            };
        };
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    training_analyze_api_training_analyze_post: {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody: {
            content: {
                "application/x-www-form-urlencoded": components["schemas"]["Body_training_analyze_api_training_analyze_post"];
            };
        };
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    training_upload_api_training_upload_post: {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody: {
            content: {
                "application/json": components["schemas"]["TrainingUploadRequest"];
            };
        };
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    training_patterns_api_training_patterns_get: {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
        };
    };
    training_analyze_style_api_training_analyze_style_post: {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
        };
    };
    training_analyze_style_status_api_training_analyze_style_status_get: {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
        };
    };
    training_style_report_api_training_style_report_get: {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
        };
    };
    training_compare_api_training_compare_get: {
        parameters: {
            query: {
                a: string;
                b: string;
            };
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    training_corpus_delete_api_training_corpus__corpus_id__delete: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                corpus_id: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    training_corpus_patch_api_training_corpus__corpus_id__patch: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                corpus_id: string;
            };
            cookie?: never;
        };
        requestBody: {
            content: {
                "application/json": components["schemas"]["TrainingCorpusPatch"];
            };
        };
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    training_corpus_list_api_training_corpus_get: {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
        };
    };
    chat_list_conversations_api_training_chat_conversations_get: {
        parameters: {
            query?: {
                limit?: number;
            };
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    chat_create_conversation_api_training_chat_conversations_post: {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody: {
            content: {
                "application/json": components["schemas"]["ChatConversationCreate"];
            };
        };
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    chat_get_conversation_api_training_chat_conversations__conv_id__get: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                conv_id: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    chat_delete_conversation_api_training_chat_conversations__conv_id__delete: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                conv_id: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    chat_send_message_api_training_chat_conversations__conv_id__messages_post: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                conv_id: string;
            };
            cookie?: never;
        };
        requestBody: {
            content: {
                "application/json": components["schemas"]["ChatMessageRequest"];
            };
        };
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    chat_health_api_training_chat_health_get: {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
        };
    };
    get_curator_prompt_api_training_curator_prompt_get: {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
        };
    };
    get_scripts_catalog_api_scripts_catalog_get: {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
        };
    };
    get_style_analyzer_prompt_api_training_curator_style_analyzer_prompt_get: {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
        };
    };
    get_curator_stats_api_training_curator_stats_get: {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
        };
    };
    list_curator_proposals_api_training_curator_proposals_get: {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
        };
    };
    create_curator_proposal_api_training_curator_proposals_post: {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody: {
            content: {
                "application/json": components["schemas"]["CuratorProposal"];
            };
        };
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    list_corpus_lessons_api_training_corpus__corpus_id__lessons_get: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                corpus_id: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    add_corpus_lesson_api_training_corpus__corpus_id__lessons_post: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                corpus_id: string;
            };
            cookie?: never;
        };
        requestBody: {
            content: {
                "application/json": components["schemas"]["LessonCreate"];
            };
        };
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    delete_corpus_lesson_api_training_lessons__lesson_id__delete: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                lesson_id: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    patch_corpus_lesson_api_training_lessons__lesson_id__patch: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                lesson_id: string;
            };
            cookie?: never;
        };
        requestBody: {
            content: {
                "application/json": components["schemas"]["LessonPatch"];
            };
        };
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    training_corpus_full_text_api_training_corpus__corpus_id__full_text_get: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                corpus_id: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    system_tasks_api_system_tasks_get: {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
        };
    };
    system_tasks_stream_api_system_tasks_stream_get: {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
        };
    };
    progress_stream_api_progress__task_id__get: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                task_id: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    health_api_health_get: {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
        };
    };
    health_health_get: {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
        };
    };
    api_status_model_api_status_model_get: {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
        };
    };
    list_cases_api_cases_get: {
        parameters: {
            query?: {
                detail?: boolean;
                include_archived?: boolean;
                archived_only?: boolean;
            };
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    api_case_delete_api_cases_delete: {
        parameters: {
            query: {
                case_number: string;
                remove_files?: boolean;
            };
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    api_stale_cases_api_cases_stale_get: {
        parameters: {
            query?: {
                days?: number;
            };
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    api_archive_case_api_cases__case_number__archive_post: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                case_number: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    api_restore_case_api_cases__case_number__restore_post: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                case_number: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    api_case_create_api_cases_create_post: {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody: {
            content: {
                "application/json": components["schemas"]["CaseCreateRequest"];
            };
        };
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    api_case_git_status_api_cases__case_number__git_status_get: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                case_number: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    api_case_get_api_cases__case_number__details_get: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                case_number: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    api_case_update_api_cases__case_number__put: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                case_number: string;
            };
            cookie?: never;
        };
        requestBody: {
            content: {
                "application/json": components["schemas"]["CaseUpdateRequest"];
            };
        };
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    api_case_status_api_cases__case_number__status_get: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                case_number: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    api_search_api_search_get: {
        parameters: {
            query: {
                query: string;
                limit?: number;
                section_type?: string;
            };
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    api_case_search_api_cases__case_number__search_get: {
        parameters: {
            query: {
                query: string;
                limit?: number;
            };
            header?: never;
            path: {
                case_number: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    api_search_cases_api_search_cases_get: {
        parameters: {
            query: {
                q: string;
                limit?: number;
            };
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    api_case_template_api_cases__case_number__template_get: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                case_number: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    api_processing_status_api_processing_status_get: {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
        };
    };
    system_diagnostics_api_system_diagnostics_get: {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
        };
    };
    system_recent_activity_api_system_recent_activity_get: {
        parameters: {
            query?: {
                limit?: number;
            };
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    api_set_outcome_api_cases__case_number__outcome_post: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                case_number: string;
            };
            cookie?: never;
        };
        requestBody: {
            content: {
                "application/json": components["schemas"]["OutcomeRequest"];
            };
        };
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    api_get_claims_api_cases__case_number__claims_get: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                case_number: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    api_aggregate_arguments_api_cases__case_number__aggregate_arguments_post: {
        parameters: {
            query?: {
                force?: boolean;
            };
            header?: never;
            path: {
                case_number: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    api_get_legal_arguments_api_cases__case_number__legal_arguments_get: {
        parameters: {
            query?: {
                party?: string;
            };
            header?: never;
            path: {
                case_number: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    api_set_direction_api_cases__case_number__direction_post: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                case_number: string;
            };
            cookie?: never;
        };
        requestBody: {
            content: {
                "application/json": components["schemas"]["DirectionRequest"];
            };
        };
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    api_run_qa_api_cases__case_number__qa_post: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                case_number: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    api_get_decision_blocks_api_cases__case_number__decision_blocks_get: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                case_number: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    api_update_decision_block_api_cases__case_number__decision_blocks__block_id__put: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                case_number: string;
                block_id: string;
            };
            cookie?: never;
        };
        requestBody: {
            content: {
                "application/json": components["schemas"]["BlockUpdateRequest"];
            };
        };
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    api_learn_api_cases__case_number__learn_post: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                case_number: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    api_local_files_api_cases__case_number__local_files_get: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                case_number: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    api_read_local_file_api_cases__case_number__local_files__folder___filename__get: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                case_number: string;
                folder: string;
                filename: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    api_research_analysis_api_cases__case_number__research_analysis_get: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                case_number: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    api_research_analysis_download_api_cases__case_number__research_analysis_download_get: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                case_number: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    api_research_analysis_export_docx_api_cases__case_number__research_analysis_export_docx_get: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                case_number: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    api_party_claims_summary_api_cases__case_number__research_party_claims_summary_get: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                case_number: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    api_generate_party_claims_summary_api_cases__case_number__generate_party_claims_summary_post: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                case_number: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            202: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    api_generate_interim_draft_api_cases__case_number__generate_interim_draft_post: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                case_number: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            202: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    api_party_claims_summary_download_api_cases__case_number__research_party_claims_summary_download_get: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                case_number: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    api_party_claims_summary_export_docx_api_cases__case_number__research_party_claims_summary_export_docx_get: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                case_number: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    api_research_analysis_upload_api_cases__case_number__research_analysis_upload_put: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                case_number: string;
            };
            cookie?: never;
        };
        requestBody: {
            content: {
                "multipart/form-data": components["schemas"]["Body_api_research_analysis_upload_api_cases__case_number__research_analysis_upload_put"];
            };
        };
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    api_research_chair_position_api_cases__case_number__research_analysis_chair_position_patch: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                case_number: string;
            };
            cookie?: never;
        };
        requestBody: {
            content: {
                "application/json": components["schemas"]["ChairPositionRequest"];
            };
        };
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    api_precedent_list_api_cases__case_number__precedents_get: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                case_number: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    api_precedent_attach_api_cases__case_number__precedents_post: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                case_number: string;
            };
            cookie?: never;
        };
        requestBody: {
            content: {
                "application/json": components["schemas"]["PrecedentCreateRequest"];
            };
        };
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    api_precedent_upload_pdf_api_cases__case_number__precedents_upload_pdf_post: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                case_number: string;
            };
            cookie?: never;
        };
        requestBody: {
            content: {
                "multipart/form-data": components["schemas"]["Body_api_precedent_upload_pdf_api_cases__case_number__precedents_upload_pdf_post"];
            };
        };
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    api_citation_verification_api_cases__case_number__citation_verification_get: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                case_number: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    api_citation_verify_api_cases__case_number__citation_verification_verify_post: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                case_number: string;
            };
            cookie?: never;
        };
        requestBody: {
            content: {
                "application/json": components["schemas"]["CitationVerifyRequest"];
            };
        };
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    api_precedent_delete_api_precedents__precedent_id__delete: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                precedent_id: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    api_precedent_search_api_precedents_search_get: {
        parameters: {
            query: {
                q: string;
                practice_area?: string;
                limit?: number;
            };
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    api_list_exports_api_cases__case_number__exports_get: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                case_number: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    api_download_export_api_cases__case_number__exports__filename__download_get: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                case_number: string;
                filename: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    api_delete_export_api_cases__case_number__exports__filename__delete: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                case_number: string;
                filename: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    api_upload_export_api_cases__case_number__exports_upload_post: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                case_number: string;
            };
            cookie?: never;
        };
        requestBody: {
            content: {
                "multipart/form-data": components["schemas"]["Body_api_upload_export_api_cases__case_number__exports_upload_post"];
            };
        };
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    api_revise_draft_api_cases__case_number__exports_revise_post: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                case_number: string;
            };
            cookie?: never;
        };
        requestBody: {
            content: {
                "application/json": components["schemas"]["ReviseRequest"];
            };
        };
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    api_list_bookmarks_api_cases__case_number__exports_bookmarks_get: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                case_number: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    api_retrofit_bookmarks_api_cases__case_number__exports__filename__retrofit_post: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                case_number: string;
                filename: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    api_get_active_draft_api_cases__case_number__active_draft_get: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                case_number: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    api_case_citations_api_cases__case_number__citations_get: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                case_number: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    api_mark_final_api_cases__case_number__exports__filename__mark_final_post: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                case_number: string;
                filename: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    api_upload_final_decision_api_cases__case_number__final_upload_post: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                case_number: string;
            };
            cookie?: never;
        };
        requestBody: {
            content: {
                "multipart/form-data": components["schemas"]["Body_api_upload_final_decision_api_cases__case_number__final_upload_post"];
            };
        };
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    api_final_run_learning_api_cases__case_number__final_run_learning_post: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                case_number: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    api_final_run_halacha_api_cases__case_number__final_run_halacha_post: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                case_number: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    api_case_learning_status_api_cases__case_number__learning_status_get: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                case_number: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    api_export_docx_api_cases__case_number__export_docx_post: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                case_number: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    api_document_text_api_documents__doc_id__text_get: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                doc_id: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    api_gitea_create_repo_api_integrations_gitea_create_repo_post: {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody: {
            content: {
                "application/json": components["schemas"]["GiteaRepoRequest"];
            };
        };
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    api_paperclip_create_project_api_integrations_paperclip_create_project_post: {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody: {
            content: {
                "application/json": components["schemas"]["PaperclipProjectRequest"];
            };
        };
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    api_start_workflow_api_cases__case_number__start_workflow_post: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                case_number: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    api_case_agents_api_cases__case_number__agents_get: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                case_number: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    api_post_agent_comment_api_cases__case_number__agents_comment_post: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                case_number: string;
            };
            cookie?: never;
        };
        requestBody: {
            content: {
                "application/json": components["schemas"]["AgentCommentRequest"];
            };
        };
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    api_post_interaction_response_api_cases__case_number__agents_interaction_response_post: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                case_number: string;
            };
            cookie?: never;
        };
        requestBody: {
            content: {
                "application/json": components["schemas"]["InteractionResponseRequest"];
            };
        };
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    api_dismiss_interaction_api_cases__case_number__agents_interaction_dismiss_post: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                case_number: string;
            };
            cookie?: never;
        };
        requestBody: {
            content: {
                "application/json": components["schemas"]["InteractionDismissRequest"];
            };
        };
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    api_reset_case_agents_api_cases__case_number__agents_reset_post: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                case_number: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    api_mcp_env_api_settings_mcp_env_get: {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
        };
    };
    api_mcp_env_update_api_settings_mcp_env__key__patch: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                key: string;
            };
            cookie?: never;
        };
        requestBody: {
            content: {
                "application/json": components["schemas"]["McpEnvUpdateRequest"];
            };
        };
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    api_mcp_env_redeploy_api_settings_mcp_env_redeploy_post: {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
        };
    };
    api_mcp_tools_api_settings_mcp_tools_get: {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
        };
    };
    api_mcp_registrations_api_settings_mcp_registrations_get: {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
        };
    };
    api_mcp_blocks_api_settings_mcp_blocks_get: {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
        };
    };
    api_paperclip_companies_api_settings_paperclip_companies_get: {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
        };
    };
    api_get_tag_mappings_api_settings_tag_mappings_get: {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
        };
    };
    api_add_tag_mapping_api_settings_tag_mappings_post: {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody: {
            content: {
                "application/json": components["schemas"]["TagMappingRequest"];
            };
        };
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    api_delete_tag_mapping_api_settings_tag_mappings__mapping_id__delete: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                mapping_id: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    api_get_methodology_api_methodology__category__get: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                category: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    api_update_methodology_api_methodology__category___key__put: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                category: string;
                key: string;
            };
            cookie?: never;
        };
        requestBody: {
            content: {
                "application/json": components["schemas"]["MethodologyUpdateRequest"];
            };
        };
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    api_reset_methodology_api_methodology__category___key__delete: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                category: string;
                key: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    api_learning_pairs_api_learning_pairs_get: {
        parameters: {
            query?: {
                status?: string;
                limit?: number;
            };
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    api_learning_style_distance_api_learning_style_distance__case_number__get: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                case_number: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    api_learning_style_distance_history_api_learning_style_distance_history_get: {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
        };
    };
    api_learning_pair_detail_api_learning_pairs__pair_id__get: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                pair_id: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    api_learning_promote_api_learning_pairs__pair_id__promote_post: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                pair_id: string;
            };
            cookie?: never;
        };
        requestBody: {
            content: {
                "application/json": components["schemas"]["PromoteLearningRequest"];
            };
        };
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    api_list_skills_api_admin_skills_get: {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
        };
    };
    api_list_paperclip_agents_api_admin_paperclip_agents_get: {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
        };
    };
    api_install_skill_api_admin_skills_install_post: {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody: {
            content: {
                "multipart/form-data": components["schemas"]["Body_api_install_skill_api_admin_skills_install_post"];
            };
        };
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    api_sync_skill_api_admin_skills__slug__sync_post: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                slug: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    api_delete_skill_api_admin_skills__slug__delete: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                slug: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    api_restart_paperclip_api_admin_paperclip_restart_post: {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
        };
    };
    api_upload_tagged_document_api_cases__case_number__documents_upload_tagged_post: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                case_number: string;
            };
            cookie?: never;
        };
        requestBody: {
            content: {
                "multipart/form-data": components["schemas"]["Body_api_upload_tagged_document_api_cases__case_number__documents_upload_tagged_post"];
            };
        };
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    api_reprocess_document_api_cases__case_number__documents__doc_id__reprocess_post: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                case_number: string;
                doc_id: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    api_delete_document_api_cases__case_number__documents__doc_id__delete: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                case_number: string;
                doc_id: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    api_patch_document_api_cases__case_number__documents__doc_id__patch: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                case_number: string;
                doc_id: string;
            };
            cookie?: never;
        };
        requestBody: {
            content: {
                "application/json": components["schemas"]["DocumentPatchRequest"];
            };
        };
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    api_extract_appraiser_facts_api_cases__case_number__extract_appraiser_facts_post: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                case_number: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    api_list_feedback_api_feedback_get: {
        parameters: {
            query?: {
                case_number?: string;
                category?: string;
                unresolved_only?: boolean;
            };
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    api_create_feedback_api_feedback_post: {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody: {
            content: {
                "application/x-www-form-urlencoded": components["schemas"]["Body_api_create_feedback_api_feedback_post"];
            };
        };
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    api_create_feedback_json_api_feedback_json_post: {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody: {
            content: {
                "application/json": {
                    [key: string]: unknown;
                };
            };
        };
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    api_resolve_feedback_api_feedback__feedback_id__resolve_patch: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                feedback_id: string;
            };
            cookie?: never;
        };
        requestBody: {
            content: {
                "application/json": {
                    [key: string]: unknown;
                };
            };
        };
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    api_chair_feedback_weekly_summary_api_chair_feedback_weekly_summary_get: {
        parameters: {
            query?: {
                days?: number;
                limit?: number;
            };
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    api_chair_pending_api_chair_pending_get: {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
        };
    };
    precedent_library_upload_api_precedent_library_upload_post: {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody: {
            content: {
                "multipart/form-data": components["schemas"]["Body_precedent_library_upload_api_precedent_library_upload_post"];
            };
        };
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    precedent_library_list_api_precedent_library_get: {
        parameters: {
            query?: {
                practice_area?: string;
                court?: string;
                precedent_level?: string;
                source_type?: string;
                search?: string;
                source_kind?: string;
                limit?: number;
                offset?: number;
            };
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    precedent_library_stats_api_precedent_library_stats_get: {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
        };
    };
    precedent_library_search_api_precedent_library_search_get: {
        parameters: {
            query: {
                q: string;
                practice_area?: string;
                court?: string;
                precedent_level?: string;
                appeal_subtype?: string;
                subject_tag?: string;
                limit?: number;
                include_halachot?: boolean;
            };
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    precedent_library_get_api_precedent_library__case_law_id__get: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                case_law_id: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    precedent_library_delete_api_precedent_library__case_law_id__delete: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                case_law_id: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    precedent_library_update_api_precedent_library__case_law_id__patch: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                case_law_id: string;
            };
            cookie?: never;
        };
        requestBody: {
            content: {
                "application/json": components["schemas"]["PrecedentUpdateRequest"];
            };
        };
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    precedent_add_relation_api_precedent_library__case_law_id__relations_post: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                case_law_id: string;
            };
            cookie?: never;
        };
        requestBody: {
            content: {
                "application/json": components["schemas"]["PrecedentRelationRequest"];
            };
        };
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    precedent_remove_relation_api_precedent_library__case_law_id__relations__related_id__delete: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                case_law_id: string;
                related_id: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    graph_corpus_api_graph_corpus_get: {
        parameters: {
            query?: {
                practice_area?: string;
                source?: string;
                node_types?: string;
                min_citations?: number;
                limit?: number;
                q?: string;
                court?: string;
                precedent_level?: string;
                chair?: string;
                district?: string;
                year_from?: number;
                year_to?: number;
                metrics?: boolean;
            };
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["CorpusGraph"];
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    graph_facets_api_graph_facets_get: {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["GraphFacets"];
                };
            };
        };
    };
    graph_node_neighborhood_api_graph_node__node_id__neighborhood_get: {
        parameters: {
            query?: {
                depth?: number;
                node_types?: string;
            };
            header?: never;
            path: {
                node_id: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["CorpusGraph"];
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    precedent_request_metadata_api_precedent_library__case_law_id__request_metadata_post: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                case_law_id: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    precedent_request_halachot_api_precedent_library__case_law_id__request_halachot_post: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                case_law_id: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    api_case_digest_radar_api_cases__case_number__digest_radar_get: {
        parameters: {
            query?: {
                limit?: number;
                min_score?: number;
            };
            header?: never;
            path: {
                case_number: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    digest_upload_api_digests_upload_post: {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody: {
            content: {
                "multipart/form-data": components["schemas"]["Body_digest_upload_api_digests_upload_post"];
            };
        };
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    digest_list_api_digests_get: {
        parameters: {
            query?: {
                practice_area?: string;
                concept_tag?: string;
                linked?: boolean | null;
                search?: string;
                publication?: string;
                limit?: number;
                offset?: number;
            };
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    digest_search_api_digests_search_get: {
        parameters: {
            query: {
                q: string;
                practice_area?: string;
                subject_tag?: string;
                concept_tag?: string;
                limit?: number;
            };
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    digest_queue_pending_api_digests_queue_pending_get: {
        parameters: {
            query?: {
                limit?: number;
            };
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    operations_snapshot_api_operations_get: {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
        };
    };
    operations_service_action_api_operations_services__name___action__post: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                name: string;
                action: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    operations_drain_toggle_api_operations_drains__name__disabled_post: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                name: string;
            };
            cookie?: never;
        };
        requestBody: {
            content: {
                "application/json": {
                    [key: string]: unknown;
                };
            };
        };
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    operations_drain_burst_api_operations_drains__name__burst_post: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                name: string;
            };
            cookie?: never;
        };
        requestBody: {
            content: {
                "application/json": {
                    [key: string]: unknown;
                };
            };
        };
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    operations_agents_api_operations_agents_get: {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
        };
    };
    operations_agent_run_log_api_operations_agents_runs__run_id__log_get: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                run_id: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    operations_agent_run_events_api_operations_agents_runs__run_id__events_get: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                run_id: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    operations_agent_run_cancel_api_operations_agents_runs__run_id__cancel_post: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                run_id: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    operations_agent_reset_session_api_operations_agents__agent_id__reset_session_post: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                agent_id: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    operations_agent_migrate_adapter_api_operations_agents_migrate_adapter_post: {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody: {
            content: {
                "application/json": components["schemas"]["AdapterMigrationRequest"];
            };
        };
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    scripts_run_api_scripts__name__run_post: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                name: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    digest_get_api_digests__digest_id__get: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                digest_id: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    digest_delete_api_digests__digest_id__delete: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                digest_id: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    digest_update_api_digests__digest_id__patch: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                digest_id: string;
            };
            cookie?: never;
        };
        requestBody: {
            content: {
                "application/json": components["schemas"]["DigestUpdateRequest"];
            };
        };
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    digest_link_api_digests__digest_id__link_post: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                digest_id: string;
            };
            cookie?: never;
        };
        requestBody: {
            content: {
                "application/json": components["schemas"]["DigestLinkRequest"];
            };
        };
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    digest_unlink_api_digests__digest_id__link_delete: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                digest_id: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    digest_relink_api_digests__digest_id__relink_post: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                digest_id: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    bulletin_upload_api_bulletins_upload_post: {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody: {
            content: {
                "multipart/form-data": components["schemas"]["Body_bulletin_upload_api_bulletins_upload_post"];
            };
        };
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    internal_decisions_upload_api_internal_decisions_upload_post: {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody: {
            content: {
                "multipart/form-data": components["schemas"]["Body_internal_decisions_upload_api_internal_decisions_upload_post"];
            };
        };
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    internal_decisions_migrate_api_internal_decisions_migrate_post: {
        parameters: {
            query?: {
                source?: string;
                dry_run?: boolean;
            };
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    internal_decisions_list_api_internal_decisions_get: {
        parameters: {
            query?: {
                district?: string;
                chair_name?: string;
                practice_area?: string;
                limit?: number;
            };
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    halachot_list_api_halachot_get: {
        parameters: {
            query?: {
                case_law_id?: string;
                review_status?: string;
                practice_area?: string;
                limit?: number;
                offset?: number;
                exclude_low_quality?: boolean;
                order_by_priority?: boolean;
                cluster?: boolean;
                include_equivalents?: boolean;
                include_panel_round?: boolean;
                search?: string;
                with_total?: boolean;
            };
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    halacha_equivalents_list_api_halachot__halacha_id__equivalents_get: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                halacha_id: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    halacha_equivalents_link_api_halachot__halacha_id__equivalents_post: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                halacha_id: string;
            };
            cookie?: never;
        };
        requestBody: {
            content: {
                "application/json": components["schemas"]["EquivalentLinkRequest"];
            };
        };
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    halacha_equivalents_unlink_api_halachot__halacha_id__equivalents__other_id__delete: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                halacha_id: string;
                other_id: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    canonical_halacha_instances_api_canonical_halachot__canonical_id__instances_get: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                canonical_id: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    goldset_list_ep_api_goldset_get: {
        parameters: {
            query?: {
                batch?: string;
            };
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    goldset_sample_ep_api_goldset_sample_post: {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody: {
            content: {
                "application/json": components["schemas"]["GoldsetSampleRequest"];
            };
        };
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    goldset_score_ep_api_goldset_score_get: {
        parameters: {
            query?: {
                batch?: string;
            };
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    goldset_tag_ep_api_goldset__goldset_id__patch: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                goldset_id: string;
            };
            cookie?: never;
        };
        requestBody: {
            content: {
                "application/json": components["schemas"]["GoldsetTagRequest"];
            };
        };
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    halacha_update_api_halachot__halacha_id__patch: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                halacha_id: string;
            };
            cookie?: never;
        };
        requestBody: {
            content: {
                "application/json": components["schemas"]["HalachaUpdateRequest"];
            };
        };
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    halacha_batch_review_api_halachot_batch_post: {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody: {
            content: {
                "application/json": components["schemas"]["HalachaBatchReviewRequest"];
            };
        };
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    plans_list_api_plans_get: {
        parameters: {
            query?: {
                review_status?: string;
                q?: string;
                limit?: number;
            };
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    plan_create_api_plans_post: {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody: {
            content: {
                "application/json": components["schemas"]["PlanUpsertRequest"];
            };
        };
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    plan_duplicates_api_plans__plan_id__duplicates_get: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                plan_id: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    plan_get_api_plans__plan_id__get: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                plan_id: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    plan_edit_api_plans__plan_id__patch: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                plan_id: string;
            };
            cookie?: never;
        };
        requestBody: {
            content: {
                "application/json": components["schemas"]["PlanEditRequest"];
            };
        };
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    plan_review_api_plans__plan_id__review_post: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                plan_id: string;
            };
            cookie?: never;
        };
        requestBody: {
            content: {
                "application/json": components["schemas"]["PlanReviewRequest"];
            };
        };
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    plan_merge_api_plans_merge_post: {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody: {
            content: {
                "application/json": components["schemas"]["PlanMergeRequest"];
            };
        };
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    plan_fetch_from_mavat_api_plans_fetch_post: {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody: {
            content: {
                "application/json": components["schemas"]["PlanFetchRequest"];
            };
        };
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    missing_precedents_list_api_missing_precedents_get: {
        parameters: {
            query?: {
                status?: string;
                case_id?: string;
                case_number?: string;
                legal_topic?: string;
                q?: string;
                limit?: number;
                offset?: number;
            };
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    missing_precedent_create_api_missing_precedents_post: {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody: {
            content: {
                "application/json": components["schemas"]["MissingPrecedentCreate"];
            };
        };
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    missing_precedent_get_api_missing_precedents__mp_id__get: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                mp_id: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    missing_precedent_delete_api_missing_precedents__mp_id__delete: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                mp_id: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    missing_precedent_update_api_missing_precedents__mp_id__patch: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                mp_id: string;
            };
            cookie?: never;
        };
        requestBody: {
            content: {
                "application/json": components["schemas"]["MissingPrecedentPatch"];
            };
        };
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    missing_precedent_upload_api_missing_precedents__mp_id__upload_post: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                mp_id: string;
            };
            cookie?: never;
        };
        requestBody: {
            content: {
                "multipart/form-data": components["schemas"]["Body_missing_precedent_upload_api_missing_precedents__mp_id__upload_post"];
            };
        };
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    api_rag_metrics_api_admin_rag_metrics_get: {
        parameters: {
            query?: {
                weeks?: number;
                k?: number;
            };
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    api_rag_metrics_infer_api_admin_rag_metrics_infer_post: {
        parameters: {
            query?: {
                limit?: number | null;
            };
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
}
