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

export interface paths {
    "/api/users": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * Get public users
         * @description Returns the publicly viewable user directory. Records are reduced to the PublicUser projection (username and avatar); personally identifying fields such as email and real names are never served on this unauthenticated path.
         */
        get: operations["getUsers"];
        put?: never;
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/identity/users/search": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * Search users
         * @description Searches user accounts by name, username, or email and returns the SearchableUser collaboration projection. Serves authenticated people-picker flows such as sharing a design with other users. A blank search returns an empty page.
         */
        get: operations["searchUsers"];
        put?: never;
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/identity/orgs/{orgId}/users/search": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * Search users within an organization scope
         * @description Searches user accounts on behalf of an organization context and returns the SearchableUser collaboration projection. A blank search returns an empty page.
         */
        get: operations["searchUsersInOrg"];
        put?: never;
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
}
export type webhooks = Record<string, never>;
export interface components {
    schemas: {
        /** @description Represents a user */
        User: {
            /**
             * Format: uuid
             * @description Unique identifier for the user
             */
            id: string;
            /**
             * @description Authentication provider (e.g., Google, Github)
             * @example [
             *       "local",
             *       "github",
             *       "google",
             *       "twitter"
             *     ]
             */
            provider: string;
            /**
             * Format: email
             * @description User's email address
             */
            email: string;
            /** @description User's first name */
            firstName: string;
            /** @description User's last name */
            lastName: string;
            /**
             * Format: uri
             * @description URL to user's avatar image
             */
            avatarUrl?: string;
            /**
             * @description User account status
             * @enum {string}
             */
            status: "active" | "inactive" | "pending" | "anonymous";
            /**
             * @description User's biography or description
             * @default
             */
            bio: string;
            /** @description User's country information stored as JSONB */
            country?: {
                [key: string]: unknown;
            };
            /** @description User's region information stored as JSONB */
            region?: {
                [key: string]: unknown;
            };
            /** @description User preferences stored as JSONB */
            preferences?: {
                /** @description The mesh adapters of the preference. */
                meshAdapters?: Record<string, never>[];
                grafana?: {
                    /** @description Grafana URL for the user configuration. */
                    grafanaUrl?: string;
                    /** @description Grafana API key for the user configuration. */
                    grafanaApiKey?: string;
                    /** @description Selected Grafana board configurations for the user. */
                    selectedBoardsConfigs?: {
                        /** @description Placeholder for GrafanaBoard definition (define fields as needed) */
                        board?: Record<string, never>;
                        /** @description Panels selected for the Grafana board configuration. */
                        panels?: Record<string, never>[];
                        /** @description Template variables applied to the selected Grafana board configuration. */
                        templateVars?: string[];
                    }[];
                };
                prometheus?: {
                    /** @description The prometheus URL of the prometheus. */
                    prometheusUrl?: string;
                    /** @description The selected prometheus boards configs of the prometheus. */
                    selectedPrometheusBoardsConfigs?: {
                        /** @description Placeholder for GrafanaBoard definition (define fields as needed) */
                        board?: Record<string, never>;
                        /** @description Panels selected for the Grafana board configuration. */
                        panels?: Record<string, never>[];
                        /** @description Template variables applied to the selected Grafana board configuration. */
                        templateVars?: string[];
                    }[];
                };
                loadTestPrefs?: {
                    /** @description Concurrent requests */
                    c?: number;
                    /** @description Queries per second */
                    qps?: number;
                    /** @description Duration */
                    t?: string;
                    /** @description Load generator */
                    gen?: string;
                };
                /** @description The anonymous usage stats of the preference. */
                anonymousUsageStats: boolean;
                /** @description The anonymous perf results of the preference. */
                anonymousPerfResults: boolean;
                /**
                 * Format: date-time
                 * @description Timestamp of when the resource was last updated.
                 */
                updatedAt: string;
                /** @description The dashboard preferences of the preference. */
                dashboardPreferences: {
                    [key: string]: unknown;
                };
                /**
                 * Format: uuid
                 * @description ID of the associated selectedOrganization.
                 */
                selectedOrganizationId: string;
                /** @description The selected workspace for organizations of the preference. */
                selectedWorkspaceForOrganizations: {
                    [key: string]: string;
                };
                /** @description The users extension preferences of the preference. */
                usersExtensionPreferences: {
                    [key: string]: unknown;
                };
                /** @description The remote provider preferences of the preference. */
                remoteProviderPreferences: {
                    [key: string]: unknown;
                };
            };
            /**
             * Format: date-time
             * @description Timestamp when user accepted terms and conditions
             */
            acceptedTermsAt?: string;
            /**
             * Format: date-time
             * @description Timestamp of user's first login
             */
            firstLoginTime?: string;
            /**
             * Format: date-time
             * @description Timestamp of user's most recent login
             */
            lastLoginTime: string;
            /**
             * Format: date-time
             * @description Timestamp when the user record was created
             */
            createdAt: string;
            /**
             * Format: date-time
             * @description Timestamp when the user record was last updated
             */
            updatedAt: string;
            /** @description Various online profiles associated with the user account */
            socials?: {
                /** @description The site of the social. */
                site: string;
                /**
                 * Format: uri
                 * @description The link of the social.
                 */
                link: string;
            }[];
            /**
             * Format: date-time
             * @description Timestamp when the user record was soft-deleted (null if not deleted)
             */
            deletedAt: string | null;
            /**
             * @description Names of the global roles assigned to the user. Free-form, user-generated values sourced from the roles table (role_name is a varchar, not a fixed enumeration); the seeded system roles such as "admin", "organization admin" and "user" are a subset, not the whole set.
             * @example [
             *       "organization admin",
             *       "user"
             *     ]
             */
            roleNames?: string[];
            /** @description Teams the user belongs to with role information */
            teams?: {
                /** @description Team memberships for the user with their assigned roles. */
                teamsWithRoles?: {
                    /**
                     * Format: uuid
                     * @description Unique identifier of the team.
                     */
                    id: string;
                    /** @description Name of the team. */
                    name: string;
                    /** @description Human readable description of the team. */
                    description?: string;
                    /**
                     * Format: uuid
                     * @description Identifier of the team owner.
                     */
                    owner?: string;
                    /** @description Free-form metadata associated with the team. */
                    metadata?: {
                        [key: string]: unknown;
                    };
                    /**
                     * 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 (null if not deleted).
                     */
                    deletedAt?: string | null;
                    /** @description Names of the roles assigned to the user within this team. Free-form, user-generated role names; not a fixed enumeration. */
                    roleNames: string[];
                }[];
                /** @description Total number of team memberships returned for the user. */
                totalCount?: number;
            };
            /** @description Organizations the user belongs to with role information */
            organizations?: {
                /** @description Organization memberships for the user with their assigned roles. */
                organizationsWithRoles?: {
                    /**
                     * Format: uuid
                     * @description Unique identifier of the organization.
                     */
                    id: string;
                    /** @description Name of the organization. */
                    name: string;
                    /** @description Human readable description of the organization. */
                    description?: string;
                    /** @description Country associated with the organization. */
                    country?: string;
                    /** @description Region associated with the organization. */
                    region?: string;
                    /**
                     * Format: uuid
                     * @description Identifier of the organization owner.
                     */
                    owner?: string;
                    /**
                     * 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 if not deleted).
                     */
                    deletedAt?: string | null;
                    /** @description Names of the roles assigned to the user within this organization. Free-form, user-generated role names; not a fixed enumeration. */
                    roleNames: string[];
                }[];
                /** @description Total number of organization memberships returned for the user. */
                totalCount?: number;
            };
        };
        /** @description Publicly viewable projection of User served by the unauthenticated public users directory. Deliberately excludes email, real names, and every other personally identifying or account-internal field. */
        PublicUser: {
            /**
             * Format: uuid
             * @description Unique identifier for the user
             */
            id: string;
            /**
             * Format: uuid
             * @deprecated
             * @description Deprecated duplicate of id kept for consumers that predate the retirement of the legacy user_id column; always equals id.
             */
            userId?: string;
            /** @description Public username of the user */
            username?: string;
            /**
             * Format: uri
             * @description URL to user's avatar image
             */
            avatarUrl?: string;
        };
        /** @description Paginated list of publicly viewable user records */
        PublicUsersPage: {
            /** @description Current page number of the result set. */
            page: number;
            /** @description Number of items per page. */
            pageSize: number;
            /** @description Total number of items available. */
            totalCount: number;
            /** @description Public user records for the requested page. */
            data: {
                /**
                 * Format: uuid
                 * @description Unique identifier for the user
                 */
                id: string;
                /**
                 * Format: uuid
                 * @deprecated
                 * @description Deprecated duplicate of id kept for consumers that predate the retirement of the legacy user_id column; always equals id.
                 */
                userId?: string;
                /** @description Public username of the user */
                username?: string;
                /**
                 * Format: uri
                 * @description URL to user's avatar image
                 */
                avatarUrl?: string;
            }[];
        };
        /** @description Minimal collaboration projection of User served by the authenticated user-search endpoints (people-picker flows such as sharing a design). Carries just enough to identify and display a person - name, username, email, avatar - and deliberately excludes roles, organization and team membership, preferences, and login metadata. */
        SearchableUser: {
            /**
             * Format: uuid
             * @description Unique identifier for the user
             */
            id: string;
            /**
             * Format: uuid
             * @deprecated
             * @description Deprecated duplicate of id kept for consumers that predate the retirement of the legacy user_id column; always equals id.
             */
            userId?: string;
            /** @description Public username of the user */
            username?: string;
            /** @description User's first name */
            firstName?: string;
            /** @description User's last name */
            lastName?: string;
            /**
             * Format: email
             * @description User's email address
             */
            email?: string;
            /**
             * Format: uri
             * @description URL to user's avatar image
             */
            avatarUrl?: string;
            /**
             * Format: date-time
             * @description Timestamp when the user record was soft-deleted (null if not deleted)
             */
            deletedAt?: string | null;
        };
        /** @description Paginated list of users in the searchable collaboration projection */
        SearchableUsersPage: {
            /** @description Current page number of the result set. */
            page: number;
            /** @description Number of items per page. */
            pageSize: number;
            /** @description Total number of items available. */
            totalCount: number;
            /** @description Matching user records for the requested page. */
            data: {
                /**
                 * Format: uuid
                 * @description Unique identifier for the user
                 */
                id: string;
                /**
                 * Format: uuid
                 * @deprecated
                 * @description Deprecated duplicate of id kept for consumers that predate the retirement of the legacy user_id column; always equals id.
                 */
                userId?: string;
                /** @description Public username of the user */
                username?: string;
                /** @description User's first name */
                firstName?: string;
                /** @description User's last name */
                lastName?: string;
                /**
                 * Format: email
                 * @description User's email address
                 */
                email?: string;
                /**
                 * Format: uri
                 * @description URL to user's avatar image
                 */
                avatarUrl?: string;
                /**
                 * Format: date-time
                 * @description Timestamp when the user record was soft-deleted (null if not deleted)
                 */
                deletedAt?: string | null;
            }[];
        };
        /** @description One email address associated with a user account. A user has exactly one primary address (mirrored in users.email) and any number of secondary addresses accumulated from account consolidation or explicit addition. Uniqueness across live addresses is enforced case-insensitively. */
        UserEmailAddress: {
            /**
             * Format: uuid
             * @description Unique identifier for this email-address record
             */
            id: string;
            /**
             * Format: uuid
             * @description The user (users.id) this address belongs to
             */
            userId: string;
            /**
             * Format: email
             * @description The email address
             */
            email: string;
            /**
             * @description Whether the address was verified (per Kratos verifiable addresses) at record time
             * @default false
             */
            verified: boolean;
            /**
             * @description Exactly one live primary address per user; mirrors users.email
             * @default false
             */
            isPrimary: boolean;
            /**
             * @description How this address became associated with the account
             * @enum {string}
             */
            source: "signup" | "consolidation" | "backfill" | "manual";
            /** Format: date-time */
            createdAt: string;
            /** Format: date-time */
            updatedAt: string;
            /**
             * Format: date-time
             * @description SQL null Timestamp to handle null values of time.
             */
            deletedAt?: string | null;
        };
        /** @description An organization the user is a member of, together with the names of the roles assigned to that user within the organization. Returned as an item of User.organizations.organizationsWithRoles. The role names are dynamic, user-generated values (no fixed enumeration). */
        OrganizationWithRoles: {
            /**
             * Format: uuid
             * @description Unique identifier of the organization.
             */
            id: string;
            /** @description Name of the organization. */
            name: string;
            /** @description Human readable description of the organization. */
            description?: string;
            /** @description Country associated with the organization. */
            country?: string;
            /** @description Region associated with the organization. */
            region?: string;
            /**
             * Format: uuid
             * @description Identifier of the organization owner.
             */
            owner?: string;
            /**
             * 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 if not deleted).
             */
            deletedAt?: string | null;
            /** @description Names of the roles assigned to the user within this organization. Free-form, user-generated role names; not a fixed enumeration. */
            roleNames: string[];
        };
        /** @description A team the user is a member of, together with the names of the roles assigned to that user within the team. Returned as an item of User.teams.teamsWithRoles. The role names are dynamic, user-generated values (no fixed enumeration). */
        TeamWithRoles: {
            /**
             * Format: uuid
             * @description Unique identifier of the team.
             */
            id: string;
            /** @description Name of the team. */
            name: string;
            /** @description Human readable description of the team. */
            description?: string;
            /**
             * Format: uuid
             * @description Identifier of the team owner.
             */
            owner?: string;
            /** @description Free-form metadata associated with the team. */
            metadata?: {
                [key: string]: unknown;
            };
            /**
             * 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 (null if not deleted).
             */
            deletedAt?: string | null;
            /** @description Names of the roles assigned to the user within this team. Free-form, user-generated role names; not a fixed enumeration. */
            roleNames: string[];
        };
        Preference: {
            /** @description The mesh adapters of the preference. */
            meshAdapters?: Record<string, never>[];
            grafana?: {
                /** @description Grafana URL for the user configuration. */
                grafanaUrl?: string;
                /** @description Grafana API key for the user configuration. */
                grafanaApiKey?: string;
                /** @description Selected Grafana board configurations for the user. */
                selectedBoardsConfigs?: {
                    /** @description Placeholder for GrafanaBoard definition (define fields as needed) */
                    board?: Record<string, never>;
                    /** @description Panels selected for the Grafana board configuration. */
                    panels?: Record<string, never>[];
                    /** @description Template variables applied to the selected Grafana board configuration. */
                    templateVars?: string[];
                }[];
            };
            prometheus?: {
                /** @description The prometheus URL of the prometheus. */
                prometheusUrl?: string;
                /** @description The selected prometheus boards configs of the prometheus. */
                selectedPrometheusBoardsConfigs?: {
                    /** @description Placeholder for GrafanaBoard definition (define fields as needed) */
                    board?: Record<string, never>;
                    /** @description Panels selected for the Grafana board configuration. */
                    panels?: Record<string, never>[];
                    /** @description Template variables applied to the selected Grafana board configuration. */
                    templateVars?: string[];
                }[];
            };
            loadTestPrefs?: {
                /** @description Concurrent requests */
                c?: number;
                /** @description Queries per second */
                qps?: number;
                /** @description Duration */
                t?: string;
                /** @description Load generator */
                gen?: string;
            };
            /** @description The anonymous usage stats of the preference. */
            anonymousUsageStats: boolean;
            /** @description The anonymous perf results of the preference. */
            anonymousPerfResults: boolean;
            /**
             * Format: date-time
             * @description Timestamp of when the resource was last updated.
             */
            updatedAt: string;
            /** @description The dashboard preferences of the preference. */
            dashboardPreferences: {
                [key: string]: unknown;
            };
            /**
             * Format: uuid
             * @description ID of the associated selectedOrganization.
             */
            selectedOrganizationId: string;
            /** @description The selected workspace for organizations of the preference. */
            selectedWorkspaceForOrganizations: {
                [key: string]: string;
            };
            /** @description The users extension preferences of the preference. */
            usersExtensionPreferences: {
                [key: string]: unknown;
            };
            /** @description The remote provider preferences of the preference. */
            remoteProviderPreferences: {
                [key: string]: unknown;
            };
        };
        /** @description Placeholder for Adapter struct definition. */
        Adapter: Record<string, never>;
        Grafana: {
            /** @description Grafana URL for the user configuration. */
            grafanaUrl?: string;
            /** @description Grafana API key for the user configuration. */
            grafanaApiKey?: string;
            /** @description Selected Grafana board configurations for the user. */
            selectedBoardsConfigs?: {
                /** @description Placeholder for GrafanaBoard definition (define fields as needed) */
                board?: Record<string, never>;
                /** @description Panels selected for the Grafana board configuration. */
                panels?: Record<string, never>[];
                /** @description Template variables applied to the selected Grafana board configuration. */
                templateVars?: string[];
            }[];
        };
        SelectedGrafanaConfig: {
            /** @description Placeholder for GrafanaBoard definition (define fields as needed) */
            board?: Record<string, never>;
            /** @description Panels selected for the Grafana board configuration. */
            panels?: Record<string, never>[];
            /** @description Template variables applied to the selected Grafana board configuration. */
            templateVars?: string[];
        };
        /** @description Placeholder for GrafanaBoard definition (define fields as needed) */
        GrafanaBoard: Record<string, never>;
        /** @description Grafana panel structure imported from github.com/grafana-tools/sdk */
        Panel: Record<string, never>;
        Prometheus: {
            /** @description The prometheus URL of the prometheus. */
            prometheusUrl?: string;
            /** @description The selected prometheus boards configs of the prometheus. */
            selectedPrometheusBoardsConfigs?: {
                /** @description Placeholder for GrafanaBoard definition (define fields as needed) */
                board?: Record<string, never>;
                /** @description Panels selected for the Grafana board configuration. */
                panels?: Record<string, never>[];
                /** @description Template variables applied to the selected Grafana board configuration. */
                templateVars?: string[];
            }[];
        };
        LoadTestPreferences: {
            /** @description Concurrent requests */
            c?: number;
            /** @description Queries per second */
            qps?: number;
            /** @description Duration */
            t?: string;
            /** @description Load generator */
            gen?: string;
        };
        /** @description Various online profiles associated with the user account, like GitHub, LinkedIn, X, and so on. */
        Social: {
            /** @description The site of the social. */
            site: string;
            /**
             * Format: uri
             * @description The link of the social.
             */
            link: 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 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 Get responses by page */
        page: number;
        /** @description Number of responses to return per page. Canonical camelCase pagination parameter; prefer this over the deprecated all-lowercase `pagesize`. */
        pageSize: number;
        /** @description Get responses that match search param value */
        search: string;
        /** @description Get ordered responses */
        order: string;
        /** @description Get filtered reponses */
        filter: string;
    };
    requestBodies: never;
    headers: never;
    pathItems: never;
}
export type $defs = Record<string, never>;
export interface operations {
    getUsers: {
        parameters: {
            query?: {
                /** @description Get responses by page */
                page?: number;
                /** @description Number of responses to return per page. Canonical camelCase pagination parameter; prefer this over the deprecated all-lowercase `pagesize`. */
                pageSize?: number;
                /** @description Get responses that match search param value */
                search?: string;
                /** @description Get ordered responses */
                order?: string;
                /** @description Get filtered reponses */
                filter?: string;
            };
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Paginated list of public users */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": {
                        /** @description Current page number of the result set. */
                        page: number;
                        /** @description Number of items per page. */
                        pageSize: number;
                        /** @description Total number of items available. */
                        totalCount: number;
                        /** @description Public user records for the requested page. */
                        data: {
                            /**
                             * Format: uuid
                             * @description Unique identifier for the user
                             */
                            id: string;
                            /**
                             * Format: uuid
                             * @deprecated
                             * @description Deprecated duplicate of id kept for consumers that predate the retirement of the legacy user_id column; always equals id.
                             */
                            userId?: string;
                            /** @description Public username of the user */
                            username?: string;
                            /**
                             * Format: uri
                             * @description URL to user's avatar image
                             */
                            avatarUrl?: 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 Internal server error */
            500: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
        };
    };
    searchUsers: {
        parameters: {
            query?: {
                /** @description Get responses by page */
                page?: number;
                /** @description Number of responses to return per page. Canonical camelCase pagination parameter; prefer this over the deprecated all-lowercase `pagesize`. */
                pageSize?: number;
                /** @description Get responses that match search param value */
                search?: string;
                /** @description Get ordered responses */
                order?: string;
                /** @description Get filtered reponses */
                filter?: string;
            };
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Paginated list of matching users in the searchable projection */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": {
                        /** @description Current page number of the result set. */
                        page: number;
                        /** @description Number of items per page. */
                        pageSize: number;
                        /** @description Total number of items available. */
                        totalCount: number;
                        /** @description Matching user records for the requested page. */
                        data: {
                            /**
                             * Format: uuid
                             * @description Unique identifier for the user
                             */
                            id: string;
                            /**
                             * Format: uuid
                             * @deprecated
                             * @description Deprecated duplicate of id kept for consumers that predate the retirement of the legacy user_id column; always equals id.
                             */
                            userId?: string;
                            /** @description Public username of the user */
                            username?: string;
                            /** @description User's first name */
                            firstName?: string;
                            /** @description User's last name */
                            lastName?: string;
                            /**
                             * Format: email
                             * @description User's email address
                             */
                            email?: string;
                            /**
                             * Format: uri
                             * @description URL to user's avatar image
                             */
                            avatarUrl?: string;
                            /**
                             * Format: date-time
                             * @description Timestamp when the user record was soft-deleted (null if not deleted)
                             */
                            deletedAt?: string | null;
                        }[];
                    };
                };
            };
            /** @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 Internal server error */
            500: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
        };
    };
    searchUsersInOrg: {
        parameters: {
            query?: {
                /** @description Get responses by page */
                page?: number;
                /** @description Number of responses to return per page. Canonical camelCase pagination parameter; prefer this over the deprecated all-lowercase `pagesize`. */
                pageSize?: number;
                /** @description Get responses that match search param value */
                search?: string;
                /** @description Get ordered responses */
                order?: string;
                /** @description Get filtered reponses */
                filter?: string;
            };
            header?: never;
            path: {
                /** @description Organization ID */
                orgId: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Paginated list of matching users in the searchable projection */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": {
                        /** @description Current page number of the result set. */
                        page: number;
                        /** @description Number of items per page. */
                        pageSize: number;
                        /** @description Total number of items available. */
                        totalCount: number;
                        /** @description Matching user records for the requested page. */
                        data: {
                            /**
                             * Format: uuid
                             * @description Unique identifier for the user
                             */
                            id: string;
                            /**
                             * Format: uuid
                             * @deprecated
                             * @description Deprecated duplicate of id kept for consumers that predate the retirement of the legacy user_id column; always equals id.
                             */
                            userId?: string;
                            /** @description Public username of the user */
                            username?: string;
                            /** @description User's first name */
                            firstName?: string;
                            /** @description User's last name */
                            lastName?: string;
                            /**
                             * Format: email
                             * @description User's email address
                             */
                            email?: string;
                            /**
                             * Format: uri
                             * @description URL to user's avatar image
                             */
                            avatarUrl?: string;
                            /**
                             * Format: date-time
                             * @description Timestamp when the user record was soft-deleted (null if not deleted)
                             */
                            deletedAt?: string | null;
                        }[];
                    };
                };
            };
            /** @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 Internal server error */
            500: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
        };
    };
}
