@adcp/sdk API Reference - v7.9.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: ZodISODateTime;
            user_match: ZodOptional<
                ZodObject<
                    {
                        uids: ZodOptional<
                            ZodArray<
                                ZodObject<
                                    {
                                        type: ZodUnion<
                                            readonly [
                                                (...),
                                                (...),
                                                (...),
                                                (...),
                                                (...),
                                                (...),
                                                (...),
                                                (...),
                                                (...),
                                                (...),
                                            ],
                                        >;
                                        value: ZodString;
                                    },
                                    $loose,
                                >,
                            >,
                        >;
                        hashed_email: ZodOptional<ZodString>;
                        hashed_phone: ZodOptional<ZodString>;
                        click_id: ZodOptional<ZodString>;
                        click_id_type: ZodOptional<ZodString>;
                        client_ip: ZodOptional<ZodString>;
                        client_user_agent: ZodOptional<ZodString>;
                        ext: ZodOptional<ZodObject<{}, $loose>>;
                    },
                    $loose,
                >,
            >;
            custom_data: ZodOptional<
                ZodObject<
                    {
                        value: ZodOptional<ZodNumber>;
                        currency: ZodOptional<ZodString>;
                        order_id: ZodOptional<ZodString>;
                        content_ids: ZodOptional<ZodArray<ZodString>>;
                        content_type: ZodOptional<ZodString>;
                        content_name: ZodOptional<ZodString>;
                        content_category: ZodOptional<ZodString>;
                        num_items: ZodOptional<ZodNumber>;
                        search_string: ZodOptional<ZodString>;
                        contents: ZodOptional<
                            ZodArray<
                                ZodObject<
                                    {
                                        id: ZodString;
                                        quantity: ZodOptional<ZodNumber>;
                                        price: ZodOptional<ZodNumber>;
                                        brand: ZodOptional<ZodString>;
                                    },
                                    $loose,
                                >,
                            >,
                        >;
                        ext: ZodOptional<ZodObject<{}, $loose>>;
                    },
                    $loose,
                >,
            >;
            action_source: ZodOptional<
                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<ZodString>;
            custom_event_name: ZodOptional<ZodString>;
            ext: ZodOptional<ZodObject<{}, $loose>>;
        },
        $loose,
    > = ...