import { EntityManager } from 'typeorm'; import { UserData } from 'src/module/user/entity/user.entity'; import { MediaDataService } from './media-data.service'; import { ResolverService } from './resolver.service'; import { EntityMasterRepository } from '../repository/entity-master.repository'; import { ReflectionHelper } from '../../../utils/service/reflection-helper.service'; import { ConfigService } from '@nestjs/config'; export declare class EntityDynamicService { private readonly entityManager; private readonly mediaDataService; private readonly resolverService; private readonly entityMasterRepo; private readonly reflectionHelper; private readonly configService; constructor(entityManager: EntityManager, mediaDataService: MediaDataService, resolverService: ResolverService, entityMasterRepo: EntityMasterRepository, reflectionHelper: ReflectionHelper, configService: ConfigService); schema: any; createEntity(entityType: string, entityData: Record, loggedInUser: any, mainID?: number): Promise; createEntityWithRelation(entityType: string, data: Record, loggedInUser: any): Promise; getEntityWithRelation(entityType: string, id: number | string, loggedInUser: any): Promise; formatMappedEntities(relatedEntities: any[], loggedInUser: any): Promise; updateEntityWithRelations(entityType: string, id: number | string, data: Record, loggedInUser: any): Promise; updateEntity(entityType: string, id: number | string, entityData: Record, loggedInUser: any, mainID?: number): Promise; getEntityByDataSource(entityType: string, id: number | string, loggedInUser: any): Promise; getEntity(entityType: string, id: number | string, loggedInUser: any): Promise; private getEntitySourceTableName; private getTableName; private getAttributeCodes; private deleteEntity; getEntitiesDropdownList(loggedInUser: any, appcode?: string): Promise; getCode(entityType: string, loggedInUser: any): Promise; getResolvedEntity(id: number, entity: string, loggedInUser: UserData): Promise; }