'use strict';
import { resourceIds } from '../../../fd-toolbox/constants/resource-id-constants.js';
import { WorkspaceResource } from '../../meta/core/resources/workspace/workspace-resource.js';
import { contactProps } from './props/contact-props.js';
import { descriptionProperty } from '../../meta/decorators/description-property.js';
import { expandDescription } from '../../meta/decorators/expand-description-properties.js';
import { icon } from '../../meta/decorators/icon.js';
import { notDisplayable } from '../../meta/decorators/not-displayable.js';
import { resourceMetaId } from '../../meta/decorators/resource-id.js';
import { searchable } from '../../meta/decorators/searchable.js';
import { uiPriority } from '../../meta/decorators/ui-priority.js';
import { uiRelationPriority } from '../../meta/decorators/ui-relation-priority.js';
import { iconNames } from '../../fd-component-toolbox/icon/Icon.js';
import { accessByWorkspaceId } from '../../meta/decorators/access-by-workspace-id.js';

var __defProp=Object['defineProperty'],__getOwnPropDesc=Object['getOwnPropertyDescriptor'],__name=(_0x6bb5ab,_0x83d5a3)=>__defProp(_0x6bb5ab,'name',{'value':_0x83d5a3,'configurable':!![]}),__decorateClass=(_0x1a5774,_0x588f9e,_0x40edf0,_0x57ed40)=>{var _0x584adc=_0x57ed40>-0xb*-0x13b+0x9d8+-0x1760?void(-0x921+0x2041+0x5*-0x4a0):_0x57ed40?__getOwnPropDesc(_0x588f9e,_0x40edf0):_0x588f9e;for(var _0x26b460=_0x1a5774['length']-(0xf1e*0x2+0x193d+-0x3778),_0x5430bd;_0x26b460>=-0x1*-0x1cab+-0x2bb+0x14*-0x14c;_0x26b460--)if(_0x5430bd=_0x1a5774[_0x26b460])_0x584adc=(_0x57ed40?_0x5430bd(_0x588f9e,_0x40edf0,_0x584adc):_0x5430bd(_0x584adc))||_0x584adc;if(_0x57ed40&&_0x584adc)__defProp(_0x588f9e,_0x40edf0,_0x584adc);return _0x584adc;};let Contact=class extends WorkspaceResource{['email'];['phoneNumber'];['firstName'];['lastName'];['contactOwnerUserId'];['contactOwnerUser'];['lifeCycleStage'];['leadStatus'];['city'];['recordSource'];['parentContactId'];['parentContact'];['ticketList'];['childContactList'];['imageUrl'];['dealList'];['companyId'];['company'];};__name(Contact,'Contact'),__decorateClass([searchable()],Contact['prototype'],'email',-0x1885+0x6b*0x37+0x2*0xc5),__decorateClass([searchable()],Contact['prototype'],'phoneNumber',0x1762+-0xa5*-0x21+-0xb*0x40f),__decorateClass([uiPriority(-0x14e*-0x1d+-0x2340+0x16*-0x15),searchable()],Contact['prototype'],'firstName',-0x2646+0x13+0x2635),__decorateClass([uiPriority(-0x19ed*-0x1+0x1*-0x192a+0x69),searchable()],Contact['prototype'],'lastName',-0x5e9+-0x17df+0x1dca),__decorateClass([expandDescription(),uiRelationPriority(-0x21a4+0x10e1+0x14ab),notDisplayable()],Contact['prototype'],'contactOwnerUserId',0x1*-0x44a+0xc69+-0x43*0x1f),__decorateClass([searchable(),notDisplayable()],Contact['prototype'],'city',-0x527+0x23ac+-0x1e83),__decorateClass([notDisplayable()],Contact['prototype'],'recordSource',-0x15*-0x8d+0x3*0x2af+-0x9ce*0x2),__decorateClass([expandDescription(),uiRelationPriority(0x23a*0x1+0x1*-0x1391+0x1b*0xa7)],Contact['prototype'],'parentContactId',0xc7c+-0x8b*-0x29+0x1*-0x22bd),__decorateClass([expandDescription(),uiRelationPriority(-0x628*-0x4+-0x160f*-0x1+-0x2e5f)],Contact['prototype'],'ticketList',-0x8ab+-0x13ea+0x1c97*0x1),__decorateClass([expandDescription()],Contact['prototype'],'childContactList',-0x1348+-0x42*0x5d+0xc*0x39b),__decorateClass([expandDescription(),uiRelationPriority(-0x115c+0xb9f+0x621)],Contact['prototype'],'dealList',-0x1f4f+-0x1*0x14ed+0x343e),__decorateClass([expandDescription(),uiRelationPriority(0x1*0x2471+0x17d5+-0x2ff*0x14)],Contact['prototype'],'companyId',0x1*-0xbbf+-0x17fe+0x23bf),__decorateClass([uiRelationPriority(-0x1*-0x21da+0x13ae+0x634*-0x8)],Contact['prototype'],'workspaceId',-0x17a4*0x1+-0x1fde*-0x1+-0x838),Contact=__decorateClass([descriptionProperty(contactProps['firstName']),accessByWorkspaceId(),descriptionProperty(contactProps['email']),resourceMetaId(resourceIds['contact']),icon(iconNames['person'])],Contact);

export { Contact };
