Variable GetProductsResponseSchemaConst
GetProductsResponseSchema: ZodObject<
{
products: ZodArray<
ZodObject<
{
product_id: ZodString;
name: ZodString;
description: ZodString;
publisher_properties: ZodTuple<
[
ZodUnion<
readonly [
ZodObject<
{ publisher_domain: ...; selection_type: ... },
$strip,
>,
ZodObject<
{
publisher_domain: ...;
selection_type: ...;
property_ids: ...;
},
$strip,
>,
ZodObject<
{
publisher_domain: ...;
selection_type: ...;
property_tags: ...;
},
$strip,
>,
],
>,
],
ZodUnion<
readonly [
ZodObject<
{
publisher_domain: ZodString;
selection_type: ZodLiteral<(...)>;
},
$strip,
>,
ZodObject<
{
publisher_domain: ZodString;
selection_type: ZodLiteral<(...)>;
property_ids: ZodTuple<(...), (...)>;
},
$strip,
>,
ZodObject<
{
publisher_domain: ZodString;
selection_type: ZodLiteral<(...)>;
property_tags: ZodTuple<(...), (...)>;
},
$strip,
>,
],
>,
>;
format_ids: ZodArray<
ZodObject<
{
agent_url: ZodString;
id: ZodString;
width: ZodOptional<ZodNullable<ZodNumber>>;
height: ZodOptional<ZodNullable<ZodNumber>>;
duration_ms: ZodOptional<ZodNullable<ZodNumber>>;
},
$strip,
>,
>;
placements: ZodOptional<
ZodNullable<
ZodTuple<
[
ZodObject<
{
placement_id: ...;
name: ...;
description: ...;
format_ids: ...;
},
$strip,
>,
],
ZodObject<
{
placement_id: ZodString;
name: ZodString;
description: ZodOptional<(...)>;
format_ids: ZodOptional<(...)>;
},
$strip,
>,
>,
>,
>;
delivery_type: ZodUnion<
readonly [ZodLiteral<"guaranteed">, ZodLiteral<"non_guaranteed">],
>;
pricing_options: ZodTuple<
[
ZodUnion<
readonly [
ZodObject<
{
pricing_option_id: ...;
pricing_model: ...;
rate: ...;
currency: ...;
is_fixed: ...;
min_spend_per_package: ...;
},
$strip,
>,
ZodObject<
{
pricing_option_id: ...;
pricing_model: ...;
currency: ...;
is_fixed: ...;
price_guidance: ...;
min_spend_per_package: ...;
},
$strip,
>,
ZodObject<
{
pricing_option_id: ...;
pricing_model: ...;
rate: ...;
currency: ...;
is_fixed: ...;
min_spend_per_package: ...;
},
$strip,
>,
ZodObject<
{
pricing_option_id: ...;
pricing_model: ...;
currency: ...;
is_fixed: ...;
price_guidance: ...;
min_spend_per_package: ...;
},
$strip,
>,
ZodObject<
{
pricing_option_id: ...;
pricing_model: ...;
rate: ...;
currency: ...;
is_fixed: ...;
min_spend_per_package: ...;
},
$strip,
>,
ZodObject<
{
pricing_option_id: ...;
pricing_model: ...;
rate: ...;
currency: ...;
is_fixed: ...;
min_spend_per_package: ...;
},
$strip,
>,
ZodObject<
{
pricing_option_id: ...;
pricing_model: ...;
rate: ...;
currency: ...;
is_fixed: ...;
parameters: ...;
min_spend_per_package: ...;
},
$strip,
>,
ZodObject<
{
pricing_option_id: ...;
pricing_model: ...;
rate: ...;
currency: ...;
is_fixed: ...;
parameters: ...;
min_spend_per_package: ...;
},
$strip,
>,
ZodObject<
{
pricing_option_id: ...;
pricing_model: ...;
rate: ...;
currency: ...;
is_fixed: ...;
parameters: ...;
min_spend_per_package: ...;
},
$strip,
>,
],
>,
],
ZodUnion<
readonly [
ZodObject<
{
pricing_option_id: ZodString;
pricing_model: ZodLiteral<(...)>;
rate: ZodNumber;
currency: ZodString;
is_fixed: ZodLiteral<(...)>;
min_spend_per_package: ZodOptional<(...)>;
},
$strip,
>,
ZodObject<
{
pricing_option_id: ZodString;
pricing_model: ZodLiteral<(...)>;
currency: ZodString;
is_fixed: ZodLiteral<(...)>;
price_guidance: ZodObject<(...), (...)>;
min_spend_per_package: ZodOptional<(...)>;
},
$strip,
>,
ZodObject<
{
pricing_option_id: ZodString;
pricing_model: ZodLiteral<(...)>;
rate: ZodNumber;
currency: ZodString;
is_fixed: ZodLiteral<(...)>;
min_spend_per_package: ZodOptional<(...)>;
},
$strip,
>,
ZodObject<
{
pricing_option_id: ZodString;
pricing_model: ZodLiteral<(...)>;
currency: ZodString;
is_fixed: ZodLiteral<(...)>;
price_guidance: ZodObject<(...), (...)>;
min_spend_per_package: ZodOptional<(...)>;
},
$strip,
>,
ZodObject<
{
pricing_option_id: ZodString;
pricing_model: ZodLiteral<(...)>;
rate: ZodNumber;
currency: ZodString;
is_fixed: ZodLiteral<(...)>;
min_spend_per_package: ZodOptional<(...)>;
},
$strip,
>,
ZodObject<
{
pricing_option_id: ZodString;
pricing_model: ZodLiteral<(...)>;
rate: ZodNumber;
currency: ZodString;
is_fixed: ZodLiteral<(...)>;
min_spend_per_package: ZodOptional<(...)>;
},
$strip,
>,
ZodObject<
{
pricing_option_id: ZodString;
pricing_model: ZodLiteral<(...)>;
rate: ZodNumber;
currency: ZodString;
is_fixed: ZodLiteral<(...)>;
parameters: ZodObject<(...), (...)>;
min_spend_per_package: ZodOptional<(...)>;
},
$strip,
>,
ZodObject<
{
pricing_option_id: ZodString;
pricing_model: ZodLiteral<(...)>;
rate: ZodNumber;
currency: ZodString;
is_fixed: ZodLiteral<(...)>;
parameters: ZodObject<(...), (...)>;
min_spend_per_package: ZodOptional<(...)>;
},
$strip,
>,
ZodObject<
{
pricing_option_id: ZodString;
pricing_model: ZodLiteral<(...)>;
rate: ZodNumber;
currency: ZodString;
is_fixed: ZodLiteral<(...)>;
parameters: ZodOptional<(...)>;
min_spend_per_package: ZodOptional<(...)>;
},
$strip,
>,
],
>,
>;
estimated_exposures: ZodOptional<ZodNullable<ZodNumber>>;
measurement: ZodOptional<
ZodNullable<
ZodObject<
{
type: ZodString;
attribution: ZodString;
window: ZodOptional<ZodNullable<(...)>>;
reporting: ZodString;
},
$strip,
>,
>,
>;
delivery_measurement: ZodObject<
{ provider: ZodString; notes: ZodOptional<ZodNullable<ZodString>> },
$strip,
>;
reporting_capabilities: ZodOptional<
ZodNullable<
ZodObject<
{
available_reporting_frequencies: ZodTuple<
[(...)],
ZodUnion<(...)>,
>;
expected_delay_minutes: ZodNumber;
timezone: ZodString;
supports_webhooks: ZodBoolean;
available_metrics: ZodArray<ZodUnion<(...)>>;
},
$strip,
>,
>,
>;
creative_policy: ZodOptional<
ZodNullable<
ZodObject<
{
co_branding: ZodUnion<readonly [(...), (...), (...)]>;
landing_page: ZodUnion<readonly [(...), (...), (...)]>;
templates_available: ZodBoolean;
},
$strip,
>,
>,
>;
is_custom: ZodOptional<ZodNullable<ZodBoolean>>;
brief_relevance: ZodOptional<ZodNullable<ZodString>>;
expires_at: ZodOptional<ZodNullable<ZodString>>;
product_card: ZodOptional<
ZodNullable<
ZodObject<
{
format_id: ZodObject<
{
agent_url: ...;
id: ...;
width: ...;
height: ...;
duration_ms: ...;
},
$strip,
>;
manifest: ZodRecord<ZodString, ZodUnknown>;
},
$strip,
>,
>,
>;
product_card_detailed: ZodOptional<
ZodNullable<
ZodObject<
{
format_id: ZodObject<
{
agent_url: ...;
id: ...;
width: ...;
height: ...;
duration_ms: ...;
},
$strip,
>;
manifest: ZodRecord<ZodString, ZodUnknown>;
},
$strip,
>,
>,
>;
ext: ZodOptional<ZodNullable<ZodRecord<ZodString, ZodUnknown>>>;
},
$strip,
>,
>;
errors: ZodOptional<
ZodNullable<
ZodArray<
ZodObject<
{
code: ZodString;
message: ZodString;
field: ZodOptional<ZodNullable<ZodString>>;
suggestion: ZodOptional<ZodNullable<ZodString>>;
retry_after: ZodOptional<ZodNullable<ZodNumber>>;
details: ZodOptional<ZodNullable<ZodRecord<ZodString, ZodUnknown>>>;
},
$strip,
>,
>,
>,
>;
context: ZodOptional<ZodNullable<ZodRecord<ZodString, ZodUnknown>>>;
ext: ZodOptional<ZodNullable<ZodRecord<ZodString, ZodUnknown>>>;
},
$strip,
> = ...