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

export interface paths {
    "/api/identity/orgs/{orgId}/teams": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * Get all teams for an organization
         * @description Gets all teams within an organization
         */
        get: operations["getTeams"];
        put?: never;
        /**
         * Create a team
         * @description Creates a new team within an organization
         */
        post: operations["createTeam"];
        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 a team by ID
         * @description Gets a team by its ID
         */
        get: operations["getTeamById"];
        /**
         * Update a team
         * @description Updates a team's information
         */
        put: operations["updateTeam"];
        post?: never;
        /**
         * Delete a team
         * @description Deletes a team by its ID
         */
        delete: operations["deleteTeam"];
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/identity/teams/{teamId}/users": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * Get all users in a team
         * @description Gets all users that belong to a team
         */
        get: operations["getTeamUsers"];
        put?: never;
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/identity/orgs/{orgId}/teams/{teamId}/users/{userId}": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        put?: never;
        /**
         * Add a user to a team
         * @description Assigns a user to a team
         */
        post: operations["addUserToTeam"];
        /**
         * Remove a user from a team
         * @description Unassigns a user from a team
         */
        delete: operations["removeUserFromTeam"];
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/identity/orgs/{orgId}/teams/{teamId}/users": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /** Get users that are not in a team */
        get: operations["listUsersNotInTeam"];
        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 A Team is a group of one or more users. Teams are often used as a grouping mechanism for assigning permissions, whether in the context of an organization, a workspace, or some other domain within Meshery. Learn more at https://docs.meshery.io/concepts/logical/teams */
        Team: {
            /**
             * Format: uuid
             * @description Team ID
             */
            id: string;
            /** @description Team name */
            name: string;
            /** @description Team description */
            description?: string;
            /**
             * Format: uuid
             * @description User ID of the owner of the team
             */
            owner?: string;
            /** @description Additional metadata for the team */
            metadata?: Record<string, never>;
            /**
             * 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, if applicable.
             */
            deletedAt?: string;
        };
        /** @description Payload for creating a new team */
        TeamPayload: {
            /** @description Team name. Provide a meaningful name that represents this team. */
            name: string;
            /** @description A detailed description of the team's purpose and responsibilities. */
            description?: string;
            /** @description Whether to notify team members when the team is created or updated. */
            notifyTeamUpdate?: boolean;
            /** @description Additional client-supplied metadata for the team. */
            metadata?: {
                [key: string]: unknown;
            };
        };
        /** @description Payload for updating an existing team */
        TeamUpdatePayload: {
            /** @description Updated team name */
            name?: string;
            /** @description Updated team description */
            description?: string;
        };
        /** @description Paginated list of teams */
        TeamPage: {
            /** @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 The teams of the teampage. */
            teams?: {
                /**
                 * Format: uuid
                 * @description Team ID
                 */
                id: string;
                /** @description Team name */
                name: string;
                /** @description Team description */
                description?: string;
                /**
                 * Format: uuid
                 * @description User ID of the owner of the team
                 */
                owner?: string;
                /** @description Additional metadata for the team */
                metadata?: Record<string, never>;
                /**
                 * 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, if applicable.
                 */
                deletedAt?: string;
            }[];
        };
        /** @description Join row between users and teams. The schema name is `UsersTeamsMapping` (rather than `TeamsUsersMapping`) so that pop's tableize default produces the live DB table name `users_teams_mappings`, eliminating the need for an explicit `TableName()` helper on the generated Go struct. */
        UsersTeamsMapping: {
            /** Format: uuid */
            id?: string;
            /**
             * Format: uuid
             * @description Team ID
             */
            teamId?: string;
            /**
             * Format: uuid
             * @description User ID
             */
            userId?: string;
            /**
             * Format: uuid
             * @description Optional role assigned to this team membership. Nullable because a membership may exist without an explicit role (e.g., team-admin assignments are stamped on insert; non-owner adds may leave `role_id` null until a role is assigned). References `roles.id`.
             */
            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, if applicable.
             */
            deletedAt?: string;
        };
        /** @description Paginated list of user-team mappings */
        UsersTeamsMappingPage: {
            /** @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 The user-team mappings on the current page. */
            usersTeamsMapping?: {
                /** Format: uuid */
                id?: string;
                /**
                 * Format: uuid
                 * @description Team ID
                 */
                teamId?: string;
                /**
                 * Format: uuid
                 * @description User ID
                 */
                userId?: string;
                /**
                 * Format: uuid
                 * @description Optional role assigned to this team membership. Nullable because a membership may exist without an explicit role (e.g., team-admin assignments are stamped on insert; non-owner adds may leave `role_id` null until a role is assigned). References `roles.id`.
                 */
                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, if applicable.
                 */
                deletedAt?: string;
            }[];
        };
        /** @description A user who is a prospective or existing team member. Returned by the "list users in team" endpoint. `joinedAt` is the first canonicalised projection field — other user fields (`id`, `firstName`, `lastName`, `email`, `avatarUrl`) continue to flow through `additionalProperties` pending migration of the user schema to the canonical-casing contract. See meshery/schemas#832 for the per-field roadmap. */
        TeamMember: {
            /**
             * Format: date-time
             * @description Timestamp when the user joined the team. Server-computed from the earliest matching row in `users_teams_mapping` for this (team, user) pair. Server-managed; clients cannot set this.
             */
            joinedAt?: string;
        } & {
            [key: string]: unknown;
        };
        /** @description Paginated list of team members. */
        TeamMembersPage: {
            /** @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 The data of the teammemberspage. */
            data?: ({
                /**
                 * Format: date-time
                 * @description Timestamp when the user joined the team. Server-computed from the earliest matching row in `users_teams_mapping` for this (team, user) pair. Server-managed; clients cannot set this.
                 */
                joinedAt?: string;
            } & {
                [key: string]: unknown;
            })[];
        };
    };
    responses: {
        /** @description ok */
        200: {
            headers: {
                [name: string]: unknown;
            };
            content: {
                "text/plain": 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;
            };
        };
    };
    parameters: {
        /** @description Team ID */
        teamId: string;
        /** @description Organization ID */
        orgId: string;
        /** @description User ID */
        userId: string;
        /** @description Get responses that match search param value */
        search: string;
        /** @description Get ordered responses */
        order: 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;
        /**
         * @deprecated
         * @description Get responses by pagesize. Deprecated alias of pageSize.
         */
        pagesize: number;
    };
    requestBodies: {
        /** @description Body for creating a team */
        teamPayload: {
            content: {
                "application/json": {
                    /** @description Team name. Provide a meaningful name that represents this team. */
                    name: string;
                    /** @description A detailed description of the team's purpose and responsibilities. */
                    description?: string;
                    /** @description Whether to notify team members when the team is created or updated. */
                    notifyTeamUpdate?: boolean;
                    /** @description Additional client-supplied metadata for the team. */
                    metadata?: {
                        [key: string]: unknown;
                    };
                };
            };
        };
        /** @description Body for updating a team */
        teamUpdatePayload: {
            content: {
                "application/json": {
                    /** @description Updated team name */
                    name?: string;
                    /** @description Updated team description */
                    description?: string;
                };
            };
        };
    };
    headers: never;
    pathItems: never;
}
export type $defs = Record<string, never>;
export interface operations {
    getTeams: {
        parameters: {
            query?: {
                /** @description Get responses that match search param value */
                search?: string;
                /** @description Get ordered responses */
                order?: 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;
                /**
                 * @deprecated
                 * @description Get responses by pagesize. Deprecated alias of pageSize.
                 */
                pagesize?: number;
            };
            header?: never;
            path: {
                /** @description Organization ID */
                orgId: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Teams */
            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 The teams of the teampage. */
                        teams?: {
                            /**
                             * Format: uuid
                             * @description Team ID
                             */
                            id: string;
                            /** @description Team name */
                            name: string;
                            /** @description Team description */
                            description?: string;
                            /**
                             * Format: uuid
                             * @description User ID of the owner of the team
                             */
                            owner?: string;
                            /** @description Additional metadata for the team */
                            metadata?: Record<string, never>;
                            /**
                             * 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, if applicable.
                             */
                            deletedAt?: 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;
                };
            };
        };
    };
    createTeam: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                /** @description Organization ID */
                orgId: string;
            };
            cookie?: never;
        };
        /** @description Body for creating a team */
        requestBody: {
            content: {
                "application/json": {
                    /** @description Team name. Provide a meaningful name that represents this team. */
                    name: string;
                    /** @description A detailed description of the team's purpose and responsibilities. */
                    description?: string;
                    /** @description Whether to notify team members when the team is created or updated. */
                    notifyTeamUpdate?: boolean;
                    /** @description Additional client-supplied metadata for the team. */
                    metadata?: {
                        [key: string]: unknown;
                    };
                };
            };
        };
        responses: {
            /** @description Created team */
            201: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": {
                        /**
                         * Format: uuid
                         * @description Team ID
                         */
                        id: string;
                        /** @description Team name */
                        name: string;
                        /** @description Team description */
                        description?: string;
                        /**
                         * Format: uuid
                         * @description User ID of the owner of the team
                         */
                        owner?: string;
                        /** @description Additional metadata for the team */
                        metadata?: Record<string, never>;
                        /**
                         * 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, if applicable.
                         */
                        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;
                };
            };
        };
    };
    getTeamById: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                /** @description Organization ID */
                orgId: string;
                /** @description Team ID */
                teamId: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Team */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": {
                        /**
                         * Format: uuid
                         * @description Team ID
                         */
                        id: string;
                        /** @description Team name */
                        name: string;
                        /** @description Team description */
                        description?: string;
                        /**
                         * Format: uuid
                         * @description User ID of the owner of the team
                         */
                        owner?: string;
                        /** @description Additional metadata for the team */
                        metadata?: Record<string, never>;
                        /**
                         * 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, if applicable.
                         */
                        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;
                };
            };
        };
    };
    updateTeam: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                /** @description Organization ID */
                orgId: string;
                /** @description Team ID */
                teamId: string;
            };
            cookie?: never;
        };
        /** @description Body for updating a team */
        requestBody: {
            content: {
                "application/json": {
                    /** @description Updated team name */
                    name?: string;
                    /** @description Updated team description */
                    description?: string;
                };
            };
        };
        responses: {
            /** @description Updated team */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": {
                        /**
                         * Format: uuid
                         * @description Team ID
                         */
                        id: string;
                        /** @description Team name */
                        name: string;
                        /** @description Team description */
                        description?: string;
                        /**
                         * Format: uuid
                         * @description User ID of the owner of the team
                         */
                        owner?: string;
                        /** @description Additional metadata for the team */
                        metadata?: Record<string, never>;
                        /**
                         * 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, if applicable.
                         */
                        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;
                };
            };
        };
    };
    deleteTeam: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                /** @description Organization ID */
                orgId: string;
                /** @description Team ID */
                teamId: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Team 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;
                };
            };
        };
    };
    getTeamUsers: {
        parameters: {
            query?: {
                /** @description Get responses that match search param value */
                search?: string;
                /** @description Get ordered responses */
                order?: 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;
                /**
                 * @deprecated
                 * @description Get responses by pagesize. Deprecated alias of pageSize.
                 */
                pagesize?: number;
            };
            header?: never;
            path: {
                /** @description Team ID */
                teamId: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Team members with their roles */
            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 The data of the teammemberspage. */
                        data?: ({
                            /**
                             * Format: date-time
                             * @description Timestamp when the user joined the team. Server-computed from the earliest matching row in `users_teams_mapping` for this (team, user) pair. Server-managed; clients cannot set this.
                             */
                            joinedAt?: string;
                        } & {
                            [key: string]: unknown;
                        })[];
                    };
                };
            };
            /** @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;
                };
            };
        };
    };
    addUserToTeam: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                /** @description Organization ID */
                orgId: string;
                /** @description Team ID */
                teamId: string;
                /** @description User ID */
                userId: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description User added to team */
            201: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": {
                        /** Format: uuid */
                        id?: string;
                        /**
                         * Format: uuid
                         * @description Team ID
                         */
                        teamId?: string;
                        /**
                         * Format: uuid
                         * @description User ID
                         */
                        userId?: string;
                        /**
                         * Format: uuid
                         * @description Optional role assigned to this team membership. Nullable because a membership may exist without an explicit role (e.g., team-admin assignments are stamped on insert; non-owner adds may leave `role_id` null until a role is assigned). References `roles.id`.
                         */
                        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, if applicable.
                         */
                        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;
                };
            };
        };
    };
    removeUserFromTeam: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                /** @description Organization ID */
                orgId: string;
                /** @description Team ID */
                teamId: string;
                /** @description User ID */
                userId: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description User removed from team */
            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;
                };
            };
        };
    };
    listUsersNotInTeam: {
        parameters: {
            query?: {
                /** @description Get responses that match search param value */
                search?: string;
                /** @description Get ordered responses */
                order?: 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;
                /**
                 * @deprecated
                 * @description Get responses by pagesize. Deprecated alias of pageSize.
                 */
                pagesize?: number;
            };
            header?: never;
            path: {
                /** @description Organization ID */
                orgId: string;
                /** @description Team ID */
                teamId: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Users not currently in the team */
            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 The data of the teammemberspage. */
                        data?: ({
                            /**
                             * Format: date-time
                             * @description Timestamp when the user joined the team. Server-computed from the earliest matching row in `users_teams_mapping` for this (team, user) pair. Server-managed; clients cannot set this.
                             */
                            joinedAt?: string;
                        } & {
                            [key: string]: unknown;
                        })[];
                    };
                };
            };
            /** @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;
                };
            };
        };
    };
}
