import { AttributeMaster } from '../entity/attribute-master.entity'; import { EntityManager, Repository } from 'typeorm'; import { UserData } from 'src/module/user/entity/user.entity'; import { ReflectionHelper } from '../../../utils/service/reflection-helper.service'; import { ConfigService } from '@nestjs/config'; export declare class AttributeMasterRepository { private readonly attributeMasterRepository; private readonly entityManger; private readonly reflectionHelper; private readonly configService; constructor(attributeMasterRepository: Repository, entityManger: EntityManager, reflectionHelper: ReflectionHelper, configService: ConfigService); schema: any; findByMappedEntityIdAndMappedEntityTypeAndAttributeKeyAndOrganizationId(mappedEntityId: number, mappedEntityType: string, attributeKey: string, organizationId: number): Promise; findAttributesByMappedEntityType(entityType: string, loggedInUser: UserData): Promise; createAttribute(attributeData: AttributeMaster): Promise; updateAttribute(attributeData: AttributeMaster, id: number): Promise; getAttributeById(id: number): Promise; getAllAttributeByEntity(entity_type: string, loggedInUser: any): Promise<{ label: string; value: any; }[]>; getAttributesDropdownList(entityType: string, loggedInUser: UserData): Promise<{ label: string; value: number; }[]>; getTableNameByEntityType(entityType: string, loggedInUser: UserData): Promise; checkIfColumnExists(tableName: string, columnName: string): Promise; addColumnToTable(tableName: string, columnName: string, columnType: string): Promise; findByMappedEntityTypeAndAttributeKeyAndOrganizationId(mapped_entity_type: string, attribute_key: string, enterprise_id: number): Promise; }