import { DeepPartial, DeleteResult } from 'typeorm'; import { IPagination } from '@metad/contracts'; import { QueryDeepPartialEntity } from 'typeorm/query-builder/QueryPartialEntity'; import { CrudController } from './../core/crud'; import { OrganizationLanguageService } from './organization-language.service'; import { OrganizationLanguage } from './organization-language.entity'; export declare class OrganizationLanguageController extends CrudController { private readonly organizationLanguageService; constructor(organizationLanguageService: OrganizationLanguageService); /** * GET all organization language * * @param data * @returns */ findAll(data: any): Promise>; /** * CREATE organization language * * @param entity * @returns */ create(entity: DeepPartial): Promise; /** * UPDATE organization language by id * * @param id * @param entity * @returns */ update(id: string, entity: QueryDeepPartialEntity): Promise; /** * DELETE organization language by id * * @param id * @returns */ delete(id: string): Promise; }