@archastro/sdk
    Preparing search index...

    Variable agentSourceSolutionSchemaConst

    agentSourceSolutionSchema: ZodObject<
        {
            current_solution: ZodOptional<
                ZodObject<
                    {
                        category_keys: ZodOptional<ZodArray<ZodString, "many">>;
                        created_at: ZodOptional<ZodString>;
                        description: ZodOptional<ZodNullable<ZodString>>;
                        events: ZodOptional<
                            ZodRecord<ZodString, ZodType<{} | null, ZodTypeDef, {} | null>>,
                        >;
                        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<{} | null, ZodTypeDef, {} | null>>,
                        >;
                        name: ZodOptional<ZodNullable<ZodString>>;
                        org: ZodOptional<ZodNullable<ZodString>>;
                        org_logo: ZodOptional<
                            ZodNullable<
                                ZodObject<
                                    {
                                        file: ZodOptional<ZodNullable<(...)>>;
                                        height: ZodOptional<ZodNullable<(...)>>;
                                        media: ZodOptional<ZodNullable<(...)>>;
                                        mime_type: ZodOptional<ZodNullable<(...)>>;
                                        refresh_url: ZodOptional<ZodNullable<(...)>>;
                                        url: ZodOptional<ZodNullable<(...)>>;
                                        width: ZodOptional<ZodNullable<(...)>>;
                                    },
                                    "strip",
                                    ZodTypeAny,
                                    {
                                        file?: string
                                        | null;
                                        height?: number | null;
                                        media?: string | null;
                                        mime_type?: string | null;
                                        refresh_url?: string | null;
                                        url?: string | null;
                                        width?: number | null;
                                    },
                                    {
                                        file?: string
                                        | null;
                                        height?: number | null;
                                        media?: string | null;
                                        mime_type?: string | null;
                                        refresh_url?: string | null;
                                        url?: string | null;
                                        width?: number | null;
                                    },
                                >,
                            >,
                        >;
                        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: ZodOptional<ZodNullable<ZodString>>;
                                    details: ZodOptional<
                                        ZodNullable<ZodDiscriminatedUnion<(...), (...)>>,
                                    >;
                                    display_name: ZodOptional<ZodNullable<ZodString>>;
                                    id: ZodOptional<ZodNullable<ZodString>>;
                                    kind: ZodString;
                                    lookup_key: ZodOptional<ZodNullable<ZodString>>;
                                    name: ZodOptional<ZodNullable<ZodString>>;
                                    readme_url: ZodOptional<ZodNullable<ZodString>>;
                                    virtual_path: ZodOptional<ZodNullable<ZodString>>;
                                },
                                "strip",
                                ZodTypeAny,
                                {
                                    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;
                                },
                                {
                                    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;
                                },
                            >,
                            "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, {} | 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;
                    },
                    {
                        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;
                    },
                >,
            >;
            solution: ZodObject<
                {
                    category_keys: ZodOptional<ZodArray<ZodString, "many">>;
                    created_at: ZodOptional<ZodString>;
                    description: ZodOptional<ZodNullable<ZodString>>;
                    events: ZodOptional<
                        ZodRecord<ZodString, ZodType<{} | null, ZodTypeDef, {} | null>>,
                    >;
                    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<{} | null, ZodTypeDef, {} | null>>,
                    >;
                    name: ZodOptional<ZodNullable<ZodString>>;
                    org: ZodOptional<ZodNullable<ZodString>>;
                    org_logo: ZodOptional<
                        ZodNullable<
                            ZodObject<
                                {
                                    file: ZodOptional<ZodNullable<ZodString>>;
                                    height: ZodOptional<ZodNullable<ZodNumber>>;
                                    media: ZodOptional<ZodNullable<ZodString>>;
                                    mime_type: ZodOptional<ZodNullable<ZodString>>;
                                    refresh_url: ZodOptional<ZodNullable<ZodString>>;
                                    url: ZodOptional<ZodNullable<ZodString>>;
                                    width: ZodOptional<ZodNullable<ZodNumber>>;
                                },
                                "strip",
                                ZodTypeAny,
                                {
                                    file?: string
                                    | null;
                                    height?: number | null;
                                    media?: string | null;
                                    mime_type?: string | null;
                                    refresh_url?: string | null;
                                    url?: string | null;
                                    width?: number | null;
                                },
                                {
                                    file?: string
                                    | null;
                                    height?: number | null;
                                    media?: string | null;
                                    mime_type?: string | null;
                                    refresh_url?: string | null;
                                    url?: string | null;
                                    width?: number | null;
                                },
                            >,
                        >,
                    >;
                    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: ZodOptional<ZodNullable<ZodString>>;
                                details: ZodOptional<
                                    ZodNullable<ZodDiscriminatedUnion<"type", [(...)]>>,
                                >;
                                display_name: ZodOptional<ZodNullable<ZodString>>;
                                id: ZodOptional<ZodNullable<ZodString>>;
                                kind: ZodString;
                                lookup_key: ZodOptional<ZodNullable<ZodString>>;
                                name: ZodOptional<ZodNullable<ZodString>>;
                                readme_url: ZodOptional<ZodNullable<ZodString>>;
                                virtual_path: ZodOptional<ZodNullable<ZodString>>;
                            },
                            "strip",
                            ZodTypeAny,
                            {
                                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;
                            },
                            {
                                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;
                            },
                        >,
                        "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, {} | 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: { participants?: ...; payload?: ... };
                                    }
                                    | 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;
                },
                {
                    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: { participants?: ...; payload?: ... };
                                    }
                                    | 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: 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, {} | 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: { participants?: ...; payload?: ... };
                                }
                                | 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;
            };
            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?: Record<(...), (...)>
                                    | null;
                                    participants?: (...)[] | null;
                                    prefills: { participants?: (...) | (...); payload?: (...) | (...) };
                                }
                                | 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;
            };
        },
        {
            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?: string
                            | null;
                            invoke_contract?:
                                | {
                                    input_schema?: (...)
                                    | (...)
                                    | (...);
                                    participants?: (...) | (...) | (...);
                                    prefills: { participants?: ...; payload?: ... };
                                }
                                | 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;
            };
            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?: Record<(...), (...)>
                                    | null;
                                    participants?: (...)[] | null;
                                    prefills: { participants?: (...) | (...); payload?: (...) | (...) };
                                }
                                | 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;
            };
        },
    > = ...

    Runtime validator for AgentSourceSolution.