import * as IShared from '../../../shared/interface'; import { Vehicles } from '../../../shared/entities/user'; export type Entity = Vehicles; export declare const Route = "vehicles"; export declare const UpperName = "Vehicles"; export declare const LowerName: string; export interface ICreateRequest { description: string; vehicle_id: number; number_plate: string; } export interface IUpdateRequest { description?: string; vehicle_id?: number; number_plate?: string; } export interface IRepository { find(): Promise; findById(id: string): Promise; create(data: ICreateRequest): Promise; update(selector: IShared.IFindByIdRequest, data: IUpdateRequest): Promise; deleteOne(selector: IShared.IFindByIdRequest): Promise; } export type IController = IShared.IEntityWithUserToken; export type IApi = Omit;