import * as IShared from '../../../shared/interface'; import { VatTaxZone, VatTax } from '../../../shared/entities/stock'; export type Entity = VatTaxZone; export declare const Route = "vat_tax_zone"; export declare const UpperName = "VatTaxZone"; export declare const LowerName: string; interface IFindDetailedResponse extends Entity { vat_tax: VatTax; } export type IFindByIdResponse = Omit; export type IFindByOwnerIdResponse = Omit; export type IFindRequest = Record; export type IFindResponse = Omit; export interface IFindPaginatedRequest extends IFindRequest, IShared.IPaginationRequest { } export type IFindWithPaginationResponse = IShared.IPaginationResponse>; export interface ICreateRequest { name: string; value: number; vat_tax_id: string; country_id: string; saft_code: string; external_id: string | null; } export interface IUpdateRequest { name?: string; value?: number; vat_tax_id?: string; country_id?: string; saft_code?: string; external_id?: string | null; } export interface IRepository { findById(selector: IShared.IFindByIdRequest): Promise; findByOwnerId(params: IShared.IFindByOwnerIdRequest): Promise; findMinified(selector: IShared.IFindMinifiedRequest): Promise; find(selector: IFindRequest): Promise; findPaginated(selector: IFindPaginatedRequest): Promise; create(data: ICreateRequest): Promise; update(selector: IShared.IFindByIdRequest, data: IUpdateRequest): Promise; deleteOne(selector: IShared.IFindByIdRequest): Promise; } export type IController = IShared.IEntityWithUserToken; export {};