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

export interface paths {
    "/.well-known/openid-configuration/matrix-oidc": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * Openid Configuration
         * @description Return OIDC discovery metadata for Synapse.
         */
        get: operations["openid_configuration__well_known_openid_configuration_matrix_oidc_get"];
        put?: never;
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/admin/accounts/{account_id}": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * Get Account Details
         * @description Get detailed account information including subscription and instances.
         */
        get: operations["get_account_details_admin_accounts__account_id__get"];
        put?: never;
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/admin/accounts/{account_id}/complete": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        put?: never;
        post?: never;
        /**
         * Admin Delete Account Complete
         * @description Completely delete an account with all associated resources.
         */
        delete: operations["admin_delete_account_complete_admin_accounts__account_id__complete_delete"];
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/admin/accounts/{account_id}/status": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        /**
         * Update Account Status
         * @description Update account status (active, suspended, etc).
         */
        put: operations["update_account_status_admin_accounts__account_id__status_put"];
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/admin/auth/logout": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        put?: never;
        /**
         * Admin Logout
         * @description Admin logout placeholder.
         */
        post: operations["admin_logout_admin_auth_logout_post"];
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/admin/instances/{instance_id}/provision": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        put?: never;
        /**
         * Admin Provision Instance
         * @description Provision a deprovisioned instance.
         */
        post: operations["admin_provision_instance_admin_instances__instance_id__provision_post"];
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/admin/instances/{instance_id}/restart": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        put?: never;
        /**
         * Admin Restart Instance
         * @description Restart an instance.
         */
        post: operations["admin_restart_instance_admin_instances__instance_id__restart_post"];
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/admin/instances/{instance_id}/start": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        put?: never;
        /**
         * Admin Start Instance
         * @description Start an instance.
         */
        post: operations["admin_start_instance_admin_instances__instance_id__start_post"];
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/admin/instances/{instance_id}/stop": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        put?: never;
        /**
         * Admin Stop Instance
         * @description Stop an instance.
         */
        post: operations["admin_stop_instance_admin_instances__instance_id__stop_post"];
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/admin/instances/{instance_id}/uninstall": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        put?: never;
        post?: never;
        /**
         * Admin Uninstall Instance
         * @description Uninstall an instance.
         */
        delete: operations["admin_uninstall_instance_admin_instances__instance_id__uninstall_delete"];
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/admin/metrics/dashboard": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * Get Dashboard Metrics
         * @description Get dashboard metrics for admin panel.
         */
        get: operations["get_dashboard_metrics_admin_metrics_dashboard_get"];
        put?: never;
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/admin/stats": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * Get Admin Stats
         * @description Get platform statistics for admin dashboard.
         */
        get: operations["get_admin_stats_admin_stats_get"];
        put?: never;
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/admin/sync-instances": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        put?: never;
        /**
         * Admin Sync Instances
         * @description Sync instance states between database and Kubernetes.
         */
        post: operations["admin_sync_instances_admin_sync_instances_post"];
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/admin/{resource}": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * Admin Get List
         * @description Generic list endpoint for React Admin.
         */
        get: operations["admin_get_list_admin__resource__get"];
        put?: never;
        /**
         * Admin Create
         * @description Create record for React Admin.
         */
        post: operations["admin_create_admin__resource__post"];
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/admin/{resource}/{resource_id}": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * Admin Get One
         * @description Get single record for React Admin.
         */
        get: operations["admin_get_one_admin__resource___resource_id__get"];
        /**
         * Admin Update
         * @description Update record for React Admin.
         */
        put: operations["admin_update_admin__resource___resource_id__put"];
        post?: never;
        /**
         * Admin Delete
         * @description Delete record for React Admin (generic endpoint - use with caution for accounts).
         */
        delete: operations["admin_delete_admin__resource___resource_id__delete"];
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/health": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * Health Check
         * @description Health check endpoint.
         */
        get: operations["health_check_health_get"];
        put?: never;
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/matrix-oidc/.well-known/openid-configuration": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * Openid Configuration
         * @description Return OIDC discovery metadata for Synapse.
         */
        get: operations["openid_configuration_matrix_oidc__well_known_openid_configuration_get"];
        put?: never;
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/matrix-oidc/authorize": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * Authorize
         * @description Issue an authorization code to Synapse after platform-cookie authentication.
         */
        get: operations["authorize_matrix_oidc_authorize_get"];
        put?: never;
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/matrix-oidc/jwks.json": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * Jwks
         * @description Return public signing keys for OIDC token verification.
         */
        get: operations["jwks_matrix_oidc_jwks_json_get"];
        put?: never;
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/matrix-oidc/token": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        put?: never;
        /**
         * Token
         * @description Exchange a Synapse authorization code for OIDC tokens.
         */
        post: operations["token_matrix_oidc_token_post"];
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/matrix-oidc/userinfo": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * Userinfo
         * @description Return user claims for Synapse's OIDC userinfo fetch.
         */
        get: operations["userinfo_matrix_oidc_userinfo_get"];
        put?: never;
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/my/account": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * Get Current Account
         * @description Get current user's account with subscription and instances.
         */
        get: operations["get_current_account_my_account_get"];
        put?: never;
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/my/account/admin-status": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * Check Admin Status
         * @description Check if current user is an admin.
         */
        get: operations["check_admin_status_my_account_admin_status_get"];
        put?: never;
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/my/account/setup": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        put?: never;
        /**
         * Setup Account
         * @description Setup free tier account for new user.
         */
        post: operations["setup_account_my_account_setup_post"];
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/my/gdpr/cancel-deletion": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        put?: never;
        /**
         * Cancel Account Deletion
         * @description Cancel a pending account deletion request.
         *     Only works if account is still in soft-delete state.
         */
        post: operations["cancel_account_deletion_my_gdpr_cancel_deletion_post"];
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/my/gdpr/consent": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        put?: never;
        /**
         * Update Consent
         * @description Update user consent preferences for GDPR compliance.
         */
        post: operations["update_consent_my_gdpr_consent_post"];
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/my/gdpr/export-data": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * Export User Data
         * @description Export all user data for GDPR compliance.
         *     Returns all personal data in machine-readable format.
         */
        get: operations["export_user_data_my_gdpr_export_data_get"];
        put?: never;
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/my/gdpr/request-deletion": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        put?: never;
        /**
         * Request Account Deletion
         * @description Request account and data deletion under GDPR Article 17.
         *     Requires explicit confirmation to prevent accidental deletion.
         */
        post: operations["request_account_deletion_my_gdpr_request_deletion_post"];
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/my/instances": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * List User Instances
         * @description List instances for current user with background status refresh.
         */
        get: operations["list_user_instances_my_instances_get"];
        put?: never;
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/my/instances/provision": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        put?: never;
        /**
         * Provision User Instance
         * @description Provision an instance for the current user.
         */
        post: operations["provision_user_instance_my_instances_provision_post"];
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/my/instances/{instance_id}/restart": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        put?: never;
        /**
         * Restart User Instance
         * @description Restart user's instance.
         */
        post: operations["restart_user_instance_my_instances__instance_id__restart_post"];
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/my/instances/{instance_id}/start": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        put?: never;
        /**
         * Start User Instance
         * @description Start user's instance.
         */
        post: operations["start_user_instance_my_instances__instance_id__start_post"];
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/my/instances/{instance_id}/stop": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        put?: never;
        /**
         * Stop User Instance
         * @description Stop user's instance.
         */
        post: operations["stop_user_instance_my_instances__instance_id__stop_post"];
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/my/sso-cookie": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        put?: never;
        /**
         * Set Sso Cookie
         * @description Set an SSO cookie with the current Supabase access token.
         */
        post: operations["set_sso_cookie_my_sso_cookie_post"];
        /**
         * Clear Sso Cookie
         * @description Clear the SSO cookie on logout.
         */
        delete: operations["clear_sso_cookie_my_sso_cookie_delete"];
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/my/subscription": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * Get User Subscription
         * @description Get current user's subscription.
         */
        get: operations["get_user_subscription_my_subscription_get"];
        put?: never;
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/my/subscription/cancel": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        put?: never;
        /**
         * Cancel Subscription
         * @description Cancel subscription.
         */
        post: operations["cancel_subscription_my_subscription_cancel_post"];
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/my/subscription/reactivate": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        put?: never;
        /**
         * Reactivate Subscription
         * @description Reactivate a cancelled subscription (if still in billing period).
         */
        post: operations["reactivate_subscription_my_subscription_reactivate_post"];
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/my/usage": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * Get User Usage
         * @description Get usage metrics for current user.
         */
        get: operations["get_user_usage_my_usage_get"];
        put?: never;
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/pricing/config": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * Get Pricing Config
         * @description Get the current pricing configuration.
         *
         *     This returns the pricing plans, features, and limits.
         *     Stripe price IDs are only included if they are configured.
         */
        get: operations["get_pricing_config_pricing_config_get"];
        put?: never;
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/pricing/stripe-price/{plan}/{billing_cycle}": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * Get Stripe Price
         * @description Get the Stripe price ID for a specific plan and billing cycle.
         *
         *     Args:
         *         plan: Plan key (e.g., 'byok', 'hobby', 'pro')
         *         billing_cycle: Either 'monthly' or 'yearly'
         *
         *     Returns:
         *         Dict with price_id or error
         */
        get: operations["get_stripe_price_pricing_stripe_price__plan___billing_cycle__get"];
        put?: never;
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/stripe/checkout": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        put?: never;
        /**
         * Create Checkout Session
         * @description Create Stripe checkout session for subscription.
         */
        post: operations["create_checkout_session_stripe_checkout_post"];
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/stripe/portal": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        put?: never;
        /**
         * Create Portal Session
         * @description Create Stripe customer portal session for subscription management.
         */
        post: operations["create_portal_session_stripe_portal_post"];
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/system/instances/{instance_id}/restart": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        put?: never;
        /**
         * Restart Instance Provisioner
         * @description Restart an instance (provisioner API compatible).
         */
        post: operations["restart_instance_provisioner_system_instances__instance_id__restart_post"];
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/system/instances/{instance_id}/start": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        put?: never;
        /**
         * Start Instance Provisioner
         * @description Start an instance (provisioner API compatible).
         */
        post: operations["start_instance_provisioner_system_instances__instance_id__start_post"];
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/system/instances/{instance_id}/stop": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        put?: never;
        /**
         * Stop Instance Provisioner
         * @description Stop an instance (provisioner API compatible).
         */
        post: operations["stop_instance_provisioner_system_instances__instance_id__stop_post"];
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/system/instances/{instance_id}/uninstall": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        put?: never;
        post?: never;
        /**
         * Uninstall Instance
         * @description Completely uninstall/deprovision an instance.
         */
        delete: operations["uninstall_instance_system_instances__instance_id__uninstall_delete"];
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/system/provision": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        put?: never;
        /**
         * Provision Instance
         * @description Provision a new instance (compatible with customer portal).
         */
        post: operations["provision_instance_system_provision_post"];
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/system/sync-instances": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        put?: never;
        /**
         * Sync Instances
         * @description Sync instance states between database and Kubernetes cluster.
         */
        post: operations["sync_instances_system_sync_instances_post"];
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/webhooks/stripe": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        put?: never;
        /**
         * Stripe Webhook
         * @description Handle incoming Stripe webhook events.
         */
        post: operations["stripe_webhook_webhooks_stripe_post"];
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
}
export type webhooks = Record<string, never>;
export interface components {
    schemas: {
        /**
         * AccountSetupResponse
         * @description Account setup response model.
         */
        AccountSetupResponse: {
            /** Account Id */
            account_id: string;
            /** Message */
            message: string;
            subscription?: components["schemas"]["SubscriptionOut"] | null;
        };
        /**
         * AccountWithRelationsOut
         * @description Account with subscriptions and instances.
         */
        AccountWithRelationsOut: {
            /** Company Name */
            company_name?: string | null;
            /** Consent Analytics */
            consent_analytics?: boolean | null;
            /** Consent Marketing */
            consent_marketing?: boolean | null;
            /** Created At */
            created_at: string;
            /** Deleted At */
            deleted_at?: string | null;
            /** Email */
            email: string;
            /** Full Name */
            full_name?: string | null;
            /** Id */
            id: string;
            /** Instances */
            instances?: {
                [key: string]: unknown;
            }[] | null;
            /** Is Admin */
            is_admin: boolean;
            /** Status */
            status: string;
            /** Stripe Customer Id */
            stripe_customer_id?: string | null;
            /** Subscriptions */
            subscriptions?: {
                [key: string]: unknown;
            }[] | null;
            /** Updated At */
            updated_at: string;
        };
        /**
         * ActionResult
         * @description Result model for action operations.
         */
        ActionResult: {
            /** Message */
            message: string;
            /** Success */
            success: boolean;
        };
        /**
         * AdminAccountDetailsResponse
         * @description Admin account details response.
         */
        AdminAccountDetailsResponse: {
            /** Account */
            account: {
                [key: string]: unknown;
            };
            /** Instances */
            instances: {
                [key: string]: unknown;
            }[];
            /** Subscription */
            subscription: {
                [key: string]: unknown;
            } | null;
        };
        /**
         * AdminCreateResponse
         * @description Admin create response.
         */
        AdminCreateResponse: {
            /** Data */
            data: {
                [key: string]: unknown;
            } | null;
        };
        /**
         * AdminDashboardMetricsResponse
         * @description Admin dashboard metrics response.
         */
        AdminDashboardMetricsResponse: {
            /** Active Subscriptions */
            active_subscriptions: number;
            /** Instances By Status */
            instances_by_status: {
                [key: string]: number;
            };
            /** Recent Instances */
            recent_instances: {
                [key: string]: unknown;
            }[];
            /** Recent Signups */
            recent_signups: {
                [key: string]: unknown;
            }[];
            /** Subscription Revenue */
            subscription_revenue: number;
            /** Subscriptions By Tier */
            subscriptions_by_tier: {
                [key: string]: number;
            };
            /** Total Accounts */
            total_accounts: number;
            /** Total Instances */
            total_instances: number;
        };
        /**
         * AdminDeleteResponse
         * @description Admin delete response.
         */
        AdminDeleteResponse: {
            /** Data */
            data: {
                [key: string]: unknown;
            };
        };
        /**
         * AdminGetOneResponse
         * @description Admin single item response.
         */
        AdminGetOneResponse: {
            /** Data */
            data: {
                [key: string]: unknown;
            };
        };
        /**
         * AdminListResponse
         * @description Admin list response for generic resources.
         */
        AdminListResponse: {
            /** Data */
            data: {
                [key: string]: unknown;
            }[];
            /** Total */
            total: number;
        };
        /**
         * AdminLogoutResponse
         * @description Admin logout response model.
         */
        AdminLogoutResponse: {
            /** Success */
            success: boolean;
        };
        /**
         * AdminStatsOut
         * @description Admin statistics output model.
         */
        AdminStatsOut: {
            /** Accounts */
            accounts: number;
            /** Active Subscriptions */
            active_subscriptions: number;
            /** Running Instances */
            running_instances: number;
        };
        /**
         * AdminStatusOut
         * @description Admin status response model.
         */
        AdminStatusOut: {
            /** Is Admin */
            is_admin: boolean;
        };
        /**
         * AdminUpdateResponse
         * @description Admin update response.
         */
        AdminUpdateResponse: {
            /** Data */
            data: {
                [key: string]: unknown;
            } | null;
        };
        /**
         * CancelSubscriptionRequest
         * @description Request model for canceling subscription.
         */
        CancelSubscriptionRequest: {
            /**
             * Cancel At Period End
             * @default true
             */
            cancel_at_period_end: boolean;
        };
        /**
         * CheckoutRequest
         * @description Request model for creating Stripe checkout sessions.
         */
        CheckoutRequest: {
            /**
             * Billing Cycle
             * @default monthly
             */
            billing_cycle: string;
            /** Tier */
            tier: string;
        };
        /**
         * ConsentUpdate
         * @description Model for consent update requests.
         */
        ConsentUpdate: {
            /**
             * Analytics
             * @default false
             */
            analytics: boolean;
            /**
             * Marketing
             * @default false
             */
            marketing: boolean;
        };
        /**
         * DeletionRequest
         * @description Model for account deletion requests.
         */
        DeletionRequest: {
            /**
             * Confirmation
             * @default false
             */
            confirmation: boolean;
        };
        /**
         * Discounts
         * @description Discount configuration.
         */
        Discounts: {
            /** Annual Percentage */
            annual_percentage: number;
        };
        /**
         * GdprCancelDeletionResponse
         * @description GDPR deletion cancellation response model.
         */
        GdprCancelDeletionResponse: {
            /** Account Status */
            account_status?: string | null;
            /** Message */
            message: string;
            /**
             * Status
             * @enum {string}
             */
            status: "success" | "not_pending";
        };
        /**
         * GdprConsentResponse
         * @description GDPR consent update response model.
         */
        GdprConsentResponse: {
            consent: components["schemas"]["GdprConsentState"];
            /** Status */
            status: string;
            /** Updated At */
            updated_at: string;
        };
        /**
         * GdprConsentState
         * @description Consent flags echoed back after an update.
         */
        GdprConsentState: {
            /** Analytics */
            analytics: boolean;
            /** Essential */
            essential: boolean;
            /** Marketing */
            marketing: boolean;
        };
        /**
         * GdprDeletionResponse
         * @description GDPR deletion request response model (confirmation prompt or scheduled deletion).
         */
        GdprDeletionResponse: {
            /** Cancellation */
            cancellation?: string | null;
            /** Data Deleted */
            data_deleted?: string | null;
            /** Data Retained */
            data_retained?: string | null;
            /** Deletion Date */
            deletion_date?: string | null;
            /** Grace Period Days */
            grace_period_days?: number | null;
            /** Message */
            message: string;
            /**
             * Status
             * @enum {string}
             */
            status: "confirmation_required" | "deletion_scheduled";
            /** Warning */
            warning?: string | null;
        };
        /**
         * GdprExportResponse
         * @description GDPR data export response model.
         */
        GdprExportResponse: {
            /** Account Id */
            account_id: string;
            /** Activity History */
            activity_history: {
                [key: string]: unknown;
            }[];
            /** Data Processing Purposes */
            data_processing_purposes: string[];
            /** Data Retention Periods */
            data_retention_periods: {
                [key: string]: string;
            };
            /** Export Date */
            export_date: string;
            /** Instances */
            instances: {
                [key: string]: unknown;
            }[];
            /** Payments */
            payments: {
                [key: string]: unknown;
            }[];
            personal_data: components["schemas"]["GdprPersonalData"];
            /** Subscriptions */
            subscriptions: {
                [key: string]: unknown;
            }[];
            /** Third Party Processors */
            third_party_processors: components["schemas"]["GdprThirdPartyProcessor"][];
            /** Usage Metrics */
            usage_metrics: {
                [key: string]: unknown;
            }[];
        };
        /**
         * GdprPersonalData
         * @description Personal data section of a GDPR export.
         */
        GdprPersonalData: {
            /** Company Name */
            company_name?: string | null;
            /** Created At */
            created_at?: string | null;
            /** Email */
            email?: string | null;
            /** Full Name */
            full_name?: string | null;
            /** Status */
            status?: string | null;
            /** Tier */
            tier?: string | null;
        };
        /**
         * GdprThirdPartyProcessor
         * @description Third-party processor disclosure in a GDPR export.
         */
        GdprThirdPartyProcessor: {
            /** Data Shared */
            data_shared: string;
            /** Name */
            name: string;
            /** Purpose */
            purpose: string;
        };
        /** HTTPValidationError */
        HTTPValidationError: {
            /** Detail */
            detail?: components["schemas"]["ValidationError"][];
        };
        /**
         * HealthResponse
         * @description Health check response model.
         */
        HealthResponse: {
            /** Status */
            status: string;
            /** Stripe */
            stripe: boolean;
            /** Supabase */
            supabase: boolean;
        };
        /**
         * InstanceOut
         * @description Instance information output model.
         */
        InstanceOut: {
            /** Backend Url */
            backend_url?: string | null;
            /** Created At */
            created_at?: string | null;
            /** Frontend Url */
            frontend_url?: string | null;
            /** Id */
            id: string;
            /** Instance Id */
            instance_id: number | string;
            /** Kubernetes Synced At */
            kubernetes_synced_at?: string | null;
            /** Matrix Server Url */
            matrix_server_url?: string | null;
            /**
             * Status
             * @enum {string}
             */
            status: "provisioning" | "running" | "stopped" | "failed" | "error" | "deprovisioned" | "restarting";
            /** Status Hint */
            status_hint?: string | null;
            /** Subdomain */
            subdomain?: string | null;
            /** Subscription Id */
            subscription_id: string;
            /** Tier */
            tier?: string | null;
            /** Updated At */
            updated_at?: string | null;
        };
        /**
         * InstancesResponse
         * @description Response model for listing multiple instances.
         */
        InstancesResponse: {
            /** Instances */
            instances: components["schemas"]["InstanceOut"][];
        };
        /**
         * PlanLimits
         * @description Plan limits and capabilities.
         */
        PlanLimits: {
            /** Analytics */
            analytics: string;
            /** Custom Development */
            custom_development: boolean;
            /** Dedicated Infrastructure */
            dedicated_infrastructure: boolean;
            /** Integrations */
            integrations: string;
            /** Max Agents */
            max_agents: number | "unlimited";
            /** Max Messages Per Day */
            max_messages_per_day: number | "unlimited";
            /** On Premise */
            on_premise: boolean;
            /** Sla */
            sla: boolean;
            /** Sso */
            sso: boolean;
            /** Storage Gb */
            storage_gb: number | "unlimited";
            /** Support */
            support: string;
            /** Training */
            training: boolean;
            /** Workflows */
            workflows: boolean;
        };
        /**
         * PricingConfigResponse
         * @description Public pricing configuration response model.
         */
        PricingConfigResponse: {
            discounts: components["schemas"]["Discounts"];
            /** Plans */
            plans: {
                [key: string]: components["schemas"]["PublicPlan"];
            };
            product: components["schemas"]["Product"];
            trial: components["schemas"]["Trial"];
        };
        /**
         * Product
         * @description Product configuration.
         */
        Product: {
            /** Description */
            description: string;
            metadata: components["schemas"]["ProductMetadata"];
            /** Name */
            name: string;
        };
        /**
         * ProductMetadata
         * @description Product metadata.
         */
        ProductMetadata: {
            /** Platform */
            platform: string;
        };
        /**
         * ProvisionResponse
         * @description Response model for provisioning operations.
         */
        ProvisionResponse: {
            /** Api Url */
            api_url?: string | null;
            /** Customer Id */
            customer_id: number | string;
            /** Frontend Url */
            frontend_url?: string | null;
            /** Matrix Url */
            matrix_url?: string | null;
            /** Message */
            message: string;
            /** Success */
            success: boolean;
        };
        /**
         * PublicPlan
         * @description One plan as exposed by /pricing/config (prices formatted for display).
         *
         *     Fields the route always emits are required so the generated frontend types are non-optional.
         */
        PublicPlan: {
            /** Description */
            description: string;
            /** Features */
            features: string[];
            /** Included Ai Budget Usd */
            included_ai_budget_usd: number;
            limits: components["schemas"]["PlanLimits"];
            /** Name */
            name: string;
            /** Price Monthly */
            price_monthly: string;
            /** Price Yearly */
            price_yearly: string;
            /** Recommended */
            recommended: boolean;
            /** Requires Customer Provider Keys */
            requires_customer_provider_keys: boolean;
            /**
             * Resource Profile
             * @enum {string}
             */
            resource_profile: "small" | "pro";
            /** Stripe Price Id Monthly */
            stripe_price_id_monthly?: string | null;
            /** Stripe Price Id Yearly */
            stripe_price_id_yearly?: string | null;
        };
        /**
         * StatusResponse
         * @description Generic status response model.
         */
        StatusResponse: {
            /** Status */
            status: string;
        };
        /**
         * StripePriceResponse
         * @description Stripe price ID response model.
         */
        StripePriceResponse: {
            /** Billing Cycle */
            billing_cycle: string;
            /** Plan */
            plan: string;
            /** Price Id */
            price_id: string;
        };
        /**
         * SubscriptionCancelResponse
         * @description Subscription cancellation response model.
         */
        SubscriptionCancelResponse: {
            /** Cancel At Period End */
            cancel_at_period_end?: boolean | null;
            /** Cancelled At */
            cancelled_at?: string | null;
            /** Message */
            message: string;
            /** Subscription Id */
            subscription_id?: string | null;
            /** Success */
            success: boolean;
        };
        /**
         * SubscriptionOut
         * @description Subscription information output model.
         */
        SubscriptionOut: {
            /** Account Id */
            account_id: string;
            /** Can Run Instances */
            can_run_instances: boolean;
            /** Cancelled At */
            cancelled_at?: string | null;
            /** Created At */
            created_at?: string | null;
            /** Current Period End */
            current_period_end?: string | null;
            /** Current Period Start */
            current_period_start?: string | null;
            /** Id */
            id: string;
            /** Max Agents */
            max_agents: number;
            /** Max Messages Per Day */
            max_messages_per_day: number;
            /** Max Storage Gb */
            max_storage_gb: number;
            /**
             * Status
             * @enum {string}
             */
            status: "active" | "cancelled" | "past_due" | "trialing" | "paused" | "incomplete";
            /** Stripe Customer Id */
            stripe_customer_id?: string | null;
            /** Stripe Subscription Id */
            stripe_subscription_id?: string | null;
            /**
             * Tier
             * @enum {string}
             */
            tier: "free" | "byok" | "hobby" | "pro" | "enterprise";
            /** Trial Days Remaining */
            trial_days_remaining?: number | null;
            /** Trial Ends At */
            trial_ends_at?: string | null;
            /** Updated At */
            updated_at?: string | null;
        };
        /**
         * SubscriptionReactivateResponse
         * @description Subscription reactivation response model.
         */
        SubscriptionReactivateResponse: {
            /** Message */
            message: string;
            /** Subscription Id */
            subscription_id?: string | null;
            /** Success */
            success: boolean;
        };
        /**
         * SyncResult
         * @description Sync operation result model.
         */
        SyncResult: {
            /** Errors */
            errors: number;
            /** Synced */
            synced: number;
            /** Total */
            total: number;
            /** Updates */
            updates: components["schemas"]["SyncUpdateOut"][];
        };
        /**
         * SyncUpdateOut
         * @description Sync update information model.
         */
        SyncUpdateOut: {
            /** Instance Id */
            instance_id: number | string;
            /** New Status */
            new_status: string;
            /** Old Status */
            old_status: string;
            /** Reason */
            reason: string;
        };
        /**
         * Trial
         * @description Trial configuration.
         */
        Trial: {
            /** Applicable Plans */
            applicable_plans: string[];
            /** Days */
            days: number;
            /** Enabled */
            enabled: boolean;
        };
        /**
         * UpdateAccountStatusRequest
         * @description Request model for updating account status.
         */
        UpdateAccountStatusRequest: {
            /** Reason */
            reason?: string | null;
            /** Status */
            status: string;
        };
        /**
         * UpdateAccountStatusResponse
         * @description Update account status response model.
         */
        UpdateAccountStatusResponse: {
            /** Account Id */
            account_id: string;
            /** New Status */
            new_status: string;
            /** Status */
            status: string;
        };
        /**
         * UrlResponse
         * @description Response model containing a URL.
         */
        UrlResponse: {
            /** Url */
            url: string;
        };
        /**
         * UsageAggregateOut
         * @description Aggregated usage statistics model.
         */
        UsageAggregateOut: {
            /** Totalagents */
            totalAgents: number;
            /** Totalmessages */
            totalMessages: number;
            /** Totalstorage */
            totalStorage: number;
        };
        /**
         * UsageMetricOut
         * @description Usage metric output model.
         */
        UsageMetricOut: {
            /** Agents Used */
            agents_used: number;
            /** Created At */
            created_at?: string | null;
            /** Id */
            id?: string | null;
            /** Messages Sent */
            messages_sent: number;
            /** Metric Date */
            metric_date: string;
            /** Storage Used Gb */
            storage_used_gb: number;
            /** Subscription Id */
            subscription_id: string;
        };
        /**
         * UsageResponse
         * @description Response model for usage metrics.
         */
        UsageResponse: {
            aggregated: components["schemas"]["UsageAggregateOut"];
            /** Usage */
            usage: components["schemas"]["UsageMetricOut"][];
        };
        /** ValidationError */
        ValidationError: {
            /** Location */
            loc: (string | number)[];
            /** Message */
            msg: string;
            /** Error Type */
            type: string;
        };
        /**
         * WebhookResponse
         * @description Webhook processing response model.
         */
        WebhookResponse: {
            /** Error */
            error?: string | null;
            /** Received */
            received: boolean;
        };
    };
    responses: never;
    parameters: never;
    requestBodies: never;
    headers: never;
    pathItems: never;
}
export type $defs = Record<string, never>;
export interface operations {
    openid_configuration__well_known_openid_configuration_matrix_oidc_get: {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": {
                        [key: string]: unknown;
                    };
                };
            };
        };
    };
    get_account_details_admin_accounts__account_id__get: {
        parameters: {
            query?: never;
            header?: {
                authorization?: string;
            };
            path: {
                account_id: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["AdminAccountDetailsResponse"];
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    admin_delete_account_complete_admin_accounts__account_id__complete_delete: {
        parameters: {
            query?: never;
            header?: {
                authorization?: string;
            };
            path: {
                account_id: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["AdminDeleteResponse"];
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    update_account_status_admin_accounts__account_id__status_put: {
        parameters: {
            query?: never;
            header?: {
                authorization?: string;
            };
            path: {
                account_id: string;
            };
            cookie?: never;
        };
        requestBody: {
            content: {
                "application/json": components["schemas"]["UpdateAccountStatusRequest"];
            };
        };
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["UpdateAccountStatusResponse"];
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    admin_logout_admin_auth_logout_post: {
        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"]["AdminLogoutResponse"];
                };
            };
        };
    };
    admin_provision_instance_admin_instances__instance_id__provision_post: {
        parameters: {
            query?: never;
            header?: {
                authorization?: string;
            };
            path: {
                instance_id: number;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["ProvisionResponse"];
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    admin_restart_instance_admin_instances__instance_id__restart_post: {
        parameters: {
            query?: never;
            header?: {
                authorization?: string;
            };
            path: {
                instance_id: number;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["ActionResult"];
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    admin_start_instance_admin_instances__instance_id__start_post: {
        parameters: {
            query?: never;
            header?: {
                authorization?: string;
            };
            path: {
                instance_id: number;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["ActionResult"];
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    admin_stop_instance_admin_instances__instance_id__stop_post: {
        parameters: {
            query?: never;
            header?: {
                authorization?: string;
            };
            path: {
                instance_id: number;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["ActionResult"];
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    admin_uninstall_instance_admin_instances__instance_id__uninstall_delete: {
        parameters: {
            query?: never;
            header?: {
                authorization?: string;
            };
            path: {
                instance_id: number;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["ActionResult"];
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    get_dashboard_metrics_admin_metrics_dashboard_get: {
        parameters: {
            query?: never;
            header?: {
                authorization?: string;
            };
            path?: never;
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["AdminDashboardMetricsResponse"];
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    get_admin_stats_admin_stats_get: {
        parameters: {
            query?: never;
            header?: {
                authorization?: string;
            };
            path?: never;
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["AdminStatsOut"];
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    admin_sync_instances_admin_sync_instances_post: {
        parameters: {
            query?: never;
            header?: {
                authorization?: string;
            };
            path?: never;
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["SyncResult"];
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    admin_get_list_admin__resource__get: {
        parameters: {
            query?: {
                _sort?: string | null;
                _order?: string | null;
                _start?: number;
                _end?: number;
                q?: string | null;
            };
            header?: {
                authorization?: string;
            };
            path: {
                resource: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["AdminListResponse"];
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    admin_create_admin__resource__post: {
        parameters: {
            query?: never;
            header?: {
                authorization?: string;
            };
            path: {
                resource: string;
            };
            cookie?: never;
        };
        requestBody: {
            content: {
                "application/json": {
                    [key: string]: unknown;
                };
            };
        };
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["AdminCreateResponse"];
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    admin_get_one_admin__resource___resource_id__get: {
        parameters: {
            query?: never;
            header?: {
                authorization?: string;
            };
            path: {
                resource: string;
                resource_id: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["AdminGetOneResponse"];
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    admin_update_admin__resource___resource_id__put: {
        parameters: {
            query?: never;
            header?: {
                authorization?: string;
            };
            path: {
                resource: string;
                resource_id: string;
            };
            cookie?: never;
        };
        requestBody: {
            content: {
                "application/json": {
                    [key: string]: unknown;
                };
            };
        };
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["AdminUpdateResponse"];
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    admin_delete_admin__resource___resource_id__delete: {
        parameters: {
            query?: never;
            header?: {
                authorization?: string;
            };
            path: {
                resource: string;
                resource_id: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["AdminDeleteResponse"];
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    health_check_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": components["schemas"]["HealthResponse"];
                };
            };
        };
    };
    openid_configuration_matrix_oidc__well_known_openid_configuration_get: {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": {
                        [key: string]: unknown;
                    };
                };
            };
        };
    };
    authorize_matrix_oidc_authorize_get: {
        parameters: {
            query: {
                response_type: string;
                client_id: string;
                redirect_uri: string;
                scope: string;
                state: string;
                nonce?: string | 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"];
                };
            };
        };
    };
    jwks_matrix_oidc_jwks_json_get: {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": {
                        [key: string]: unknown;
                    };
                };
            };
        };
    };
    token_matrix_oidc_token_post: {
        parameters: {
            query?: never;
            header?: {
                authorization?: string | null;
            };
            path?: never;
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": {
                        [key: string]: unknown;
                    };
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    userinfo_matrix_oidc_userinfo_get: {
        parameters: {
            query?: never;
            header?: {
                authorization?: string | null;
            };
            path?: never;
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": {
                        [key: string]: unknown;
                    };
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    get_current_account_my_account_get: {
        parameters: {
            query?: never;
            header?: {
                authorization?: string;
            };
            path?: never;
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["AccountWithRelationsOut"];
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    check_admin_status_my_account_admin_status_get: {
        parameters: {
            query?: never;
            header?: {
                authorization?: string;
            };
            path?: never;
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["AdminStatusOut"];
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    setup_account_my_account_setup_post: {
        parameters: {
            query?: never;
            header?: {
                authorization?: string;
            };
            path?: never;
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["AccountSetupResponse"];
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    cancel_account_deletion_my_gdpr_cancel_deletion_post: {
        parameters: {
            query?: never;
            header?: {
                authorization?: string;
            };
            path?: never;
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["GdprCancelDeletionResponse"];
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    update_consent_my_gdpr_consent_post: {
        parameters: {
            query?: never;
            header?: {
                authorization?: string;
            };
            path?: never;
            cookie?: never;
        };
        requestBody: {
            content: {
                "application/json": components["schemas"]["ConsentUpdate"];
            };
        };
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["GdprConsentResponse"];
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    export_user_data_my_gdpr_export_data_get: {
        parameters: {
            query?: never;
            header?: {
                authorization?: string;
            };
            path?: never;
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["GdprExportResponse"];
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    request_account_deletion_my_gdpr_request_deletion_post: {
        parameters: {
            query?: never;
            header?: {
                authorization?: string;
            };
            path?: never;
            cookie?: never;
        };
        requestBody: {
            content: {
                "application/json": components["schemas"]["DeletionRequest"];
            };
        };
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["GdprDeletionResponse"];
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    list_user_instances_my_instances_get: {
        parameters: {
            query?: never;
            header?: {
                authorization?: string;
            };
            path?: never;
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["InstancesResponse"];
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    provision_user_instance_my_instances_provision_post: {
        parameters: {
            query?: never;
            header?: {
                authorization?: string;
            };
            path?: never;
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["ProvisionResponse"];
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    restart_user_instance_my_instances__instance_id__restart_post: {
        parameters: {
            query?: never;
            header?: {
                authorization?: string;
            };
            path: {
                instance_id: number;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["ActionResult"];
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    start_user_instance_my_instances__instance_id__start_post: {
        parameters: {
            query?: never;
            header?: {
                authorization?: string;
            };
            path: {
                instance_id: number;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["ActionResult"];
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    stop_user_instance_my_instances__instance_id__stop_post: {
        parameters: {
            query?: never;
            header?: {
                authorization?: string;
            };
            path: {
                instance_id: number;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["ActionResult"];
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    set_sso_cookie_my_sso_cookie_post: {
        parameters: {
            query?: never;
            header?: {
                authorization?: string;
            };
            path?: never;
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["StatusResponse"];
                };
            };
            /** @description Missing bearer token */
            401: {
                headers: {
                    [name: string]: unknown;
                };
                content?: never;
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    clear_sso_cookie_my_sso_cookie_delete: {
        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"]["StatusResponse"];
                };
            };
        };
    };
    get_user_subscription_my_subscription_get: {
        parameters: {
            query?: never;
            header?: {
                authorization?: string;
            };
            path?: never;
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["SubscriptionOut"];
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    cancel_subscription_my_subscription_cancel_post: {
        parameters: {
            query?: never;
            header?: {
                authorization?: string;
            };
            path?: never;
            cookie?: never;
        };
        requestBody: {
            content: {
                "application/json": components["schemas"]["CancelSubscriptionRequest"];
            };
        };
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["SubscriptionCancelResponse"];
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    reactivate_subscription_my_subscription_reactivate_post: {
        parameters: {
            query?: never;
            header?: {
                authorization?: string;
            };
            path?: never;
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["SubscriptionReactivateResponse"];
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    get_user_usage_my_usage_get: {
        parameters: {
            query?: {
                days?: number;
            };
            header?: {
                authorization?: string;
            };
            path?: never;
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["UsageResponse"];
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    get_pricing_config_pricing_config_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"]["PricingConfigResponse"];
                };
            };
        };
    };
    get_stripe_price_pricing_stripe_price__plan___billing_cycle__get: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                plan: string;
                billing_cycle: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["StripePriceResponse"];
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    create_checkout_session_stripe_checkout_post: {
        parameters: {
            query?: never;
            header?: {
                authorization?: string;
            };
            path?: never;
            cookie?: never;
        };
        requestBody: {
            content: {
                "application/json": components["schemas"]["CheckoutRequest"];
            };
        };
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["UrlResponse"];
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    create_portal_session_stripe_portal_post: {
        parameters: {
            query?: never;
            header?: {
                authorization?: string;
            };
            path?: never;
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["UrlResponse"];
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    restart_instance_provisioner_system_instances__instance_id__restart_post: {
        parameters: {
            query?: never;
            header?: {
                authorization?: string | null;
            };
            path: {
                instance_id: number;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["ActionResult"];
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    start_instance_provisioner_system_instances__instance_id__start_post: {
        parameters: {
            query?: never;
            header?: {
                authorization?: string | null;
            };
            path: {
                instance_id: number;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["ActionResult"];
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    stop_instance_provisioner_system_instances__instance_id__stop_post: {
        parameters: {
            query?: never;
            header?: {
                authorization?: string | null;
            };
            path: {
                instance_id: number;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["ActionResult"];
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    uninstall_instance_system_instances__instance_id__uninstall_delete: {
        parameters: {
            query?: never;
            header?: {
                authorization?: string | null;
            };
            path: {
                instance_id: number;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["ActionResult"];
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    provision_instance_system_provision_post: {
        parameters: {
            query?: never;
            header?: {
                authorization?: string | null;
            };
            path?: never;
            cookie?: never;
        };
        requestBody: {
            content: {
                "application/json": {
                    [key: string]: unknown;
                };
            };
        };
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["ProvisionResponse"];
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    sync_instances_system_sync_instances_post: {
        parameters: {
            query?: never;
            header?: {
                authorization?: string | null;
            };
            path?: never;
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["SyncResult"];
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    stripe_webhook_webhooks_stripe_post: {
        parameters: {
            query?: never;
            header?: {
                "Stripe-Signature"?: string | null;
            };
            path?: never;
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["WebhookResponse"];
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
}
