Variable PreviewCreativeResponseSchemaConst
PreviewCreativeResponseSchema: ZodUnion<
readonly [
ZodObject<
{
response_type: ZodLiteral<"single">;
previews: ZodTuple<
[
ZodObject<
{
preview_id: ZodString;
renders: ZodTuple<
[ZodUnion<(...)>],
ZodUnion<readonly [(...), (...), (...)]>,
>;
input: ZodObject<
{
name: ZodString;
macros: ZodOptional<(...)>;
context_description: ZodOptional<(...)>;
},
$strip,
>;
},
$strip,
>,
],
ZodObject<
{
preview_id: ZodString;
renders: ZodTuple<
[ZodUnion<readonly [(...), (...), (...)]>],
ZodUnion<
readonly [
ZodObject<(...), (...)>,
ZodObject<(...), (...)>,
ZodObject<(...), (...)>,
],
>,
>;
input: ZodObject<
{
name: ZodString;
macros: ZodOptional<ZodNullable<(...)>>;
context_description: ZodOptional<ZodNullable<(...)>>;
},
$strip,
>;
},
$strip,
>,
>;
interactive_url: ZodOptional<ZodNullable<ZodString>>;
expires_at: ZodString;
context: ZodOptional<ZodNullable<ZodRecord<ZodString, ZodUnknown>>>;
ext: ZodOptional<ZodNullable<ZodRecord<ZodString, ZodUnknown>>>;
},
$strip,
>,
ZodObject<
{
response_type: ZodLiteral<"batch">;
results: ZodTuple<
[
ZodUnion<
readonly [
ZodObject<{ success: ZodOptional<(...)> }, $strip>,
ZodObject<{ success: ZodOptional<(...)> }, $strip>,
],
>,
],
ZodUnion<
readonly [
ZodObject<{ success: ZodOptional<ZodNullable<(...)>> }, $strip>,
ZodObject<{ success: ZodOptional<ZodNullable<(...)>> }, $strip>,
],
>,
>;
context: ZodOptional<ZodNullable<ZodRecord<ZodString, ZodUnknown>>>;
ext: ZodOptional<ZodNullable<ZodRecord<ZodString, ZodUnknown>>>;
},
$strip,
>,
],
> = ...