Variable LogEventRequestSchemaConst
LogEventRequestSchema: ZodObject<
{
event_source_id: ZodString;
test_event_code: ZodOptional<ZodNullable<ZodString>>;
events: ZodArray<
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<(...)>>;
hashed_email: ZodOptional<ZodNullable<(...)>>;
hashed_phone: ZodOptional<ZodNullable<(...)>>;
click_id: ZodOptional<ZodNullable<(...)>>;
click_id_type: ZodOptional<ZodNullable<(...)>>;
client_ip: ZodOptional<ZodNullable<(...)>>;
client_user_agent: ZodOptional<ZodNullable<(...)>>;
ext: ZodOptional<ZodNullable<(...)>>;
},
$loose,
>,
>,
>;
custom_data: ZodOptional<
ZodNullable<
ZodObject<
{
value: ZodOptional<ZodNullable<(...)>>;
currency: ZodOptional<ZodNullable<(...)>>;
order_id: ZodOptional<ZodNullable<(...)>>;
content_ids: ZodOptional<ZodNullable<(...)>>;
content_type: ZodOptional<ZodNullable<(...)>>;
content_name: ZodOptional<ZodNullable<(...)>>;
content_category: ZodOptional<ZodNullable<(...)>>;
num_items: ZodOptional<ZodNullable<(...)>>;
search_string: ZodOptional<ZodNullable<(...)>>;
contents: ZodOptional<ZodNullable<(...)>>;
ext: ZodOptional<ZodNullable<(...)>>;
},
$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,
>,
>;
idempotency_key: ZodOptional<ZodNullable<ZodString>>;
context: ZodOptional<ZodNullable<ZodObject<{}, $loose>>>;
ext: ZodOptional<ZodNullable<ZodObject<{}, $loose>>>;
},
$loose,
> = ...