import * as _walkeros_core_dev from '@walkeros/core/dev'; import { z } from '@walkeros/core/dev'; import { DestinationServer, sendServer } from '@walkeros/server-core'; import { Flow } from '@walkeros/core'; /** * Action Source Enum * Where the conversion event took place * https://developers.facebook.com/docs/marketing-api/conversions-api/parameters/server-event */ declare const ActionSourceSchema: z.ZodEnum<{ email: "email"; website: "website"; app: "app"; phone_call: "phone_call"; chat: "chat"; physical_store: "physical_store"; system_generated: "system_generated"; business_messaging: "business_messaging"; other: "other"; }>; /** * Event Name * Standard Meta event names or custom event identifiers */ declare const EventNameSchema: z.ZodUnion, z.ZodString]>; declare const SettingsSchema: z.ZodObject<{ accessToken: z.ZodString; pixelId: z.ZodString; action_source: z.ZodOptional>; doNotHash: z.ZodOptional>; test_event_code: z.ZodOptional; url: z.ZodOptional; user_data: z.ZodOptional>; }, z.core.$strip>; type Settings = z.infer; /** * Meta Conversions API Mapping Schema * Meta CAPI has no event-level mapping configuration */ declare const MappingSchema: z.ZodObject<{}, z.core.$strip>; /** * Type inference from MappingSchema */ type Mapping = z.infer; declare const settings: _walkeros_core_dev.JSONSchema; declare const mapping: _walkeros_core_dev.JSONSchema; declare const index$1_ActionSourceSchema: typeof ActionSourceSchema; declare const index$1_EventNameSchema: typeof EventNameSchema; type index$1_Mapping = Mapping; declare const index$1_MappingSchema: typeof MappingSchema; type index$1_Settings = Settings; declare const index$1_SettingsSchema: typeof SettingsSchema; declare const index$1_mapping: typeof mapping; declare const index$1_settings: typeof settings; declare namespace index$1 { export { index$1_ActionSourceSchema as ActionSourceSchema, index$1_EventNameSchema as EventNameSchema, type index$1_Mapping as Mapping, index$1_MappingSchema as MappingSchema, type index$1_Settings as Settings, index$1_SettingsSchema as SettingsSchema, index$1_mapping as mapping, index$1_settings as settings }; } interface Env extends DestinationServer.Env { sendServer?: typeof sendServer; } /** * Standard mock environment for push operations * * Use this for testing Meta Conversions API events without making * actual HTTP requests to Facebook's servers. */ declare const push: Env; declare const simulation: string[]; declare const env_push: typeof push; declare const env_simulation: typeof simulation; declare namespace env { export { env_push as push, env_simulation as simulation }; } declare const purchase: Flow.StepExample; declare const lead: Flow.StepExample; declare const purchaseWithClickAttribution: Flow.StepExample; declare const step_lead: typeof lead; declare const step_purchase: typeof purchase; declare const step_purchaseWithClickAttribution: typeof purchaseWithClickAttribution; declare namespace step { export { step_lead as lead, step_purchase as purchase, step_purchaseWithClickAttribution as purchaseWithClickAttribution }; } declare const index_env: typeof env; declare const index_step: typeof step; declare namespace index { export { index_env as env, index_step as step }; } export { index as examples, index$1 as schemas };