Rafiki Worker API Reference
    Preparing search index...

    Variable ScheduleUpdateRequestSchemaConst

    ScheduleUpdateRequestSchema: ZodObject<
        {
            agent_type: ZodOptional<ZodNullable<ZodString>>;
            cron: ZodOptional<ZodNullable<ZodString>>;
            enabled: ZodOptional<ZodNullable<ZodBoolean>>;
            metadata: ZodOptional<ZodNullable<ZodRecord<ZodString, ZodUnknown>>>;
            name: ZodOptional<ZodNullable<ZodString>>;
            question: ZodOptional<ZodNullable<ZodString>>;
            run_at: ZodOptional<ZodNullable<ZodNumber>>;
            timezone: ZodOptional<ZodNullable<ZodString>>;
            webhook: ZodOptional<
                ZodNullable<
                    ZodObject<
                        {
                            headers: ZodOptional<ZodNullable<ZodRecord<ZodString, ZodString>>>;
                            max_attempts: ZodOptional<ZodNullable<ZodNumber>>;
                            secret_ref: ZodOptional<ZodNullable<ZodString>>;
                            signing_secret: ZodOptional<ZodNullable<ZodString>>;
                            timeout_seconds: ZodOptional<ZodNullable<ZodNumber>>;
                            url: ZodString;
                        },
                        "strict",
                        ZodTypeAny,
                        {
                            headers?: Record<string, string>
                            | null;
                            max_attempts?: number | null;
                            secret_ref?: string | null;
                            signing_secret?: string | null;
                            timeout_seconds?: number | null;
                            url: string;
                        },
                        {
                            headers?: Record<string, string>
                            | null;
                            max_attempts?: number | null;
                            secret_ref?: string | null;
                            signing_secret?: string | null;
                            timeout_seconds?: number | null;
                            url: string;
                        },
                    >,
                >,
            >;
        },
        "strict",
        ZodTypeAny,
        {
            agent_type?: string
            | null;
            cron?: string | null;
            enabled?: boolean | null;
            metadata?: Record<string, unknown> | null;
            name?: string | null;
            question?: string | null;
            run_at?: number | null;
            timezone?: string | null;
            webhook?:
                | {
                    headers?: Record<string, string>
                    | null;
                    max_attempts?: number | null;
                    secret_ref?: string | null;
                    signing_secret?: string | null;
                    timeout_seconds?: number | null;
                    url: string;
                }
                | null;
        },
        {
            agent_type?: string
            | null;
            cron?: string | null;
            enabled?: boolean | null;
            metadata?: Record<string, unknown> | null;
            name?: string | null;
            question?: string | null;
            run_at?: number | null;
            timezone?: string | null;
            webhook?:
                | {
                    headers?: Record<string, string>
                    | null;
                    max_attempts?: number | null;
                    secret_ref?: string | null;
                    signing_secret?: string | null;
                    timeout_seconds?: number | null;
                    url: string;
                }
                | null;
        },
    > = ...

    Runtime schema for public partial schedule updates.