import {z} from 'zod'
export type Address = {address_id?: string | undefined, address_type: 'MAILING' | 'PHYSICAL', street: string, street2?: string | undefined, city: string, state: string, zip_code: string, country: string, is_primary: boolean, date_created?: string | undefined};
export type CustomerPatch = {dob?: (string | null) | undefined, first_name?: string | undefined, middle_name?: string | undefined, last_name?: string | undefined, phone?: string | undefined, phone_country_code?: string | undefined, email?: string | undefined, ssn?: string | undefined, addresses?: Array
| undefined};
export type PatchApiCustomersCustomerIdArgs = {body: CustomerPatch};
export type PatchApiCustomersCustomerIdOptions = {baseUrl?: string | undefined, identity?: string | undefined, authorization?: string | undefined, fetch?: typeof fetch | undefined};
export const address = z.object({address_id: z.string().optional(), address_type: z.enum(["MAILING", "PHYSICAL"]), street: z.string(), street2: z.string().optional(), city: z.string().min(2).max(40), state: z.string(), zip_code: z.string(), country: z.string(), is_primary: z.boolean(), date_created: z.string().optional()});
export const customer = z.object({customer_id: z.string().optional(), brand_person_id: z.string().optional(), bond_brand_id: z.string().optional(), business_id: z.string().nullable().optional(), dob: z.string().nullable().optional(), first_name: z.string(), middle_name: z.string().optional(), last_name: z.string().optional(), ssn: z.string().optional(), phone: z.string().optional(), phone_country_code: z.string().optional(), email: z.string().optional(), addresses: z.array(address), date_created: z.string().optional()});
export const validateResponse = async