import { CommandBus } from '@nestjs/cqrs'; import { CrudController, ITryRequest } from './../core/crud'; import { Employee } from './employee.entity'; import { EmployeeService } from './employee.service'; export declare class EmployeeController extends CrudController { private readonly employeeService; private readonly commandBus; constructor(employeeService: EmployeeService, commandBus: CommandBus); /** * GET employee by user id in the same tenant * * @param userId * @param data * @returns */ findByUserId(userId: string, data?: any): Promise; }