import * as IShared from '../../../shared/interface'; import { Tenant } from '../../../shared/entities/user'; export type Entity = Tenant; export declare const Route = "tenant"; export declare const UpperName = "Tenant"; export declare const LowerName: string; export interface ICreateRequest { name: string; customer_id: string; taxpayer_number: string; commercial_registration_number?: number | null; share_capital?: number | null; conservatory?: string | null; logo?: string | null; email: string; address: string; postal_code: string; locality: string; country: string; Timezone?: string | null; telephone?: string | null; fax?: string | null; website?: string | null; } export interface IUpdateRequest { name?: string; customer_id?: string; taxpayer_number?: string; commercial_registration_number?: number | null; share_capital?: number | null; conservatory?: string | null; logo?: string | null; email?: string; address?: string; postal_code?: string; locality?: string; country?: string; Timezone?: string | null; telephone?: string | null; fax?: string | null; website?: string | null; } export interface IRepository { find(): Promise; findById(selector: IShared.IFindByIdRequest): Promise; create(data: ICreateRequest): Promise; update(selector: IShared.IFindByIdRequest, data: IUpdateRequest): Promise; } export type IController = IShared.IEntityWithUserToken;