import * as z from "zod/v4-mini";
import { EventMetadataInput, EventMetadataInput$Outbound } from "./eventmetadatainput.js";
export type EventCreateExternalCustomer = {
    /**
     * The timestamp of the event.
     */
    timestamp?: Date | undefined;
    /**
     * The name of the event.
     */
    name: string;
    /**
     * The ID of the organization owning the event. **Required unless you use an organization token.**
     */
    organizationId?: string | null | undefined;
    /**
     * Your unique identifier for this event. Useful for deduplication and parent-child relationships.
     */
    externalId?: string | null | undefined;
    /**
     * The ID of the parent event. Can be either a Polar event ID (UUID) or an external event ID.
     */
    parentId?: string | null | undefined;
    metadata?: {
        [k: string]: EventMetadataInput;
    } | undefined;
    /**
     * ID of the customer in your system associated with the event.
     */
    externalCustomerId: string;
    /**
     * ID of the member in your system within the customer's organization who performed the action. Used for member-level attribution in B2B.
     */
    externalMemberId?: string | null | undefined;
};
/** @internal */
export type EventCreateExternalCustomer$Outbound = {
    timestamp?: string | undefined;
    name: string;
    organization_id?: string | null | undefined;
    external_id?: string | null | undefined;
    parent_id?: string | null | undefined;
    metadata?: {
        [k: string]: EventMetadataInput$Outbound;
    } | undefined;
    external_customer_id: string;
    external_member_id?: string | null | undefined;
};
/** @internal */
export declare const EventCreateExternalCustomer$outboundSchema: z.ZodMiniType<EventCreateExternalCustomer$Outbound, EventCreateExternalCustomer>;
export declare function eventCreateExternalCustomerToJSON(eventCreateExternalCustomer: EventCreateExternalCustomer): string;
//# sourceMappingURL=eventcreateexternalcustomer.d.ts.map