import type { AddressFormData } from "~/services/dto/address-data" export type CustomerAddresses = AddressFormData[] | string[] export interface CustomerData { id: number name: string phone?: string | null email?: string | null addresses: CustomerAddresses } export interface CustomerFormData { name: string phone?: string email?: string addresses: AddressFormData[] } export type CustomerPayload = { name: string phone?: string | null email?: string | null addresses?: string[] }