/**
 * 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 a paginated list of 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;
        /** @description Paginated list of invitations for an organization. */
        InvitationsPage: {
            /** @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 Invitations returned on the current page. */
            data?: {
                /**
                 * Format: uuid
                 * @description Unique identifier for the invitation, also used as the invitation code.
                 */
                readonly id: string;
                /**
                 * Format: uuid
                 * @description ID of the user who created the invitation. Tracks who created the invitation for auditing purposes.
                 */
                readonly owner: 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. An organization can only have one default invitation. */
                isDefault?: boolean;
                /** @description Name of the invitation, which can be used to identify it. Required; cannot be an empty string. */
                name: string;
                /** @description Description of the invitation, which can be used to provide additional context. Null or empty string means the invitation does not have a description. */
                description: string;
                /** @description Email addresses or patterns for which the invitation is valid. Null means the invitation is valid for any email address. */
                emails: string[] | null;
                /**
                 * Format: uuid
                 * @description ID of the organization to which the user is invited.
                 */
                readonly orgId: string;
                /**
                 * Format: date-time
                 * @description Timestamp when the invitation expires, if applicable. Null or empty means the invitation does not expire.
                 */
                expiresAt?: string | null;
                /** @description Quota for the invitation; limits the number of users that can accept it. Null or empty means the invitation is unlimited. */
                quota?: number;
                /** @description List of user ids that have already accepted the invitation. Empty means the invitation has not been used yet. */
                readonly acceptedBy: string[];
                /** @description Roles that the user will have when accepting the invitation. Empty means the invitation does not specify any roles. */
                roles: string[];
                /** @description Teams that the user will be added to when accepting the invitation. Empty means the invitation does not specify any teams. */
                teams: string[];
                /**
                 * @description Activation status of the invitation.
                 * @enum {string}
                 */
                status: "enabled" | "disabled";
                /**
                 * Format: date-time
                 * @description Timestamp when the invitation was created.
                 */
                readonly createdAt: string;
                /**
                 * Format: date-time
                 * @description Timestamp when the invitation was last updated.
                 */
                readonly updatedAt: string;
                /**
                 * Format: date-time
                 * @description Timestamp when the invitation was deleted, if applicable.
                 */
                readonly deletedAt: string | null;
            }[];
        };
        /** @description A signup request submitted for organization access. */
        SignupRequest: {
            [key: string]: unknown;
        };
        /** @description A signup request record as persisted in the signup_data table. Captures the requester's identity, the product form the request originated from (for example playground, meshmap, docker-extension), the moderation status, and the tracking task created for the request. Also embedded in signup webhook and notification payloads, where only a subset of fields may be populated. */
        SignupData: {
            /**
             * Format: uuid
             * @description Unique identifier of the signup request.
             */
            id?: string;
            /** @description First name of the requester. */
            firstName?: string;
            /** @description Last name of the requester. */
            lastName?: string;
            /**
             * Format: email
             * @description Email address of the requester.
             */
            email?: string;
            /** @description Occupation stated by the requester. */
            occupation?: string;
            /** @description Organization stated by the requester. */
            organization?: string;
            /** @description Role stated by the requester within their organization. */
            role?: string;
            /** @description Product form the signup request originated from. Known values include playground, meshmap, docker-extension, epsma-book, content, contact and event; the set is open-ended. */
            formType?: string;
            /** @description Moderation status of the signup request. */
            status?: string;
            /** @description Identifier of the tracking task created for this request in the external task system. */
            taskId?: string;
            /**
             * Format: uri
             * @description Link to the tracking task created for this request.
             */
            taskLink?: string;
            /**
             * Format: date-time
             * @description Timestamp when the signup request was created.
             */
            createdAt?: string;
            /**
             * Format: date-time
             * @description Timestamp when the signup request was last updated.
             */
            updatedAt?: string;
        };
        /** @description Notification about the most recent signup request awaiting moderator action, served by getSignupRequestNotification. */
        SignupRequestNotification: {
            /** @description The signup request the notification refers to. */
            signupData: {
                /**
                 * Format: uuid
                 * @description Unique identifier of the signup request.
                 */
                id?: string;
                /** @description First name of the requester. */
                firstName?: string;
                /** @description Last name of the requester. */
                lastName?: string;
                /**
                 * Format: email
                 * @description Email address of the requester.
                 */
                email?: string;
                /** @description Occupation stated by the requester. */
                occupation?: string;
                /** @description Organization stated by the requester. */
                organization?: string;
                /** @description Role stated by the requester within their organization. */
                role?: string;
                /** @description Product form the signup request originated from. Known values include playground, meshmap, docker-extension, epsma-book, content, contact and event; the set is open-ended. */
                formType?: string;
                /** @description Moderation status of the signup request. */
                status?: string;
                /** @description Identifier of the tracking task created for this request in the external task system. */
                taskId?: string;
                /**
                 * Format: uri
                 * @description Link to the tracking task created for this request.
                 */
                taskLink?: string;
                /**
                 * Format: date-time
                 * @description Timestamp when the signup request was created.
                 */
                createdAt?: string;
                /**
                 * Format: date-time
                 * @description Timestamp when the signup request was last updated.
                 */
                updatedAt?: string;
            };
            /** @description Whether the signup request was automatically processed before moderator review. */
            preProcessed: boolean;
        };
        /** @description Outbound webhook body that Cloud POSTs to the configured signup and entitlement webhooks (WEBHOOK_SIGNUP_REQUEST, WEBHOOK_KANVAS_ENTITLEMENT) when a signup request is processed. Emitted by Cloud; not served by any Cloud endpoint. */
        SignupWebhookPayload: {
            /** @description The signup request that triggered the webhook. */
            signupData: {
                /**
                 * Format: uuid
                 * @description Unique identifier of the signup request.
                 */
                id?: string;
                /** @description First name of the requester. */
                firstName?: string;
                /** @description Last name of the requester. */
                lastName?: string;
                /**
                 * Format: email
                 * @description Email address of the requester.
                 */
                email?: string;
                /** @description Occupation stated by the requester. */
                occupation?: string;
                /** @description Organization stated by the requester. */
                organization?: string;
                /** @description Role stated by the requester within their organization. */
                role?: string;
                /** @description Product form the signup request originated from. Known values include playground, meshmap, docker-extension, epsma-book, content, contact and event; the set is open-ended. */
                formType?: string;
                /** @description Moderation status of the signup request. */
                status?: string;
                /** @description Identifier of the tracking task created for this request in the external task system. */
                taskId?: string;
                /**
                 * Format: uri
                 * @description Link to the tracking task created for this request.
                 */
                taskLink?: string;
                /**
                 * Format: date-time
                 * @description Timestamp when the signup request was created.
                 */
                createdAt?: string;
                /**
                 * Format: date-time
                 * @description Timestamp when the signup request was last updated.
                 */
                updatedAt?: string;
            };
            /** @description Whether the requester is a newly created user. */
            newUser: boolean;
        };
        /** @description Paginated list of signup requests. */
        SignupRequestsPage: {
            /** @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 Signup requests returned on the current page. */
            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?: string;
            /** @description Indicates whether the invitation is a default invitation (open invite). */
            isDefault?: boolean;
            /** @description Name of the invitation. */
            name: string;
            /** @description Description of the invitation. */
            description: string;
            /** @description Email addresses or patterns this invitation is valid for. */
            emails: string[];
            /**
             * Format: uuid
             * @description ID of the organization to which the user is invited.
             */
            orgId: string;
            /**
             * Format: date-time
             * @description Timestamp when the invitation expires, if applicable.
             */
            expiresAt?: string;
            /** @description Quota for the invitation; limits the number of users that can accept it. */
            quota?: number;
            /** @description Roles that the user will have when accepting the invitation. */
            roles: string[];
            /** @description Teams that the user will be added to when accepting the invitation. */
            teams: string[];
            /**
             * @description Activation status of the invitation.
             * @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, also used as the invitation code.
             */
            readonly id: string;
            /**
             * Format: uuid
             * @description ID of the user who created the invitation. Tracks who created the invitation for auditing purposes.
             */
            readonly owner: 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. An organization can only have one default invitation. */
            isDefault?: boolean;
            /** @description Name of the invitation, which can be used to identify it. Required; cannot be an empty string. */
            name: string;
            /** @description Description of the invitation, which can be used to provide additional context. Null or empty string means the invitation does not have a description. */
            description: string;
            /** @description Email addresses or patterns for which the invitation is valid. Null means the invitation is valid for any email address. */
            emails: string[] | null;
            /**
             * Format: uuid
             * @description ID of the organization to which the user is invited.
             */
            readonly orgId: string;
            /**
             * Format: date-time
             * @description Timestamp when the invitation expires, if applicable. Null or empty means the invitation does not expire.
             */
            expiresAt?: string | null;
            /** @description Quota for the invitation; limits the number of users that can accept it. Null or empty means the invitation is unlimited. */
            quota?: number;
            /** @description List of user ids that have already accepted the invitation. Empty means the invitation has not been used yet. */
            readonly acceptedBy: string[];
            /** @description Roles that the user will have when accepting the invitation. Empty means the invitation does not specify any roles. */
            roles: string[];
            /** @description Teams that the user will be added to when accepting the invitation. Empty means the invitation does not specify any teams. */
            teams: string[];
            /**
             * @description Activation status of the invitation.
             * @enum {string}
             */
            status: "enabled" | "disabled";
            /**
             * Format: date-time
             * @description Timestamp when the invitation was created.
             */
            readonly createdAt: string;
            /**
             * Format: date-time
             * @description Timestamp when the invitation was last updated.
             */
            readonly updatedAt: string;
            /**
             * Format: date-time
             * @description Timestamp when the invitation was deleted, if applicable.
             */
            readonly deletedAt: string | null;
        };
    };
    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. */
        orgId: string;
        /** @description The ID of the invitation. */
        invitationId: string;
        /** @description The ID of the signup request being approved or denied. */
        signupRequestId: string;
        /** @description First name of the requester. */
        signupFirstName: string;
        /** @description Last name of the requester. */
        signupLastName: string;
        /** @description Email address of the requester. */
        signupEmail: string;
        /** @description Occupation of the requester. */
        signupOccupation: string;
        /** @description Organization of the requester. */
        signupOrganization: string;
        /** @description Requested role. */
        signupRole: string;
        /** @description The signup form variant the request originated from. */
        signupFormType: string;
        /** @description Status to record on the signup request. */
        signupStatus: string;
        /** @description Tracking task identifier associated with the request. */
        signupTaskId: string;
        /** @description Tracking task link associated with the request. */
        signupTaskLink: 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: {
            /** @description Invitation fetched */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": {
                        /**
                         * Format: uuid
                         * @description Unique identifier for the invitation, also used as the invitation code.
                         */
                        readonly id: string;
                        /**
                         * Format: uuid
                         * @description ID of the user who created the invitation. Tracks who created the invitation for auditing purposes.
                         */
                        readonly owner: 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. An organization can only have one default invitation. */
                        isDefault?: boolean;
                        /** @description Name of the invitation, which can be used to identify it. Required; cannot be an empty string. */
                        name: string;
                        /** @description Description of the invitation, which can be used to provide additional context. Null or empty string means the invitation does not have a description. */
                        description: string;
                        /** @description Email addresses or patterns for which the invitation is valid. Null means the invitation is valid for any email address. */
                        emails: string[] | null;
                        /**
                         * Format: uuid
                         * @description ID of the organization to which the user is invited.
                         */
                        readonly orgId: string;
                        /**
                         * Format: date-time
                         * @description Timestamp when the invitation expires, if applicable. Null or empty means the invitation does not expire.
                         */
                        expiresAt?: string | null;
                        /** @description Quota for the invitation; limits the number of users that can accept it. Null or empty means the invitation is unlimited. */
                        quota?: number;
                        /** @description List of user ids that have already accepted the invitation. Empty means the invitation has not been used yet. */
                        readonly acceptedBy: string[];
                        /** @description Roles that the user will have when accepting the invitation. Empty means the invitation does not specify any roles. */
                        roles: string[];
                        /** @description Teams that the user will be added to when accepting the invitation. Empty means the invitation does not specify any teams. */
                        teams: string[];
                        /**
                         * @description Activation status of the invitation.
                         * @enum {string}
                         */
                        status: "enabled" | "disabled";
                        /**
                         * Format: date-time
                         * @description Timestamp when the invitation was created.
                         */
                        readonly createdAt: string;
                        /**
                         * Format: date-time
                         * @description Timestamp when the invitation was last updated.
                         */
                        readonly updatedAt: string;
                        /**
                         * Format: date-time
                         * @description Timestamp when the invitation was deleted, if applicable.
                         */
                        readonly deletedAt: string | null;
                    };
                };
            };
            /** @description Invalid request body or request param */
            400: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Expired JWT token used or insufficient privilege */
            401: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description 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?: string;
                    /** @description Indicates whether the invitation is a default invitation (open invite). */
                    isDefault?: boolean;
                    /** @description Name of the invitation. */
                    name: string;
                    /** @description Description of the invitation. */
                    description: string;
                    /** @description Email addresses or patterns this invitation is valid for. */
                    emails: string[];
                    /**
                     * Format: uuid
                     * @description ID of the organization to which the user is invited.
                     */
                    orgId: string;
                    /**
                     * Format: date-time
                     * @description Timestamp when the invitation expires, if applicable.
                     */
                    expiresAt?: string;
                    /** @description Quota for the invitation; limits the number of users that can accept it. */
                    quota?: number;
                    /** @description Roles that the user will have when accepting the invitation. */
                    roles: string[];
                    /** @description Teams that the user will be added to when accepting the invitation. */
                    teams: string[];
                    /**
                     * @description Activation status of the invitation.
                     * @enum {string}
                     */
                    status: "enabled" | "disabled";
                };
            };
        };
        responses: {
            /** @description Invitation updated */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": {
                        /**
                         * Format: uuid
                         * @description Unique identifier for the invitation, also used as the invitation code.
                         */
                        readonly id: string;
                        /**
                         * Format: uuid
                         * @description ID of the user who created the invitation. Tracks who created the invitation for auditing purposes.
                         */
                        readonly owner: 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. An organization can only have one default invitation. */
                        isDefault?: boolean;
                        /** @description Name of the invitation, which can be used to identify it. Required; cannot be an empty string. */
                        name: string;
                        /** @description Description of the invitation, which can be used to provide additional context. Null or empty string means the invitation does not have a description. */
                        description: string;
                        /** @description Email addresses or patterns for which the invitation is valid. Null means the invitation is valid for any email address. */
                        emails: string[] | null;
                        /**
                         * Format: uuid
                         * @description ID of the organization to which the user is invited.
                         */
                        readonly orgId: string;
                        /**
                         * Format: date-time
                         * @description Timestamp when the invitation expires, if applicable. Null or empty means the invitation does not expire.
                         */
                        expiresAt?: string | null;
                        /** @description Quota for the invitation; limits the number of users that can accept it. Null or empty means the invitation is unlimited. */
                        quota?: number;
                        /** @description List of user ids that have already accepted the invitation. Empty means the invitation has not been used yet. */
                        readonly acceptedBy: string[];
                        /** @description Roles that the user will have when accepting the invitation. Empty means the invitation does not specify any roles. */
                        roles: string[];
                        /** @description Teams that the user will be added to when accepting the invitation. Empty means the invitation does not specify any teams. */
                        teams: string[];
                        /**
                         * @description Activation status of the invitation.
                         * @enum {string}
                         */
                        status: "enabled" | "disabled";
                        /**
                         * Format: date-time
                         * @description Timestamp when the invitation was created.
                         */
                        readonly createdAt: string;
                        /**
                         * Format: date-time
                         * @description Timestamp when the invitation was last updated.
                         */
                        readonly updatedAt: string;
                        /**
                         * Format: date-time
                         * @description Timestamp when the invitation was deleted, if applicable.
                         */
                        readonly deletedAt: string | null;
                    };
                };
            };
            /** @description Invalid request body or request param */
            400: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Expired JWT token used or insufficient privilege */
            401: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description 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?: {
                /** @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 Invitations 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. */
                        pageSize?: number;
                        /** @description Total number of items available. */
                        totalCount?: number;
                        /** @description Invitations returned on the current page. */
                        data?: {
                            /**
                             * Format: uuid
                             * @description Unique identifier for the invitation, also used as the invitation code.
                             */
                            readonly id: string;
                            /**
                             * Format: uuid
                             * @description ID of the user who created the invitation. Tracks who created the invitation for auditing purposes.
                             */
                            readonly owner: 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. An organization can only have one default invitation. */
                            isDefault?: boolean;
                            /** @description Name of the invitation, which can be used to identify it. Required; cannot be an empty string. */
                            name: string;
                            /** @description Description of the invitation, which can be used to provide additional context. Null or empty string means the invitation does not have a description. */
                            description: string;
                            /** @description Email addresses or patterns for which the invitation is valid. Null means the invitation is valid for any email address. */
                            emails: string[] | null;
                            /**
                             * Format: uuid
                             * @description ID of the organization to which the user is invited.
                             */
                            readonly orgId: string;
                            /**
                             * Format: date-time
                             * @description Timestamp when the invitation expires, if applicable. Null or empty means the invitation does not expire.
                             */
                            expiresAt?: string | null;
                            /** @description Quota for the invitation; limits the number of users that can accept it. Null or empty means the invitation is unlimited. */
                            quota?: number;
                            /** @description List of user ids that have already accepted the invitation. Empty means the invitation has not been used yet. */
                            readonly acceptedBy: string[];
                            /** @description Roles that the user will have when accepting the invitation. Empty means the invitation does not specify any roles. */
                            roles: string[];
                            /** @description Teams that the user will be added to when accepting the invitation. Empty means the invitation does not specify any teams. */
                            teams: string[];
                            /**
                             * @description Activation status of the invitation.
                             * @enum {string}
                             */
                            status: "enabled" | "disabled";
                            /**
                             * Format: date-time
                             * @description Timestamp when the invitation was created.
                             */
                            readonly createdAt: string;
                            /**
                             * Format: date-time
                             * @description Timestamp when the invitation was last updated.
                             */
                            readonly updatedAt: string;
                            /**
                             * Format: date-time
                             * @description Timestamp when the invitation was deleted, if applicable.
                             */
                            readonly deletedAt: string | null;
                        }[];
                    };
                };
            };
            /** @description Invalid request body or request param */
            400: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Expired JWT token used or insufficient privilege */
            401: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Internal server error */
            500: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
        };
    };
    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?: string;
                    /** @description Indicates whether the invitation is a default invitation (open invite). */
                    isDefault?: boolean;
                    /** @description Name of the invitation. */
                    name: string;
                    /** @description Description of the invitation. */
                    description: string;
                    /** @description Email addresses or patterns this invitation is valid for. */
                    emails: string[];
                    /**
                     * Format: uuid
                     * @description ID of the organization to which the user is invited.
                     */
                    orgId: string;
                    /**
                     * Format: date-time
                     * @description Timestamp when the invitation expires, if applicable.
                     */
                    expiresAt?: string;
                    /** @description Quota for the invitation; limits the number of users that can accept it. */
                    quota?: number;
                    /** @description Roles that the user will have when accepting the invitation. */
                    roles: string[];
                    /** @description Teams that the user will be added to when accepting the invitation. */
                    teams: string[];
                    /**
                     * @description Activation status of the invitation.
                     * @enum {string}
                     */
                    status: "enabled" | "disabled";
                };
            };
        };
        responses: {
            /** @description Invitation created */
            201: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": {
                        /**
                         * Format: uuid
                         * @description Unique identifier for the invitation, also used as the invitation code.
                         */
                        readonly id: string;
                        /**
                         * Format: uuid
                         * @description ID of the user who created the invitation. Tracks who created the invitation for auditing purposes.
                         */
                        readonly owner: 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. An organization can only have one default invitation. */
                        isDefault?: boolean;
                        /** @description Name of the invitation, which can be used to identify it. Required; cannot be an empty string. */
                        name: string;
                        /** @description Description of the invitation, which can be used to provide additional context. Null or empty string means the invitation does not have a description. */
                        description: string;
                        /** @description Email addresses or patterns for which the invitation is valid. Null means the invitation is valid for any email address. */
                        emails: string[] | null;
                        /**
                         * Format: uuid
                         * @description ID of the organization to which the user is invited.
                         */
                        readonly orgId: string;
                        /**
                         * Format: date-time
                         * @description Timestamp when the invitation expires, if applicable. Null or empty means the invitation does not expire.
                         */
                        expiresAt?: string | null;
                        /** @description Quota for the invitation; limits the number of users that can accept it. Null or empty means the invitation is unlimited. */
                        quota?: number;
                        /** @description List of user ids that have already accepted the invitation. Empty means the invitation has not been used yet. */
                        readonly acceptedBy: string[];
                        /** @description Roles that the user will have when accepting the invitation. Empty means the invitation does not specify any roles. */
                        roles: string[];
                        /** @description Teams that the user will be added to when accepting the invitation. Empty means the invitation does not specify any teams. */
                        teams: string[];
                        /**
                         * @description Activation status of the invitation.
                         * @enum {string}
                         */
                        status: "enabled" | "disabled";
                        /**
                         * Format: date-time
                         * @description Timestamp when the invitation was created.
                         */
                        readonly createdAt: string;
                        /**
                         * Format: date-time
                         * @description Timestamp when the invitation was last updated.
                         */
                        readonly updatedAt: string;
                        /**
                         * Format: date-time
                         * @description Timestamp when the invitation was deleted, if applicable.
                         */
                        readonly deletedAt: string | null;
                    };
                };
            };
            /** @description Invalid request body or request param */
            400: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Expired JWT token used or insufficient privilege */
            401: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Internal server error */
            500: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
        };
    };
    acceptInvitation: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                /** @description The ID of the invitation. */
                invitationId: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Invitation accepted */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": {
                        /**
                         * Format: uuid
                         * @description Unique identifier for the invitation, also used as the invitation code.
                         */
                        readonly id: string;
                        /**
                         * Format: uuid
                         * @description ID of the user who created the invitation. Tracks who created the invitation for auditing purposes.
                         */
                        readonly owner: 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. An organization can only have one default invitation. */
                        isDefault?: boolean;
                        /** @description Name of the invitation, which can be used to identify it. Required; cannot be an empty string. */
                        name: string;
                        /** @description Description of the invitation, which can be used to provide additional context. Null or empty string means the invitation does not have a description. */
                        description: string;
                        /** @description Email addresses or patterns for which the invitation is valid. Null means the invitation is valid for any email address. */
                        emails: string[] | null;
                        /**
                         * Format: uuid
                         * @description ID of the organization to which the user is invited.
                         */
                        readonly orgId: string;
                        /**
                         * Format: date-time
                         * @description Timestamp when the invitation expires, if applicable. Null or empty means the invitation does not expire.
                         */
                        expiresAt?: string | null;
                        /** @description Quota for the invitation; limits the number of users that can accept it. Null or empty means the invitation is unlimited. */
                        quota?: number;
                        /** @description List of user ids that have already accepted the invitation. Empty means the invitation has not been used yet. */
                        readonly acceptedBy: string[];
                        /** @description Roles that the user will have when accepting the invitation. Empty means the invitation does not specify any roles. */
                        roles: string[];
                        /** @description Teams that the user will be added to when accepting the invitation. Empty means the invitation does not specify any teams. */
                        teams: string[];
                        /**
                         * @description Activation status of the invitation.
                         * @enum {string}
                         */
                        status: "enabled" | "disabled";
                        /**
                         * Format: date-time
                         * @description Timestamp when the invitation was created.
                         */
                        readonly createdAt: string;
                        /**
                         * Format: date-time
                         * @description Timestamp when the invitation was last updated.
                         */
                        readonly updatedAt: string;
                        /**
                         * Format: date-time
                         * @description Timestamp when the invitation was deleted, if applicable.
                         */
                        readonly deletedAt: string | null;
                    };
                };
            };
            /** @description Invalid request body or request param */
            400: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Expired JWT token used or insufficient privilege */
            401: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description 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. */
                        pageSize?: number;
                        /** @description Total number of items available. */
                        totalCount?: number;
                        /** @description Signup requests returned on the current page. */
                        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: {
                /** @description The ID of the signup request being approved or denied. */
                id: string;
                /** @description First name of the requester. */
                firstName?: string;
                /** @description Last name of the requester. */
                lastName?: string;
                /** @description Email address of the requester. */
                email?: string;
                /** @description Occupation of the requester. */
                occupation?: string;
                /** @description Organization of the requester. */
                organization?: string;
                /** @description Requested role. */
                role?: string;
                /** @description The signup form variant the request originated from. */
                formType?: string;
                /** @description Status to record on the signup request. */
                status?: string;
                /** @description Tracking task identifier associated with the request. */
                taskId?: string;
                /** @description Tracking task link associated with the request. */
                taskLink?: string;
            };
            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: {
                /** @description The ID of the signup request being approved or denied. */
                id: string;
                /** @description First name of the requester. */
                firstName?: string;
                /** @description Last name of the requester. */
                lastName?: string;
                /** @description Email address of the requester. */
                email?: string;
                /** @description Occupation of the requester. */
                occupation?: string;
                /** @description Organization of the requester. */
                organization?: string;
                /** @description Requested role. */
                role?: string;
                /** @description The signup form variant the request originated from. */
                formType?: string;
                /** @description Status to record on the signup request. */
                status?: string;
                /** @description Tracking task identifier associated with the request. */
                taskId?: string;
                /** @description Tracking task link associated with the request. */
                taskLink?: string;
            };
            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": {
                        /** @description The signup request the notification refers to. */
                        signupData: {
                            /**
                             * Format: uuid
                             * @description Unique identifier of the signup request.
                             */
                            id?: string;
                            /** @description First name of the requester. */
                            firstName?: string;
                            /** @description Last name of the requester. */
                            lastName?: string;
                            /**
                             * Format: email
                             * @description Email address of the requester.
                             */
                            email?: string;
                            /** @description Occupation stated by the requester. */
                            occupation?: string;
                            /** @description Organization stated by the requester. */
                            organization?: string;
                            /** @description Role stated by the requester within their organization. */
                            role?: string;
                            /** @description Product form the signup request originated from. Known values include playground, meshmap, docker-extension, epsma-book, content, contact and event; the set is open-ended. */
                            formType?: string;
                            /** @description Moderation status of the signup request. */
                            status?: string;
                            /** @description Identifier of the tracking task created for this request in the external task system. */
                            taskId?: string;
                            /**
                             * Format: uri
                             * @description Link to the tracking task created for this request.
                             */
                            taskLink?: string;
                            /**
                             * Format: date-time
                             * @description Timestamp when the signup request was created.
                             */
                            createdAt?: string;
                            /**
                             * Format: date-time
                             * @description Timestamp when the signup request was last updated.
                             */
                            updatedAt?: string;
                        };
                        /** @description Whether the signup request was automatically processed before moderator review. */
                        preProcessed: boolean;
                    };
                };
            };
            /** @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;
                };
            };
        };
    };
}
