@adcp/client API Reference - v4.19.0
    Preparing search index...

    Variable EventSchemaConst

    EventSchema: ZodObject<
        {
            event_id: ZodString;
            event_type: ZodUnion<
                readonly [
                    ZodLiteral<"page_view">,
                    ZodLiteral<"view_content">,
                    ZodLiteral<"select_content">,
                    ZodLiteral<"select_item">,
                    ZodLiteral<"search">,
                    ZodLiteral<"share">,
                    ZodLiteral<"add_to_cart">,
                    ZodLiteral<"remove_from_cart">,
                    ZodLiteral<"viewed_cart">,
                    ZodLiteral<"add_to_wishlist">,
                    ZodLiteral<"initiate_checkout">,
                    ZodLiteral<"add_payment_info">,
                    ZodLiteral<"purchase">,
                    ZodLiteral<"refund">,
                    ZodLiteral<"lead">,
                    ZodLiteral<"qualify_lead">,
                    ZodLiteral<"close_convert_lead">,
                    ZodLiteral<"disqualify_lead">,
                    ZodLiteral<"complete_registration">,
                    ZodLiteral<"subscribe">,
                    ZodLiteral<"start_trial">,
                    ZodLiteral<"app_install">,
                    ZodLiteral<"app_launch">,
                    ZodLiteral<"contact">,
                    ZodLiteral<"schedule">,
                    ZodLiteral<"donate">,
                    ZodLiteral<"submit_application">,
                    ZodLiteral<"custom">,
                ],
            >;
            event_time: ZodString;
            user_match: ZodOptional<
                ZodNullable<
                    ZodObject<
                        {
                            uids: ZodOptional<
                                ZodNullable<
                                    ZodArray<ZodObject<{ type: ...; value: ... }, $loose>>,
                                >,
                            >;
                            hashed_email: ZodOptional<ZodNullable<ZodString>>;
                            hashed_phone: ZodOptional<ZodNullable<ZodString>>;
                            click_id: ZodOptional<ZodNullable<ZodString>>;
                            click_id_type: ZodOptional<ZodNullable<ZodString>>;
                            client_ip: ZodOptional<ZodNullable<ZodString>>;
                            client_user_agent: ZodOptional<ZodNullable<ZodString>>;
                            ext: ZodOptional<ZodNullable<ZodObject<{}, $loose>>>;
                        },
                        $loose,
                    >,
                >,
            >;
            custom_data: ZodOptional<
                ZodNullable<
                    ZodObject<
                        {
                            value: ZodOptional<ZodNullable<ZodNumber>>;
                            currency: ZodOptional<ZodNullable<ZodString>>;
                            order_id: ZodOptional<ZodNullable<ZodString>>;
                            content_ids: ZodOptional<ZodNullable<ZodArray<ZodString>>>;
                            content_type: ZodOptional<ZodNullable<ZodString>>;
                            content_name: ZodOptional<ZodNullable<ZodString>>;
                            content_category: ZodOptional<ZodNullable<ZodString>>;
                            num_items: ZodOptional<ZodNullable<ZodNumber>>;
                            search_string: ZodOptional<ZodNullable<ZodString>>;
                            contents: ZodOptional<
                                ZodNullable<
                                    ZodArray<
                                        ZodObject<
                                            { id: ...; quantity: ...; price: ...; brand: ... },
                                            $loose,
                                        >,
                                    >,
                                >,
                            >;
                            ext: ZodOptional<ZodNullable<ZodObject<{}, $loose>>>;
                        },
                        $loose,
                    >,
                >,
            >;
            action_source: ZodOptional<
                ZodNullable<
                    ZodUnion<
                        readonly [
                            ZodLiteral<"website">,
                            ZodLiteral<"app">,
                            ZodLiteral<"offline">,
                            ZodLiteral<"phone_call">,
                            ZodLiteral<"chat">,
                            ZodLiteral<"email">,
                            ZodLiteral<"in_store">,
                            ZodLiteral<"system_generated">,
                            ZodLiteral<"other">,
                        ],
                    >,
                >,
            >;
            event_source_url: ZodOptional<ZodNullable<ZodString>>;
            custom_event_name: ZodOptional<ZodNullable<ZodString>>;
            ext: ZodOptional<ZodNullable<ZodObject<{}, $loose>>>;
        },
        $loose,
    > = ...