import * as z from "zod/v4-mini"; import { EventMetadataInput, EventMetadataInput$Outbound } from "./eventmetadatainput.js"; export type EventCreateCustomer = { /** * 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 Polar organization associated with the event. */ customerId: string; /** * ID of the member within the customer's organization who performed the action. Used for member-level attribution in B2B. */ memberId?: string | null | undefined; }; /** @internal */ export type EventCreateCustomer$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; customer_id: string; member_id?: string | null | undefined; }; /** @internal */ export declare const EventCreateCustomer$outboundSchema: z.ZodMiniType; export declare function eventCreateCustomerToJSON(eventCreateCustomer: EventCreateCustomer): string; //# sourceMappingURL=eventcreatecustomer.d.ts.map