import { Suggestion } from './suggestion';

export type SetLocationForm = SetLocationPickupForm | SetLocationDeliveryForm;

export type SetLocationDeliveryForm = {
    geo: Suggestion;
    taxes: any[];
    locationUid: string;
    companyUid: string;
    streetNo: string;
    blockNo: string;
    floor: string;
    entranceNo: string;
    apartmentNo: string;
};

export type SetLocationPickupForm = {
    pickup: boolean;
    locationUid?: string;
};
