@adcp/client API Reference - v3.11.2
    Preparing search index...

    Variable PreviewCreativeRequestSchemaConst

    PreviewCreativeRequestSchema: ZodUnion<
        readonly [
            ZodObject<
                {
                    request_type: ZodLiteral<"single">;
                    format_id: ZodIntersection<
                        ZodRecord<ZodString, ZodUnion<readonly [ZodUnknown, ZodUndefined]>>,
                        ZodObject<
                            {
                                agent_url: ZodString;
                                id: ZodString;
                                width: ZodOptional<ZodNullable<ZodNumber>>;
                                height: ZodOptional<ZodNullable<ZodNumber>>;
                                duration_ms: ZodOptional<ZodNullable<ZodNumber>>;
                            },
                            $strip,
                        >,
                    >;
                    creative_manifest: ZodIntersection<
                        ZodRecord<ZodString, ZodUnion<readonly [ZodUnknown, ZodUndefined]>>,
                        ZodObject<
                            {
                                format_id: ZodIntersection<
                                    ZodRecord<ZodString, ZodUnion<readonly [(...), (...)]>>,
                                    ZodObject<
                                        {
                                            agent_url: ZodString;
                                            id: ZodString;
                                            width: ZodOptional<(...)>;
                                            height: ZodOptional<(...)>;
                                            duration_ms: ZodOptional<(...)>;
                                        },
                                        $strip,
                                    >,
                                >;
                                promoted_offering: ZodOptional<ZodNullable<ZodString>>;
                                assets: ZodRecord<
                                    ZodString,
                                    ZodUnion<readonly [ZodUnknown, ZodUndefined]>,
                                >;
                                ext: ZodOptional<ZodNullable<ZodRecord<ZodString, ZodUnion<(...)>>>>;
                            },
                            $strip,
                        >,
                    >;
                    inputs: ZodOptional<
                        ZodNullable<
                            ZodArray<
                                ZodObject<
                                    {
                                        name: ZodString;
                                        macros: ZodOptional<ZodNullable<(...)>>;
                                        context_description: ZodOptional<ZodNullable<(...)>>;
                                    },
                                    $strip,
                                >,
                            >,
                        >,
                    >;
                    template_id: ZodOptional<ZodNullable<ZodString>>;
                    output_format: ZodOptional<
                        ZodNullable<
                            ZodUnion<readonly [ZodLiteral<"url">, ZodLiteral<"html">]>,
                        >,
                    >;
                    context: ZodOptional<
                        ZodNullable<
                            ZodRecord<ZodString, ZodUnion<readonly [ZodUnknown, ZodUndefined]>>,
                        >,
                    >;
                    ext: ZodOptional<
                        ZodNullable<
                            ZodRecord<ZodString, ZodUnion<readonly [ZodUnknown, ZodUndefined]>>,
                        >,
                    >;
                },
                $strip,
            >,
            ZodObject<
                {
                    request_type: ZodLiteral<"batch">;
                    requests: ZodArray<
                        ZodObject<
                            {
                                format_id: ZodIntersection<
                                    ZodRecord<ZodString, ZodUnion<readonly [(...), (...)]>>,
                                    ZodObject<
                                        {
                                            agent_url: ZodString;
                                            id: ZodString;
                                            width: ZodOptional<(...)>;
                                            height: ZodOptional<(...)>;
                                            duration_ms: ZodOptional<(...)>;
                                        },
                                        $strip,
                                    >,
                                >;
                                creative_manifest: ZodIntersection<
                                    ZodRecord<ZodString, ZodUnion<readonly [(...), (...)]>>,
                                    ZodObject<
                                        {
                                            format_id: ZodIntersection<(...), (...)>;
                                            promoted_offering: ZodOptional<(...)>;
                                            assets: ZodRecord<(...), (...)>;
                                            ext: ZodOptional<(...)>;
                                        },
                                        $strip,
                                    >,
                                >;
                                inputs: ZodOptional<ZodNullable<ZodArray<ZodObject<(...), (...)>>>>;
                                template_id: ZodOptional<ZodNullable<ZodString>>;
                                output_format: ZodOptional<
                                    ZodNullable<ZodUnion<readonly [(...), (...)]>>,
                                >;
                            },
                            $strip,
                        >,
                    >;
                    output_format: ZodOptional<
                        ZodNullable<
                            ZodUnion<readonly [ZodLiteral<"url">, ZodLiteral<"html">]>,
                        >,
                    >;
                    context: ZodOptional<
                        ZodNullable<
                            ZodRecord<ZodString, ZodUnion<readonly [ZodUnknown, ZodUndefined]>>,
                        >,
                    >;
                    ext: ZodOptional<
                        ZodNullable<
                            ZodRecord<ZodString, ZodUnion<readonly [ZodUnknown, ZodUndefined]>>,
                        >,
                    >;
                },
                $strip,
            >,
        ],
    > = ...