import { IPagination, ITenant, ITenantCreateInput } from '@metad/contracts'; import { Request } from 'express'; import { CommandBus } from '@nestjs/cqrs'; import { CrudController } from './../core/crud'; import { Tenant } from './tenant.entity'; import { TenantService } from './tenant.service'; export declare class TenantController extends CrudController { private readonly tenantService; private readonly commandBus; constructor(tenantService: TenantService, commandBus: CommandBus); getCount(): Promise; pagination(): Promise; findAll(): Promise>; /** * @changed add onboarding info api * @returns */ getOnboardDefault(request: Request): Promise; findById(id: string): Promise; /** * CREATE Owner Tenant * * @returns */ create(entity: ITenantCreateInput): Promise; onboardDefault(entity: ITenantCreateInput): Promise; update(id: string, entity: ITenantCreateInput): Promise; delete(id: string): Promise; }