@archastro/sdk
    Preparing search index...

    Variable taskEnsureResultSchemaConst

    taskEnsureResultSchema: ZodObject<
        {
            created: ZodBoolean;
            task: ZodObject<
                {
                    agent: ZodOptional<ZodNullable<ZodString>>;
                    aggregate_version: ZodOptional<ZodNullable<ZodNumber>>;
                    blocked_by_count: ZodOptional<ZodNumber>;
                    blockers: ZodOptional<ZodArray<ZodString, "many">>;
                    closed_at: ZodOptional<ZodNullable<ZodString>>;
                    comments_count: ZodOptional<ZodNumber>;
                    created_at: ZodOptional<ZodString>;
                    created_by_actor: ZodOptional<
                        ZodNullable<
                            ZodObject<
                                {
                                    alias: ZodOptional<ZodNullable<ZodString>>;
                                    id: ZodOptional<ZodNullable<ZodString>>;
                                    name: ZodOptional<ZodNullable<ZodString>>;
                                    profile_picture: ZodOptional<
                                        ZodNullable<ZodObject<(...), (...), (...), (...), (...)>>,
                                    >;
                                },
                                "strip",
                                ZodTypeAny,
                                {
                                    alias?: string
                                    | null;
                                    id?: string | null;
                                    name?: string | null;
                                    profile_picture?:
                                        | {
                                            content_url?: (...)
                                            | (...)
                                            | (...);
                                            file?: (...) | (...) | (...);
                                            height?: (...) | (...) | (...);
                                            media?: (...) | (...) | (...);
                                            mime_type?: (...) | (...) | (...);
                                            refresh_url?: (...) | (...) | (...);
                                            url?: (...) | (...) | (...);
                                            width?: (...) | (...) | (...);
                                        }
                                        | null;
                                },
                                {
                                    alias?: string
                                    | null;
                                    id?: string | null;
                                    name?: string | null;
                                    profile_picture?:
                                        | {
                                            content_url?: (...)
                                            | (...)
                                            | (...);
                                            file?: (...) | (...) | (...);
                                            height?: (...) | (...) | (...);
                                            media?: (...) | (...) | (...);
                                            mime_type?: (...) | (...) | (...);
                                            refresh_url?: (...) | (...) | (...);
                                            url?: (...) | (...) | (...);
                                            width?: (...) | (...) | (...);
                                        }
                                        | null;
                                },
                            >,
                        >,
                    >;
                    created_by_agent: ZodOptional<ZodNullable<ZodString>>;
                    created_by_user: ZodOptional<ZodNullable<ZodString>>;
                    current_lease: ZodOptional<
                        ZodNullable<
                            ZodObject<
                                {
                                    expires_at: ZodString;
                                    harness: ZodString;
                                    session_name: ZodString;
                                },
                                "strip",
                                ZodTypeAny,
                                { expires_at: string; harness: string; session_name: string },
                                { expires_at: string; harness: string; session_name: string },
                            >,
                        >,
                    >;
                    description: ZodOptional<ZodNullable<ZodString>>;
                    due_date: ZodOptional<ZodNullable<ZodString>>;
                    epic: ZodOptional<ZodNullable<ZodString>>;
                    human_answer_receipts: ZodOptional<
                        ZodRecord<ZodString, ZodType<{} | null, ZodTypeDef, {} | null>>,
                    >;
                    id: ZodString;
                    is_blocked: ZodOptional<ZodBoolean>;
                    is_stalled: ZodOptional<ZodBoolean>;
                    links: ZodOptional<
                        ZodRecord<ZodString, ZodType<{} | null, ZodTypeDef, {} | null>>,
                    >;
                    machine_rescope_receipts: ZodOptional<
                        ZodRecord<ZodString, ZodType<{} | null, ZodTypeDef, {} | null>>,
                    >;
                    metadata: ZodOptional<
                        ZodRecord<ZodString, ZodType<{} | null, ZodTypeDef, {} | null>>,
                    >;
                    name: ZodString;
                    org: ZodOptional<ZodNullable<ZodString>>;
                    owner_actor: ZodOptional<
                        ZodNullable<
                            ZodObject<
                                {
                                    alias: ZodOptional<ZodNullable<ZodString>>;
                                    id: ZodOptional<ZodNullable<ZodString>>;
                                    name: ZodOptional<ZodNullable<ZodString>>;
                                    profile_picture: ZodOptional<
                                        ZodNullable<ZodObject<(...), (...), (...), (...), (...)>>,
                                    >;
                                },
                                "strip",
                                ZodTypeAny,
                                {
                                    alias?: string
                                    | null;
                                    id?: string | null;
                                    name?: string | null;
                                    profile_picture?:
                                        | {
                                            content_url?: (...)
                                            | (...)
                                            | (...);
                                            file?: (...) | (...) | (...);
                                            height?: (...) | (...) | (...);
                                            media?: (...) | (...) | (...);
                                            mime_type?: (...) | (...) | (...);
                                            refresh_url?: (...) | (...) | (...);
                                            url?: (...) | (...) | (...);
                                            width?: (...) | (...) | (...);
                                        }
                                        | null;
                                },
                                {
                                    alias?: string
                                    | null;
                                    id?: string | null;
                                    name?: string | null;
                                    profile_picture?:
                                        | {
                                            content_url?: (...)
                                            | (...)
                                            | (...);
                                            file?: (...) | (...) | (...);
                                            height?: (...) | (...) | (...);
                                            media?: (...) | (...) | (...);
                                            mime_type?: (...) | (...) | (...);
                                            refresh_url?: (...) | (...) | (...);
                                            url?: (...) | (...) | (...);
                                            width?: (...) | (...) | (...);
                                        }
                                        | null;
                                },
                            >,
                        >,
                    >;
                    owner_agent: ZodOptional<ZodNullable<ZodString>>;
                    owner_user: ZodOptional<ZodNullable<ZodString>>;
                    parent: ZodOptional<ZodNullable<ZodString>>;
                    priority: ZodOptional<ZodNumber>;
                    project_id: ZodOptional<ZodNullable<ZodString>>;
                    sandbox: ZodOptional<ZodNullable<ZodString>>;
                    source_id: ZodOptional<ZodNullable<ZodString>>;
                    source_scope: ZodOptional<ZodNullable<ZodString>>;
                    source_type: ZodOptional<ZodNullable<ZodString>>;
                    stalled_since: ZodOptional<ZodNullable<ZodString>>;
                    status: ZodString;
                    subtasks_count: ZodOptional<ZodNumber>;
                    tags: ZodOptional<ZodArray<ZodString, "many">>;
                    target_binary: ZodOptional<ZodNullable<ZodString>>;
                    target_version: ZodOptional<ZodNullable<ZodString>>;
                    task_epic: ZodOptional<ZodNullable<ZodString>>;
                    team: ZodOptional<ZodNullable<ZodString>>;
                    thread: ZodOptional<ZodNullable<ZodString>>;
                    updated_at: ZodOptional<ZodString>;
                    user: ZodOptional<ZodNullable<ZodString>>;
                },
                "strip",
                ZodTypeAny,
                {
                    agent?: string
                    | null;
                    aggregate_version?: number | null;
                    blocked_by_count?: number;
                    blockers?: string[];
                    closed_at?: string | null;
                    comments_count?: number;
                    created_at?: string;
                    created_by_actor?:
                        | {
                            alias?: string
                            | null;
                            id?: string | null;
                            name?: string | null;
                            profile_picture?:
                                | {
                                    content_url?: string
                                    | null;
                                    file?: string | null;
                                    height?: number | null;
                                    media?: string | null;
                                    mime_type?: string | null;
                                    refresh_url?: string | null;
                                    url?: string | null;
                                    width?: number | null;
                                }
                                | null;
                        }
                        | null;
                    created_by_agent?: string
                    | null;
                    created_by_user?: string | null;
                    current_lease?:
                        | { expires_at: string; harness: string; session_name: string }
                        | null;
                    description?: string | null;
                    due_date?: string | null;
                    epic?: string | null;
                    human_answer_receipts?: Record<string, {} | null>;
                    id: string;
                    is_blocked?: boolean;
                    is_stalled?: boolean;
                    links?: Record<string, {} | null>;
                    machine_rescope_receipts?: Record<string, {} | null>;
                    metadata?: Record<string, {} | null>;
                    name: string;
                    org?: string | null;
                    owner_actor?:
                        | {
                            alias?: string
                            | null;
                            id?: string | null;
                            name?: string | null;
                            profile_picture?:
                                | {
                                    content_url?: string
                                    | null;
                                    file?: string | null;
                                    height?: number | null;
                                    media?: string | null;
                                    mime_type?: string | null;
                                    refresh_url?: string | null;
                                    url?: string | null;
                                    width?: number | null;
                                }
                                | null;
                        }
                        | null;
                    owner_agent?: string
                    | null;
                    owner_user?: string | null;
                    parent?: string | null;
                    priority?: number;
                    project_id?: string | null;
                    sandbox?: string | null;
                    source_id?: string | null;
                    source_scope?: string | null;
                    source_type?: string | null;
                    stalled_since?: string | null;
                    status: string;
                    subtasks_count?: number;
                    tags?: string[];
                    target_binary?: string | null;
                    target_version?: string | null;
                    task_epic?: string | null;
                    team?: string | null;
                    thread?: string | null;
                    updated_at?: string;
                    user?: string | null;
                },
                {
                    agent?: string
                    | null;
                    aggregate_version?: number | null;
                    blocked_by_count?: number;
                    blockers?: string[];
                    closed_at?: string | null;
                    comments_count?: number;
                    created_at?: string;
                    created_by_actor?:
                        | {
                            alias?: string
                            | null;
                            id?: string | null;
                            name?: string | null;
                            profile_picture?:
                                | {
                                    content_url?: string
                                    | null;
                                    file?: string | null;
                                    height?: number | null;
                                    media?: string | null;
                                    mime_type?: string | null;
                                    refresh_url?: string | null;
                                    url?: string | null;
                                    width?: number | null;
                                }
                                | null;
                        }
                        | null;
                    created_by_agent?: string
                    | null;
                    created_by_user?: string | null;
                    current_lease?:
                        | { expires_at: string; harness: string; session_name: string }
                        | null;
                    description?: string | null;
                    due_date?: string | null;
                    epic?: string | null;
                    human_answer_receipts?: Record<string, {} | null>;
                    id: string;
                    is_blocked?: boolean;
                    is_stalled?: boolean;
                    links?: Record<string, {} | null>;
                    machine_rescope_receipts?: Record<string, {} | null>;
                    metadata?: Record<string, {} | null>;
                    name: string;
                    org?: string | null;
                    owner_actor?:
                        | {
                            alias?: string
                            | null;
                            id?: string | null;
                            name?: string | null;
                            profile_picture?:
                                | {
                                    content_url?: string
                                    | null;
                                    file?: string | null;
                                    height?: number | null;
                                    media?: string | null;
                                    mime_type?: string | null;
                                    refresh_url?: string | null;
                                    url?: string | null;
                                    width?: number | null;
                                }
                                | null;
                        }
                        | null;
                    owner_agent?: string
                    | null;
                    owner_user?: string | null;
                    parent?: string | null;
                    priority?: number;
                    project_id?: string | null;
                    sandbox?: string | null;
                    source_id?: string | null;
                    source_scope?: string | null;
                    source_type?: string | null;
                    stalled_since?: string | null;
                    status: string;
                    subtasks_count?: number;
                    tags?: string[];
                    target_binary?: string | null;
                    target_version?: string | null;
                    task_epic?: string | null;
                    team?: string | null;
                    thread?: string | null;
                    updated_at?: string;
                    user?: string | null;
                },
            >;
        },
        "strip",
        ZodTypeAny,
        {
            created: boolean;
            task: {
                agent?: string
                | null;
                aggregate_version?: number | null;
                blocked_by_count?: number;
                blockers?: string[];
                closed_at?: string | null;
                comments_count?: number;
                created_at?: string;
                created_by_actor?:
                    | {
                        alias?: string
                        | null;
                        id?: string | null;
                        name?: string | null;
                        profile_picture?:
                            | {
                                content_url?: string
                                | null;
                                file?: string | null;
                                height?: number | null;
                                media?: string | null;
                                mime_type?: string | null;
                                refresh_url?: string | null;
                                url?: string | null;
                                width?: number | null;
                            }
                            | null;
                    }
                    | null;
                created_by_agent?: string
                | null;
                created_by_user?: string | null;
                current_lease?:
                    | { expires_at: string; harness: string; session_name: string }
                    | null;
                description?: string | null;
                due_date?: string | null;
                epic?: string | null;
                human_answer_receipts?: Record<string, {} | null>;
                id: string;
                is_blocked?: boolean;
                is_stalled?: boolean;
                links?: Record<string, {} | null>;
                machine_rescope_receipts?: Record<string, {} | null>;
                metadata?: Record<string, {} | null>;
                name: string;
                org?: string | null;
                owner_actor?:
                    | {
                        alias?: string
                        | null;
                        id?: string | null;
                        name?: string | null;
                        profile_picture?:
                            | {
                                content_url?: string
                                | null;
                                file?: string | null;
                                height?: number | null;
                                media?: string | null;
                                mime_type?: string | null;
                                refresh_url?: string | null;
                                url?: string | null;
                                width?: number | null;
                            }
                            | null;
                    }
                    | null;
                owner_agent?: string
                | null;
                owner_user?: string | null;
                parent?: string | null;
                priority?: number;
                project_id?: string | null;
                sandbox?: string | null;
                source_id?: string | null;
                source_scope?: string | null;
                source_type?: string | null;
                stalled_since?: string | null;
                status: string;
                subtasks_count?: number;
                tags?: string[];
                target_binary?: string | null;
                target_version?: string | null;
                task_epic?: string | null;
                team?: string | null;
                thread?: string | null;
                updated_at?: string;
                user?: string | null;
            };
        },
        {
            created: boolean;
            task: {
                agent?: string
                | null;
                aggregate_version?: number | null;
                blocked_by_count?: number;
                blockers?: string[];
                closed_at?: string | null;
                comments_count?: number;
                created_at?: string;
                created_by_actor?:
                    | {
                        alias?: string
                        | null;
                        id?: string | null;
                        name?: string | null;
                        profile_picture?:
                            | {
                                content_url?: string
                                | null;
                                file?: string | null;
                                height?: number | null;
                                media?: string | null;
                                mime_type?: string | null;
                                refresh_url?: string | null;
                                url?: string | null;
                                width?: number | null;
                            }
                            | null;
                    }
                    | null;
                created_by_agent?: string
                | null;
                created_by_user?: string | null;
                current_lease?:
                    | { expires_at: string; harness: string; session_name: string }
                    | null;
                description?: string | null;
                due_date?: string | null;
                epic?: string | null;
                human_answer_receipts?: Record<string, {} | null>;
                id: string;
                is_blocked?: boolean;
                is_stalled?: boolean;
                links?: Record<string, {} | null>;
                machine_rescope_receipts?: Record<string, {} | null>;
                metadata?: Record<string, {} | null>;
                name: string;
                org?: string | null;
                owner_actor?:
                    | {
                        alias?: string
                        | null;
                        id?: string | null;
                        name?: string | null;
                        profile_picture?:
                            | {
                                content_url?: string
                                | null;
                                file?: string | null;
                                height?: number | null;
                                media?: string | null;
                                mime_type?: string | null;
                                refresh_url?: string | null;
                                url?: string | null;
                                width?: number | null;
                            }
                            | null;
                    }
                    | null;
                owner_agent?: string
                | null;
                owner_user?: string | null;
                parent?: string | null;
                priority?: number;
                project_id?: string | null;
                sandbox?: string | null;
                source_id?: string | null;
                source_scope?: string | null;
                source_type?: string | null;
                stalled_since?: string | null;
                status: string;
                subtasks_count?: number;
                tags?: string[];
                target_binary?: string | null;
                target_version?: string | null;
                task_epic?: string | null;
                team?: string | null;
                thread?: string | null;
                updated_at?: string;
                user?: string | null;
            };
        },
    > = ...

    Runtime validator for TaskEnsureResult.