import { ServiceArea } from '@bringg/types';
import { BasicResponse } from '../Core/Responses';
export type ServiceAreaModel = ServiceArea & {
    team_ids: number[];
};
export type GetAllServiceAreasResponse = BasicResponse & {
    service_areas: ServiceArea[];
};
export type GetAllByTeamsServiceAreasRequest = {
    teams_ids: number[];
    neighbours?: boolean;
};
export type CreateServiceAreaRequest = {
    team_id: number;
    polygon: number[][];
    name: string;
} | {
    service_area: Partial<ServiceArea>;
};
export type CreateServiceAreaResponse = BasicResponse & {
    service_area: ServiceArea;
};
export type UpdateServiceAreaRequest = {
    team_id: number;
    polygon: number[][];
    name: string;
} | {
    service_area: Partial<ServiceArea>;
};
export type UpdateServiceAreaResponse = BasicResponse & {
    service_area: ServiceArea;
};
export type AssignServiceAreaRequest = {
    user_id: number;
};
export type AssignServiceAreaResponse = BasicResponse & {
    service_area: ServiceArea;
};
export type UnassignServiceAreaRequest = {
    user_id: number;
};
export type UnassignServiceAreaResponse = BasicResponse;
