import { CommandBus } from '@nestjs/cqrs'; import { IEditEntityByMemberInput, IOrganizationContact, IPagination } from '@metad/contracts'; import { CrudController } from './../core/crud'; import { OrganizationContact } from './organization-contact.entity'; import { OrganizationContactService } from './organization-contact.service'; export declare class OrganizationContactController extends CrudController { private readonly organizationContactService; private readonly commandBus; constructor(organizationContactService: OrganizationContactService, commandBus: CommandBus); /** * GET all organization contacts by Employee * * @param id * @param data * @returns */ findByEmployee(id: string, data: any): Promise>; /** * UPDATE organization contact by Employee * * @param entity * @returns */ updateByEmployee(entity: IEditEntityByMemberInput): Promise; /** * GET all organization contacts * * @param data * @returns */ findAll(data: any): Promise>; }