@archastro/sdk
    Preparing search index...

    Variable agentSchemaConst

    agentSchema: ZodObject<
        {
            acl: ZodOptional<
                ZodNullable<
                    ZodObject<
                        {
                            add: ZodOptional<
                                ZodArray<
                                    ZodObject<
                                        {
                                            actions: ZodArray<(...), (...)>;
                                            principal: ZodOptional<(...)>;
                                            principal_type: ZodString;
                                        },
                                        "strip",
                                        ZodTypeAny,
                                        {
                                            actions: (...)[];
                                            principal?: (...) | (...);
                                            principal_type: string;
                                        },
                                        {
                                            actions: (...)[];
                                            principal?: (...) | (...);
                                            principal_type: string;
                                        },
                                    >,
                                    "many",
                                >,
                            >;
                            grants: ZodOptional<
                                ZodArray<
                                    ZodObject<
                                        {
                                            actions: ZodArray<(...), (...)>;
                                            principal: ZodOptional<(...)>;
                                            principal_type: ZodString;
                                        },
                                        "strip",
                                        ZodTypeAny,
                                        {
                                            actions: (...)[];
                                            principal?: (...) | (...);
                                            principal_type: string;
                                        },
                                        {
                                            actions: (...)[];
                                            principal?: (...) | (...);
                                            principal_type: string;
                                        },
                                    >,
                                    "many",
                                >,
                            >;
                            remove: ZodOptional<
                                ZodArray<
                                    ZodObject<
                                        { principal: ZodOptional<(...)>; principal_type: ZodString },
                                        "strip",
                                        ZodTypeAny,
                                        { principal?: (...) | (...); principal_type: string },
                                        { principal?: (...) | (...); principal_type: string },
                                    >,
                                    "many",
                                >,
                            >;
                        },
                        "strip",
                        ZodTypeAny,
                        {
                            add?: {
                                actions: string[];
                                principal?: string;
                                principal_type: string;
                            }[];
                            grants?: {
                                actions: string[];
                                principal?: string;
                                principal_type: string;
                            }[];
                            remove?: { principal?: string; principal_type: string }[];
                        },
                        {
                            add?: {
                                actions: string[];
                                principal?: string;
                                principal_type: string;
                            }[];
                            grants?: {
                                actions: string[];
                                principal?: string;
                                principal_type: string;
                            }[];
                            remove?: { principal?: string; principal_type: string }[];
                        },
                    >,
                >,
            >;
            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<
                                    {
                                        category_keys: ZodOptional<ZodArray<(...), (...)>>;
                                        created_at: ZodOptional<ZodString>;
                                        description: ZodOptional<ZodNullable<(...)>>;
                                        events: ZodOptional<ZodRecord<(...), (...)>>;
                                        id: ZodString;
                                        image_url: ZodOptional<ZodNullable<(...)>>;
                                        installed_config_ids: ZodArray<ZodString, "many">;
                                        kind: ZodString;
                                        latest_solution: ZodOptional<ZodNullable<(...)>>;
                                        latest_version: ZodOptional<ZodNullable<(...)>>;
                                        lookup_key: ZodOptional<ZodNullable<(...)>>;
                                        metadata: ZodOptional<ZodRecord<(...), (...)>>;
                                        name: ZodOptional<ZodNullable<(...)>>;
                                        org: ZodOptional<ZodNullable<(...)>>;
                                        org_logo: ZodOptional<ZodNullable<(...)>>;
                                        org_name: ZodOptional<ZodNullable<(...)>>;
                                        org_slug: ZodOptional<ZodNullable<(...)>>;
                                        owners: ZodArray<ZodString, "many">;
                                        readme_url: ZodOptional<ZodNullable<(...)>>;
                                        screenshot_urls: ZodOptional<ZodArray<(...), (...)>>;
                                        solution_id: ZodOptional<ZodNullable<(...)>>;
                                        solution_version: ZodOptional<ZodNullable<(...)>>;
                                        tag_keys: ZodOptional<ZodArray<(...), (...)>>;
                                        template_kind: ZodOptional<ZodNullable<(...)>>;
                                        templates: ZodArray<
                                            ZodObject<(...), (...), (...), (...), (...)>,
                                            "many",
                                        >;
                                        updated_at: ZodOptional<ZodString>;
                                        upgrade_available: ZodBoolean;
                                        virtual_path: ZodOptional<ZodNullable<(...)>>;
                                    },
                                    "strip",
                                    ZodTypeAny,
                                    {
                                        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;
                                    },
                                    {
                                        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: ZodObject<
                                {
                                    category_keys: ZodOptional<ZodArray<ZodString, "many">>;
                                    created_at: ZodOptional<ZodString>;
                                    description: ZodOptional<ZodNullable<ZodString>>;
                                    events: ZodOptional<
                                        ZodRecord<ZodString, ZodType<(...), (...), (...)>>,
                                    >;
                                    id: ZodString;
                                    image_url: ZodOptional<ZodNullable<ZodString>>;
                                    installed_config_ids: ZodArray<ZodString, "many">;
                                    kind: ZodString;
                                    latest_solution: ZodOptional<ZodNullable<ZodString>>;
                                    latest_version: ZodOptional<ZodNullable<ZodString>>;
                                    lookup_key: ZodOptional<ZodNullable<ZodString>>;
                                    metadata: ZodOptional<
                                        ZodRecord<ZodString, ZodType<(...), (...), (...)>>,
                                    >;
                                    name: ZodOptional<ZodNullable<ZodString>>;
                                    org: ZodOptional<ZodNullable<ZodString>>;
                                    org_logo: ZodOptional<
                                        ZodNullable<ZodObject<(...), (...), (...), (...), (...)>>,
                                    >;
                                    org_name: ZodOptional<ZodNullable<ZodString>>;
                                    org_slug: ZodOptional<ZodNullable<ZodString>>;
                                    owners: ZodArray<ZodString, "many">;
                                    readme_url: ZodOptional<ZodNullable<ZodString>>;
                                    screenshot_urls: ZodOptional<ZodArray<ZodString, "many">>;
                                    solution_id: ZodOptional<ZodNullable<ZodString>>;
                                    solution_version: ZodOptional<ZodNullable<ZodString>>;
                                    tag_keys: ZodOptional<ZodArray<ZodString, "many">>;
                                    template_kind: ZodOptional<ZodNullable<ZodString>>;
                                    templates: ZodArray<
                                        ZodObject<
                                            {
                                                description: ...;
                                                details: ...;
                                                display_name: ...;
                                                id: ...;
                                                kind: ...;
                                                lookup_key: ...;
                                                name: ...;
                                                readme_url: ...;
                                                virtual_path: ...;
                                            },
                                            "strip",
                                            ZodTypeAny,
                                            {
                                                description?: ...;
                                                details?: ...;
                                                display_name?: ...;
                                                id?: ...;
                                                kind: ...;
                                                lookup_key?: ...;
                                                name?: ...;
                                                readme_url?: ...;
                                                virtual_path?: ...;
                                            },
                                            {
                                                description?: ...;
                                                details?: ...;
                                                display_name?: ...;
                                                id?: ...;
                                                kind: ...;
                                                lookup_key?: ...;
                                                name?: ...;
                                                readme_url?: ...;
                                                virtual_path?: ...;
                                            },
                                        >,
                                        "many",
                                    >;
                                    updated_at: ZodOptional<ZodString>;
                                    upgrade_available: ZodBoolean;
                                    virtual_path: ZodOptional<ZodNullable<ZodString>>;
                                },
                                "strip",
                                ZodTypeAny,
                                {
                                    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;
                                },
                                {
                                    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: ZodObject<
                                {
                                    created_at: ZodOptional<ZodString>;
                                    description: ZodOptional<ZodNullable<ZodString>>;
                                    display_name: ZodOptional<ZodNullable<ZodString>>;
                                    id: ZodString;
                                    kind: ZodString;
                                    lookup_key: ZodOptional<ZodNullable<ZodString>>;
                                    name: ZodOptional<ZodNullable<ZodString>>;
                                    updated_at: ZodOptional<ZodString>;
                                    virtual_path: ZodOptional<ZodNullable<ZodString>>;
                                },
                                "strip",
                                ZodTypeAny,
                                {
                                    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;
                                },
                                {
                                    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;
                                },
                            >;
                        },
                        "strip",
                        ZodTypeAny,
                        {
                            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;
                            };
                        },
                        {
                            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;
                            };
                        },
                    >,
                >,
            >;
            team: ZodOptional<ZodNullable<ZodString>>;
            template_upgrade_available: ZodOptional<ZodNullable<ZodBoolean>>;
            updated_at: ZodOptional<ZodString>;
            user: ZodOptional<ZodNullable<ZodString>>;
        },
        "strip",
        ZodTypeAny,
        {
            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, {} | 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: "automation";
                                }
                                | 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;
                    };
                    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?: string
                                    | null;
                                    invoke_contract?:
                                        | { input_schema?: ...; participants?: ...; prefills: ... }
                                        | null;
                                    type: "automation";
                                }
                                | 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;
        },
        {
            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, {} | 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: "automation";
                                }
                                | 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;
                    };
                    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?: string
                                    | null;
                                    invoke_contract?:
                                        | { input_schema?: ...; participants?: ...; prefills: ... }
                                        | null;
                                    type: "automation";
                                }
                                | 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;
        },
    > = ...

    Runtime validator for Agent.