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

export interface paths {
    "/api/identity/orgs": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * Read organizations
         * @description Returns organizations for the current user.
         */
        get: operations["getOrgs"];
        put?: never;
        /**
         * Create an organization
         * @description Creates a new organization.
         */
        post: operations["createOrg"];
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/identity/orgs/by-domain": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /** Get organization by domain */
        get: operations["getOrgByDomain"];
        put?: never;
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/identity/orgs/{orgId}": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * Read an organization
         * @description Returns the organization in the single-item page wrapper currently emitted by meshery-cloud.
         */
        get: operations["getOrg"];
        /**
         * Update an organization
         * @description Updates the organization.
         */
        put: operations["updateOrg"];
        post?: never;
        /**
         * Delete an organization
         * @description Deletes the organization.
         */
        delete: operations["deleteOrg"];
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/identity/orgs/{orgId}/preferences": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * Get organization preferences
         * @description Returns preferences for the specified organization.
         */
        get: operations["getOrgPreferences"];
        put?: never;
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/identity/orgs/{orgId}/teams/{teamId}": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        put?: never;
        /**
         * Add team to organization or soft delete team
         * @description Adds a team to an organization. If request body contains action=delete, tombstones a team by setting its deletedAt timestamp. The team's organization mapping remains intact.
         */
        post: operations["addTeamToOrg"];
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/identity/orgs/{orgId}/teams/{teamId}/remove": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        put?: never;
        /**
         * Remove team from organization
         * @description Removes (unassigns) a team from an organization.
         */
        post: operations["removeTeamFromOrg"];
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/identity/orgs/{orgId}/users/{userId}": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        put?: never;
        /** Add user to organization */
        post: operations["addUserToOrg"];
        /** Remove user from organization */
        delete: operations["deleteUserFromOrg"];
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
}
export type webhooks = Record<string, never>;
export interface components {
    schemas: {
        /**
         * Format: uuid
         * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
         */
        UUID: string;
        /** Format: date-time */
        NullableTime: string;
        /** Format: date-time */
        Time: string;
        Text: string;
        MapObject: {
            [key: string]: string;
        };
        /** @description Optional action payload for POST on /api/identity/orgs/{orgId}/teams/{teamId}. */
        OrgTeamActionPayload: {
            /**
             * @description Internal action to perform on the team resource.
             * @enum {string}
             */
            action?: "delete";
        };
        /** @description Image asset anchored to a named location within an organization theme. */
        Location: {
            /** @description SVG markup for the asset. */
            svg: string;
            /** @description Named location of the asset (e.g. header, footer). */
            location: string;
        };
        /** @description Themed logo assets used across light and dark, desktop and mobile presentations. */
        Logo: {
            /** @description Image asset anchored to a named location within an organization theme. */
            desktopView: {
                /** @description SVG markup for the asset. */
                svg: string;
                /** @description Named location of the asset (e.g. header, footer). */
                location: string;
            };
            /** @description Image asset anchored to a named location within an organization theme. */
            mobileView: {
                /** @description SVG markup for the asset. */
                svg: string;
                /** @description Named location of the asset (e.g. header, footer). */
                location: string;
            };
            /** @description Image asset anchored to a named location within an organization theme. */
            darkDesktopView: {
                /** @description SVG markup for the asset. */
                svg: string;
                /** @description Named location of the asset (e.g. header, footer). */
                location: string;
            };
            /** @description Image asset anchored to a named location within an organization theme. */
            darkMobileView: {
                /** @description SVG markup for the asset. */
                svg: string;
                /** @description Named location of the asset (e.g. header, footer). */
                location: string;
            };
        };
        /** @description UI theme configured for an organization. */
        Theme: {
            /**
             * Format: uuid
             * @description Theme identifier.
             */
            id: string;
            /** @description Themed logo assets used across light and dark, desktop and mobile presentations. */
            logo: {
                /** @description Image asset anchored to a named location within an organization theme. */
                desktopView: {
                    /** @description SVG markup for the asset. */
                    svg: string;
                    /** @description Named location of the asset (e.g. header, footer). */
                    location: string;
                };
                /** @description Image asset anchored to a named location within an organization theme. */
                mobileView: {
                    /** @description SVG markup for the asset. */
                    svg: string;
                    /** @description Named location of the asset (e.g. header, footer). */
                    location: string;
                };
                /** @description Image asset anchored to a named location within an organization theme. */
                darkDesktopView: {
                    /** @description SVG markup for the asset. */
                    svg: string;
                    /** @description Named location of the asset (e.g. header, footer). */
                    location: string;
                };
                /** @description Image asset anchored to a named location within an organization theme. */
                darkMobileView: {
                    /** @description SVG markup for the asset. */
                    svg: string;
                    /** @description Named location of the asset (e.g. header, footer). */
                    location: string;
                };
            };
            /** @description Arbitrary theme variables keyed by name. */
            vars?: {
                [key: string]: unknown;
            };
        };
        /** @description Preferences specific to dashboard behavior. */
        DashboardPrefs: {
            [key: string]: unknown;
        };
        /** @description Per-organization overrides for the legal and support links shown on the auth pages and the error page. termsOfService and privacy are the named legal links; support is an open-ended set of named support contacts/links. Empty or omitted fields fall back to the platform defaults. */
        Links: {
            /**
             * Format: uri
             * @description URL of the organization's Terms of Service page.
             */
            termsOfService?: string;
            /**
             * Format: uri
             * @description URL of the organization's Privacy Policy page.
             */
            privacy?: string;
            /** @description Open-ended set of named support contacts/links rendered on the auth and error pages, keyed by display name with a value that is a URL, a mailto:/tel: link, or free text. For example a "slack" entry pointing at https://slack.meshery.io, a "discussion forum" entry, or a "support desk" entry holding a phone number. */
            support?: {
                [key: string]: string;
            };
        };
        /** @description A single slide in the auth-page feature carousel. */
        CarouselSlide: {
            /**
             * Format: uri
             * @description URL of the slide image asset.
             */
            imageUrl: string;
            /** @description Slide title. */
            title: string;
            /** @description Slide description text. */
            description: string;
        };
        /** @description A single question/answer pair for the auth-page FAQ section. */
        FAQ: {
            /** @description The question text. */
            question: string;
            /** @description The answer text. */
            answer: string;
        };
        /** @description Optional per-organization branding overrides for the auth pages: carousel slides and FAQ entries. Stored as JSON inside organization.metadata.preferences, so no dedicated column backs it. Empty or omitted fields fall back to the platform defaults. */
        AuthBranding: {
            /** @description Ordered slides rendered in the auth-page feature carousel. */
            carousel?: {
                /**
                 * Format: uri
                 * @description URL of the slide image asset.
                 */
                imageUrl: string;
                /** @description Slide title. */
                title: string;
                /** @description Slide description text. */
                description: string;
            }[];
            /** @description FAQ entries rendered on the auth pages. */
            faqs?: {
                /** @description The question text. */
                question: string;
                /** @description The answer text. */
                answer: string;
            }[];
        };
        /** @description Organization-level user experience preferences. */
        Preferences: {
            /** @description UI theme configured for an organization. */
            theme: {
                /**
                 * Format: uuid
                 * @description Theme identifier.
                 */
                id: string;
                /** @description Themed logo assets used across light and dark, desktop and mobile presentations. */
                logo: {
                    /** @description Image asset anchored to a named location within an organization theme. */
                    desktopView: {
                        /** @description SVG markup for the asset. */
                        svg: string;
                        /** @description Named location of the asset (e.g. header, footer). */
                        location: string;
                    };
                    /** @description Image asset anchored to a named location within an organization theme. */
                    mobileView: {
                        /** @description SVG markup for the asset. */
                        svg: string;
                        /** @description Named location of the asset (e.g. header, footer). */
                        location: string;
                    };
                    /** @description Image asset anchored to a named location within an organization theme. */
                    darkDesktopView: {
                        /** @description SVG markup for the asset. */
                        svg: string;
                        /** @description Named location of the asset (e.g. header, footer). */
                        location: string;
                    };
                    /** @description Image asset anchored to a named location within an organization theme. */
                    darkMobileView: {
                        /** @description SVG markup for the asset. */
                        svg: string;
                        /** @description Named location of the asset (e.g. header, footer). */
                        location: string;
                    };
                };
                /** @description Arbitrary theme variables keyed by name. */
                vars?: {
                    [key: string]: unknown;
                };
            };
            /** @description Preferences specific to dashboard behavior. */
            dashboard: {
                [key: string]: unknown;
            };
            /** @description Optional per-organization branding overrides for the auth pages: carousel slides and FAQ entries. Stored as JSON inside organization.metadata.preferences, so no dedicated column backs it. Empty or omitted fields fall back to the platform defaults. */
            authBranding?: {
                /** @description Ordered slides rendered in the auth-page feature carousel. */
                carousel?: {
                    /**
                     * Format: uri
                     * @description URL of the slide image asset.
                     */
                    imageUrl: string;
                    /** @description Slide title. */
                    title: string;
                    /** @description Slide description text. */
                    description: string;
                }[];
                /** @description FAQ entries rendered on the auth pages. */
                faqs?: {
                    /** @description The question text. */
                    question: string;
                    /** @description The answer text. */
                    answer: string;
                }[];
            };
            /** @description Per-organization overrides for the legal and support links shown on the auth pages and the error page. termsOfService and privacy are the named legal links; support is an open-ended set of named support contacts/links. Empty or omitted fields fall back to the platform defaults. */
            links?: {
                /**
                 * Format: uri
                 * @description URL of the organization's Terms of Service page.
                 */
                termsOfService?: string;
                /**
                 * Format: uri
                 * @description URL of the organization's Privacy Policy page.
                 */
                privacy?: string;
                /** @description Open-ended set of named support contacts/links rendered on the auth and error pages, keyed by display name with a value that is a URL, a mailto:/tel: link, or free text. For example a "slack" entry pointing at https://slack.meshery.io, a "discussion forum" entry, or a "support desk" entry holding a phone number. */
                support?: {
                    [key: string]: string;
                };
            };
            /**
             * @description Whether the feature carousel renders on the organization's auth pages. Unset is treated as true (shown); set false to hide it.
             * @default true
             */
            showAuthCarousel: boolean;
        };
        /** @description Free-form metadata associated with an organization, including preferences. */
        OrgMetadata: {
            /** @description Organization-level user experience preferences. */
            preferences: {
                /** @description UI theme configured for an organization. */
                theme: {
                    /**
                     * Format: uuid
                     * @description Theme identifier.
                     */
                    id: string;
                    /** @description Themed logo assets used across light and dark, desktop and mobile presentations. */
                    logo: {
                        /** @description Image asset anchored to a named location within an organization theme. */
                        desktopView: {
                            /** @description SVG markup for the asset. */
                            svg: string;
                            /** @description Named location of the asset (e.g. header, footer). */
                            location: string;
                        };
                        /** @description Image asset anchored to a named location within an organization theme. */
                        mobileView: {
                            /** @description SVG markup for the asset. */
                            svg: string;
                            /** @description Named location of the asset (e.g. header, footer). */
                            location: string;
                        };
                        /** @description Image asset anchored to a named location within an organization theme. */
                        darkDesktopView: {
                            /** @description SVG markup for the asset. */
                            svg: string;
                            /** @description Named location of the asset (e.g. header, footer). */
                            location: string;
                        };
                        /** @description Image asset anchored to a named location within an organization theme. */
                        darkMobileView: {
                            /** @description SVG markup for the asset. */
                            svg: string;
                            /** @description Named location of the asset (e.g. header, footer). */
                            location: string;
                        };
                    };
                    /** @description Arbitrary theme variables keyed by name. */
                    vars?: {
                        [key: string]: unknown;
                    };
                };
                /** @description Preferences specific to dashboard behavior. */
                dashboard: {
                    [key: string]: unknown;
                };
                /** @description Optional per-organization branding overrides for the auth pages: carousel slides and FAQ entries. Stored as JSON inside organization.metadata.preferences, so no dedicated column backs it. Empty or omitted fields fall back to the platform defaults. */
                authBranding?: {
                    /** @description Ordered slides rendered in the auth-page feature carousel. */
                    carousel?: {
                        /**
                         * Format: uri
                         * @description URL of the slide image asset.
                         */
                        imageUrl: string;
                        /** @description Slide title. */
                        title: string;
                        /** @description Slide description text. */
                        description: string;
                    }[];
                    /** @description FAQ entries rendered on the auth pages. */
                    faqs?: {
                        /** @description The question text. */
                        question: string;
                        /** @description The answer text. */
                        answer: string;
                    }[];
                };
                /** @description Per-organization overrides for the legal and support links shown on the auth pages and the error page. termsOfService and privacy are the named legal links; support is an open-ended set of named support contacts/links. Empty or omitted fields fall back to the platform defaults. */
                links?: {
                    /**
                     * Format: uri
                     * @description URL of the organization's Terms of Service page.
                     */
                    termsOfService?: string;
                    /**
                     * Format: uri
                     * @description URL of the organization's Privacy Policy page.
                     */
                    privacy?: string;
                    /** @description Open-ended set of named support contacts/links rendered on the auth and error pages, keyed by display name with a value that is a URL, a mailto:/tel: link, or free text. For example a "slack" entry pointing at https://slack.meshery.io, a "discussion forum" entry, or a "support desk" entry holding a phone number. */
                    support?: {
                        [key: string]: string;
                    };
                };
                /**
                 * @description Whether the feature carousel renders on the organization's auth pages. Unset is treated as true (shown); set false to hide it.
                 * @default true
                 */
                showAuthCarousel: boolean;
            };
        };
        /** @description An organization in Meshery Cloud. Organizations are the top-level tenancy boundary and own teams, workspaces, environments, designs, and other resources. Learn more at https://docs.meshery.io/concepts/logical/organizations */
        Organization: {
            /**
             * Format: uuid
             * @description Organization ID.
             */
            id: string;
            /** @description Name of the organization. */
            name: string;
            /** @description Country of the organization. */
            country: string;
            /** @description Region of the organization. */
            region: string;
            /** @description Description of the organization. */
            description: string;
            /**
             * Format: uuid
             * @description Owner user ID of the organization.
             */
            owner: string;
            /** @description Free-form metadata associated with the organization, including preferences. */
            metadata: Record<string, never>;
            /** @description Domain of the organization. */
            domain?: string | null;
            /**
             * Format: date-time
             * @description Timestamp when the organization was created.
             */
            createdAt: string;
            /**
             * Format: date-time
             * @description Timestamp when the organization was last updated.
             */
            updatedAt: string;
            /**
             * Format: date-time
             * @description Timestamp when the organization was soft-deleted. Null while the organization is active.
             */
            deletedAt?: string;
        };
        /** @description Organization listing record used in list and get responses. */
        AvailableOrganization: {
            /**
             * Format: uuid
             * @description Organization ID.
             */
            id?: string;
            /** @description Name of the organization. */
            name?: string;
            /** @description Description of the organization. */
            description?: string;
            /** @description Country of the organization. */
            country?: string;
            /** @description Region of the organization. */
            region?: string;
            /** @description Custom domain assigned to the organization, when configured. */
            domain?: string;
            /** @description Display name of the organization owner. */
            owner?: string;
            /** @description Free-form metadata associated with an organization, including preferences. */
            metadata?: {
                /** @description Organization-level user experience preferences. */
                preferences: {
                    /** @description UI theme configured for an organization. */
                    theme: {
                        /**
                         * Format: uuid
                         * @description Theme identifier.
                         */
                        id: string;
                        /** @description Themed logo assets used across light and dark, desktop and mobile presentations. */
                        logo: {
                            /** @description Image asset anchored to a named location within an organization theme. */
                            desktopView: {
                                /** @description SVG markup for the asset. */
                                svg: string;
                                /** @description Named location of the asset (e.g. header, footer). */
                                location: string;
                            };
                            /** @description Image asset anchored to a named location within an organization theme. */
                            mobileView: {
                                /** @description SVG markup for the asset. */
                                svg: string;
                                /** @description Named location of the asset (e.g. header, footer). */
                                location: string;
                            };
                            /** @description Image asset anchored to a named location within an organization theme. */
                            darkDesktopView: {
                                /** @description SVG markup for the asset. */
                                svg: string;
                                /** @description Named location of the asset (e.g. header, footer). */
                                location: string;
                            };
                            /** @description Image asset anchored to a named location within an organization theme. */
                            darkMobileView: {
                                /** @description SVG markup for the asset. */
                                svg: string;
                                /** @description Named location of the asset (e.g. header, footer). */
                                location: string;
                            };
                        };
                        /** @description Arbitrary theme variables keyed by name. */
                        vars?: {
                            [key: string]: unknown;
                        };
                    };
                    /** @description Preferences specific to dashboard behavior. */
                    dashboard: {
                        [key: string]: unknown;
                    };
                    /** @description Optional per-organization branding overrides for the auth pages: carousel slides and FAQ entries. Stored as JSON inside organization.metadata.preferences, so no dedicated column backs it. Empty or omitted fields fall back to the platform defaults. */
                    authBranding?: {
                        /** @description Ordered slides rendered in the auth-page feature carousel. */
                        carousel?: {
                            /**
                             * Format: uri
                             * @description URL of the slide image asset.
                             */
                            imageUrl: string;
                            /** @description Slide title. */
                            title: string;
                            /** @description Slide description text. */
                            description: string;
                        }[];
                        /** @description FAQ entries rendered on the auth pages. */
                        faqs?: {
                            /** @description The question text. */
                            question: string;
                            /** @description The answer text. */
                            answer: string;
                        }[];
                    };
                    /** @description Per-organization overrides for the legal and support links shown on the auth pages and the error page. termsOfService and privacy are the named legal links; support is an open-ended set of named support contacts/links. Empty or omitted fields fall back to the platform defaults. */
                    links?: {
                        /**
                         * Format: uri
                         * @description URL of the organization's Terms of Service page.
                         */
                        termsOfService?: string;
                        /**
                         * Format: uri
                         * @description URL of the organization's Privacy Policy page.
                         */
                        privacy?: string;
                        /** @description Open-ended set of named support contacts/links rendered on the auth and error pages, keyed by display name with a value that is a URL, a mailto:/tel: link, or free text. For example a "slack" entry pointing at https://slack.meshery.io, a "discussion forum" entry, or a "support desk" entry holding a phone number. */
                        support?: {
                            [key: string]: string;
                        };
                    };
                    /**
                     * @description Whether the feature carousel renders on the organization's auth pages. Unset is treated as true (shown); set false to hide it.
                     * @default true
                     */
                    showAuthCarousel: boolean;
                };
            };
            /**
             * Format: date-time
             * @description Timestamp when the organization was created.
             */
            createdAt?: string;
            /**
             * Format: date-time
             * @description Timestamp when the organization was last updated.
             */
            updatedAt?: string;
            /**
             * Format: date-time
             * @description Timestamp when the organization was soft-deleted.
             */
            deletedAt?: string;
        };
        /** @description Paginated list of organizations. */
        OrganizationsPage: {
            /** @description Zero-based page index returned in this response. */
            page?: number;
            /** @description Maximum number of items returned on each page. */
            pageSize?: number;
            /** @description Total number of items across all pages. */
            totalCount?: number;
            /** @description Organizations in this page. */
            organizations?: {
                /**
                 * Format: uuid
                 * @description Organization ID.
                 */
                id?: string;
                /** @description Name of the organization. */
                name?: string;
                /** @description Description of the organization. */
                description?: string;
                /** @description Country of the organization. */
                country?: string;
                /** @description Region of the organization. */
                region?: string;
                /** @description Custom domain assigned to the organization, when configured. */
                domain?: string;
                /** @description Display name of the organization owner. */
                owner?: string;
                /** @description Free-form metadata associated with an organization, including preferences. */
                metadata?: {
                    /** @description Organization-level user experience preferences. */
                    preferences: {
                        /** @description UI theme configured for an organization. */
                        theme: {
                            /**
                             * Format: uuid
                             * @description Theme identifier.
                             */
                            id: string;
                            /** @description Themed logo assets used across light and dark, desktop and mobile presentations. */
                            logo: {
                                /** @description Image asset anchored to a named location within an organization theme. */
                                desktopView: {
                                    /** @description SVG markup for the asset. */
                                    svg: string;
                                    /** @description Named location of the asset (e.g. header, footer). */
                                    location: string;
                                };
                                /** @description Image asset anchored to a named location within an organization theme. */
                                mobileView: {
                                    /** @description SVG markup for the asset. */
                                    svg: string;
                                    /** @description Named location of the asset (e.g. header, footer). */
                                    location: string;
                                };
                                /** @description Image asset anchored to a named location within an organization theme. */
                                darkDesktopView: {
                                    /** @description SVG markup for the asset. */
                                    svg: string;
                                    /** @description Named location of the asset (e.g. header, footer). */
                                    location: string;
                                };
                                /** @description Image asset anchored to a named location within an organization theme. */
                                darkMobileView: {
                                    /** @description SVG markup for the asset. */
                                    svg: string;
                                    /** @description Named location of the asset (e.g. header, footer). */
                                    location: string;
                                };
                            };
                            /** @description Arbitrary theme variables keyed by name. */
                            vars?: {
                                [key: string]: unknown;
                            };
                        };
                        /** @description Preferences specific to dashboard behavior. */
                        dashboard: {
                            [key: string]: unknown;
                        };
                        /** @description Optional per-organization branding overrides for the auth pages: carousel slides and FAQ entries. Stored as JSON inside organization.metadata.preferences, so no dedicated column backs it. Empty or omitted fields fall back to the platform defaults. */
                        authBranding?: {
                            /** @description Ordered slides rendered in the auth-page feature carousel. */
                            carousel?: {
                                /**
                                 * Format: uri
                                 * @description URL of the slide image asset.
                                 */
                                imageUrl: string;
                                /** @description Slide title. */
                                title: string;
                                /** @description Slide description text. */
                                description: string;
                            }[];
                            /** @description FAQ entries rendered on the auth pages. */
                            faqs?: {
                                /** @description The question text. */
                                question: string;
                                /** @description The answer text. */
                                answer: string;
                            }[];
                        };
                        /** @description Per-organization overrides for the legal and support links shown on the auth pages and the error page. termsOfService and privacy are the named legal links; support is an open-ended set of named support contacts/links. Empty or omitted fields fall back to the platform defaults. */
                        links?: {
                            /**
                             * Format: uri
                             * @description URL of the organization's Terms of Service page.
                             */
                            termsOfService?: string;
                            /**
                             * Format: uri
                             * @description URL of the organization's Privacy Policy page.
                             */
                            privacy?: string;
                            /** @description Open-ended set of named support contacts/links rendered on the auth and error pages, keyed by display name with a value that is a URL, a mailto:/tel: link, or free text. For example a "slack" entry pointing at https://slack.meshery.io, a "discussion forum" entry, or a "support desk" entry holding a phone number. */
                            support?: {
                                [key: string]: string;
                            };
                        };
                        /**
                         * @description Whether the feature carousel renders on the organization's auth pages. Unset is treated as true (shown); set false to hide it.
                         * @default true
                         */
                        showAuthCarousel: boolean;
                    };
                };
                /**
                 * Format: date-time
                 * @description Timestamp when the organization was created.
                 */
                createdAt?: string;
                /**
                 * Format: date-time
                 * @description Timestamp when the organization was last updated.
                 */
                updatedAt?: string;
                /**
                 * Format: date-time
                 * @description Timestamp when the organization was soft-deleted.
                 */
                deletedAt?: string;
            }[];
        };
        /** @description Single-organization wrapper used by current meshery-cloud organization handlers. */
        OrganizationPage: {
            /** @description Zero-based page index returned in this response. */
            page?: number;
            /** @description Maximum number of items returned on each page. */
            pageSize?: number;
            /** @description Total number of items across all pages. */
            totalCount?: number;
            /** @description Organizations returned in this single-item page wrapper. */
            organizations?: {
                /**
                 * Format: uuid
                 * @description Organization ID.
                 */
                id?: string;
                /** @description Name of the organization. */
                name?: string;
                /** @description Description of the organization. */
                description?: string;
                /** @description Country of the organization. */
                country?: string;
                /** @description Region of the organization. */
                region?: string;
                /** @description Custom domain assigned to the organization, when configured. */
                domain?: string;
                /** @description Display name of the organization owner. */
                owner?: string;
                /** @description Free-form metadata associated with an organization, including preferences. */
                metadata?: {
                    /** @description Organization-level user experience preferences. */
                    preferences: {
                        /** @description UI theme configured for an organization. */
                        theme: {
                            /**
                             * Format: uuid
                             * @description Theme identifier.
                             */
                            id: string;
                            /** @description Themed logo assets used across light and dark, desktop and mobile presentations. */
                            logo: {
                                /** @description Image asset anchored to a named location within an organization theme. */
                                desktopView: {
                                    /** @description SVG markup for the asset. */
                                    svg: string;
                                    /** @description Named location of the asset (e.g. header, footer). */
                                    location: string;
                                };
                                /** @description Image asset anchored to a named location within an organization theme. */
                                mobileView: {
                                    /** @description SVG markup for the asset. */
                                    svg: string;
                                    /** @description Named location of the asset (e.g. header, footer). */
                                    location: string;
                                };
                                /** @description Image asset anchored to a named location within an organization theme. */
                                darkDesktopView: {
                                    /** @description SVG markup for the asset. */
                                    svg: string;
                                    /** @description Named location of the asset (e.g. header, footer). */
                                    location: string;
                                };
                                /** @description Image asset anchored to a named location within an organization theme. */
                                darkMobileView: {
                                    /** @description SVG markup for the asset. */
                                    svg: string;
                                    /** @description Named location of the asset (e.g. header, footer). */
                                    location: string;
                                };
                            };
                            /** @description Arbitrary theme variables keyed by name. */
                            vars?: {
                                [key: string]: unknown;
                            };
                        };
                        /** @description Preferences specific to dashboard behavior. */
                        dashboard: {
                            [key: string]: unknown;
                        };
                        /** @description Optional per-organization branding overrides for the auth pages: carousel slides and FAQ entries. Stored as JSON inside organization.metadata.preferences, so no dedicated column backs it. Empty or omitted fields fall back to the platform defaults. */
                        authBranding?: {
                            /** @description Ordered slides rendered in the auth-page feature carousel. */
                            carousel?: {
                                /**
                                 * Format: uri
                                 * @description URL of the slide image asset.
                                 */
                                imageUrl: string;
                                /** @description Slide title. */
                                title: string;
                                /** @description Slide description text. */
                                description: string;
                            }[];
                            /** @description FAQ entries rendered on the auth pages. */
                            faqs?: {
                                /** @description The question text. */
                                question: string;
                                /** @description The answer text. */
                                answer: string;
                            }[];
                        };
                        /** @description Per-organization overrides for the legal and support links shown on the auth pages and the error page. termsOfService and privacy are the named legal links; support is an open-ended set of named support contacts/links. Empty or omitted fields fall back to the platform defaults. */
                        links?: {
                            /**
                             * Format: uri
                             * @description URL of the organization's Terms of Service page.
                             */
                            termsOfService?: string;
                            /**
                             * Format: uri
                             * @description URL of the organization's Privacy Policy page.
                             */
                            privacy?: string;
                            /** @description Open-ended set of named support contacts/links rendered on the auth and error pages, keyed by display name with a value that is a URL, a mailto:/tel: link, or free text. For example a "slack" entry pointing at https://slack.meshery.io, a "discussion forum" entry, or a "support desk" entry holding a phone number. */
                            support?: {
                                [key: string]: string;
                            };
                        };
                        /**
                         * @description Whether the feature carousel renders on the organization's auth pages. Unset is treated as true (shown); set false to hide it.
                         * @default true
                         */
                        showAuthCarousel: boolean;
                    };
                };
                /**
                 * Format: date-time
                 * @description Timestamp when the organization was created.
                 */
                createdAt?: string;
                /**
                 * Format: date-time
                 * @description Timestamp when the organization was last updated.
                 */
                updatedAt?: string;
                /**
                 * Format: date-time
                 * @description Timestamp when the organization was soft-deleted.
                 */
                deletedAt?: string;
            }[];
        };
        /** @description Payload for creating or updating an organization. Contains only client-settable fields. */
        OrganizationPayload: {
            /** @description Name of the organization. */
            name?: string;
            /** @description Country of the organization. */
            country?: string;
            /** @description Region of the organization. */
            region?: string;
            /** @description Description of the organization. */
            description?: string;
            /** @description Indicates whether organization members should be notified of this update. */
            notifyOrgUpdate?: boolean;
            /** @description Organization-level user experience preferences. */
            preferences?: {
                /** @description UI theme configured for an organization. */
                theme: {
                    /**
                     * Format: uuid
                     * @description Theme identifier.
                     */
                    id: string;
                    /** @description Themed logo assets used across light and dark, desktop and mobile presentations. */
                    logo: {
                        /** @description Image asset anchored to a named location within an organization theme. */
                        desktopView: {
                            /** @description SVG markup for the asset. */
                            svg: string;
                            /** @description Named location of the asset (e.g. header, footer). */
                            location: string;
                        };
                        /** @description Image asset anchored to a named location within an organization theme. */
                        mobileView: {
                            /** @description SVG markup for the asset. */
                            svg: string;
                            /** @description Named location of the asset (e.g. header, footer). */
                            location: string;
                        };
                        /** @description Image asset anchored to a named location within an organization theme. */
                        darkDesktopView: {
                            /** @description SVG markup for the asset. */
                            svg: string;
                            /** @description Named location of the asset (e.g. header, footer). */
                            location: string;
                        };
                        /** @description Image asset anchored to a named location within an organization theme. */
                        darkMobileView: {
                            /** @description SVG markup for the asset. */
                            svg: string;
                            /** @description Named location of the asset (e.g. header, footer). */
                            location: string;
                        };
                    };
                    /** @description Arbitrary theme variables keyed by name. */
                    vars?: {
                        [key: string]: unknown;
                    };
                };
                /** @description Preferences specific to dashboard behavior. */
                dashboard: {
                    [key: string]: unknown;
                };
                /** @description Optional per-organization branding overrides for the auth pages: carousel slides and FAQ entries. Stored as JSON inside organization.metadata.preferences, so no dedicated column backs it. Empty or omitted fields fall back to the platform defaults. */
                authBranding?: {
                    /** @description Ordered slides rendered in the auth-page feature carousel. */
                    carousel?: {
                        /**
                         * Format: uri
                         * @description URL of the slide image asset.
                         */
                        imageUrl: string;
                        /** @description Slide title. */
                        title: string;
                        /** @description Slide description text. */
                        description: string;
                    }[];
                    /** @description FAQ entries rendered on the auth pages. */
                    faqs?: {
                        /** @description The question text. */
                        question: string;
                        /** @description The answer text. */
                        answer: string;
                    }[];
                };
                /** @description Per-organization overrides for the legal and support links shown on the auth pages and the error page. termsOfService and privacy are the named legal links; support is an open-ended set of named support contacts/links. Empty or omitted fields fall back to the platform defaults. */
                links?: {
                    /**
                     * Format: uri
                     * @description URL of the organization's Terms of Service page.
                     */
                    termsOfService?: string;
                    /**
                     * Format: uri
                     * @description URL of the organization's Privacy Policy page.
                     */
                    privacy?: string;
                    /** @description Open-ended set of named support contacts/links rendered on the auth and error pages, keyed by display name with a value that is a URL, a mailto:/tel: link, or free text. For example a "slack" entry pointing at https://slack.meshery.io, a "discussion forum" entry, or a "support desk" entry holding a phone number. */
                    support?: {
                        [key: string]: string;
                    };
                };
                /**
                 * @description Whether the feature carousel renders on the organization's auth pages. Unset is treated as true (shown); set false to hide it.
                 * @default true
                 */
                showAuthCarousel: boolean;
            };
        };
        /** @description Team listing record used in team listings associated with an organization. */
        AvailableTeam: {
            /**
             * Format: uuid
             * @description Team ID.
             */
            id?: string;
            /** @description Name of the team. */
            name?: string;
            /** @description Description of the team. */
            description?: string;
            /** @description Display name of the team owner. */
            owner?: string;
            /** @description Free-form team metadata. */
            metadata?: {
                [key: string]: string;
            };
            /**
             * Format: date-time
             * @description Timestamp when the team was created.
             */
            createdAt?: string;
            /**
             * Format: date-time
             * @description Timestamp when the team was last updated.
             */
            updatedAt?: string;
            /**
             * Format: date-time
             * @description Timestamp when the team was soft-deleted.
             */
            deletedAt?: string;
        };
        /** @description Paginated list of teams. */
        TeamsPage: {
            /** @description Zero-based page index returned in this response. */
            page?: number;
            /** @description Maximum number of items returned on each page. */
            pageSize?: number;
            /** @description Total number of items across all pages. */
            totalCount?: number;
            /** @description Teams in this page. */
            teams?: {
                /**
                 * Format: uuid
                 * @description Team ID.
                 */
                id?: string;
                /** @description Name of the team. */
                name?: string;
                /** @description Description of the team. */
                description?: string;
                /** @description Display name of the team owner. */
                owner?: string;
                /** @description Free-form team metadata. */
                metadata?: {
                    [key: string]: string;
                };
                /**
                 * Format: date-time
                 * @description Timestamp when the team was created.
                 */
                createdAt?: string;
                /**
                 * Format: date-time
                 * @description Timestamp when the team was last updated.
                 */
                updatedAt?: string;
                /**
                 * Format: date-time
                 * @description Timestamp when the team was soft-deleted.
                 */
                deletedAt?: string;
            }[];
        };
        /** @description Junction record linking a team to an organization. */
        TeamsOrganizationsMapping: {
            /**
             * Format: uuid
             * @description Mapping record ID.
             */
            id?: string;
            /**
             * Format: uuid
             * @description Organization ID for this mapping.
             */
            orgId?: string;
            /**
             * Format: uuid
             * @description Team ID for this mapping.
             */
            teamId?: string;
            /**
             * Format: date-time
             * @description Timestamp when the mapping was created.
             */
            createdAt?: string;
            /**
             * Format: date-time
             * @description Timestamp when the mapping was last updated.
             */
            updatedAt?: string;
            /**
             * Format: date-time
             * @description Timestamp when the mapping was soft-deleted.
             */
            deletedAt?: string;
        };
        /** @description Paginated list of team-organization mappings. */
        TeamsOrganizationsMappingPage: {
            /** @description Zero-based page index returned in this response. */
            page?: number;
            /** @description Maximum number of items returned on each page. */
            pageSize?: number;
            /** @description Total number of items across all pages. */
            totalCount?: number;
            /** @description Team-organization mapping entries. */
            teamsOrganizationsMapping?: {
                /**
                 * Format: uuid
                 * @description Mapping record ID.
                 */
                id?: string;
                /**
                 * Format: uuid
                 * @description Organization ID for this mapping.
                 */
                orgId?: string;
                /**
                 * Format: uuid
                 * @description Team ID for this mapping.
                 */
                teamId?: string;
                /**
                 * Format: date-time
                 * @description Timestamp when the mapping was created.
                 */
                createdAt?: string;
                /**
                 * Format: date-time
                 * @description Timestamp when the mapping was last updated.
                 */
                updatedAt?: string;
                /**
                 * Format: date-time
                 * @description Timestamp when the mapping was soft-deleted.
                 */
                deletedAt?: string;
            }[];
        };
        /** @description Junction record linking a user to an organization, optionally carrying the role the user holds in that organization. Backed by the users_organizations_mappings table, whose user foreign-key column is named owner. */
        UsersOrganizationsMapping: {
            /**
             * Format: uuid
             * @description Mapping record ID.
             */
            id?: string;
            /**
             * Format: uuid
             * @description User ID for this mapping. Stored in the owner column.
             */
            userId?: string;
            /**
             * Format: uuid
             * @description Organization ID for this mapping.
             */
            organizationId?: string;
            /**
             * Format: uuid
             * @description Role the user holds within the organization; omitted when no explicit role is assigned.
             */
            roleId?: string;
            /**
             * Format: date-time
             * @description Timestamp when the mapping was created.
             */
            createdAt?: string;
            /**
             * Format: date-time
             * @description Timestamp when the mapping was last updated.
             */
            updatedAt?: string;
            /**
             * Format: date-time
             * @description Timestamp when the mapping was soft-deleted.
             */
            deletedAt?: string;
        };
        /** @description Paginated list of user-organization mappings. */
        UsersOrganizationsMappingPage: {
            /** @description Zero-based page index returned in this response. */
            page?: number;
            /** @description Maximum number of items returned on each page. */
            pageSize?: number;
            /** @description Total number of items across all pages. */
            totalCount?: number;
            /** @description User-organization mapping entries. */
            data?: {
                /**
                 * Format: uuid
                 * @description Mapping record ID.
                 */
                id?: string;
                /**
                 * Format: uuid
                 * @description User ID for this mapping. Stored in the owner column.
                 */
                userId?: string;
                /**
                 * Format: uuid
                 * @description Organization ID for this mapping.
                 */
                organizationId?: string;
                /**
                 * Format: uuid
                 * @description Role the user holds within the organization; omitted when no explicit role is assigned.
                 */
                roleId?: string;
                /**
                 * Format: date-time
                 * @description Timestamp when the mapping was created.
                 */
                createdAt?: string;
                /**
                 * Format: date-time
                 * @description Timestamp when the mapping was last updated.
                 */
                updatedAt?: string;
                /**
                 * Format: date-time
                 * @description Timestamp when the mapping was soft-deleted.
                 */
                deletedAt?: string;
            }[];
        };
    };
    responses: {
        /** @description Invalid request body or request param */
        400: {
            headers: {
                [name: string]: unknown;
            };
            content: {
                "text/plain": string;
            };
        };
        /** @description Expired JWT token used or insufficient privilege */
        401: {
            headers: {
                [name: string]: unknown;
            };
            content: {
                "text/plain": string;
            };
        };
        /** @description Forbidden */
        403: {
            headers: {
                [name: string]: unknown;
            };
            content: {
                "text/plain": string;
            };
        };
        /** @description Result not found */
        404: {
            headers: {
                [name: string]: unknown;
            };
            content: {
                "text/plain": string;
            };
        };
        /** @description Internal server error */
        500: {
            headers: {
                [name: string]: unknown;
            };
            content: {
                "text/plain": string;
            };
        };
    };
    parameters: {
        /** @description Organization ID. */
        orgId: string;
        /** @description User ID. */
        userId: string;
        /** @description Team ID. */
        teamId: string;
        /** @description Zero-based index of the result page to return. */
        page: number;
        /** @description Maximum number of items returned on each page. */
        pageSize: number;
        /** @description Get responses that match search param value */
        search: string;
        /** @description Get ordered responses */
        order: string;
        /** @description Get all possible entries */
        all: boolean;
    };
    requestBodies: {
        /** @description Body for creating or updating an organization */
        organizationPayload: {
            content: {
                "application/json": {
                    /** @description Name of the organization. */
                    name?: string;
                    /** @description Country of the organization. */
                    country?: string;
                    /** @description Region of the organization. */
                    region?: string;
                    /** @description Description of the organization. */
                    description?: string;
                    /** @description Indicates whether organization members should be notified of this update. */
                    notifyOrgUpdate?: boolean;
                    /** @description Organization-level user experience preferences. */
                    preferences?: {
                        /** @description UI theme configured for an organization. */
                        theme: {
                            /**
                             * Format: uuid
                             * @description Theme identifier.
                             */
                            id: string;
                            /** @description Themed logo assets used across light and dark, desktop and mobile presentations. */
                            logo: {
                                /** @description Image asset anchored to a named location within an organization theme. */
                                desktopView: {
                                    /** @description SVG markup for the asset. */
                                    svg: string;
                                    /** @description Named location of the asset (e.g. header, footer). */
                                    location: string;
                                };
                                /** @description Image asset anchored to a named location within an organization theme. */
                                mobileView: {
                                    /** @description SVG markup for the asset. */
                                    svg: string;
                                    /** @description Named location of the asset (e.g. header, footer). */
                                    location: string;
                                };
                                /** @description Image asset anchored to a named location within an organization theme. */
                                darkDesktopView: {
                                    /** @description SVG markup for the asset. */
                                    svg: string;
                                    /** @description Named location of the asset (e.g. header, footer). */
                                    location: string;
                                };
                                /** @description Image asset anchored to a named location within an organization theme. */
                                darkMobileView: {
                                    /** @description SVG markup for the asset. */
                                    svg: string;
                                    /** @description Named location of the asset (e.g. header, footer). */
                                    location: string;
                                };
                            };
                            /** @description Arbitrary theme variables keyed by name. */
                            vars?: {
                                [key: string]: unknown;
                            };
                        };
                        /** @description Preferences specific to dashboard behavior. */
                        dashboard: {
                            [key: string]: unknown;
                        };
                        /** @description Optional per-organization branding overrides for the auth pages: carousel slides and FAQ entries. Stored as JSON inside organization.metadata.preferences, so no dedicated column backs it. Empty or omitted fields fall back to the platform defaults. */
                        authBranding?: {
                            /** @description Ordered slides rendered in the auth-page feature carousel. */
                            carousel?: {
                                /**
                                 * Format: uri
                                 * @description URL of the slide image asset.
                                 */
                                imageUrl: string;
                                /** @description Slide title. */
                                title: string;
                                /** @description Slide description text. */
                                description: string;
                            }[];
                            /** @description FAQ entries rendered on the auth pages. */
                            faqs?: {
                                /** @description The question text. */
                                question: string;
                                /** @description The answer text. */
                                answer: string;
                            }[];
                        };
                        /** @description Per-organization overrides for the legal and support links shown on the auth pages and the error page. termsOfService and privacy are the named legal links; support is an open-ended set of named support contacts/links. Empty or omitted fields fall back to the platform defaults. */
                        links?: {
                            /**
                             * Format: uri
                             * @description URL of the organization's Terms of Service page.
                             */
                            termsOfService?: string;
                            /**
                             * Format: uri
                             * @description URL of the organization's Privacy Policy page.
                             */
                            privacy?: string;
                            /** @description Open-ended set of named support contacts/links rendered on the auth and error pages, keyed by display name with a value that is a URL, a mailto:/tel: link, or free text. For example a "slack" entry pointing at https://slack.meshery.io, a "discussion forum" entry, or a "support desk" entry holding a phone number. */
                            support?: {
                                [key: string]: string;
                            };
                        };
                        /**
                         * @description Whether the feature carousel renders on the organization's auth pages. Unset is treated as true (shown); set false to hide it.
                         * @default true
                         */
                        showAuthCarousel?: boolean;
                    };
                };
            };
        };
    };
    headers: never;
    pathItems: never;
}
export type $defs = Record<string, never>;
export interface operations {
    getOrgs: {
        parameters: {
            query?: {
                /** @description Zero-based index of the result page to return. */
                page?: number;
                /** @description Maximum number of items returned on each page. */
                pageSize?: number;
                /** @description Get responses that match search param value */
                search?: string;
                /** @description Get ordered responses */
                order?: string;
                /** @description Get all possible entries */
                all?: boolean;
            };
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Organizations response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": {
                        /** @description Zero-based page index returned in this response. */
                        page?: number;
                        /** @description Maximum number of items returned on each page. */
                        pageSize?: number;
                        /** @description Total number of items across all pages. */
                        totalCount?: number;
                        /** @description Organizations in this page. */
                        organizations?: {
                            /**
                             * Format: uuid
                             * @description Organization ID.
                             */
                            id?: string;
                            /** @description Name of the organization. */
                            name?: string;
                            /** @description Description of the organization. */
                            description?: string;
                            /** @description Country of the organization. */
                            country?: string;
                            /** @description Region of the organization. */
                            region?: string;
                            /** @description Custom domain assigned to the organization, when configured. */
                            domain?: string;
                            /** @description Display name of the organization owner. */
                            owner?: string;
                            /** @description Free-form metadata associated with an organization, including preferences. */
                            metadata?: {
                                /** @description Organization-level user experience preferences. */
                                preferences: {
                                    /** @description UI theme configured for an organization. */
                                    theme: {
                                        /**
                                         * Format: uuid
                                         * @description Theme identifier.
                                         */
                                        id: string;
                                        /** @description Themed logo assets used across light and dark, desktop and mobile presentations. */
                                        logo: {
                                            /** @description Image asset anchored to a named location within an organization theme. */
                                            desktopView: {
                                                /** @description SVG markup for the asset. */
                                                svg: string;
                                                /** @description Named location of the asset (e.g. header, footer). */
                                                location: string;
                                            };
                                            /** @description Image asset anchored to a named location within an organization theme. */
                                            mobileView: {
                                                /** @description SVG markup for the asset. */
                                                svg: string;
                                                /** @description Named location of the asset (e.g. header, footer). */
                                                location: string;
                                            };
                                            /** @description Image asset anchored to a named location within an organization theme. */
                                            darkDesktopView: {
                                                /** @description SVG markup for the asset. */
                                                svg: string;
                                                /** @description Named location of the asset (e.g. header, footer). */
                                                location: string;
                                            };
                                            /** @description Image asset anchored to a named location within an organization theme. */
                                            darkMobileView: {
                                                /** @description SVG markup for the asset. */
                                                svg: string;
                                                /** @description Named location of the asset (e.g. header, footer). */
                                                location: string;
                                            };
                                        };
                                        /** @description Arbitrary theme variables keyed by name. */
                                        vars?: {
                                            [key: string]: unknown;
                                        };
                                    };
                                    /** @description Preferences specific to dashboard behavior. */
                                    dashboard: {
                                        [key: string]: unknown;
                                    };
                                    /** @description Optional per-organization branding overrides for the auth pages: carousel slides and FAQ entries. Stored as JSON inside organization.metadata.preferences, so no dedicated column backs it. Empty or omitted fields fall back to the platform defaults. */
                                    authBranding?: {
                                        /** @description Ordered slides rendered in the auth-page feature carousel. */
                                        carousel?: {
                                            /**
                                             * Format: uri
                                             * @description URL of the slide image asset.
                                             */
                                            imageUrl: string;
                                            /** @description Slide title. */
                                            title: string;
                                            /** @description Slide description text. */
                                            description: string;
                                        }[];
                                        /** @description FAQ entries rendered on the auth pages. */
                                        faqs?: {
                                            /** @description The question text. */
                                            question: string;
                                            /** @description The answer text. */
                                            answer: string;
                                        }[];
                                    };
                                    /** @description Per-organization overrides for the legal and support links shown on the auth pages and the error page. termsOfService and privacy are the named legal links; support is an open-ended set of named support contacts/links. Empty or omitted fields fall back to the platform defaults. */
                                    links?: {
                                        /**
                                         * Format: uri
                                         * @description URL of the organization's Terms of Service page.
                                         */
                                        termsOfService?: string;
                                        /**
                                         * Format: uri
                                         * @description URL of the organization's Privacy Policy page.
                                         */
                                        privacy?: string;
                                        /** @description Open-ended set of named support contacts/links rendered on the auth and error pages, keyed by display name with a value that is a URL, a mailto:/tel: link, or free text. For example a "slack" entry pointing at https://slack.meshery.io, a "discussion forum" entry, or a "support desk" entry holding a phone number. */
                                        support?: {
                                            [key: string]: string;
                                        };
                                    };
                                    /**
                                     * @description Whether the feature carousel renders on the organization's auth pages. Unset is treated as true (shown); set false to hide it.
                                     * @default true
                                     */
                                    showAuthCarousel: boolean;
                                };
                            };
                            /**
                             * Format: date-time
                             * @description Timestamp when the organization was created.
                             */
                            createdAt?: string;
                            /**
                             * Format: date-time
                             * @description Timestamp when the organization was last updated.
                             */
                            updatedAt?: string;
                            /**
                             * Format: date-time
                             * @description Timestamp when the organization was soft-deleted.
                             */
                            deletedAt?: string;
                        }[];
                    };
                };
            };
            /** @description No content */
            204: {
                headers: {
                    [name: string]: unknown;
                };
                content?: never;
            };
            /** @description Expired JWT token used or insufficient privilege */
            401: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Internal server error */
            500: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
        };
    };
    createOrg: {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /** @description Body for creating or updating an organization */
        requestBody: {
            content: {
                "application/json": {
                    /** @description Name of the organization. */
                    name?: string;
                    /** @description Country of the organization. */
                    country?: string;
                    /** @description Region of the organization. */
                    region?: string;
                    /** @description Description of the organization. */
                    description?: string;
                    /** @description Indicates whether organization members should be notified of this update. */
                    notifyOrgUpdate?: boolean;
                    /** @description Organization-level user experience preferences. */
                    preferences?: {
                        /** @description UI theme configured for an organization. */
                        theme: {
                            /**
                             * Format: uuid
                             * @description Theme identifier.
                             */
                            id: string;
                            /** @description Themed logo assets used across light and dark, desktop and mobile presentations. */
                            logo: {
                                /** @description Image asset anchored to a named location within an organization theme. */
                                desktopView: {
                                    /** @description SVG markup for the asset. */
                                    svg: string;
                                    /** @description Named location of the asset (e.g. header, footer). */
                                    location: string;
                                };
                                /** @description Image asset anchored to a named location within an organization theme. */
                                mobileView: {
                                    /** @description SVG markup for the asset. */
                                    svg: string;
                                    /** @description Named location of the asset (e.g. header, footer). */
                                    location: string;
                                };
                                /** @description Image asset anchored to a named location within an organization theme. */
                                darkDesktopView: {
                                    /** @description SVG markup for the asset. */
                                    svg: string;
                                    /** @description Named location of the asset (e.g. header, footer). */
                                    location: string;
                                };
                                /** @description Image asset anchored to a named location within an organization theme. */
                                darkMobileView: {
                                    /** @description SVG markup for the asset. */
                                    svg: string;
                                    /** @description Named location of the asset (e.g. header, footer). */
                                    location: string;
                                };
                            };
                            /** @description Arbitrary theme variables keyed by name. */
                            vars?: {
                                [key: string]: unknown;
                            };
                        };
                        /** @description Preferences specific to dashboard behavior. */
                        dashboard: {
                            [key: string]: unknown;
                        };
                        /** @description Optional per-organization branding overrides for the auth pages: carousel slides and FAQ entries. Stored as JSON inside organization.metadata.preferences, so no dedicated column backs it. Empty or omitted fields fall back to the platform defaults. */
                        authBranding?: {
                            /** @description Ordered slides rendered in the auth-page feature carousel. */
                            carousel?: {
                                /**
                                 * Format: uri
                                 * @description URL of the slide image asset.
                                 */
                                imageUrl: string;
                                /** @description Slide title. */
                                title: string;
                                /** @description Slide description text. */
                                description: string;
                            }[];
                            /** @description FAQ entries rendered on the auth pages. */
                            faqs?: {
                                /** @description The question text. */
                                question: string;
                                /** @description The answer text. */
                                answer: string;
                            }[];
                        };
                        /** @description Per-organization overrides for the legal and support links shown on the auth pages and the error page. termsOfService and privacy are the named legal links; support is an open-ended set of named support contacts/links. Empty or omitted fields fall back to the platform defaults. */
                        links?: {
                            /**
                             * Format: uri
                             * @description URL of the organization's Terms of Service page.
                             */
                            termsOfService?: string;
                            /**
                             * Format: uri
                             * @description URL of the organization's Privacy Policy page.
                             */
                            privacy?: string;
                            /** @description Open-ended set of named support contacts/links rendered on the auth and error pages, keyed by display name with a value that is a URL, a mailto:/tel: link, or free text. For example a "slack" entry pointing at https://slack.meshery.io, a "discussion forum" entry, or a "support desk" entry holding a phone number. */
                            support?: {
                                [key: string]: string;
                            };
                        };
                        /**
                         * @description Whether the feature carousel renders on the organization's auth pages. Unset is treated as true (shown); set false to hide it.
                         * @default true
                         */
                        showAuthCarousel?: boolean;
                    };
                };
            };
        };
        responses: {
            /** @description Single-organization page response */
            201: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": {
                        /** @description Zero-based page index returned in this response. */
                        page?: number;
                        /** @description Maximum number of items returned on each page. */
                        pageSize?: number;
                        /** @description Total number of items across all pages. */
                        totalCount?: number;
                        /** @description Organizations returned in this single-item page wrapper. */
                        organizations?: {
                            /**
                             * Format: uuid
                             * @description Organization ID.
                             */
                            id?: string;
                            /** @description Name of the organization. */
                            name?: string;
                            /** @description Description of the organization. */
                            description?: string;
                            /** @description Country of the organization. */
                            country?: string;
                            /** @description Region of the organization. */
                            region?: string;
                            /** @description Custom domain assigned to the organization, when configured. */
                            domain?: string;
                            /** @description Display name of the organization owner. */
                            owner?: string;
                            /** @description Free-form metadata associated with an organization, including preferences. */
                            metadata?: {
                                /** @description Organization-level user experience preferences. */
                                preferences: {
                                    /** @description UI theme configured for an organization. */
                                    theme: {
                                        /**
                                         * Format: uuid
                                         * @description Theme identifier.
                                         */
                                        id: string;
                                        /** @description Themed logo assets used across light and dark, desktop and mobile presentations. */
                                        logo: {
                                            /** @description Image asset anchored to a named location within an organization theme. */
                                            desktopView: {
                                                /** @description SVG markup for the asset. */
                                                svg: string;
                                                /** @description Named location of the asset (e.g. header, footer). */
                                                location: string;
                                            };
                                            /** @description Image asset anchored to a named location within an organization theme. */
                                            mobileView: {
                                                /** @description SVG markup for the asset. */
                                                svg: string;
                                                /** @description Named location of the asset (e.g. header, footer). */
                                                location: string;
                                            };
                                            /** @description Image asset anchored to a named location within an organization theme. */
                                            darkDesktopView: {
                                                /** @description SVG markup for the asset. */
                                                svg: string;
                                                /** @description Named location of the asset (e.g. header, footer). */
                                                location: string;
                                            };
                                            /** @description Image asset anchored to a named location within an organization theme. */
                                            darkMobileView: {
                                                /** @description SVG markup for the asset. */
                                                svg: string;
                                                /** @description Named location of the asset (e.g. header, footer). */
                                                location: string;
                                            };
                                        };
                                        /** @description Arbitrary theme variables keyed by name. */
                                        vars?: {
                                            [key: string]: unknown;
                                        };
                                    };
                                    /** @description Preferences specific to dashboard behavior. */
                                    dashboard: {
                                        [key: string]: unknown;
                                    };
                                    /** @description Optional per-organization branding overrides for the auth pages: carousel slides and FAQ entries. Stored as JSON inside organization.metadata.preferences, so no dedicated column backs it. Empty or omitted fields fall back to the platform defaults. */
                                    authBranding?: {
                                        /** @description Ordered slides rendered in the auth-page feature carousel. */
                                        carousel?: {
                                            /**
                                             * Format: uri
                                             * @description URL of the slide image asset.
                                             */
                                            imageUrl: string;
                                            /** @description Slide title. */
                                            title: string;
                                            /** @description Slide description text. */
                                            description: string;
                                        }[];
                                        /** @description FAQ entries rendered on the auth pages. */
                                        faqs?: {
                                            /** @description The question text. */
                                            question: string;
                                            /** @description The answer text. */
                                            answer: string;
                                        }[];
                                    };
                                    /** @description Per-organization overrides for the legal and support links shown on the auth pages and the error page. termsOfService and privacy are the named legal links; support is an open-ended set of named support contacts/links. Empty or omitted fields fall back to the platform defaults. */
                                    links?: {
                                        /**
                                         * Format: uri
                                         * @description URL of the organization's Terms of Service page.
                                         */
                                        termsOfService?: string;
                                        /**
                                         * Format: uri
                                         * @description URL of the organization's Privacy Policy page.
                                         */
                                        privacy?: string;
                                        /** @description Open-ended set of named support contacts/links rendered on the auth and error pages, keyed by display name with a value that is a URL, a mailto:/tel: link, or free text. For example a "slack" entry pointing at https://slack.meshery.io, a "discussion forum" entry, or a "support desk" entry holding a phone number. */
                                        support?: {
                                            [key: string]: string;
                                        };
                                    };
                                    /**
                                     * @description Whether the feature carousel renders on the organization's auth pages. Unset is treated as true (shown); set false to hide it.
                                     * @default true
                                     */
                                    showAuthCarousel: boolean;
                                };
                            };
                            /**
                             * Format: date-time
                             * @description Timestamp when the organization was created.
                             */
                            createdAt?: string;
                            /**
                             * Format: date-time
                             * @description Timestamp when the organization was last updated.
                             */
                            updatedAt?: string;
                            /**
                             * Format: date-time
                             * @description Timestamp when the organization was soft-deleted.
                             */
                            deletedAt?: string;
                        }[];
                    };
                };
            };
            /** @description Invalid request body or request param */
            400: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Expired JWT token used or insufficient privilege */
            401: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Forbidden */
            403: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Internal server error */
            500: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
        };
    };
    getOrgByDomain: {
        parameters: {
            query: {
                /** @description Domain name of the organization to look up. */
                domain: string;
            };
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Organization response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": {
                        /**
                         * Format: uuid
                         * @description Organization ID.
                         */
                        id: string;
                        /** @description Name of the organization. */
                        name: string;
                        /** @description Country of the organization. */
                        country: string;
                        /** @description Region of the organization. */
                        region: string;
                        /** @description Description of the organization. */
                        description: string;
                        /**
                         * Format: uuid
                         * @description Owner user ID of the organization.
                         */
                        owner: string;
                        /** @description Free-form metadata associated with the organization, including preferences. */
                        metadata: Record<string, never>;
                        /** @description Domain of the organization. */
                        domain?: string | null;
                        /**
                         * Format: date-time
                         * @description Timestamp when the organization was created.
                         */
                        createdAt: string;
                        /**
                         * Format: date-time
                         * @description Timestamp when the organization was last updated.
                         */
                        updatedAt: string;
                        /**
                         * Format: date-time
                         * @description Timestamp when the organization was soft-deleted. Null while the organization is active.
                         */
                        deletedAt?: string;
                    };
                };
            };
            /** @description Expired JWT token used or insufficient privilege */
            401: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Organization not found */
            404: {
                headers: {
                    [name: string]: unknown;
                };
                content?: never;
            };
            /** @description Internal server error */
            500: {
                headers: {
                    [name: string]: unknown;
                };
                content?: never;
            };
        };
    };
    getOrg: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                /** @description Organization ID. */
                orgId: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Single-organization page response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": {
                        /** @description Zero-based page index returned in this response. */
                        page?: number;
                        /** @description Maximum number of items returned on each page. */
                        pageSize?: number;
                        /** @description Total number of items across all pages. */
                        totalCount?: number;
                        /** @description Organizations returned in this single-item page wrapper. */
                        organizations?: {
                            /**
                             * Format: uuid
                             * @description Organization ID.
                             */
                            id?: string;
                            /** @description Name of the organization. */
                            name?: string;
                            /** @description Description of the organization. */
                            description?: string;
                            /** @description Country of the organization. */
                            country?: string;
                            /** @description Region of the organization. */
                            region?: string;
                            /** @description Custom domain assigned to the organization, when configured. */
                            domain?: string;
                            /** @description Display name of the organization owner. */
                            owner?: string;
                            /** @description Free-form metadata associated with an organization, including preferences. */
                            metadata?: {
                                /** @description Organization-level user experience preferences. */
                                preferences: {
                                    /** @description UI theme configured for an organization. */
                                    theme: {
                                        /**
                                         * Format: uuid
                                         * @description Theme identifier.
                                         */
                                        id: string;
                                        /** @description Themed logo assets used across light and dark, desktop and mobile presentations. */
                                        logo: {
                                            /** @description Image asset anchored to a named location within an organization theme. */
                                            desktopView: {
                                                /** @description SVG markup for the asset. */
                                                svg: string;
                                                /** @description Named location of the asset (e.g. header, footer). */
                                                location: string;
                                            };
                                            /** @description Image asset anchored to a named location within an organization theme. */
                                            mobileView: {
                                                /** @description SVG markup for the asset. */
                                                svg: string;
                                                /** @description Named location of the asset (e.g. header, footer). */
                                                location: string;
                                            };
                                            /** @description Image asset anchored to a named location within an organization theme. */
                                            darkDesktopView: {
                                                /** @description SVG markup for the asset. */
                                                svg: string;
                                                /** @description Named location of the asset (e.g. header, footer). */
                                                location: string;
                                            };
                                            /** @description Image asset anchored to a named location within an organization theme. */
                                            darkMobileView: {
                                                /** @description SVG markup for the asset. */
                                                svg: string;
                                                /** @description Named location of the asset (e.g. header, footer). */
                                                location: string;
                                            };
                                        };
                                        /** @description Arbitrary theme variables keyed by name. */
                                        vars?: {
                                            [key: string]: unknown;
                                        };
                                    };
                                    /** @description Preferences specific to dashboard behavior. */
                                    dashboard: {
                                        [key: string]: unknown;
                                    };
                                    /** @description Optional per-organization branding overrides for the auth pages: carousel slides and FAQ entries. Stored as JSON inside organization.metadata.preferences, so no dedicated column backs it. Empty or omitted fields fall back to the platform defaults. */
                                    authBranding?: {
                                        /** @description Ordered slides rendered in the auth-page feature carousel. */
                                        carousel?: {
                                            /**
                                             * Format: uri
                                             * @description URL of the slide image asset.
                                             */
                                            imageUrl: string;
                                            /** @description Slide title. */
                                            title: string;
                                            /** @description Slide description text. */
                                            description: string;
                                        }[];
                                        /** @description FAQ entries rendered on the auth pages. */
                                        faqs?: {
                                            /** @description The question text. */
                                            question: string;
                                            /** @description The answer text. */
                                            answer: string;
                                        }[];
                                    };
                                    /** @description Per-organization overrides for the legal and support links shown on the auth pages and the error page. termsOfService and privacy are the named legal links; support is an open-ended set of named support contacts/links. Empty or omitted fields fall back to the platform defaults. */
                                    links?: {
                                        /**
                                         * Format: uri
                                         * @description URL of the organization's Terms of Service page.
                                         */
                                        termsOfService?: string;
                                        /**
                                         * Format: uri
                                         * @description URL of the organization's Privacy Policy page.
                                         */
                                        privacy?: string;
                                        /** @description Open-ended set of named support contacts/links rendered on the auth and error pages, keyed by display name with a value that is a URL, a mailto:/tel: link, or free text. For example a "slack" entry pointing at https://slack.meshery.io, a "discussion forum" entry, or a "support desk" entry holding a phone number. */
                                        support?: {
                                            [key: string]: string;
                                        };
                                    };
                                    /**
                                     * @description Whether the feature carousel renders on the organization's auth pages. Unset is treated as true (shown); set false to hide it.
                                     * @default true
                                     */
                                    showAuthCarousel: boolean;
                                };
                            };
                            /**
                             * Format: date-time
                             * @description Timestamp when the organization was created.
                             */
                            createdAt?: string;
                            /**
                             * Format: date-time
                             * @description Timestamp when the organization was last updated.
                             */
                            updatedAt?: string;
                            /**
                             * Format: date-time
                             * @description Timestamp when the organization was soft-deleted.
                             */
                            deletedAt?: string;
                        }[];
                    };
                };
            };
            /** @description Expired JWT token used or insufficient privilege */
            401: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Forbidden */
            403: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Result not found */
            404: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Internal server error */
            500: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
        };
    };
    updateOrg: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                /** @description Organization ID. */
                orgId: string;
            };
            cookie?: never;
        };
        /** @description Body for creating or updating an organization */
        requestBody: {
            content: {
                "application/json": {
                    /** @description Name of the organization. */
                    name?: string;
                    /** @description Country of the organization. */
                    country?: string;
                    /** @description Region of the organization. */
                    region?: string;
                    /** @description Description of the organization. */
                    description?: string;
                    /** @description Indicates whether organization members should be notified of this update. */
                    notifyOrgUpdate?: boolean;
                    /** @description Organization-level user experience preferences. */
                    preferences?: {
                        /** @description UI theme configured for an organization. */
                        theme: {
                            /**
                             * Format: uuid
                             * @description Theme identifier.
                             */
                            id: string;
                            /** @description Themed logo assets used across light and dark, desktop and mobile presentations. */
                            logo: {
                                /** @description Image asset anchored to a named location within an organization theme. */
                                desktopView: {
                                    /** @description SVG markup for the asset. */
                                    svg: string;
                                    /** @description Named location of the asset (e.g. header, footer). */
                                    location: string;
                                };
                                /** @description Image asset anchored to a named location within an organization theme. */
                                mobileView: {
                                    /** @description SVG markup for the asset. */
                                    svg: string;
                                    /** @description Named location of the asset (e.g. header, footer). */
                                    location: string;
                                };
                                /** @description Image asset anchored to a named location within an organization theme. */
                                darkDesktopView: {
                                    /** @description SVG markup for the asset. */
                                    svg: string;
                                    /** @description Named location of the asset (e.g. header, footer). */
                                    location: string;
                                };
                                /** @description Image asset anchored to a named location within an organization theme. */
                                darkMobileView: {
                                    /** @description SVG markup for the asset. */
                                    svg: string;
                                    /** @description Named location of the asset (e.g. header, footer). */
                                    location: string;
                                };
                            };
                            /** @description Arbitrary theme variables keyed by name. */
                            vars?: {
                                [key: string]: unknown;
                            };
                        };
                        /** @description Preferences specific to dashboard behavior. */
                        dashboard: {
                            [key: string]: unknown;
                        };
                        /** @description Optional per-organization branding overrides for the auth pages: carousel slides and FAQ entries. Stored as JSON inside organization.metadata.preferences, so no dedicated column backs it. Empty or omitted fields fall back to the platform defaults. */
                        authBranding?: {
                            /** @description Ordered slides rendered in the auth-page feature carousel. */
                            carousel?: {
                                /**
                                 * Format: uri
                                 * @description URL of the slide image asset.
                                 */
                                imageUrl: string;
                                /** @description Slide title. */
                                title: string;
                                /** @description Slide description text. */
                                description: string;
                            }[];
                            /** @description FAQ entries rendered on the auth pages. */
                            faqs?: {
                                /** @description The question text. */
                                question: string;
                                /** @description The answer text. */
                                answer: string;
                            }[];
                        };
                        /** @description Per-organization overrides for the legal and support links shown on the auth pages and the error page. termsOfService and privacy are the named legal links; support is an open-ended set of named support contacts/links. Empty or omitted fields fall back to the platform defaults. */
                        links?: {
                            /**
                             * Format: uri
                             * @description URL of the organization's Terms of Service page.
                             */
                            termsOfService?: string;
                            /**
                             * Format: uri
                             * @description URL of the organization's Privacy Policy page.
                             */
                            privacy?: string;
                            /** @description Open-ended set of named support contacts/links rendered on the auth and error pages, keyed by display name with a value that is a URL, a mailto:/tel: link, or free text. For example a "slack" entry pointing at https://slack.meshery.io, a "discussion forum" entry, or a "support desk" entry holding a phone number. */
                            support?: {
                                [key: string]: string;
                            };
                        };
                        /**
                         * @description Whether the feature carousel renders on the organization's auth pages. Unset is treated as true (shown); set false to hide it.
                         * @default true
                         */
                        showAuthCarousel?: boolean;
                    };
                };
            };
        };
        responses: {
            /** @description Single-organization page response for the updated organization */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": {
                        /** @description Zero-based page index returned in this response. */
                        page?: number;
                        /** @description Maximum number of items returned on each page. */
                        pageSize?: number;
                        /** @description Total number of items across all pages. */
                        totalCount?: number;
                        /** @description Organizations returned in this single-item page wrapper. */
                        organizations?: {
                            /**
                             * Format: uuid
                             * @description Organization ID.
                             */
                            id?: string;
                            /** @description Name of the organization. */
                            name?: string;
                            /** @description Description of the organization. */
                            description?: string;
                            /** @description Country of the organization. */
                            country?: string;
                            /** @description Region of the organization. */
                            region?: string;
                            /** @description Custom domain assigned to the organization, when configured. */
                            domain?: string;
                            /** @description Display name of the organization owner. */
                            owner?: string;
                            /** @description Free-form metadata associated with an organization, including preferences. */
                            metadata?: {
                                /** @description Organization-level user experience preferences. */
                                preferences: {
                                    /** @description UI theme configured for an organization. */
                                    theme: {
                                        /**
                                         * Format: uuid
                                         * @description Theme identifier.
                                         */
                                        id: string;
                                        /** @description Themed logo assets used across light and dark, desktop and mobile presentations. */
                                        logo: {
                                            /** @description Image asset anchored to a named location within an organization theme. */
                                            desktopView: {
                                                /** @description SVG markup for the asset. */
                                                svg: string;
                                                /** @description Named location of the asset (e.g. header, footer). */
                                                location: string;
                                            };
                                            /** @description Image asset anchored to a named location within an organization theme. */
                                            mobileView: {
                                                /** @description SVG markup for the asset. */
                                                svg: string;
                                                /** @description Named location of the asset (e.g. header, footer). */
                                                location: string;
                                            };
                                            /** @description Image asset anchored to a named location within an organization theme. */
                                            darkDesktopView: {
                                                /** @description SVG markup for the asset. */
                                                svg: string;
                                                /** @description Named location of the asset (e.g. header, footer). */
                                                location: string;
                                            };
                                            /** @description Image asset anchored to a named location within an organization theme. */
                                            darkMobileView: {
                                                /** @description SVG markup for the asset. */
                                                svg: string;
                                                /** @description Named location of the asset (e.g. header, footer). */
                                                location: string;
                                            };
                                        };
                                        /** @description Arbitrary theme variables keyed by name. */
                                        vars?: {
                                            [key: string]: unknown;
                                        };
                                    };
                                    /** @description Preferences specific to dashboard behavior. */
                                    dashboard: {
                                        [key: string]: unknown;
                                    };
                                    /** @description Optional per-organization branding overrides for the auth pages: carousel slides and FAQ entries. Stored as JSON inside organization.metadata.preferences, so no dedicated column backs it. Empty or omitted fields fall back to the platform defaults. */
                                    authBranding?: {
                                        /** @description Ordered slides rendered in the auth-page feature carousel. */
                                        carousel?: {
                                            /**
                                             * Format: uri
                                             * @description URL of the slide image asset.
                                             */
                                            imageUrl: string;
                                            /** @description Slide title. */
                                            title: string;
                                            /** @description Slide description text. */
                                            description: string;
                                        }[];
                                        /** @description FAQ entries rendered on the auth pages. */
                                        faqs?: {
                                            /** @description The question text. */
                                            question: string;
                                            /** @description The answer text. */
                                            answer: string;
                                        }[];
                                    };
                                    /** @description Per-organization overrides for the legal and support links shown on the auth pages and the error page. termsOfService and privacy are the named legal links; support is an open-ended set of named support contacts/links. Empty or omitted fields fall back to the platform defaults. */
                                    links?: {
                                        /**
                                         * Format: uri
                                         * @description URL of the organization's Terms of Service page.
                                         */
                                        termsOfService?: string;
                                        /**
                                         * Format: uri
                                         * @description URL of the organization's Privacy Policy page.
                                         */
                                        privacy?: string;
                                        /** @description Open-ended set of named support contacts/links rendered on the auth and error pages, keyed by display name with a value that is a URL, a mailto:/tel: link, or free text. For example a "slack" entry pointing at https://slack.meshery.io, a "discussion forum" entry, or a "support desk" entry holding a phone number. */
                                        support?: {
                                            [key: string]: string;
                                        };
                                    };
                                    /**
                                     * @description Whether the feature carousel renders on the organization's auth pages. Unset is treated as true (shown); set false to hide it.
                                     * @default true
                                     */
                                    showAuthCarousel: boolean;
                                };
                            };
                            /**
                             * Format: date-time
                             * @description Timestamp when the organization was created.
                             */
                            createdAt?: string;
                            /**
                             * Format: date-time
                             * @description Timestamp when the organization was last updated.
                             */
                            updatedAt?: string;
                            /**
                             * Format: date-time
                             * @description Timestamp when the organization was soft-deleted.
                             */
                            deletedAt?: string;
                        }[];
                    };
                };
            };
            /** @description Invalid request body or request param */
            400: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Expired JWT token used or insufficient privilege */
            401: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Forbidden */
            403: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Result not found */
            404: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Internal server error */
            500: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
        };
    };
    deleteOrg: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                /** @description Organization ID. */
                orgId: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Organization deleted */
            204: {
                headers: {
                    [name: string]: unknown;
                };
                content?: never;
            };
            /** @description Invalid request body or request param */
            400: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Expired JWT token used or insufficient privilege */
            401: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Forbidden */
            403: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Result not found */
            404: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Internal server error */
            500: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
        };
    };
    getOrgPreferences: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                /** @description Organization ID. */
                orgId: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Organization metadata, including preferences */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": {
                        /** @description Organization-level user experience preferences. */
                        preferences: {
                            /** @description UI theme configured for an organization. */
                            theme: {
                                /**
                                 * Format: uuid
                                 * @description Theme identifier.
                                 */
                                id: string;
                                /** @description Themed logo assets used across light and dark, desktop and mobile presentations. */
                                logo: {
                                    /** @description Image asset anchored to a named location within an organization theme. */
                                    desktopView: {
                                        /** @description SVG markup for the asset. */
                                        svg: string;
                                        /** @description Named location of the asset (e.g. header, footer). */
                                        location: string;
                                    };
                                    /** @description Image asset anchored to a named location within an organization theme. */
                                    mobileView: {
                                        /** @description SVG markup for the asset. */
                                        svg: string;
                                        /** @description Named location of the asset (e.g. header, footer). */
                                        location: string;
                                    };
                                    /** @description Image asset anchored to a named location within an organization theme. */
                                    darkDesktopView: {
                                        /** @description SVG markup for the asset. */
                                        svg: string;
                                        /** @description Named location of the asset (e.g. header, footer). */
                                        location: string;
                                    };
                                    /** @description Image asset anchored to a named location within an organization theme. */
                                    darkMobileView: {
                                        /** @description SVG markup for the asset. */
                                        svg: string;
                                        /** @description Named location of the asset (e.g. header, footer). */
                                        location: string;
                                    };
                                };
                                /** @description Arbitrary theme variables keyed by name. */
                                vars?: {
                                    [key: string]: unknown;
                                };
                            };
                            /** @description Preferences specific to dashboard behavior. */
                            dashboard: {
                                [key: string]: unknown;
                            };
                            /** @description Optional per-organization branding overrides for the auth pages: carousel slides and FAQ entries. Stored as JSON inside organization.metadata.preferences, so no dedicated column backs it. Empty or omitted fields fall back to the platform defaults. */
                            authBranding?: {
                                /** @description Ordered slides rendered in the auth-page feature carousel. */
                                carousel?: {
                                    /**
                                     * Format: uri
                                     * @description URL of the slide image asset.
                                     */
                                    imageUrl: string;
                                    /** @description Slide title. */
                                    title: string;
                                    /** @description Slide description text. */
                                    description: string;
                                }[];
                                /** @description FAQ entries rendered on the auth pages. */
                                faqs?: {
                                    /** @description The question text. */
                                    question: string;
                                    /** @description The answer text. */
                                    answer: string;
                                }[];
                            };
                            /** @description Per-organization overrides for the legal and support links shown on the auth pages and the error page. termsOfService and privacy are the named legal links; support is an open-ended set of named support contacts/links. Empty or omitted fields fall back to the platform defaults. */
                            links?: {
                                /**
                                 * Format: uri
                                 * @description URL of the organization's Terms of Service page.
                                 */
                                termsOfService?: string;
                                /**
                                 * Format: uri
                                 * @description URL of the organization's Privacy Policy page.
                                 */
                                privacy?: string;
                                /** @description Open-ended set of named support contacts/links rendered on the auth and error pages, keyed by display name with a value that is a URL, a mailto:/tel: link, or free text. For example a "slack" entry pointing at https://slack.meshery.io, a "discussion forum" entry, or a "support desk" entry holding a phone number. */
                                support?: {
                                    [key: string]: string;
                                };
                            };
                            /**
                             * @description Whether the feature carousel renders on the organization's auth pages. Unset is treated as true (shown); set false to hide it.
                             * @default true
                             */
                            showAuthCarousel: boolean;
                        };
                    };
                };
            };
            /** @description Expired JWT token used or insufficient privilege */
            401: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Forbidden */
            403: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Result not found */
            404: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Internal server error */
            500: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
        };
    };
    addTeamToOrg: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                /** @description Organization ID. */
                orgId: string;
                /** @description Team ID. */
                teamId: string;
            };
            cookie?: never;
        };
        requestBody?: {
            content: {
                "application/json": {
                    /**
                     * @description Internal action to perform on the team resource.
                     * @enum {string}
                     */
                    action?: "delete";
                };
            };
        };
        responses: {
            /** @description Team added to organization or team tombstoned */
            201: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": {
                        /** @description Zero-based page index returned in this response. */
                        page?: number;
                        /** @description Maximum number of items returned on each page. */
                        pageSize?: number;
                        /** @description Total number of items across all pages. */
                        totalCount?: number;
                        /** @description Team-organization mapping entries. */
                        teamsOrganizationsMapping?: {
                            /**
                             * Format: uuid
                             * @description Mapping record ID.
                             */
                            id?: string;
                            /**
                             * Format: uuid
                             * @description Organization ID for this mapping.
                             */
                            orgId?: string;
                            /**
                             * Format: uuid
                             * @description Team ID for this mapping.
                             */
                            teamId?: string;
                            /**
                             * Format: date-time
                             * @description Timestamp when the mapping was created.
                             */
                            createdAt?: string;
                            /**
                             * Format: date-time
                             * @description Timestamp when the mapping was last updated.
                             */
                            updatedAt?: string;
                            /**
                             * Format: date-time
                             * @description Timestamp when the mapping was soft-deleted.
                             */
                            deletedAt?: string;
                        }[];
                    } | {
                        /** @description Zero-based page index returned in this response. */
                        page?: number;
                        /** @description Maximum number of items returned on each page. */
                        pageSize?: number;
                        /** @description Total number of items across all pages. */
                        totalCount?: number;
                        /** @description Teams in this page. */
                        teams?: {
                            /**
                             * Format: uuid
                             * @description Team ID.
                             */
                            id?: string;
                            /** @description Name of the team. */
                            name?: string;
                            /** @description Description of the team. */
                            description?: string;
                            /** @description Display name of the team owner. */
                            owner?: string;
                            /** @description Free-form team metadata. */
                            metadata?: {
                                [key: string]: string;
                            };
                            /**
                             * Format: date-time
                             * @description Timestamp when the team was created.
                             */
                            createdAt?: string;
                            /**
                             * Format: date-time
                             * @description Timestamp when the team was last updated.
                             */
                            updatedAt?: string;
                            /**
                             * Format: date-time
                             * @description Timestamp when the team was soft-deleted.
                             */
                            deletedAt?: string;
                        }[];
                    };
                };
            };
            /** @description Bad request */
            400: {
                headers: {
                    [name: string]: unknown;
                };
                content?: never;
            };
            /** @description Unauthorized */
            401: {
                headers: {
                    [name: string]: unknown;
                };
                content?: never;
            };
            /** @description Forbidden */
            403: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Not found */
            404: {
                headers: {
                    [name: string]: unknown;
                };
                content?: never;
            };
            /** @description Internal server error */
            500: {
                headers: {
                    [name: string]: unknown;
                };
                content?: never;
            };
        };
    };
    removeTeamFromOrg: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                /** @description Organization ID. */
                orgId: string;
                /** @description Team ID. */
                teamId: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Team removed from organization */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": {
                        /** @description Zero-based page index returned in this response. */
                        page?: number;
                        /** @description Maximum number of items returned on each page. */
                        pageSize?: number;
                        /** @description Total number of items across all pages. */
                        totalCount?: number;
                        /** @description Team-organization mapping entries. */
                        teamsOrganizationsMapping?: {
                            /**
                             * Format: uuid
                             * @description Mapping record ID.
                             */
                            id?: string;
                            /**
                             * Format: uuid
                             * @description Organization ID for this mapping.
                             */
                            orgId?: string;
                            /**
                             * Format: uuid
                             * @description Team ID for this mapping.
                             */
                            teamId?: string;
                            /**
                             * Format: date-time
                             * @description Timestamp when the mapping was created.
                             */
                            createdAt?: string;
                            /**
                             * Format: date-time
                             * @description Timestamp when the mapping was last updated.
                             */
                            updatedAt?: string;
                            /**
                             * Format: date-time
                             * @description Timestamp when the mapping was soft-deleted.
                             */
                            deletedAt?: string;
                        }[];
                    };
                };
            };
            /** @description Bad request */
            400: {
                headers: {
                    [name: string]: unknown;
                };
                content?: never;
            };
            /** @description Unauthorized */
            401: {
                headers: {
                    [name: string]: unknown;
                };
                content?: never;
            };
            /** @description Forbidden */
            403: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Not found */
            404: {
                headers: {
                    [name: string]: unknown;
                };
                content?: never;
            };
            /** @description Internal server error */
            500: {
                headers: {
                    [name: string]: unknown;
                };
                content?: never;
            };
        };
    };
    addUserToOrg: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                /** @description Organization ID. */
                orgId: string;
                /** @description User ID. */
                userId: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description User added to organization */
            201: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": {
                        [key: string]: unknown;
                    };
                };
            };
            /** @description Invalid request body or request param */
            400: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Unauthorized */
            401: {
                headers: {
                    [name: string]: unknown;
                };
                content?: never;
            };
            /** @description Forbidden */
            403: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Result not found */
            404: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Internal server error */
            500: {
                headers: {
                    [name: string]: unknown;
                };
                content?: never;
            };
        };
    };
    deleteUserFromOrg: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                /** @description Organization ID. */
                orgId: string;
                /** @description User ID. */
                userId: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description User removed from organization */
            204: {
                headers: {
                    [name: string]: unknown;
                };
                content?: never;
            };
            /** @description Unauthorized */
            401: {
                headers: {
                    [name: string]: unknown;
                };
                content?: never;
            };
            /** @description Forbidden */
            403: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Result not found */
            404: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Internal server error */
            500: {
                headers: {
                    [name: string]: unknown;
                };
                content?: never;
            };
        };
    };
}
