import * as z from "zod"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { Email, Email$Outbound } from "./email.js"; import { PhoneNumber, PhoneNumber$Outbound } from "./phonenumber.js"; /** * The customer this entity is linked to. */ export type LinkedEcommerceCustomer = { /** * The ID of the customer this entity is linked to. */ id: string | null; /** * Full name of the customer */ name?: string | null | undefined; /** * First name of the customer */ firstName?: string | null | undefined; /** * Last name of the customer */ lastName?: string | null | undefined; /** * Company name of the customer */ companyName?: string | null | undefined; phoneNumbers?: Array | undefined; emails?: Array | undefined; }; /** @internal */ export declare const LinkedEcommerceCustomer$inboundSchema: z.ZodType; /** @internal */ export type LinkedEcommerceCustomer$Outbound = { id: string | null; name?: string | null | undefined; first_name?: string | null | undefined; last_name?: string | null | undefined; company_name?: string | null | undefined; phone_numbers?: Array | undefined; emails?: Array | undefined; }; /** @internal */ export declare const LinkedEcommerceCustomer$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace LinkedEcommerceCustomer$ { /** @deprecated use `LinkedEcommerceCustomer$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `LinkedEcommerceCustomer$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `LinkedEcommerceCustomer$Outbound` instead. */ type Outbound = LinkedEcommerceCustomer$Outbound; } export declare function linkedEcommerceCustomerToJSON(linkedEcommerceCustomer: LinkedEcommerceCustomer): string; export declare function linkedEcommerceCustomerFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=linkedecommercecustomer.d.ts.map