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

export interface paths {
    "/api/organizations/invitations/{invitationId}": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /** Get an invitation by ID */
        get: operations["getInvitation"];
        /** Update an existing invitation */
        put: operations["updateInvitation"];
        post?: never;
        /** Delete an invitation by ID */
        delete: operations["deleteInvitation"];
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/organizations/invitations": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /** Get all invitations for the organization */
        get: operations["getInvitations"];
        put?: never;
        /** Create a new invitation for the organization */
        post: operations["createInvitation"];
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/organizations/invitations/{invitationId}/accept": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        put?: never;
        /** Accept an invitation by ID */
        post: operations["acceptInvitation"];
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/identity/orgs/{orgId}/users/invite": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        put?: never;
        /** Invite users to an organization */
        post: operations["handleUserInvite"];
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/identity/users/request": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /** Get signup requests */
        get: operations["getSignupRequests"];
        put?: never;
        /** Create a signup request */
        post: operations["signupRequest"];
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/identity/users/request/approve": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        put?: never;
        /** Approve a signup request */
        post: operations["approveSignupRequest"];
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/identity/users/request/deny": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        put?: never;
        /** Deny a signup request */
        post: operations["denySignupRequest"];
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/identity/users/request/notification": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /** Get signup request notification summary */
        get: operations["getSignupRequestNotification"];
        put?: never;
        post?: never;
        delete?: never;
        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;
        InvitationsPage: {
            /** @description List of invitations */
            data: {
                /**
                 * Format: uuid
                 * @description Unique identifier for the invitation , is also used as the invitation code
                 */
                id: string;
                /**
                 * Format: uuid
                 * @description ID of the user who created the invitation, this is used to track who created the invitation and can be used for auditing purposes
                 */
                owner_id: string;
                /** @description Indicates whether the invitation is a default invitation (open invite), which can be used to assign users when signing up from fqdn or custom domain, a organization can only have one default invitation */
                is_default?: boolean;
                /** @description Name of the invitation, which can be used to identify the invitation, required and cant be empty string, */
                name: string;
                /** @description Description of the invitation, which can be used to provide additional information about the invitation, null or empty string means the invitation does not have a description */
                description: string;
                /** @description The emails of the invitation. */
                emails: string[];
                /**
                 * Format: uuid
                 * @description ID of the organization to which the user is invited
                 */
                org_id: string;
                /**
                 * Format: date-time
                 * @description Timestamp when the invitation expires, if applicable , null or empty string means the invitation does not expire
                 */
                expires_at?: string;
                /** @description Quota for the invitation, which can be used to limit the number of users that can accept the invitation, null or empty string means the invitation does not have a quota */
                quota?: number;
                /** @description List of user ids that have already accepted the invitation, null or empty string means the invitation has not been used yet */
                accepted_by: string[];
                /** @description The roles of the invitation. */
                roles: string[];
                /** @description The teams of the invitation. */
                teams: string[];
                /**
                 * @description Status of the invitation, where enabled means the invitation is active and can be used, disabled means the invitation is no longer valid and is temporarily inactive, disabled invitations can be re-enabled later.
                 * @enum {string}
                 */
                status: "enabled" | "disabled";
                /**
                 * Format: date-time
                 * @description Timestamp when the invitation was created
                 */
                created_at: string;
                /**
                 * Format: date-time
                 * @description Timestamp when the invitation was last updated
                 */
                updated_at: string;
                /**
                 * Format: date-time
                 * @description Timestamp when the invitation was deleted, if applicable
                 */
                deleted_at: string;
            }[];
            /** @description Total number of invitations available */
            total: number;
        };
        SignupRequest: {
            [key: string]: unknown;
        };
        SignupRequestsPage: {
            /** @description Current page number of the result set. */
            page?: number;
            /** @description Number of items per page. */
            page_size?: number;
            /** @description Total number of items available. */
            total_count?: number;
            /** @description The data of the signuprequestspage. */
            data?: {
                [key: string]: unknown;
            }[];
        };
        /** @description Payload for creating or updating an invitation. */
        InvitationPayload: {
            /**
             * Format: uuid
             * @description Existing invitation ID for updates; omit on create.
             */
            id?: string;
            /**
             * Format: uuid
             * @description ID of the user who created the invitation.
             */
            owner_id?: string;
            /** @description Indicates whether the invitation is a default invitation (open invite). */
            is_default?: boolean;
            /** @description Name of the invitation. */
            name: string;
            /** @description Description of the invitation. */
            description: string;
            /** @description The emails of the invitation. */
            emails: string[];
            /**
             * Format: uuid
             * @description ID of the organization to which the user is invited.
             */
            org_id: string;
            /**
             * Format: date-time
             * @description Timestamp when the invitation expires, if applicable.
             */
            expires_at?: string;
            /** @description Quota for the invitation. */
            quota?: number;
            /** @description The roles of the invitation. */
            roles: string[];
            /** @description The teams of the invitation. */
            teams: string[];
            /**
             * @description Status of the invitation, where enabled means the invitation is active and can be used, disabled means the invitation is no longer valid and is temporarily inactive, disabled invitations can be re-enabled later.
             * @enum {string}
             */
            status: "enabled" | "disabled";
        };
        /**
         * @description Status of the invitation, where enabled means the invitation is active and can be used, disabled means the invitation is no longer valid and is temporarily inactive, disabled invitations can be re-enabled later.
         * @enum {string}
         */
        InvitationStatus: "enabled" | "disabled";
        /** @description Invitation entity schema. */
        Invitation: {
            /**
             * Format: uuid
             * @description Unique identifier for the invitation , is also used as the invitation code
             */
            id: string;
            /**
             * Format: uuid
             * @description ID of the user who created the invitation, this is used to track who created the invitation and can be used for auditing purposes
             */
            owner_id: string;
            /** @description Indicates whether the invitation is a default invitation (open invite), which can be used to assign users when signing up from fqdn or custom domain, a organization can only have one default invitation */
            is_default?: boolean;
            /** @description Name of the invitation, which can be used to identify the invitation, required and cant be empty string, */
            name: string;
            /** @description Description of the invitation, which can be used to provide additional information about the invitation, null or empty string means the invitation does not have a description */
            description: string;
            /** @description The emails of the invitation. */
            emails: string[];
            /**
             * Format: uuid
             * @description ID of the organization to which the user is invited
             */
            org_id: string;
            /**
             * Format: date-time
             * @description Timestamp when the invitation expires, if applicable , null or empty string means the invitation does not expire
             */
            expires_at?: string;
            /** @description Quota for the invitation, which can be used to limit the number of users that can accept the invitation, null or empty string means the invitation does not have a quota */
            quota?: number;
            /** @description List of user ids that have already accepted the invitation, null or empty string means the invitation has not been used yet */
            accepted_by: string[];
            /** @description The roles of the invitation. */
            roles: string[];
            /** @description The teams of the invitation. */
            teams: string[];
            /**
             * @description Status of the invitation, where enabled means the invitation is active and can be used, disabled means the invitation is no longer valid and is temporarily inactive, disabled invitations can be re-enabled later.
             * @enum {string}
             */
            status: "enabled" | "disabled";
            /**
             * Format: date-time
             * @description Timestamp when the invitation was created
             */
            created_at: string;
            /**
             * Format: date-time
             * @description Timestamp when the invitation was last updated
             */
            updated_at: string;
            /**
             * Format: date-time
             * @description Timestamp when the invitation was deleted, if applicable
             */
            deleted_at: 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 The ID of the organization */
        organization_id: string;
        /** @description The ID of the invitation */
        invitation_id: string;
    };
    requestBodies: never;
    headers: never;
    pathItems: never;
}
export type $defs = Record<string, never>;
export interface operations {
    getInvitation: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                /** @description The ID of the invitation */
                invitationId: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": {
                        /**
                         * Format: uuid
                         * @description Unique identifier for the invitation , is also used as the invitation code
                         */
                        id: string;
                        /**
                         * Format: uuid
                         * @description ID of the user who created the invitation, this is used to track who created the invitation and can be used for auditing purposes
                         */
                        owner_id: string;
                        /** @description Indicates whether the invitation is a default invitation (open invite), which can be used to assign users when signing up from fqdn or custom domain, a organization can only have one default invitation */
                        is_default?: boolean;
                        /** @description Name of the invitation, which can be used to identify the invitation, required and cant be empty string, */
                        name: string;
                        /** @description Description of the invitation, which can be used to provide additional information about the invitation, null or empty string means the invitation does not have a description */
                        description: string;
                        /** @description The emails of the invitation. */
                        emails: string[];
                        /**
                         * Format: uuid
                         * @description ID of the organization to which the user is invited
                         */
                        org_id: string;
                        /**
                         * Format: date-time
                         * @description Timestamp when the invitation expires, if applicable , null or empty string means the invitation does not expire
                         */
                        expires_at?: string;
                        /** @description Quota for the invitation, which can be used to limit the number of users that can accept the invitation, null or empty string means the invitation does not have a quota */
                        quota?: number;
                        /** @description List of user ids that have already accepted the invitation, null or empty string means the invitation has not been used yet */
                        accepted_by: string[];
                        /** @description The roles of the invitation. */
                        roles: string[];
                        /** @description The teams of the invitation. */
                        teams: string[];
                        /**
                         * @description Status of the invitation, where enabled means the invitation is active and can be used, disabled means the invitation is no longer valid and is temporarily inactive, disabled invitations can be re-enabled later.
                         * @enum {string}
                         */
                        status: "enabled" | "disabled";
                        /**
                         * Format: date-time
                         * @description Timestamp when the invitation was created
                         */
                        created_at: string;
                        /**
                         * Format: date-time
                         * @description Timestamp when the invitation was last updated
                         */
                        updated_at: string;
                        /**
                         * Format: date-time
                         * @description Timestamp when the invitation was deleted, if applicable
                         */
                        deleted_at: 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 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;
                };
            };
        };
    };
    updateInvitation: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                /** @description The ID of the invitation */
                invitationId: string;
            };
            cookie?: never;
        };
        requestBody: {
            content: {
                "application/json": {
                    /**
                     * Format: uuid
                     * @description Existing invitation ID for updates; omit on create.
                     */
                    id?: string;
                    /**
                     * Format: uuid
                     * @description ID of the user who created the invitation.
                     */
                    owner_id?: string;
                    /** @description Indicates whether the invitation is a default invitation (open invite). */
                    is_default?: boolean;
                    /** @description Name of the invitation. */
                    name: string;
                    /** @description Description of the invitation. */
                    description: string;
                    /** @description The emails of the invitation. */
                    emails: string[];
                    /**
                     * Format: uuid
                     * @description ID of the organization to which the user is invited.
                     */
                    org_id: string;
                    /**
                     * Format: date-time
                     * @description Timestamp when the invitation expires, if applicable.
                     */
                    expires_at?: string;
                    /** @description Quota for the invitation. */
                    quota?: number;
                    /** @description The roles of the invitation. */
                    roles: string[];
                    /** @description The teams of the invitation. */
                    teams: string[];
                    /**
                     * @description Status of the invitation, where enabled means the invitation is active and can be used, disabled means the invitation is no longer valid and is temporarily inactive, disabled invitations can be re-enabled later.
                     * @enum {string}
                     */
                    status: "enabled" | "disabled";
                };
            };
        };
        responses: {
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": {
                        /**
                         * Format: uuid
                         * @description Unique identifier for the invitation , is also used as the invitation code
                         */
                        id: string;
                        /**
                         * Format: uuid
                         * @description ID of the user who created the invitation, this is used to track who created the invitation and can be used for auditing purposes
                         */
                        owner_id: string;
                        /** @description Indicates whether the invitation is a default invitation (open invite), which can be used to assign users when signing up from fqdn or custom domain, a organization can only have one default invitation */
                        is_default?: boolean;
                        /** @description Name of the invitation, which can be used to identify the invitation, required and cant be empty string, */
                        name: string;
                        /** @description Description of the invitation, which can be used to provide additional information about the invitation, null or empty string means the invitation does not have a description */
                        description: string;
                        /** @description The emails of the invitation. */
                        emails: string[];
                        /**
                         * Format: uuid
                         * @description ID of the organization to which the user is invited
                         */
                        org_id: string;
                        /**
                         * Format: date-time
                         * @description Timestamp when the invitation expires, if applicable , null or empty string means the invitation does not expire
                         */
                        expires_at?: string;
                        /** @description Quota for the invitation, which can be used to limit the number of users that can accept the invitation, null or empty string means the invitation does not have a quota */
                        quota?: number;
                        /** @description List of user ids that have already accepted the invitation, null or empty string means the invitation has not been used yet */
                        accepted_by: string[];
                        /** @description The roles of the invitation. */
                        roles: string[];
                        /** @description The teams of the invitation. */
                        teams: string[];
                        /**
                         * @description Status of the invitation, where enabled means the invitation is active and can be used, disabled means the invitation is no longer valid and is temporarily inactive, disabled invitations can be re-enabled later.
                         * @enum {string}
                         */
                        status: "enabled" | "disabled";
                        /**
                         * Format: date-time
                         * @description Timestamp when the invitation was created
                         */
                        created_at: string;
                        /**
                         * Format: date-time
                         * @description Timestamp when the invitation was last updated
                         */
                        updated_at: string;
                        /**
                         * Format: date-time
                         * @description Timestamp when the invitation was deleted, if applicable
                         */
                        deleted_at: 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 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;
                };
            };
        };
    };
    deleteInvitation: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                /** @description The ID of the invitation */
                invitationId: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Invitation 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 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;
                };
            };
        };
    };
    getInvitations: {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": {
                        /** @description List of invitations */
                        data: {
                            /**
                             * Format: uuid
                             * @description Unique identifier for the invitation , is also used as the invitation code
                             */
                            id: string;
                            /**
                             * Format: uuid
                             * @description ID of the user who created the invitation, this is used to track who created the invitation and can be used for auditing purposes
                             */
                            owner_id: string;
                            /** @description Indicates whether the invitation is a default invitation (open invite), which can be used to assign users when signing up from fqdn or custom domain, a organization can only have one default invitation */
                            is_default?: boolean;
                            /** @description Name of the invitation, which can be used to identify the invitation, required and cant be empty string, */
                            name: string;
                            /** @description Description of the invitation, which can be used to provide additional information about the invitation, null or empty string means the invitation does not have a description */
                            description: string;
                            /** @description The emails of the invitation. */
                            emails: string[];
                            /**
                             * Format: uuid
                             * @description ID of the organization to which the user is invited
                             */
                            org_id: string;
                            /**
                             * Format: date-time
                             * @description Timestamp when the invitation expires, if applicable , null or empty string means the invitation does not expire
                             */
                            expires_at?: string;
                            /** @description Quota for the invitation, which can be used to limit the number of users that can accept the invitation, null or empty string means the invitation does not have a quota */
                            quota?: number;
                            /** @description List of user ids that have already accepted the invitation, null or empty string means the invitation has not been used yet */
                            accepted_by: string[];
                            /** @description The roles of the invitation. */
                            roles: string[];
                            /** @description The teams of the invitation. */
                            teams: string[];
                            /**
                             * @description Status of the invitation, where enabled means the invitation is active and can be used, disabled means the invitation is no longer valid and is temporarily inactive, disabled invitations can be re-enabled later.
                             * @enum {string}
                             */
                            status: "enabled" | "disabled";
                            /**
                             * Format: date-time
                             * @description Timestamp when the invitation was created
                             */
                            created_at: string;
                            /**
                             * Format: date-time
                             * @description Timestamp when the invitation was last updated
                             */
                            updated_at: string;
                            /**
                             * Format: date-time
                             * @description Timestamp when the invitation was deleted, if applicable
                             */
                            deleted_at: string;
                        }[];
                        /** @description Total number of invitations available */
                        total: number;
                    };
                };
            };
            /** @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;
                };
            };
        };
    };
    createInvitation: {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody: {
            content: {
                "application/json": {
                    /**
                     * Format: uuid
                     * @description Existing invitation ID for updates; omit on create.
                     */
                    id?: string;
                    /**
                     * Format: uuid
                     * @description ID of the user who created the invitation.
                     */
                    owner_id?: string;
                    /** @description Indicates whether the invitation is a default invitation (open invite). */
                    is_default?: boolean;
                    /** @description Name of the invitation. */
                    name: string;
                    /** @description Description of the invitation. */
                    description: string;
                    /** @description The emails of the invitation. */
                    emails: string[];
                    /**
                     * Format: uuid
                     * @description ID of the organization to which the user is invited.
                     */
                    org_id: string;
                    /**
                     * Format: date-time
                     * @description Timestamp when the invitation expires, if applicable.
                     */
                    expires_at?: string;
                    /** @description Quota for the invitation. */
                    quota?: number;
                    /** @description The roles of the invitation. */
                    roles: string[];
                    /** @description The teams of the invitation. */
                    teams: string[];
                    /**
                     * @description Status of the invitation, where enabled means the invitation is active and can be used, disabled means the invitation is no longer valid and is temporarily inactive, disabled invitations can be re-enabled later.
                     * @enum {string}
                     */
                    status: "enabled" | "disabled";
                };
            };
        };
        responses: {
            201: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": {
                        /**
                         * Format: uuid
                         * @description Unique identifier for the invitation , is also used as the invitation code
                         */
                        id: string;
                        /**
                         * Format: uuid
                         * @description ID of the user who created the invitation, this is used to track who created the invitation and can be used for auditing purposes
                         */
                        owner_id: string;
                        /** @description Indicates whether the invitation is a default invitation (open invite), which can be used to assign users when signing up from fqdn or custom domain, a organization can only have one default invitation */
                        is_default?: boolean;
                        /** @description Name of the invitation, which can be used to identify the invitation, required and cant be empty string, */
                        name: string;
                        /** @description Description of the invitation, which can be used to provide additional information about the invitation, null or empty string means the invitation does not have a description */
                        description: string;
                        /** @description The emails of the invitation. */
                        emails: string[];
                        /**
                         * Format: uuid
                         * @description ID of the organization to which the user is invited
                         */
                        org_id: string;
                        /**
                         * Format: date-time
                         * @description Timestamp when the invitation expires, if applicable , null or empty string means the invitation does not expire
                         */
                        expires_at?: string;
                        /** @description Quota for the invitation, which can be used to limit the number of users that can accept the invitation, null or empty string means the invitation does not have a quota */
                        quota?: number;
                        /** @description List of user ids that have already accepted the invitation, null or empty string means the invitation has not been used yet */
                        accepted_by: string[];
                        /** @description The roles of the invitation. */
                        roles: string[];
                        /** @description The teams of the invitation. */
                        teams: string[];
                        /**
                         * @description Status of the invitation, where enabled means the invitation is active and can be used, disabled means the invitation is no longer valid and is temporarily inactive, disabled invitations can be re-enabled later.
                         * @enum {string}
                         */
                        status: "enabled" | "disabled";
                        /**
                         * Format: date-time
                         * @description Timestamp when the invitation was created
                         */
                        created_at: string;
                        /**
                         * Format: date-time
                         * @description Timestamp when the invitation was last updated
                         */
                        updated_at: string;
                        /**
                         * Format: date-time
                         * @description Timestamp when the invitation was deleted, if applicable
                         */
                        deleted_at: 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;
                };
            };
        };
    };
    acceptInvitation: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                /** @description The ID of the invitation */
                invitationId: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": {
                        /**
                         * Format: uuid
                         * @description Unique identifier for the invitation , is also used as the invitation code
                         */
                        id: string;
                        /**
                         * Format: uuid
                         * @description ID of the user who created the invitation, this is used to track who created the invitation and can be used for auditing purposes
                         */
                        owner_id: string;
                        /** @description Indicates whether the invitation is a default invitation (open invite), which can be used to assign users when signing up from fqdn or custom domain, a organization can only have one default invitation */
                        is_default?: boolean;
                        /** @description Name of the invitation, which can be used to identify the invitation, required and cant be empty string, */
                        name: string;
                        /** @description Description of the invitation, which can be used to provide additional information about the invitation, null or empty string means the invitation does not have a description */
                        description: string;
                        /** @description The emails of the invitation. */
                        emails: string[];
                        /**
                         * Format: uuid
                         * @description ID of the organization to which the user is invited
                         */
                        org_id: string;
                        /**
                         * Format: date-time
                         * @description Timestamp when the invitation expires, if applicable , null or empty string means the invitation does not expire
                         */
                        expires_at?: string;
                        /** @description Quota for the invitation, which can be used to limit the number of users that can accept the invitation, null or empty string means the invitation does not have a quota */
                        quota?: number;
                        /** @description List of user ids that have already accepted the invitation, null or empty string means the invitation has not been used yet */
                        accepted_by: string[];
                        /** @description The roles of the invitation. */
                        roles: string[];
                        /** @description The teams of the invitation. */
                        teams: string[];
                        /**
                         * @description Status of the invitation, where enabled means the invitation is active and can be used, disabled means the invitation is no longer valid and is temporarily inactive, disabled invitations can be re-enabled later.
                         * @enum {string}
                         */
                        status: "enabled" | "disabled";
                        /**
                         * Format: date-time
                         * @description Timestamp when the invitation was created
                         */
                        created_at: string;
                        /**
                         * Format: date-time
                         * @description Timestamp when the invitation was last updated
                         */
                        updated_at: string;
                        /**
                         * Format: date-time
                         * @description Timestamp when the invitation was deleted, if applicable
                         */
                        deleted_at: 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 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;
                };
            };
        };
    };
    handleUserInvite: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                /** @description The ID of the organization */
                orgId: string;
            };
            cookie?: never;
        };
        requestBody: {
            content: {
                "application/json": {
                    [key: string]: unknown;
                };
            };
        };
        responses: {
            /** @description Invitation request accepted */
            200: {
                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 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;
                };
            };
        };
    };
    getSignupRequests: {
        parameters: {
            query?: {
                /** @description Get responses by page */
                page?: number;
                /** @description Get responses by 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 Signup requests page */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": {
                        /** @description Current page number of the result set. */
                        page?: number;
                        /** @description Number of items per page. */
                        page_size?: number;
                        /** @description Total number of items available. */
                        total_count?: number;
                        /** @description The data of the signuprequestspage. */
                        data?: {
                            [key: string]: unknown;
                        }[];
                    };
                };
            };
            /** @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;
                };
            };
        };
    };
    signupRequest: {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody: {
            content: {
                "application/json": {
                    [key: string]: unknown;
                };
            };
        };
        responses: {
            /** @description Signup request created */
            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 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;
                };
            };
        };
    };
    approveSignupRequest: {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Signup request approved */
            200: {
                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 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;
                };
            };
        };
    };
    denySignupRequest: {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Signup request denied */
            200: {
                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 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;
                };
            };
        };
    };
    getSignupRequestNotification: {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Signup request notification payload */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": {
                        [key: string]: unknown;
                    };
                };
            };
            /** @description No pending signup request notifications */
            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;
                };
            };
        };
    };
}
