091701fe359d513116a77e95803a2c5b70fe76ad
[motion2.git] / server / api / user / user.attributes.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
13 // * The SOFTWARE PRODUCT is protected by copyright laws and international *
14 // * copyright treaties, as well as other intellectual property laws and   *
15 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0x1104=['icesupport','dtlsenable','dtlsverify','dtlssetup','dtlsprivatekey','rtcp_mux','avpf','dtlscertfile','TEXT','permissions','VIRTUAL','phoneBarEnableScreenRecordingByAgent','true','screenrecording','blocked','blockedAt','loginAttempts','sequelize','util','lodash','exports','STRING','name','setDataValue','defaultuser','The\x20name\x20of\x20the\x20user','fullname','callerid','format','\x22%s\x22\x20<%s>','getDataValue','internal','email','toLowerCase','admin','agent','telephone','accountcode','BOOLEAN','DEFAULT\x20PAUSE','DATE','INTEGER','ENUM','friend','user','peer','ALLOWED_FAILED_SCREEN','PROHIB_NOT_SCREENED','PROHIB_PASSED_SCREEN','udp','join','transport','String\x20is\x20deprecated.\x20Please\x20use\x20an\x20Array\x20as\x20[\x22udp\x22,\x20\x22tcp\x22]','info','shortinfo','inband','auto','rfc2833','yes','nonat','outgoing','force_rport,comedia','nat','split','all','ulaw;alaw;gsm','allow','String\x20is\x20deprecated.\x20Please\x20use\x20an\x20Array\x20as\x20[\x22ulaw\x22,\x20\x22alaw\x22,\x20\x22gsm\x22]','insecure','String\x20is\x20deprecated.\x20Please\x20use\x20an\x20Array\x20as\x20[\x22port\x22,\x20\x22invite\x22]','\x22\x22\x20<>','accept','refuse','uac','uas','fingerprint','certificate','active','passive','actpass','update,nonat','showWebBar','get','isArray','wss','encryption'];(function(_0x2341b9,_0x57d1d0){var _0x592fe0=function(_0x13c7c9){while(--_0x13c7c9){_0x2341b9['push'](_0x2341b9['shift']());}};_0x592fe0(++_0x57d1d0);}(_0x1104,0xbd));var _0x4110=function(_0x3d4e6f,_0x1c208c){_0x3d4e6f=_0x3d4e6f-0x0;var _0x429ae3=_0x1104[_0x3d4e6f];return _0x429ae3;};'use strict';var Sequelize=require(_0x4110('0x0'));var moment=require('moment');var util=require(_0x4110('0x1'));var _=require(_0x4110('0x2'));module[_0x4110('0x3')]={'name':{'type':Sequelize[_0x4110('0x4')],'allowNull':![],'unique':_0x4110('0x5'),'validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i},'set':function(_0x58312f){this[_0x4110('0x6')]('name',_0x58312f);this[_0x4110('0x6')](_0x4110('0x7'),_0x58312f);},'comment':_0x4110('0x8')},'fullname':{'type':Sequelize['STRING'],'allowNull':![],'set':function(_0x264ea7){this['setDataValue'](_0x4110('0x9'),_0x264ea7);this['setDataValue'](_0x4110('0xa'),util[_0x4110('0xb')](_0x4110('0xc'),_0x264ea7,this[_0x4110('0xd')](_0x4110('0xe'))));}},'alias':{'type':Sequelize[_0x4110('0x4')]},'email':{'type':Sequelize[_0x4110('0x4')],'allowNull':![],'unique':_0x4110('0xf'),'validate':{'isEmail':!![]},'set':function(_0x1c446d){if(_0x1c446d){this[_0x4110('0x6')](_0x4110('0xf'),_0x1c446d[_0x4110('0x10')]());}}},'role':{'type':Sequelize['ENUM'](_0x4110('0x11'),'user',_0x4110('0x12'),_0x4110('0x13')),'allowNull':![]},'password':{'type':Sequelize[_0x4110('0x4')],'allowNull':![],'validate':{'notEmpty':!![]}},'provider':{'type':Sequelize['STRING'],'defaultValue':'local'},'internal':{'type':Sequelize['INTEGER'](0xb),'allowNull':![],'unique':_0x4110('0xe'),'set':function(_0x3f2d63){this[_0x4110('0x6')](_0x4110('0xe'),_0x3f2d63);this[_0x4110('0x6')](_0x4110('0x14'),_0x3f2d63);this['setDataValue'](_0x4110('0xa'),util['format'](_0x4110('0xc'),this['getDataValue'](_0x4110('0x9')),_0x3f2d63));}},'salt':{'type':Sequelize[_0x4110('0x4')]},'phone':{'type':Sequelize['STRING']},'mobile':{'type':Sequelize[_0x4110('0x4')]},'address':{'type':Sequelize[_0x4110('0x4')]},'zipcode':{'type':Sequelize['STRING']},'userpic':{'type':Sequelize[_0x4110('0x4')]},'city':{'type':Sequelize[_0x4110('0x4')]},'country':{'type':Sequelize[_0x4110('0x4')]},'online':{'type':Sequelize[_0x4110('0x15')],'defaultValue':![]},'lastLoginAt':{'type':Sequelize['DATE']},'voicePause':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'chatPause':{'type':Sequelize[_0x4110('0x15')],'defaultValue':![]},'mailPause':{'type':Sequelize[_0x4110('0x15')],'defaultValue':![]},'faxPause':{'type':Sequelize[_0x4110('0x15')],'defaultValue':![]},'smsPause':{'type':Sequelize[_0x4110('0x15')],'defaultValue':![]},'whatsappPause':{'type':Sequelize[_0x4110('0x15')],'defaultValue':![]},'openchannelPause':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'pauseType':{'type':Sequelize[_0x4110('0x4')],'defaultValue':_0x4110('0x16')},'lastPauseAt':{'type':Sequelize[_0x4110('0x17')]},'chatCapacity':{'type':Sequelize[_0x4110('0x18')],'defaultValue':0x0},'mailCapacity':{'type':Sequelize[_0x4110('0x18')],'defaultValue':0x0},'faxCapacity':{'type':Sequelize[_0x4110('0x18')],'defaultValue':0x0},'smsCapacity':{'type':Sequelize[_0x4110('0x18')],'defaultValue':0x0},'whatsappCapacity':{'type':Sequelize[_0x4110('0x18')],'defaultValue':0x0},'openchannelCapacity':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'phoneBarAutoAnswer':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'phoneBarEnableSettings':{'type':Sequelize[_0x4110('0x15')],'defaultValue':!![]},'phoneBarListenPort':{'type':Sequelize[_0x4110('0x18')](0x5),'defaultValue':0x1428},'phoneBarExpires':{'type':Sequelize[_0x4110('0x18')](0x5),'defaultValue':0x78},'phoneBarRemoteControl':{'type':Sequelize[_0x4110('0x15')],'defaultValue':![]},'phoneBarRemoteControlPort':{'type':Sequelize['INTEGER'],'defaultValue':0x26a0},'phoneBarEnableRecording':{'type':Sequelize[_0x4110('0x15')],'defaultValue':![]},'phoneBarRingInUse':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'chanspy':{'type':Sequelize[_0x4110('0x15')],'defaultValue':![]},'description':{'type':Sequelize[_0x4110('0x4')],'allowNull':!![]},'host':{'type':Sequelize[_0x4110('0x4')],'allowNull':!![],'defaultValue':'dynamic'},'ipaddr':{'type':Sequelize[_0x4110('0x4')],'allowNull':!![]},'port':{'type':Sequelize[_0x4110('0x18')](0x5),'allowNull':!![]},'regseconds':{'type':Sequelize[_0x4110('0x18')](0xb),'allowNull':!![]},'fullcontact':{'type':Sequelize[_0x4110('0x4')],'allowNull':!![]},'regserver':{'type':Sequelize[_0x4110('0x4')],'allowNull':!![]},'useragent':{'type':Sequelize['STRING'],'allowNull':!![]},'lastms':{'type':Sequelize[_0x4110('0x18')](0xb),'allowNull':!![]},'type':{'type':Sequelize[_0x4110('0x19')](_0x4110('0x1a'),_0x4110('0x1b'),_0x4110('0x1c')),'allowNull':!![],'defaultValue':'friend'},'context':{'type':Sequelize[_0x4110('0x4')],'allowNull':!![],'defaultValue':'from-sip'},'callingpres':{'type':Sequelize['ENUM']('ALLOWED_NOT_SCREENED','ALLOWED_PASSED_SCREEN',_0x4110('0x1d'),'ALLOWED',_0x4110('0x1e'),_0x4110('0x1f'),'PROHIB_FAILED_SCREEN','PROHIB'),'allowNull':!![]},'deny':{'type':Sequelize['STRING'],'allowNull':!![]},'permit':{'type':Sequelize[_0x4110('0x4')],'allowNull':!![]},'secret':{'type':Sequelize[_0x4110('0x4')],'allowNull':!![]},'md5secret':{'type':Sequelize[_0x4110('0x4')],'allowNull':!![]},'remotesecret':{'type':Sequelize[_0x4110('0x4')],'allowNull':!![]},'transport':{'type':Sequelize['STRING'],'allowNull':!![],'defaultValue':_0x4110('0x20'),'set':function(_0x379731){this[_0x4110('0x6')]('transport',_0x379731?_0x379731[_0x4110('0x21')](','):null);},'get':function(){return this['getDataValue'](_0x4110('0x22'))?this[_0x4110('0xd')](_0x4110('0x22'))['split'](','):null;},'comment':_0x4110('0x23')},'dtmfmode':{'type':Sequelize[_0x4110('0x19')]('rfc2833',_0x4110('0x24'),_0x4110('0x25'),_0x4110('0x26'),_0x4110('0x27')),'allowNull':!![],'defaultValue':_0x4110('0x28')},'directmedia':{'type':Sequelize[_0x4110('0x19')](_0x4110('0x29'),'no',_0x4110('0x2a'),'update',_0x4110('0x2b')),'allowNull':!![],'defaultValue':'no'},'directrtpsetup':{'type':Sequelize['ENUM'](_0x4110('0x29'),'no'),'allowNull':!![],'defaultValue':'no'},'directmediapermit':{'type':Sequelize[_0x4110('0x4')],'allowNull':!![]},'directmediadeny':{'type':Sequelize[_0x4110('0x4')],'allowNull':!![]},'nat':{'type':Sequelize[_0x4110('0x4')],'allowNull':!![],'defaultValue':_0x4110('0x2c'),'set':function(_0x3dc9f1){this[_0x4110('0x6')](_0x4110('0x2d'),_0x3dc9f1?_0x3dc9f1['join'](','):null);},'get':function(){return this[_0x4110('0xd')](_0x4110('0x2d'))?this['getDataValue'](_0x4110('0x2d'))[_0x4110('0x2e')](','):null;},'comment':'String\x20is\x20deprecated.\x20Please\x20use\x20an\x20Array\x20as\x20[\x22force_rport\x22,\x20\x22comedia\x22]'},'callgroup':{'type':Sequelize[_0x4110('0x4')]},'namedcallgroup':{'type':Sequelize[_0x4110('0x4')]},'pickupgroup':{'type':Sequelize[_0x4110('0x4')]},'namedpickupgroup':{'type':Sequelize['STRING']},'language':{'type':Sequelize[_0x4110('0x4')],'defaultValue':'en'},'tonezone':{'type':Sequelize[_0x4110('0x4')]},'disallow':{'type':Sequelize[_0x4110('0x4')],'allowNull':![],'defaultValue':_0x4110('0x2f')},'allow':{'type':Sequelize[_0x4110('0x4')],'allowNull':![],'defaultValue':_0x4110('0x30'),'set':function(_0x51afc0){this[_0x4110('0x6')](_0x4110('0x31'),_0x51afc0?_0x51afc0['join'](';'):'ulaw;alaw;gsm');},'get':function(){return this[_0x4110('0xd')](_0x4110('0x31'))?this[_0x4110('0xd')](_0x4110('0x31'))['split'](';'):null;},'comment':_0x4110('0x32')},'autoframing':{'type':Sequelize[_0x4110('0x19')](_0x4110('0x29'),'no'),'allowNull':!![]},'insecure':{'type':Sequelize[_0x4110('0x4')],'allowNull':!![],'set':function(_0x11301f){this[_0x4110('0x6')](_0x4110('0x33'),_0x11301f?_0x11301f[_0x4110('0x21')](','):null);},'get':function(){return this['getDataValue'](_0x4110('0x33'))?this['getDataValue'](_0x4110('0x33'))[_0x4110('0x2e')](','):null;},'comment':_0x4110('0x34')},'trustrpid':{'type':Sequelize['ENUM']('yes','no'),'allowNull':!![],'defaultValue':'no'},'trust_id_outbound':{'type':Sequelize[_0x4110('0x19')](_0x4110('0x29'),'no'),'allowNull':!![],'defaultValue':'no'},'progressinband':{'type':Sequelize['ENUM'](_0x4110('0x29'),'no','never'),'allowNull':!![]},'promiscredir':{'type':Sequelize[_0x4110('0x19')]('yes','no'),'allowNull':!![]},'useclientcode':{'type':Sequelize[_0x4110('0x19')](_0x4110('0x29'),'no'),'allowNull':!![]},'accountcode':{'type':Sequelize[_0x4110('0x18')](0xb),'allowNull':!![]},'setvar':{'type':Sequelize[_0x4110('0x4')],'allowNull':!![]},'callerid':{'type':Sequelize['STRING'],'allowNull':!![],'defaultValue':_0x4110('0x35')},'amaflags':{'type':Sequelize[_0x4110('0x4')],'allowNull':!![]},'callcounter':{'type':Sequelize['ENUM']('yes','no'),'allowNull':!![],'defaultValue':'yes'},'busylevel':{'type':Sequelize[_0x4110('0x18')](0xb),'allowNull':!![]},'allowoverlap':{'type':Sequelize[_0x4110('0x19')](_0x4110('0x29'),'no'),'allowNull':!![]},'allowsubscribe':{'type':Sequelize['ENUM'](_0x4110('0x29'),'no'),'allowNull':!![]},'allowtransfer':{'type':Sequelize[_0x4110('0x19')](_0x4110('0x29'),'no'),'allowNull':!![]},'ignoresdpversion':{'type':Sequelize[_0x4110('0x19')](_0x4110('0x29'),'no'),'allowNull':!![]},'subscribecontext':{'type':Sequelize[_0x4110('0x4')],'allowNull':!![]},'template':{'type':Sequelize['STRING'],'allowNull':!![]},'videosupport':{'type':Sequelize[_0x4110('0x19')](_0x4110('0x29'),'no','always'),'allowNull':!![],'defaultValue':'no'},'maxcallbitrate':{'type':Sequelize[_0x4110('0x18')](0xb),'allowNull':!![]},'rfc2833compensate':{'type':Sequelize[_0x4110('0x19')]('yes','no'),'allowNull':!![]},'mailbox':{'type':Sequelize['STRING'],'allowNull':!![]},'session_timers':{'type':Sequelize['ENUM'](_0x4110('0x36'),_0x4110('0x37'),'originate'),'allowNull':!![]},'session_expires':{'type':Sequelize[_0x4110('0x18')](0xb),'allowNull':!![]},'session_minse':{'type':Sequelize[_0x4110('0x18')](0xb),'allowNull':!![]},'session_refresher':{'type':Sequelize[_0x4110('0x19')](_0x4110('0x38'),_0x4110('0x39')),'allowNull':!![],'defaultValue':_0x4110('0x39')},'t38pt_usertpsource':{'type':Sequelize['STRING'],'allowNull':!![]},'regexten':{'type':Sequelize[_0x4110('0x4')],'allowNull':!![]},'fromdomain':{'type':Sequelize['STRING'],'allowNull':!![]},'fromuser':{'type':Sequelize['STRING'],'allowNull':!![]},'qualify':{'type':Sequelize[_0x4110('0x19')](_0x4110('0x29'),'no'),'allowNull':!![],'defaultValue':'yes'},'keepalive':{'type':Sequelize['INTEGER'](0xb),'allowNull':!![]},'defaultip':{'type':Sequelize['STRING'],'allowNull':!![]},'defaultuser':{'type':Sequelize['STRING'],'allowNull':!![]},'rtptimeout':{'type':Sequelize['INTEGER'](0xb),'allowNull':!![]},'rtpholdtimeout':{'type':Sequelize[_0x4110('0x18')](0xb),'allowNull':!![]},'rtpkeepalive':{'type':Sequelize[_0x4110('0x18')](0xb),'allowNull':!![]},'sendrpid':{'type':Sequelize[_0x4110('0x19')](_0x4110('0x29'),'no'),'allowNull':!![],'defaultValue':'no'},'outboundproxy':{'type':Sequelize['STRING'],'allowNull':!![]},'callbackextension':{'type':Sequelize['STRING'],'allowNull':!![]},'timert1':{'type':Sequelize[_0x4110('0x18')](0xb),'allowNull':!![]},'timerb':{'type':Sequelize[_0x4110('0x18')](0xb),'allowNull':!![]},'qualifyfreq':{'type':Sequelize['INTEGER'](0xb),'allowNull':!![]},'contactpermit':{'type':Sequelize[_0x4110('0x4')],'allowNull':!![]},'contactdeny':{'type':Sequelize['STRING'],'allowNull':!![]},'contactacl':{'type':Sequelize['STRING'],'allowNull':!![]},'unsolicited_mailbox':{'type':Sequelize['STRING'],'allowNull':!![]},'use_q850_reason':{'type':Sequelize[_0x4110('0x4')],'allowNull':!![]},'maxforwards':{'type':Sequelize[_0x4110('0x18')](0xb),'allowNull':!![]},'encryption':{'type':Sequelize[_0x4110('0x19')]('yes','no'),'allowNull':!![],'defaultValue':'no'},'avpf':{'type':Sequelize['ENUM'](_0x4110('0x29'),'no'),'allowNull':!![]},'force_avp':{'type':Sequelize[_0x4110('0x19')](_0x4110('0x29'),'no'),'allowNull':!![]},'icesupport':{'type':Sequelize[_0x4110('0x19')]('yes','no'),'allowNull':!![]},'dtlsenable':{'type':Sequelize[_0x4110('0x19')](_0x4110('0x29'),'no'),'allowNull':!![]},'dtlsverify':{'type':Sequelize[_0x4110('0x19')]('yes','no',_0x4110('0x3a'),_0x4110('0x3b')),'allowNull':!![]},'dtlsrekey':{'type':Sequelize[_0x4110('0x18')](0xb),'allowNull':!![]},'dtlscertfile':{'type':Sequelize['STRING'],'allowNull':!![]},'dtlsprivatekey':{'type':Sequelize[_0x4110('0x4')],'allowNull':!![]},'dtlscipher':{'type':Sequelize[_0x4110('0x4')],'allowNull':!![]},'dtlscafile':{'type':Sequelize[_0x4110('0x4')],'allowNull':!![]},'dtlscapath':{'type':Sequelize['STRING'],'allowNull':!![]},'dtlssetup':{'type':Sequelize[_0x4110('0x19')](_0x4110('0x3c'),_0x4110('0x3d'),_0x4110('0x3e')),'allowNull':!![]},'dtlsfingerprint':{'type':Sequelize[_0x4110('0x4')],'allowNull':!![]},'usereqphone':{'type':Sequelize['ENUM']('yes','no'),'allowNull':!![],'defaultValue':'no'},'recordonfeature':{'type':Sequelize[_0x4110('0x4')],'allowNull':!![]},'recordofffeature':{'type':Sequelize[_0x4110('0x4')],'allowNull':!![]},'call_limit':{'type':Sequelize['INTEGER'](0xb),'allowNull':!![],'defaultValue':0xa},'registertrying':{'type':Sequelize[_0x4110('0x19')](_0x4110('0x29'),'no'),'allowNull':!![]},'subscribemwi':{'type':Sequelize['ENUM'](_0x4110('0x29'),'no'),'allowNull':!![]},'vmexten':{'type':Sequelize['STRING'],'allowNull':!![]},'mohinterpret':{'type':Sequelize[_0x4110('0x4')],'allowNull':!![]},'mohsuggest':{'type':Sequelize['STRING'],'allowNull':!![]},'parkinglot':{'type':Sequelize[_0x4110('0x4')],'allowNull':!![]},'canreinvite':{'type':Sequelize[_0x4110('0x19')]('yes','no','nonat','update',_0x4110('0x3f')),'allowNull':!![],'defaultValue':'no'},'loginInPause':{'type':Sequelize[_0x4110('0x15')],'defaultValue':![]},'resetPasswordToken':{'type':Sequelize[_0x4110('0x4')]},'resetPasswordExpires':{'type':Sequelize[_0x4110('0x17')]},'showWebBar':{'type':Sequelize[_0x4110('0x18')],'defaultValue':0x0,'set':function(_0x56ca03){this['setDataValue'](_0x4110('0x40'),_0x56ca03);var _0x3f5854=this[_0x4110('0x41')]({'plain':!![]});switch(_0x56ca03){case 0x0:case 0x1:var _0x532306=_0x3f5854[_0x4110('0x22')]?_[_0x4110('0x42')](_0x3f5854['transport'])?_0x3f5854[_0x4110('0x22')][_0x4110('0x21')]():_0x3f5854['transport']:_0x4110('0x20');if(_0x532306===_0x4110('0x43')){_0x532306=_0x4110('0x20');}this[_0x4110('0x6')](_0x4110('0x22'),_0x532306);this[_0x4110('0x6')](_0x4110('0x44'),'no');this['setDataValue']('avpf',null);this[_0x4110('0x6')]('force_avp',null);this[_0x4110('0x6')](_0x4110('0x45'),null);this[_0x4110('0x6')](_0x4110('0x46'),null);this[_0x4110('0x6')](_0x4110('0x47'),null);this['setDataValue'](_0x4110('0x48'),null);this[_0x4110('0x6')]('dtlscertfile',null);this[_0x4110('0x6')](_0x4110('0x49'),null);this['setDataValue'](_0x4110('0x4a'),'no');break;case 0x2:this[_0x4110('0x6')](_0x4110('0x22'),_0x4110('0x43'));this['setDataValue'](_0x4110('0x44'),_0x4110('0x29'));this['setDataValue'](_0x4110('0x4b'),_0x4110('0x29'));this[_0x4110('0x6')]('force_avp',_0x4110('0x29'));this['setDataValue'](_0x4110('0x45'),'yes');this[_0x4110('0x6')](_0x4110('0x46'),'yes');this[_0x4110('0x6')](_0x4110('0x47'),'no');this[_0x4110('0x6')](_0x4110('0x48'),_0x4110('0x3e'));this[_0x4110('0x6')](_0x4110('0x4c'),_0x3f5854[_0x4110('0x4c')]||'/etc/pki/tls/certs/motion.crt');this['setDataValue'](_0x4110('0x49'),_0x3f5854[_0x4110('0x49')]||'/etc/pki/tls/private/motion.key');this[_0x4110('0x6')](_0x4110('0x4a'),_0x4110('0x29'));break;default:}}},'permissions':{'type':Sequelize[_0x4110('0x4d')],'set':function(_0x55bf52){this['setDataValue'](_0x4110('0x4e'),_0x55bf52?_0x55bf52[_0x4110('0x21')](','):[]);},'get':function(){return this[_0x4110('0xd')]('permissions')?_['map'](this[_0x4110('0xd')](_0x4110('0x4e'))[_0x4110('0x2e')](','),function(_0x3c9ef4){return parseInt(_0x3c9ef4,0xa);}):[];}},'phoneBarUnconditionalNumber':{'type':Sequelize['STRING']},'phoneBarNoReplyNumber':{'type':Sequelize[_0x4110('0x4')]},'phoneBarBusyNumber':{'type':Sequelize['STRING']},'phoneBarUnconditional':{'type':Sequelize[_0x4110('0x15')],'defaultValue':![]},'phoneBarNoReply':{'type':Sequelize[_0x4110('0x15')],'defaultValue':![]},'phoneBarBusy':{'type':Sequelize[_0x4110('0x15')],'defaultValue':![]},'phoneBarDnd':{'type':Sequelize[_0x4110('0x15')],'defaultValue':!![]},'phoneBarUnansweredCallBadge':{'type':Sequelize[_0x4110('0x15')],'defaultValue':!![]},'phoneBarEnableDtmfTone':{'type':Sequelize[_0x4110('0x15')],'defaultValue':![]},'phoneBarAutoAnswerDelay':{'type':Sequelize[_0x4110('0x18')],'defaultValue':0x0},'extensionMonitor':{'type':Sequelize[_0x4110('0x4')],'defaultValue':''},'crudPermissions':{'type':Sequelize[_0x4110('0x18')],'defaultValue':0x0},'rtcp_mux':{'type':Sequelize[_0x4110('0x19')]('yes','no'),'defaultValue':'no'},'allowmessenger':{'type':Sequelize[_0x4110('0x15')],'defaultValue':!![]},'phoneBarOutboundProxy':{'type':Sequelize[_0x4110('0x4')]},'passwordResetAt':{'type':Sequelize[_0x4110('0x17')],'defaultValue':null},'phoneBarEnableJaws':{'type':Sequelize[_0x4110('0x15')],'defaultValue':![]},'phoneBarEnableScreenRecordingByAgent':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'phoneBarEnableVideoRecording':{'type':Sequelize[_0x4110('0x4f')],'get':function(){return this[_0x4110('0xd')](_0x4110('0x50'))?this[_0x4110('0xd')](_0x4110('0x50')):![];}},'phoneBarEnableAutomaticScreenRecording':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'phoneBarPrefixRequired':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'hotdesk':{'type':Sequelize[_0x4110('0x15')],'defaultValue':![]},'interface':{'type':Sequelize[_0x4110('0x4')],'defaultValue':null},'privacyEnabled':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'apiKeyNonce':{'type':Sequelize['STRING'],'allowNull':!![]},'apiKeyIat':{'type':Sequelize['STRING'],'allowNull':!![]},'screenrecording':{'type':Sequelize['BOOLEAN'],'defaultValue':![],'set':function(_0x5f75d7){if(typeof _0x5f75d7==='string'){var _0x80594d=_0x5f75d7==='1'?!![]:_0x5f75d7==='0'?![]:_0x5f75d7===_0x4110('0x51')?!![]:_0x5f75d7==='false'?![]:![];this['setDataValue'](_0x4110('0x52'),_0x80594d);}else{this[_0x4110('0x6')](_0x4110('0x52'),_0x5f75d7);}}},'blocked':{'type':Sequelize[_0x4110('0x15')],'defaultValue':![],'set':function(_0x244147){this[_0x4110('0x6')](_0x4110('0x53'),_0x244147);if(_0x244147===!![]){this['setDataValue'](_0x4110('0x54'),moment());this[_0x4110('0x6')](_0x4110('0x55'),0x0);}else{this[_0x4110('0x6')](_0x4110('0x54'),null);}}},'blockedAt':{'type':Sequelize[_0x4110('0x17')],'defaultValue':null},'loginAttempts':{'type':Sequelize[_0x4110('0x18')],'defaultValue':0x0},'disabled':{'type':Sequelize['BOOLEAN'],'defaultValue':![]}};