@archastro/sdk
    Preparing search index...

    Variable chatMemberSchemaConst

    chatMemberSchema: ZodObject<
        {
            agent: ZodOptional<
                ZodObject<
                    {
                        acl: ZodOptional<
                            ZodNullable<
                                ZodObject<
                                    {
                                        add: ZodOptional<ZodArray<(...), (...)>>;
                                        grants: ZodOptional<ZodArray<(...), (...)>>;
                                        remove: ZodOptional<ZodArray<(...), (...)>>;
                                    },
                                    "strip",
                                    ZodTypeAny,
                                    { add?: (...)[]; grants?: (...)[]; remove?: (...)[] },
                                    { add?: (...)[]; grants?: (...)[]; remove?: (...)[] },
                                >,
                            >,
                        >;
                        app: ZodOptional<ZodString>;
                        created_at: ZodOptional<ZodString>;
                        default_model: ZodOptional<ZodNullable<ZodString>>;
                        description: ZodOptional<ZodNullable<ZodString>>;
                        email: ZodOptional<ZodNullable<ZodString>>;
                        id: ZodString;
                        identity: ZodOptional<ZodNullable<ZodString>>;
                        last_applied_template_config: ZodOptional<ZodNullable<ZodString>>;
                        lookup_key: ZodOptional<ZodNullable<ZodString>>;
                        metadata: ZodOptional<
                            ZodRecord<ZodString, ZodType<{} | null, ZodTypeDef, {} | null>>,
                        >;
                        name: ZodOptional<ZodString>;
                        org: ZodOptional<ZodNullable<ZodString>>;
                        org_name: ZodOptional<ZodNullable<ZodString>>;
                        originator: ZodOptional<ZodNullable<ZodString>>;
                        phone_number: ZodOptional<ZodNullable<ZodString>>;
                        sandbox: ZodOptional<ZodNullable<ZodString>>;
                        source_solution: ZodOptional<
                            ZodNullable<
                                ZodObject<
                                    {
                                        current_solution: ZodOptional<
                                            ZodObject<(...), (...), (...), (...), (...)>,
                                        >;
                                        solution: ZodObject<
                                            {
                                                category_keys: ...;
                                                created_at: ...;
                                                description: ...;
                                                events: ...;
                                                id: ...;
                                                image_url: ...;
                                                installed_config_ids: ...;
                                                kind: ...;
                                                latest_solution: ...;
                                                latest_version: ...;
                                                lookup_key: ...;
                                                metadata: ...;
                                                name: ...;
                                                org: ...;
                                                org_logo: ...;
                                                org_name: ...;
                                                org_slug: ...;
                                                owners: ...;
                                                readme_url: ...;
                                                screenshot_urls: ...;
                                                solution_id: ...;
                                                solution_version: ...;
                                                tag_keys: ...;
                                                template_kind: ...;
                                                templates: ...;
                                                updated_at: ...;
                                                upgrade_available: ...;
                                                virtual_path: ...;
                                            },
                                            "strip",
                                            ZodTypeAny,
                                            {
                                                category_keys?: ...;
                                                created_at?: ...;
                                                description?: ...;
                                                events?: ...;
                                                id: ...;
                                                image_url?: ...;
                                                installed_config_ids: ...;
                                                kind: ...;
                                                latest_solution?: ...;
                                                latest_version?: ...;
                                                lookup_key?: ...;
                                                metadata?: ...;
                                                name?: ...;
                                                org?: ...;
                                                org_logo?: ...;
                                                org_name?: ...;
                                                org_slug?: ...;
                                                owners: ...;
                                                readme_url?: ...;
                                                screenshot_urls?: ...;
                                                solution_id?: ...;
                                                solution_version?: ...;
                                                tag_keys?: ...;
                                                template_kind?: ...;
                                                templates: ...;
                                                updated_at?: ...;
                                                upgrade_available: ...;
                                                virtual_path?: ...;
                                            },
                                            {
                                                category_keys?: ...;
                                                created_at?: ...;
                                                description?: ...;
                                                events?: ...;
                                                id: ...;
                                                image_url?: ...;
                                                installed_config_ids: ...;
                                                kind: ...;
                                                latest_solution?: ...;
                                                latest_version?: ...;
                                                lookup_key?: ...;
                                                metadata?: ...;
                                                name?: ...;
                                                org?: ...;
                                                org_logo?: ...;
                                                org_name?: ...;
                                                org_slug?: ...;
                                                owners: ...;
                                                readme_url?: ...;
                                                screenshot_urls?: ...;
                                                solution_id?: ...;
                                                solution_version?: ...;
                                                tag_keys?: ...;
                                                template_kind?: ...;
                                                templates: ...;
                                                updated_at?: ...;
                                                upgrade_available: ...;
                                                virtual_path?: ...;
                                            },
                                        >;
                                        template: ZodObject<
                                            {
                                                created_at: ...;
                                                description: ...;
                                                display_name: ...;
                                                id: ...;
                                                kind: ...;
                                                lookup_key: ...;
                                                name: ...;
                                                updated_at: ...;
                                                virtual_path: ...;
                                            },
                                            "strip",
                                            ZodTypeAny,
                                            {
                                                created_at?: ...;
                                                description?: ...;
                                                display_name?: ...;
                                                id: ...;
                                                kind: ...;
                                                lookup_key?: ...;
                                                name?: ...;
                                                updated_at?: ...;
                                                virtual_path?: ...;
                                            },
                                            {
                                                created_at?: ...;
                                                description?: ...;
                                                display_name?: ...;
                                                id: ...;
                                                kind: ...;
                                                lookup_key?: ...;
                                                name?: ...;
                                                updated_at?: ...;
                                                virtual_path?: ...;
                                            },
                                        >;
                                    },
                                    "strip",
                                    ZodTypeAny,
                                    {
                                        current_solution?: {
                                            category_keys?: ...;
                                            created_at?: ...;
                                            description?: ...;
                                            events?: ...;
                                            id: ...;
                                            image_url?: ...;
                                            installed_config_ids: ...;
                                            kind: ...;
                                            latest_solution?: ...;
                                            latest_version?: ...;
                                            lookup_key?: ...;
                                            metadata?: ...;
                                            name?: ...;
                                            org?: ...;
                                            org_logo?: ...;
                                            org_name?: ...;
                                            org_slug?: ...;
                                            owners: ...;
                                            readme_url?: ...;
                                            screenshot_urls?: ...;
                                            solution_id?: ...;
                                            solution_version?: ...;
                                            tag_keys?: ...;
                                            template_kind?: ...;
                                            templates: ...;
                                            updated_at?: ...;
                                            upgrade_available: ...;
                                            virtual_path?: ...;
                                        };
                                        solution: {
                                            category_keys?: (...)
                                            | (...);
                                            created_at?: (...) | (...);
                                            description?: (...) | (...) | (...);
                                            events?: (...) | (...);
                                            id: string;
                                            image_url?: (...) | (...) | (...);
                                            installed_config_ids: (...)[];
                                            kind: string;
                                            latest_solution?: (...) | (...) | (...);
                                            latest_version?: (...) | (...) | (...);
                                            lookup_key?: (...) | (...) | (...);
                                            metadata?: (...) | (...);
                                            name?: (...) | (...) | (...);
                                            org?: (...) | (...) | (...);
                                            org_logo?: (...) | (...) | (...);
                                            org_name?: (...) | (...) | (...);
                                            org_slug?: (...) | (...) | (...);
                                            owners: (...)[];
                                            readme_url?: (...) | (...) | (...);
                                            screenshot_urls?: (...) | (...);
                                            solution_id?: (...) | (...) | (...);
                                            solution_version?: (...) | (...) | (...);
                                            tag_keys?: (...) | (...);
                                            template_kind?: (...) | (...) | (...);
                                            templates: (...)[];
                                            updated_at?: (...) | (...);
                                            upgrade_available: boolean;
                                            virtual_path?: (...) | (...) | (...);
                                        };
                                        template: {
                                            created_at?: (...)
                                            | (...);
                                            description?: (...) | (...) | (...);
                                            display_name?: (...) | (...) | (...);
                                            id: string;
                                            kind: string;
                                            lookup_key?: (...) | (...) | (...);
                                            name?: (...) | (...) | (...);
                                            updated_at?: (...) | (...);
                                            virtual_path?: (...) | (...) | (...);
                                        };
                                    },
                                    {
                                        current_solution?: {
                                            category_keys?: ...;
                                            created_at?: ...;
                                            description?: ...;
                                            events?: ...;
                                            id: ...;
                                            image_url?: ...;
                                            installed_config_ids: ...;
                                            kind: ...;
                                            latest_solution?: ...;
                                            latest_version?: ...;
                                            lookup_key?: ...;
                                            metadata?: ...;
                                            name?: ...;
                                            org?: ...;
                                            org_logo?: ...;
                                            org_name?: ...;
                                            org_slug?: ...;
                                            owners: ...;
                                            readme_url?: ...;
                                            screenshot_urls?: ...;
                                            solution_id?: ...;
                                            solution_version?: ...;
                                            tag_keys?: ...;
                                            template_kind?: ...;
                                            templates: ...;
                                            updated_at?: ...;
                                            upgrade_available: ...;
                                            virtual_path?: ...;
                                        };
                                        solution: {
                                            category_keys?: (...)
                                            | (...);
                                            created_at?: (...) | (...);
                                            description?: (...) | (...) | (...);
                                            events?: (...) | (...);
                                            id: string;
                                            image_url?: (...) | (...) | (...);
                                            installed_config_ids: (...)[];
                                            kind: string;
                                            latest_solution?: (...) | (...) | (...);
                                            latest_version?: (...) | (...) | (...);
                                            lookup_key?: (...) | (...) | (...);
                                            metadata?: (...) | (...);
                                            name?: (...) | (...) | (...);
                                            org?: (...) | (...) | (...);
                                            org_logo?: (...) | (...) | (...);
                                            org_name?: (...) | (...) | (...);
                                            org_slug?: (...) | (...) | (...);
                                            owners: (...)[];
                                            readme_url?: (...) | (...) | (...);
                                            screenshot_urls?: (...) | (...);
                                            solution_id?: (...) | (...) | (...);
                                            solution_version?: (...) | (...) | (...);
                                            tag_keys?: (...) | (...);
                                            template_kind?: (...) | (...) | (...);
                                            templates: (...)[];
                                            updated_at?: (...) | (...);
                                            upgrade_available: boolean;
                                            virtual_path?: (...) | (...) | (...);
                                        };
                                        template: {
                                            created_at?: (...)
                                            | (...);
                                            description?: (...) | (...) | (...);
                                            display_name?: (...) | (...) | (...);
                                            id: string;
                                            kind: string;
                                            lookup_key?: (...) | (...) | (...);
                                            name?: (...) | (...) | (...);
                                            updated_at?: (...) | (...);
                                            virtual_path?: (...) | (...) | (...);
                                        };
                                    },
                                >,
                            >,
                        >;
                        team: ZodOptional<ZodNullable<ZodString>>;
                        template_upgrade_available: ZodOptional<ZodNullable<ZodBoolean>>;
                        updated_at: ZodOptional<ZodString>;
                        user: ZodOptional<ZodNullable<ZodString>>;
                    },
                    "strip",
                    ZodTypeAny,
                    {
                        acl?: | {
                            add?: {
                                actions: (...)[];
                                principal?: (...) | (...);
                                principal_type: string;
                            }[];
                            grants?: {
                                actions: (...)[];
                                principal?: (...) | (...);
                                principal_type: string;
                            }[];
                            remove?: { principal?: (...)
                            | (...); principal_type: string }[];
                        }
                        | null;
                        app?: string;
                        created_at?: string;
                        default_model?: string
                        | null;
                        description?: string | null;
                        email?: string | null;
                        id: string;
                        identity?: string | null;
                        last_applied_template_config?: string | null;
                        lookup_key?: string | null;
                        metadata?: Record<string, {} | null>;
                        name?: string;
                        org?: string | null;
                        org_name?: string | null;
                        originator?: string | null;
                        phone_number?: string | null;
                        sandbox?: string | null;
                        source_solution?:
                            | {
                                current_solution?: {
                                    category_keys?: (...)[];
                                    created_at?: string;
                                    description?: string | null;
                                    events?: Record<(...), (...)>;
                                    id: string;
                                    image_url?: string | null;
                                    installed_config_ids: string[];
                                    kind: string;
                                    latest_solution?: string | null;
                                    latest_version?: string | null;
                                    lookup_key?: string | null;
                                    metadata?: Record<(...), (...)>;
                                    name?: string | null;
                                    org?: string | null;
                                    org_logo?:
                                        | {
                                            file?: ...;
                                            height?: ...;
                                            media?: ...;
                                            mime_type?: ...;
                                            refresh_url?: ...;
                                            url?: ...;
                                            width?: ...;
                                        }
                                        | null;
                                    org_name?: string
                                    | null;
                                    org_slug?: string | null;
                                    owners: string[];
                                    readme_url?: string | null;
                                    screenshot_urls?: (...)[];
                                    solution_id?: string | null;
                                    solution_version?: string | null;
                                    tag_keys?: (...)[];
                                    template_kind?: string | null;
                                    templates: {
                                        description?: ...;
                                        details?: ...;
                                        display_name?: ...;
                                        id?: ...;
                                        kind: ...;
                                        lookup_key?: ...;
                                        name?: ...;
                                        readme_url?: ...;
                                        virtual_path?: ...;
                                    }[];
                                    updated_at?: string;
                                    upgrade_available: boolean;
                                    virtual_path?: string
                                    | null;
                                };
                                solution: {
                                    category_keys?: string[];
                                    created_at?: string;
                                    description?: string
                                    | null;
                                    events?: Record<string, (...) | (...)>;
                                    id: string;
                                    image_url?: string | null;
                                    installed_config_ids: string[];
                                    kind: string;
                                    latest_solution?: string | null;
                                    latest_version?: string | null;
                                    lookup_key?: string | null;
                                    metadata?: Record<string, (...) | (...)>;
                                    name?: string | null;
                                    org?: string | null;
                                    org_logo?:
                                        | {
                                            file?: (...)
                                            | (...)
                                            | (...);
                                            height?: (...) | (...) | (...);
                                            media?: (...) | (...) | (...);
                                            mime_type?: (...) | (...) | (...);
                                            refresh_url?: (...) | (...) | (...);
                                            url?: (...) | (...) | (...);
                                            width?: (...) | (...) | (...);
                                        }
                                        | null;
                                    org_name?: string
                                    | null;
                                    org_slug?: string | null;
                                    owners: string[];
                                    readme_url?: string | null;
                                    screenshot_urls?: string[];
                                    solution_id?: string | null;
                                    solution_version?: string | null;
                                    tag_keys?: string[];
                                    template_kind?: string | null;
                                    templates: {
                                        description?: (...) | (...) | (...);
                                        details?: (...) | (...) | (...);
                                        display_name?: (...) | (...) | (...);
                                        id?: (...) | (...) | (...);
                                        kind: string;
                                        lookup_key?: (...) | (...) | (...);
                                        name?: (...) | (...) | (...);
                                        readme_url?: (...) | (...) | (...);
                                        virtual_path?: (...) | (...) | (...);
                                    }[];
                                    updated_at?: string;
                                    upgrade_available: boolean;
                                    virtual_path?: string
                                    | null;
                                };
                                template: {
                                    created_at?: string;
                                    description?: string
                                    | null;
                                    display_name?: string | null;
                                    id: string;
                                    kind: string;
                                    lookup_key?: string | null;
                                    name?: string | null;
                                    updated_at?: string;
                                    virtual_path?: string | null;
                                };
                            }
                            | null;
                        team?: string
                        | null;
                        template_upgrade_available?: boolean | null;
                        updated_at?: string;
                        user?: string | null;
                    },
                    {
                        acl?: | {
                            add?: {
                                actions: (...)[];
                                principal?: (...) | (...);
                                principal_type: string;
                            }[];
                            grants?: {
                                actions: (...)[];
                                principal?: (...) | (...);
                                principal_type: string;
                            }[];
                            remove?: { principal?: (...)
                            | (...); principal_type: string }[];
                        }
                        | null;
                        app?: string;
                        created_at?: string;
                        default_model?: string
                        | null;
                        description?: string | null;
                        email?: string | null;
                        id: string;
                        identity?: string | null;
                        last_applied_template_config?: string | null;
                        lookup_key?: string | null;
                        metadata?: Record<string, {} | null>;
                        name?: string;
                        org?: string | null;
                        org_name?: string | null;
                        originator?: string | null;
                        phone_number?: string | null;
                        sandbox?: string | null;
                        source_solution?:
                            | {
                                current_solution?: {
                                    category_keys?: (...)[];
                                    created_at?: string;
                                    description?: string | null;
                                    events?: Record<(...), (...)>;
                                    id: string;
                                    image_url?: string | null;
                                    installed_config_ids: string[];
                                    kind: string;
                                    latest_solution?: string | null;
                                    latest_version?: string | null;
                                    lookup_key?: string | null;
                                    metadata?: Record<(...), (...)>;
                                    name?: string | null;
                                    org?: string | null;
                                    org_logo?:
                                        | {
                                            file?: ...;
                                            height?: ...;
                                            media?: ...;
                                            mime_type?: ...;
                                            refresh_url?: ...;
                                            url?: ...;
                                            width?: ...;
                                        }
                                        | null;
                                    org_name?: string
                                    | null;
                                    org_slug?: string | null;
                                    owners: string[];
                                    readme_url?: string | null;
                                    screenshot_urls?: (...)[];
                                    solution_id?: string | null;
                                    solution_version?: string | null;
                                    tag_keys?: (...)[];
                                    template_kind?: string | null;
                                    templates: {
                                        description?: ...;
                                        details?: ...;
                                        display_name?: ...;
                                        id?: ...;
                                        kind: ...;
                                        lookup_key?: ...;
                                        name?: ...;
                                        readme_url?: ...;
                                        virtual_path?: ...;
                                    }[];
                                    updated_at?: string;
                                    upgrade_available: boolean;
                                    virtual_path?: string
                                    | null;
                                };
                                solution: {
                                    category_keys?: string[];
                                    created_at?: string;
                                    description?: string
                                    | null;
                                    events?: Record<string, (...) | (...)>;
                                    id: string;
                                    image_url?: string | null;
                                    installed_config_ids: string[];
                                    kind: string;
                                    latest_solution?: string | null;
                                    latest_version?: string | null;
                                    lookup_key?: string | null;
                                    metadata?: Record<string, (...) | (...)>;
                                    name?: string | null;
                                    org?: string | null;
                                    org_logo?:
                                        | {
                                            file?: (...)
                                            | (...)
                                            | (...);
                                            height?: (...) | (...) | (...);
                                            media?: (...) | (...) | (...);
                                            mime_type?: (...) | (...) | (...);
                                            refresh_url?: (...) | (...) | (...);
                                            url?: (...) | (...) | (...);
                                            width?: (...) | (...) | (...);
                                        }
                                        | null;
                                    org_name?: string
                                    | null;
                                    org_slug?: string | null;
                                    owners: string[];
                                    readme_url?: string | null;
                                    screenshot_urls?: string[];
                                    solution_id?: string | null;
                                    solution_version?: string | null;
                                    tag_keys?: string[];
                                    template_kind?: string | null;
                                    templates: {
                                        description?: (...) | (...) | (...);
                                        details?: (...) | (...) | (...);
                                        display_name?: (...) | (...) | (...);
                                        id?: (...) | (...) | (...);
                                        kind: string;
                                        lookup_key?: (...) | (...) | (...);
                                        name?: (...) | (...) | (...);
                                        readme_url?: (...) | (...) | (...);
                                        virtual_path?: (...) | (...) | (...);
                                    }[];
                                    updated_at?: string;
                                    upgrade_available: boolean;
                                    virtual_path?: string
                                    | null;
                                };
                                template: {
                                    created_at?: string;
                                    description?: string
                                    | null;
                                    display_name?: string | null;
                                    id: string;
                                    kind: string;
                                    lookup_key?: string | null;
                                    name?: string | null;
                                    updated_at?: string;
                                    virtual_path?: string | null;
                                };
                            }
                            | null;
                        team?: string
                        | null;
                        template_upgrade_available?: boolean | null;
                        updated_at?: string;
                        user?: string | null;
                    },
                >,
            >;
            membership_type: ZodOptional<ZodString>;
            type: ZodString;
            user: ZodOptional<
                ZodObject<
                    {
                        alias: ZodOptional<ZodNullable<ZodString>>;
                        app: ZodOptional<ZodNullable<ZodString>>;
                        app_name: ZodOptional<ZodNullable<ZodString>>;
                        created_by_agent_user: ZodOptional<ZodNullable<ZodString>>;
                        created_by_developer: ZodOptional<ZodNullable<ZodString>>;
                        created_by_org: ZodOptional<ZodNullable<ZodString>>;
                        created_by_team: ZodOptional<ZodNullable<ZodString>>;
                        created_by_user: ZodOptional<ZodNullable<ZodString>>;
                        email: ZodOptional<ZodNullable<ZodString>>;
                        id: ZodString;
                        is_system_user: ZodOptional<ZodBoolean>;
                        metadata: ZodOptional<
                            ZodRecord<ZodString, ZodType<{} | null, ZodTypeDef, {} | null>>,
                        >;
                        name: ZodOptional<ZodNullable<ZodString>>;
                        org: ZodOptional<ZodNullable<ZodString>>;
                        org_name: ZodOptional<ZodNullable<ZodString>>;
                        org_role: ZodOptional<ZodNullable<ZodString>>;
                        org_slug: ZodOptional<ZodNullable<ZodString>>;
                        sandbox: ZodOptional<ZodNullable<ZodString>>;
                        sandbox_name: ZodOptional<ZodNullable<ZodString>>;
                    },
                    "strip",
                    ZodTypeAny,
                    {
                        alias?: string
                        | null;
                        app?: string | null;
                        app_name?: string | null;
                        created_by_agent_user?: string | null;
                        created_by_developer?: string | null;
                        created_by_org?: string | null;
                        created_by_team?: string | null;
                        created_by_user?: string | null;
                        email?: string | null;
                        id: string;
                        is_system_user?: boolean;
                        metadata?: Record<string, {} | null>;
                        name?: string | null;
                        org?: string | null;
                        org_name?: string | null;
                        org_role?: string | null;
                        org_slug?: string | null;
                        sandbox?: string | null;
                        sandbox_name?: string | null;
                    },
                    {
                        alias?: string
                        | null;
                        app?: string | null;
                        app_name?: string | null;
                        created_by_agent_user?: string | null;
                        created_by_developer?: string | null;
                        created_by_org?: string | null;
                        created_by_team?: string | null;
                        created_by_user?: string | null;
                        email?: string | null;
                        id: string;
                        is_system_user?: boolean;
                        metadata?: Record<string, {} | null>;
                        name?: string | null;
                        org?: string | null;
                        org_name?: string | null;
                        org_role?: string | null;
                        org_slug?: string | null;
                        sandbox?: string | null;
                        sandbox_name?: string | null;
                    },
                >,
            >;
        },
        "strip",
        ZodTypeAny,
        {
            agent?: {
                acl?: | {
                    add?: {
                        actions: string[];
                        principal?: string;
                        principal_type: string;
                    }[];
                    grants?: {
                        actions: string[];
                        principal?: string;
                        principal_type: string;
                    }[];
                    remove?: { principal?: string; principal_type: string }[];
                }
                | null;
                app?: string;
                created_at?: string;
                default_model?: string
                | null;
                description?: string | null;
                email?: string | null;
                id: string;
                identity?: string | null;
                last_applied_template_config?: string | null;
                lookup_key?: string | null;
                metadata?: Record<string, {} | null>;
                name?: string;
                org?: string | null;
                org_name?: string | null;
                originator?: string | null;
                phone_number?: string | null;
                sandbox?: string | null;
                source_solution?:
                    | {
                        current_solution?: {
                            category_keys?: string[];
                            created_at?: string;
                            description?: string
                            | null;
                            events?: Record<string, (...) | (...)>;
                            id: string;
                            image_url?: string | null;
                            installed_config_ids: string[];
                            kind: string;
                            latest_solution?: string | null;
                            latest_version?: string | null;
                            lookup_key?: string | null;
                            metadata?: Record<string, (...) | (...)>;
                            name?: string | null;
                            org?: string | null;
                            org_logo?:
                                | {
                                    file?: (...)
                                    | (...)
                                    | (...);
                                    height?: (...) | (...) | (...);
                                    media?: (...) | (...) | (...);
                                    mime_type?: (...) | (...) | (...);
                                    refresh_url?: (...) | (...) | (...);
                                    url?: (...) | (...) | (...);
                                    width?: (...) | (...) | (...);
                                }
                                | null;
                            org_name?: string
                            | null;
                            org_slug?: string | null;
                            owners: string[];
                            readme_url?: string | null;
                            screenshot_urls?: string[];
                            solution_id?: string | null;
                            solution_version?: string | null;
                            tag_keys?: string[];
                            template_kind?: string | null;
                            templates: {
                                description?: (...) | (...) | (...);
                                details?: (...) | (...) | (...);
                                display_name?: (...) | (...) | (...);
                                id?: (...) | (...) | (...);
                                kind: string;
                                lookup_key?: (...) | (...) | (...);
                                name?: (...) | (...) | (...);
                                readme_url?: (...) | (...) | (...);
                                virtual_path?: (...) | (...) | (...);
                            }[];
                            updated_at?: string;
                            upgrade_available: boolean;
                            virtual_path?: string
                            | null;
                        };
                        solution: {
                            category_keys?: string[];
                            created_at?: string;
                            description?: string
                            | null;
                            events?: Record<string, {} | null>;
                            id: string;
                            image_url?: string | null;
                            installed_config_ids: string[];
                            kind: string;
                            latest_solution?: string | null;
                            latest_version?: string | null;
                            lookup_key?: string | null;
                            metadata?: Record<string, {} | null>;
                            name?: string | null;
                            org?: string | null;
                            org_logo?:
                                | {
                                    file?: string
                                    | null;
                                    height?: number | null;
                                    media?: string | null;
                                    mime_type?: string | null;
                                    refresh_url?: string | null;
                                    url?: string | null;
                                    width?: number | null;
                                }
                                | null;
                            org_name?: string
                            | null;
                            org_slug?: string | null;
                            owners: string[];
                            readme_url?: string | null;
                            screenshot_urls?: string[];
                            solution_id?: string | null;
                            solution_version?: string | null;
                            tag_keys?: string[];
                            template_kind?: string | null;
                            templates: {
                                description?: string | null;
                                details?:
                                    | { automation_type?: ...; invoke_contract?: ...; type: ... }
                                    | null;
                                display_name?: string | null;
                                id?: string | null;
                                kind: string;
                                lookup_key?: string | null;
                                name?: string | null;
                                readme_url?: string | null;
                                virtual_path?: string | null;
                            }[];
                            updated_at?: string;
                            upgrade_available: boolean;
                            virtual_path?: string
                            | null;
                        };
                        template: {
                            created_at?: string;
                            description?: string
                            | null;
                            display_name?: string | null;
                            id: string;
                            kind: string;
                            lookup_key?: string | null;
                            name?: string | null;
                            updated_at?: string;
                            virtual_path?: string | null;
                        };
                    }
                    | null;
                team?: string
                | null;
                template_upgrade_available?: boolean | null;
                updated_at?: string;
                user?: string | null;
            };
            membership_type?: string;
            type: string;
            user?: {
                alias?: string
                | null;
                app?: string | null;
                app_name?: string | null;
                created_by_agent_user?: string | null;
                created_by_developer?: string | null;
                created_by_org?: string | null;
                created_by_team?: string | null;
                created_by_user?: string | null;
                email?: string | null;
                id: string;
                is_system_user?: boolean;
                metadata?: Record<string, {} | null>;
                name?: string | null;
                org?: string | null;
                org_name?: string | null;
                org_role?: string | null;
                org_slug?: string | null;
                sandbox?: string | null;
                sandbox_name?: string | null;
            };
        },
        {
            agent?: {
                acl?: | {
                    add?: {
                        actions: string[];
                        principal?: string;
                        principal_type: string;
                    }[];
                    grants?: {
                        actions: string[];
                        principal?: string;
                        principal_type: string;
                    }[];
                    remove?: { principal?: string; principal_type: string }[];
                }
                | null;
                app?: string;
                created_at?: string;
                default_model?: string
                | null;
                description?: string | null;
                email?: string | null;
                id: string;
                identity?: string | null;
                last_applied_template_config?: string | null;
                lookup_key?: string | null;
                metadata?: Record<string, {} | null>;
                name?: string;
                org?: string | null;
                org_name?: string | null;
                originator?: string | null;
                phone_number?: string | null;
                sandbox?: string | null;
                source_solution?:
                    | {
                        current_solution?: {
                            category_keys?: string[];
                            created_at?: string;
                            description?: string
                            | null;
                            events?: Record<string, (...) | (...)>;
                            id: string;
                            image_url?: string | null;
                            installed_config_ids: string[];
                            kind: string;
                            latest_solution?: string | null;
                            latest_version?: string | null;
                            lookup_key?: string | null;
                            metadata?: Record<string, (...) | (...)>;
                            name?: string | null;
                            org?: string | null;
                            org_logo?:
                                | {
                                    file?: (...)
                                    | (...)
                                    | (...);
                                    height?: (...) | (...) | (...);
                                    media?: (...) | (...) | (...);
                                    mime_type?: (...) | (...) | (...);
                                    refresh_url?: (...) | (...) | (...);
                                    url?: (...) | (...) | (...);
                                    width?: (...) | (...) | (...);
                                }
                                | null;
                            org_name?: string
                            | null;
                            org_slug?: string | null;
                            owners: string[];
                            readme_url?: string | null;
                            screenshot_urls?: string[];
                            solution_id?: string | null;
                            solution_version?: string | null;
                            tag_keys?: string[];
                            template_kind?: string | null;
                            templates: {
                                description?: (...) | (...) | (...);
                                details?: (...) | (...) | (...);
                                display_name?: (...) | (...) | (...);
                                id?: (...) | (...) | (...);
                                kind: string;
                                lookup_key?: (...) | (...) | (...);
                                name?: (...) | (...) | (...);
                                readme_url?: (...) | (...) | (...);
                                virtual_path?: (...) | (...) | (...);
                            }[];
                            updated_at?: string;
                            upgrade_available: boolean;
                            virtual_path?: string
                            | null;
                        };
                        solution: {
                            category_keys?: string[];
                            created_at?: string;
                            description?: string
                            | null;
                            events?: Record<string, {} | null>;
                            id: string;
                            image_url?: string | null;
                            installed_config_ids: string[];
                            kind: string;
                            latest_solution?: string | null;
                            latest_version?: string | null;
                            lookup_key?: string | null;
                            metadata?: Record<string, {} | null>;
                            name?: string | null;
                            org?: string | null;
                            org_logo?:
                                | {
                                    file?: string
                                    | null;
                                    height?: number | null;
                                    media?: string | null;
                                    mime_type?: string | null;
                                    refresh_url?: string | null;
                                    url?: string | null;
                                    width?: number | null;
                                }
                                | null;
                            org_name?: string
                            | null;
                            org_slug?: string | null;
                            owners: string[];
                            readme_url?: string | null;
                            screenshot_urls?: string[];
                            solution_id?: string | null;
                            solution_version?: string | null;
                            tag_keys?: string[];
                            template_kind?: string | null;
                            templates: {
                                description?: string | null;
                                details?:
                                    | { automation_type?: ...; invoke_contract?: ...; type: ... }
                                    | null;
                                display_name?: string | null;
                                id?: string | null;
                                kind: string;
                                lookup_key?: string | null;
                                name?: string | null;
                                readme_url?: string | null;
                                virtual_path?: string | null;
                            }[];
                            updated_at?: string;
                            upgrade_available: boolean;
                            virtual_path?: string
                            | null;
                        };
                        template: {
                            created_at?: string;
                            description?: string
                            | null;
                            display_name?: string | null;
                            id: string;
                            kind: string;
                            lookup_key?: string | null;
                            name?: string | null;
                            updated_at?: string;
                            virtual_path?: string | null;
                        };
                    }
                    | null;
                team?: string
                | null;
                template_upgrade_available?: boolean | null;
                updated_at?: string;
                user?: string | null;
            };
            membership_type?: string;
            type: string;
            user?: {
                alias?: string
                | null;
                app?: string | null;
                app_name?: string | null;
                created_by_agent_user?: string | null;
                created_by_developer?: string | null;
                created_by_org?: string | null;
                created_by_team?: string | null;
                created_by_user?: string | null;
                email?: string | null;
                id: string;
                is_system_user?: boolean;
                metadata?: Record<string, {} | null>;
                name?: string | null;
                org?: string | null;
                org_name?: string | null;
                org_role?: string | null;
                org_slug?: string | null;
                sandbox?: string | null;
                sandbox_name?: string | null;
            };
        },
    > = ...

    Runtime validator for ChatMember.