TaskSchema: ZodObject<
{
createdAt: ZodString;
lastUpdatedAt: ZodString;
pollInterval: ZodOptional<ZodNumber>;
status: ZodEnum<
{
cancelled: "cancelled";
completed: "completed";
failed: "failed";
input_required: "input_required";
working: "working";
},
>;
statusMessage: ZodOptional<ZodString>;
taskId: ZodString;
ttl: ZodUnion<readonly [ZodNumber, ZodNull]>;
},
$strip,
> = ...
A pollable state object associated with a request.