Variable CreateMediaBuyRequestSchemaConst
CreateMediaBuyRequestSchema: ZodObject<
{
buyer_ref: ZodString;
account_id: ZodOptional<ZodNullable<ZodString>>;
proposal_id: ZodOptional<ZodNullable<ZodString>>;
total_budget: ZodOptional<
ZodNullable<
ZodObject<{ amount: ZodNumber; currency: ZodString }, $strip>,
>,
>;
packages: ZodOptional<
ZodNullable<
ZodArray<
ZodIntersection<
ZodRecord<ZodString, ZodUnion<readonly [ZodUnknown, ZodUndefined]>>,
ZodObject<
{
buyer_ref: ZodString;
product_id: ZodString;
format_ids: ZodOptional<ZodNullable<ZodArray<(...)>>>;
budget: ZodNumber;
pacing: ZodOptional<ZodNullable<ZodUnion<(...)>>>;
pricing_option_id: ZodString;
bid_price: ZodOptional<ZodNullable<ZodNumber>>;
impressions: ZodOptional<ZodNullable<ZodNumber>>;
paused: ZodOptional<ZodNullable<ZodBoolean>>;
targeting_overlay: ZodOptional<
ZodNullable<ZodIntersection<(...), (...)>>,
>;
creative_assignments: ZodOptional<ZodNullable<ZodArray<(...)>>>;
creatives: ZodOptional<ZodNullable<ZodArray<(...)>>>;
ext: ZodOptional<ZodNullable<ZodRecord<(...), (...)>>>;
},
$strip,
>,
>,
>,
>,
>;
brand_manifest: ZodUnion<
readonly [
ZodIntersection<
ZodRecord<ZodString, ZodUnion<readonly [ZodUnknown, ZodUndefined]>>,
ZodObject<
{
url: ZodOptional<ZodNullable<ZodString>>;
privacy_policy_url: ZodOptional<ZodNullable<ZodString>>;
name: ZodString;
logos: ZodOptional<ZodNullable<ZodArray<ZodObject<(...), (...)>>>>;
colors: ZodOptional<
ZodNullable<
ZodObject<
{
primary: ...;
secondary: ...;
accent: ...;
background: ...;
text: ...;
},
$strip,
>,
>,
>;
fonts: ZodOptional<
ZodNullable<
ZodObject<
{ primary: ...; secondary: ...; font_urls: ... },
$strip,
>,
>,
>;
tone: ZodOptional<ZodNullable<ZodString>>;
voice: ZodOptional<
ZodNullable<
ZodObject<
{ provider: ...; voice_id: ...; settings: ... },
$strip,
>,
>,
>;
avatar: ZodOptional<
ZodNullable<
ZodObject<
{ provider: ...; avatar_id: ...; settings: ... },
$strip,
>,
>,
>;
tagline: ZodOptional<ZodNullable<ZodString>>;
assets: ZodOptional<
ZodNullable<ZodArray<ZodIntersection<(...), (...)>>>,
>;
product_catalog: ZodOptional<
ZodNullable<
ZodIntersection<
ZodRecord<(...), (...)>,
ZodObject<(...), (...)>,
>,
>,
>;
disclaimers: ZodOptional<
ZodNullable<ZodArray<ZodObject<(...), (...)>>>,
>;
industry: ZodOptional<ZodNullable<ZodString>>;
target_audience: ZodOptional<ZodNullable<ZodString>>;
contact: ZodOptional<
ZodNullable<ZodObject<{ email: ...; phone: ... }, $strip>>,
>;
metadata: ZodOptional<
ZodNullable<
ZodObject<
{ created_date: ...; updated_date: ...; version: ... },
$strip,
>,
>,
>;
},
$strip,
>,
>,
ZodString,
],
>;
po_number: ZodOptional<ZodNullable<ZodString>>;
start_time: ZodUnion<readonly [ZodLiteral<"asap">, ZodString]>;
end_time: ZodString;
reporting_webhook: ZodOptional<
ZodNullable<
ZodIntersection<
ZodRecord<ZodString, ZodUnion<readonly [ZodUnknown, ZodUndefined]>>,
ZodObject<
{
url: ZodString;
token: ZodOptional<ZodNullable<ZodString>>;
authentication: ZodObject<
{ schemes: ZodTuple<[(...)], null>; credentials: ZodString },
$strip,
>;
reporting_frequency: ZodUnion<
readonly [
ZodLiteral<"hourly">,
ZodLiteral<"daily">,
ZodLiteral<"monthly">,
],
>;
requested_metrics: ZodOptional<
ZodNullable<ZodArray<ZodUnion<(...)>>>,
>;
},
$strip,
>,
>,
>,
>;
artifact_webhook: ZodOptional<
ZodNullable<
ZodObject<
{
url: ZodString;
token: ZodOptional<ZodNullable<ZodString>>;
authentication: ZodObject<
{
schemes: ZodUnion<
readonly [ZodTuple<(...), (...)>, ZodTuple<(...), (...)>],
>;
credentials: ZodString;
},
$strip,
>;
delivery_mode: ZodUnion<
readonly [ZodLiteral<"realtime">, ZodLiteral<"batched">],
>;
batch_frequency: ZodOptional<
ZodNullable<
ZodUnion<readonly [ZodLiteral<(...)>, ZodLiteral<(...)>]>,
>,
>;
sampling_rate: ZodOptional<ZodNullable<ZodNumber>>;
},
$strip,
>,
>,
>;
context: ZodOptional<
ZodNullable<
ZodRecord<ZodString, ZodUnion<readonly [ZodUnknown, ZodUndefined]>>,
>,
>;
ext: ZodOptional<
ZodNullable<
ZodRecord<ZodString, ZodUnion<readonly [ZodUnknown, ZodUndefined]>>,
>,
>;
},
$strip,
> = ...