Variable TasksGetResponseSchemaConst
TasksGetResponseSchema: ZodObject<
{
task_id: ZodString;
task_type: ZodUnion<
readonly [
ZodLiteral<"create_media_buy">,
ZodLiteral<"update_media_buy">,
ZodLiteral<"sync_creatives">,
ZodLiteral<"activate_signal">,
ZodLiteral<"get_signals">,
ZodLiteral<"create_property_list">,
ZodLiteral<"update_property_list">,
ZodLiteral<"get_property_list">,
ZodLiteral<"list_property_lists">,
ZodLiteral<"delete_property_list">,
ZodLiteral<"sync_accounts">,
ZodLiteral<"get_account_financials">,
ZodLiteral<"get_creative_delivery">,
ZodLiteral<"sync_event_sources">,
ZodLiteral<"sync_audiences">,
ZodLiteral<"sync_catalogs">,
ZodLiteral<"log_event">,
ZodLiteral<"get_brand_identity">,
ZodLiteral<"get_rights">,
ZodLiteral<"acquire_rights">,
],
>;
protocol: ZodUnion<
readonly [
ZodLiteral<"media-buy">,
ZodLiteral<"signals">,
ZodLiteral<"governance">,
ZodLiteral<"creative">,
ZodLiteral<"brand">,
ZodLiteral<"sponsored-intelligence">,
],
>;
status: ZodUnion<
readonly [
ZodLiteral<"submitted">,
ZodLiteral<"working">,
ZodLiteral<"input-required">,
ZodLiteral<"completed">,
ZodLiteral<"canceled">,
ZodLiteral<"failed">,
ZodLiteral<"rejected">,
ZodLiteral<"auth-required">,
ZodLiteral<"unknown">,
],
>;
created_at: ZodISODateTime;
updated_at: ZodISODateTime;
completed_at: ZodOptional<ZodISODateTime>;
has_webhook: ZodOptional<ZodBoolean>;
progress: ZodOptional<
ZodObject<
{
percentage: ZodOptional<ZodNumber>;
current_step: ZodOptional<ZodString>;
total_steps: ZodOptional<ZodNumber>;
step_number: ZodOptional<ZodNumber>;
},
$loose,
>,
>;
error: ZodOptional<
ZodObject<
{
code: ZodString;
message: ZodString;
details: ZodOptional<
ZodObject<
{
protocol: ZodOptional<
ZodUnion<readonly [(...), (...), (...), (...), (...), (...)]>,
>;
operation: ZodOptional<ZodString>;
specific_context: ZodOptional<ZodObject<{}, $loose>>;
},
$loose,
>,
>;
},
$loose,
>,
>;
history: ZodOptional<
ZodArray<
ZodObject<
{
timestamp: ZodISODateTime;
type: ZodUnion<
readonly [ZodLiteral<"request">, ZodLiteral<"response">],
>;
data: ZodObject<{}, $loose>;
},
$loose,
>,
>,
>;
context: ZodOptional<ZodObject<{}, $loose>>;
ext: ZodOptional<ZodObject<{}, $loose>>;
},
$loose,
> = ...