Built motion from commit (unavailable).|2.5.4
[motion2.git] / server / api / user / user.attributes.js
index b7a967b..c364356 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x5e58=['dtlsverify','dtlssetup','dtlsprivatekey','rtcp_mux','wss','force_avp','dtlscertfile','TEXT','permissions','map','VIRTUAL','phoneBarEnableScreenRecordingByAgent','string','true','false','screenrecording','blockedAt','moment','util','lodash','exports','STRING','name','setDataValue','defaultuser','The\x20name\x20of\x20the\x20user','fullname','callerid','format','\x22%s\x22\x20<%s>','getDataValue','internal','email','ENUM','admin','user','telephone','local','accountcode','DATE','BOOLEAN','DEFAULT\x20PAUSE','INTEGER','dynamic','friend','peer','from-sip','ALLOWED_NOT_SCREENED','ALLOWED_PASSED_SCREEN','ALLOWED_FAILED_SCREEN','ALLOWED','PROHIB_NOT_SCREENED','PROHIB_PASSED_SCREEN','udp','transport','join','String\x20is\x20deprecated.\x20Please\x20use\x20an\x20Array\x20as\x20[\x22udp\x22,\x20\x22tcp\x22]','rfc2833','info','shortinfo','inband','auto','yes','nonat','update','outgoing','force_rport,comedia','nat','split','String\x20is\x20deprecated.\x20Please\x20use\x20an\x20Array\x20as\x20[\x22force_rport\x22,\x20\x22comedia\x22]','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]','never','always','accept','originate','uac','certificate','passive','actpass','update,nonat','showWebBar','get','encryption','avpf','icesupport','dtlsenable'];(function(_0x321bb2,_0x202794){var _0x9c12ed=function(_0x263dd3){while(--_0x263dd3){_0x321bb2['push'](_0x321bb2['shift']());}};_0x9c12ed(++_0x202794);}(_0x5e58,0x17d));var _0x85e5=function(_0x49b72e,_0x4db0de){_0x49b72e=_0x49b72e-0x0;var _0x30a4d8=_0x5e58[_0x49b72e];return _0x30a4d8;};'use strict';var Sequelize=require('sequelize');var moment=require(_0x85e5('0x0'));var util=require(_0x85e5('0x1'));var _=require(_0x85e5('0x2'));module[_0x85e5('0x3')]={'name':{'type':Sequelize[_0x85e5('0x4')],'allowNull':![],'unique':_0x85e5('0x5'),'validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i},'set':function(_0x5195e2){this[_0x85e5('0x6')](_0x85e5('0x5'),_0x5195e2);this[_0x85e5('0x6')](_0x85e5('0x7'),_0x5195e2);},'comment':_0x85e5('0x8')},'fullname':{'type':Sequelize[_0x85e5('0x4')],'allowNull':![],'set':function(_0x2e37df){this[_0x85e5('0x6')](_0x85e5('0x9'),_0x2e37df);this['setDataValue'](_0x85e5('0xa'),util[_0x85e5('0xb')](_0x85e5('0xc'),_0x2e37df,this[_0x85e5('0xd')](_0x85e5('0xe'))));}},'alias':{'type':Sequelize[_0x85e5('0x4')]},'email':{'type':Sequelize[_0x85e5('0x4')],'allowNull':![],'unique':_0x85e5('0xf'),'validate':{'isEmail':!![]},'set':function(_0x48c10c){if(_0x48c10c){this[_0x85e5('0x6')]('email',_0x48c10c['toLowerCase']());}}},'role':{'type':Sequelize[_0x85e5('0x10')](_0x85e5('0x11'),_0x85e5('0x12'),'agent',_0x85e5('0x13')),'allowNull':![]},'password':{'type':Sequelize[_0x85e5('0x4')],'allowNull':![],'validate':{'notEmpty':!![]}},'provider':{'type':Sequelize[_0x85e5('0x4')],'defaultValue':_0x85e5('0x14')},'internal':{'type':Sequelize['INTEGER'](0xb),'allowNull':![],'unique':_0x85e5('0xe'),'set':function(_0x1f32c5){this[_0x85e5('0x6')](_0x85e5('0xe'),_0x1f32c5);this[_0x85e5('0x6')](_0x85e5('0x15'),_0x1f32c5);this[_0x85e5('0x6')]('callerid',util[_0x85e5('0xb')](_0x85e5('0xc'),this[_0x85e5('0xd')](_0x85e5('0x9')),_0x1f32c5));}},'salt':{'type':Sequelize[_0x85e5('0x4')]},'phone':{'type':Sequelize['STRING']},'mobile':{'type':Sequelize[_0x85e5('0x4')]},'address':{'type':Sequelize[_0x85e5('0x4')]},'zipcode':{'type':Sequelize[_0x85e5('0x4')]},'userpic':{'type':Sequelize[_0x85e5('0x4')]},'city':{'type':Sequelize[_0x85e5('0x4')]},'country':{'type':Sequelize[_0x85e5('0x4')]},'online':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'lastLoginAt':{'type':Sequelize[_0x85e5('0x16')]},'voicePause':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'chatPause':{'type':Sequelize[_0x85e5('0x17')],'defaultValue':![]},'mailPause':{'type':Sequelize[_0x85e5('0x17')],'defaultValue':![]},'faxPause':{'type':Sequelize[_0x85e5('0x17')],'defaultValue':![]},'smsPause':{'type':Sequelize[_0x85e5('0x17')],'defaultValue':![]},'whatsappPause':{'type':Sequelize[_0x85e5('0x17')],'defaultValue':![]},'openchannelPause':{'type':Sequelize[_0x85e5('0x17')],'defaultValue':![]},'pauseType':{'type':Sequelize[_0x85e5('0x4')],'defaultValue':_0x85e5('0x18')},'lastPauseAt':{'type':Sequelize[_0x85e5('0x16')]},'chatCapacity':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'mailCapacity':{'type':Sequelize[_0x85e5('0x19')],'defaultValue':0x0},'faxCapacity':{'type':Sequelize[_0x85e5('0x19')],'defaultValue':0x0},'smsCapacity':{'type':Sequelize[_0x85e5('0x19')],'defaultValue':0x0},'whatsappCapacity':{'type':Sequelize[_0x85e5('0x19')],'defaultValue':0x0},'openchannelCapacity':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'phoneBarAutoAnswer':{'type':Sequelize[_0x85e5('0x17')],'defaultValue':![]},'phoneBarEnableSettings':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'phoneBarListenPort':{'type':Sequelize[_0x85e5('0x19')](0x5),'defaultValue':0x1428},'phoneBarExpires':{'type':Sequelize[_0x85e5('0x19')](0x5),'defaultValue':0x78},'phoneBarRemoteControl':{'type':Sequelize[_0x85e5('0x17')],'defaultValue':![]},'phoneBarRemoteControlPort':{'type':Sequelize[_0x85e5('0x19')],'defaultValue':0x26a0},'phoneBarEnableRecording':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'phoneBarRingInUse':{'type':Sequelize[_0x85e5('0x17')],'defaultValue':![]},'chanspy':{'type':Sequelize[_0x85e5('0x17')],'defaultValue':![]},'description':{'type':Sequelize[_0x85e5('0x4')],'allowNull':!![]},'host':{'type':Sequelize[_0x85e5('0x4')],'allowNull':!![],'defaultValue':_0x85e5('0x1a')},'ipaddr':{'type':Sequelize[_0x85e5('0x4')],'allowNull':!![]},'port':{'type':Sequelize[_0x85e5('0x19')](0x5),'allowNull':!![]},'regseconds':{'type':Sequelize[_0x85e5('0x19')](0xb),'allowNull':!![]},'fullcontact':{'type':Sequelize[_0x85e5('0x4')],'allowNull':!![]},'regserver':{'type':Sequelize[_0x85e5('0x4')],'allowNull':!![]},'useragent':{'type':Sequelize['STRING'],'allowNull':!![]},'lastms':{'type':Sequelize['INTEGER'](0xb),'allowNull':!![]},'type':{'type':Sequelize[_0x85e5('0x10')](_0x85e5('0x1b'),_0x85e5('0x12'),_0x85e5('0x1c')),'allowNull':!![],'defaultValue':'friend'},'context':{'type':Sequelize['STRING'],'allowNull':!![],'defaultValue':_0x85e5('0x1d')},'callingpres':{'type':Sequelize['ENUM'](_0x85e5('0x1e'),_0x85e5('0x1f'),_0x85e5('0x20'),_0x85e5('0x21'),_0x85e5('0x22'),_0x85e5('0x23'),'PROHIB_FAILED_SCREEN','PROHIB'),'allowNull':!![]},'deny':{'type':Sequelize['STRING'],'allowNull':!![]},'permit':{'type':Sequelize[_0x85e5('0x4')],'allowNull':!![]},'secret':{'type':Sequelize['STRING'],'allowNull':!![]},'md5secret':{'type':Sequelize[_0x85e5('0x4')],'allowNull':!![]},'remotesecret':{'type':Sequelize['STRING'],'allowNull':!![]},'transport':{'type':Sequelize[_0x85e5('0x4')],'allowNull':!![],'defaultValue':_0x85e5('0x24'),'set':function(_0x5e3f4c){this[_0x85e5('0x6')](_0x85e5('0x25'),_0x5e3f4c?_0x5e3f4c[_0x85e5('0x26')](','):null);},'get':function(){return this[_0x85e5('0xd')](_0x85e5('0x25'))?this[_0x85e5('0xd')](_0x85e5('0x25'))['split'](','):null;},'comment':_0x85e5('0x27')},'dtmfmode':{'type':Sequelize[_0x85e5('0x10')](_0x85e5('0x28'),_0x85e5('0x29'),_0x85e5('0x2a'),_0x85e5('0x2b'),_0x85e5('0x2c')),'allowNull':!![],'defaultValue':'rfc2833'},'directmedia':{'type':Sequelize['ENUM'](_0x85e5('0x2d'),'no',_0x85e5('0x2e'),_0x85e5('0x2f'),_0x85e5('0x30')),'allowNull':!![],'defaultValue':'no'},'directrtpsetup':{'type':Sequelize[_0x85e5('0x10')](_0x85e5('0x2d'),'no'),'allowNull':!![],'defaultValue':'no'},'directmediapermit':{'type':Sequelize[_0x85e5('0x4')],'allowNull':!![]},'directmediadeny':{'type':Sequelize['STRING'],'allowNull':!![]},'nat':{'type':Sequelize[_0x85e5('0x4')],'allowNull':!![],'defaultValue':_0x85e5('0x31'),'set':function(_0x5bb509){this[_0x85e5('0x6')](_0x85e5('0x32'),_0x5bb509?_0x5bb509[_0x85e5('0x26')](','):null);},'get':function(){return this[_0x85e5('0xd')]('nat')?this[_0x85e5('0xd')](_0x85e5('0x32'))[_0x85e5('0x33')](','):null;},'comment':_0x85e5('0x34')},'callgroup':{'type':Sequelize[_0x85e5('0x4')]},'namedcallgroup':{'type':Sequelize[_0x85e5('0x4')]},'pickupgroup':{'type':Sequelize[_0x85e5('0x4')]},'namedpickupgroup':{'type':Sequelize[_0x85e5('0x4')]},'language':{'type':Sequelize['STRING'],'defaultValue':'en'},'tonezone':{'type':Sequelize[_0x85e5('0x4')]},'disallow':{'type':Sequelize['STRING'],'allowNull':![],'defaultValue':_0x85e5('0x35')},'allow':{'type':Sequelize[_0x85e5('0x4')],'allowNull':![],'defaultValue':_0x85e5('0x36'),'set':function(_0x3eb61c){this['setDataValue'](_0x85e5('0x37'),_0x3eb61c?_0x3eb61c[_0x85e5('0x26')](';'):'ulaw;alaw;gsm');},'get':function(){return this[_0x85e5('0xd')](_0x85e5('0x37'))?this[_0x85e5('0xd')](_0x85e5('0x37'))[_0x85e5('0x33')](';'):null;},'comment':_0x85e5('0x38')},'autoframing':{'type':Sequelize[_0x85e5('0x10')](_0x85e5('0x2d'),'no'),'allowNull':!![]},'insecure':{'type':Sequelize[_0x85e5('0x4')],'allowNull':!![],'set':function(_0x108a72){this[_0x85e5('0x6')](_0x85e5('0x39'),_0x108a72?_0x108a72[_0x85e5('0x26')](','):null);},'get':function(){return this[_0x85e5('0xd')]('insecure')?this[_0x85e5('0xd')](_0x85e5('0x39'))[_0x85e5('0x33')](','):null;},'comment':_0x85e5('0x3a')},'trustrpid':{'type':Sequelize['ENUM'](_0x85e5('0x2d'),'no'),'allowNull':!![],'defaultValue':'no'},'trust_id_outbound':{'type':Sequelize['ENUM']('yes','no'),'allowNull':!![],'defaultValue':'no'},'progressinband':{'type':Sequelize[_0x85e5('0x10')]('yes','no',_0x85e5('0x3b')),'allowNull':!![]},'promiscredir':{'type':Sequelize[_0x85e5('0x10')](_0x85e5('0x2d'),'no'),'allowNull':!![]},'useclientcode':{'type':Sequelize['ENUM'](_0x85e5('0x2d'),'no'),'allowNull':!![]},'accountcode':{'type':Sequelize[_0x85e5('0x19')](0xb),'allowNull':!![]},'setvar':{'type':Sequelize[_0x85e5('0x4')],'allowNull':!![]},'callerid':{'type':Sequelize[_0x85e5('0x4')],'allowNull':!![],'defaultValue':'\x22\x22\x20<>'},'amaflags':{'type':Sequelize[_0x85e5('0x4')],'allowNull':!![]},'callcounter':{'type':Sequelize[_0x85e5('0x10')]('yes','no'),'allowNull':!![],'defaultValue':_0x85e5('0x2d')},'busylevel':{'type':Sequelize['INTEGER'](0xb),'allowNull':!![]},'allowoverlap':{'type':Sequelize['ENUM']('yes','no'),'allowNull':!![]},'allowsubscribe':{'type':Sequelize[_0x85e5('0x10')](_0x85e5('0x2d'),'no'),'allowNull':!![]},'allowtransfer':{'type':Sequelize['ENUM'](_0x85e5('0x2d'),'no'),'allowNull':!![]},'ignoresdpversion':{'type':Sequelize[_0x85e5('0x10')](_0x85e5('0x2d'),'no'),'allowNull':!![]},'subscribecontext':{'type':Sequelize['STRING'],'allowNull':!![]},'template':{'type':Sequelize['STRING'],'allowNull':!![]},'videosupport':{'type':Sequelize[_0x85e5('0x10')](_0x85e5('0x2d'),'no',_0x85e5('0x3c')),'allowNull':!![],'defaultValue':'no'},'maxcallbitrate':{'type':Sequelize[_0x85e5('0x19')](0xb),'allowNull':!![]},'rfc2833compensate':{'type':Sequelize['ENUM']('yes','no'),'allowNull':!![]},'mailbox':{'type':Sequelize[_0x85e5('0x4')],'allowNull':!![]},'session_timers':{'type':Sequelize['ENUM'](_0x85e5('0x3d'),'refuse',_0x85e5('0x3e')),'allowNull':!![]},'session_expires':{'type':Sequelize['INTEGER'](0xb),'allowNull':!![]},'session_minse':{'type':Sequelize[_0x85e5('0x19')](0xb),'allowNull':!![]},'session_refresher':{'type':Sequelize['ENUM'](_0x85e5('0x3f'),'uas'),'allowNull':!![],'defaultValue':'uas'},'t38pt_usertpsource':{'type':Sequelize[_0x85e5('0x4')],'allowNull':!![]},'regexten':{'type':Sequelize['STRING'],'allowNull':!![]},'fromdomain':{'type':Sequelize['STRING'],'allowNull':!![]},'fromuser':{'type':Sequelize[_0x85e5('0x4')],'allowNull':!![]},'qualify':{'type':Sequelize['ENUM']('yes','no'),'allowNull':!![],'defaultValue':_0x85e5('0x2d')},'keepalive':{'type':Sequelize[_0x85e5('0x19')](0xb),'allowNull':!![]},'defaultip':{'type':Sequelize[_0x85e5('0x4')],'allowNull':!![]},'defaultuser':{'type':Sequelize[_0x85e5('0x4')],'allowNull':!![]},'rtptimeout':{'type':Sequelize[_0x85e5('0x19')](0xb),'allowNull':!![]},'rtpholdtimeout':{'type':Sequelize['INTEGER'](0xb),'allowNull':!![]},'rtpkeepalive':{'type':Sequelize['INTEGER'](0xb),'allowNull':!![]},'sendrpid':{'type':Sequelize[_0x85e5('0x10')](_0x85e5('0x2d'),'no'),'allowNull':!![],'defaultValue':'no'},'outboundproxy':{'type':Sequelize[_0x85e5('0x4')],'allowNull':!![]},'callbackextension':{'type':Sequelize['STRING'],'allowNull':!![]},'timert1':{'type':Sequelize['INTEGER'](0xb),'allowNull':!![]},'timerb':{'type':Sequelize[_0x85e5('0x19')](0xb),'allowNull':!![]},'qualifyfreq':{'type':Sequelize[_0x85e5('0x19')](0xb),'allowNull':!![]},'contactpermit':{'type':Sequelize[_0x85e5('0x4')],'allowNull':!![]},'contactdeny':{'type':Sequelize[_0x85e5('0x4')],'allowNull':!![]},'contactacl':{'type':Sequelize[_0x85e5('0x4')],'allowNull':!![]},'unsolicited_mailbox':{'type':Sequelize[_0x85e5('0x4')],'allowNull':!![]},'use_q850_reason':{'type':Sequelize[_0x85e5('0x4')],'allowNull':!![]},'maxforwards':{'type':Sequelize['INTEGER'](0xb),'allowNull':!![]},'encryption':{'type':Sequelize['ENUM'](_0x85e5('0x2d'),'no'),'allowNull':!![],'defaultValue':'no'},'avpf':{'type':Sequelize[_0x85e5('0x10')](_0x85e5('0x2d'),'no'),'allowNull':!![]},'force_avp':{'type':Sequelize['ENUM'](_0x85e5('0x2d'),'no'),'allowNull':!![]},'icesupport':{'type':Sequelize[_0x85e5('0x10')]('yes','no'),'allowNull':!![]},'dtlsenable':{'type':Sequelize[_0x85e5('0x10')](_0x85e5('0x2d'),'no'),'allowNull':!![]},'dtlsverify':{'type':Sequelize[_0x85e5('0x10')](_0x85e5('0x2d'),'no','fingerprint',_0x85e5('0x40')),'allowNull':!![]},'dtlsrekey':{'type':Sequelize['INTEGER'](0xb),'allowNull':!![]},'dtlscertfile':{'type':Sequelize[_0x85e5('0x4')],'allowNull':!![]},'dtlsprivatekey':{'type':Sequelize[_0x85e5('0x4')],'allowNull':!![]},'dtlscipher':{'type':Sequelize[_0x85e5('0x4')],'allowNull':!![]},'dtlscafile':{'type':Sequelize[_0x85e5('0x4')],'allowNull':!![]},'dtlscapath':{'type':Sequelize[_0x85e5('0x4')],'allowNull':!![]},'dtlssetup':{'type':Sequelize[_0x85e5('0x10')]('active',_0x85e5('0x41'),_0x85e5('0x42')),'allowNull':!![]},'dtlsfingerprint':{'type':Sequelize[_0x85e5('0x4')],'allowNull':!![]},'usereqphone':{'type':Sequelize[_0x85e5('0x10')](_0x85e5('0x2d'),'no'),'allowNull':!![],'defaultValue':'no'},'recordonfeature':{'type':Sequelize[_0x85e5('0x4')],'allowNull':!![]},'recordofffeature':{'type':Sequelize[_0x85e5('0x4')],'allowNull':!![]},'call_limit':{'type':Sequelize['INTEGER'](0xb),'allowNull':!![],'defaultValue':0xa},'registertrying':{'type':Sequelize[_0x85e5('0x10')](_0x85e5('0x2d'),'no'),'allowNull':!![]},'subscribemwi':{'type':Sequelize[_0x85e5('0x10')](_0x85e5('0x2d'),'no'),'allowNull':!![]},'vmexten':{'type':Sequelize[_0x85e5('0x4')],'allowNull':!![]},'mohinterpret':{'type':Sequelize[_0x85e5('0x4')],'allowNull':!![]},'mohsuggest':{'type':Sequelize[_0x85e5('0x4')],'allowNull':!![]},'parkinglot':{'type':Sequelize[_0x85e5('0x4')],'allowNull':!![]},'canreinvite':{'type':Sequelize['ENUM'](_0x85e5('0x2d'),'no',_0x85e5('0x2e'),_0x85e5('0x2f'),_0x85e5('0x43')),'allowNull':!![],'defaultValue':'no'},'loginInPause':{'type':Sequelize[_0x85e5('0x17')],'defaultValue':![]},'resetPasswordToken':{'type':Sequelize['STRING']},'resetPasswordExpires':{'type':Sequelize[_0x85e5('0x16')]},'showWebBar':{'type':Sequelize[_0x85e5('0x19')],'defaultValue':0x0,'set':function(_0x26e033){this[_0x85e5('0x6')](_0x85e5('0x44'),_0x26e033);var _0x4386c2=this[_0x85e5('0x45')]({'plain':!![]});switch(_0x26e033){case 0x0:case 0x1:var _0x213c12=_0x4386c2[_0x85e5('0x25')]?_['isArray'](_0x4386c2['transport'])?_0x4386c2[_0x85e5('0x25')][_0x85e5('0x26')]():_0x4386c2['transport']:_0x85e5('0x24');if(_0x213c12==='wss'){_0x213c12='udp';}this[_0x85e5('0x6')](_0x85e5('0x25'),_0x213c12);this['setDataValue'](_0x85e5('0x46'),'no');this[_0x85e5('0x6')](_0x85e5('0x47'),null);this[_0x85e5('0x6')]('force_avp',null);this[_0x85e5('0x6')](_0x85e5('0x48'),null);this[_0x85e5('0x6')](_0x85e5('0x49'),null);this[_0x85e5('0x6')](_0x85e5('0x4a'),null);this['setDataValue'](_0x85e5('0x4b'),null);this[_0x85e5('0x6')]('dtlscertfile',null);this['setDataValue'](_0x85e5('0x4c'),null);this[_0x85e5('0x6')](_0x85e5('0x4d'),'no');break;case 0x2:this[_0x85e5('0x6')](_0x85e5('0x25'),_0x85e5('0x4e'));this['setDataValue'](_0x85e5('0x46'),_0x85e5('0x2d'));this[_0x85e5('0x6')]('avpf','yes');this[_0x85e5('0x6')](_0x85e5('0x4f'),'yes');this[_0x85e5('0x6')](_0x85e5('0x48'),_0x85e5('0x2d'));this[_0x85e5('0x6')]('dtlsenable','yes');this[_0x85e5('0x6')]('dtlsverify','no');this[_0x85e5('0x6')](_0x85e5('0x4b'),'actpass');this[_0x85e5('0x6')]('dtlscertfile',_0x4386c2[_0x85e5('0x50')]||'/etc/pki/tls/certs/motion.crt');this[_0x85e5('0x6')]('dtlsprivatekey',_0x4386c2['dtlsprivatekey']||'/etc/pki/tls/private/motion.key');this['setDataValue'](_0x85e5('0x4d'),_0x85e5('0x2d'));break;default:}}},'permissions':{'type':Sequelize[_0x85e5('0x51')],'set':function(_0x326321){this[_0x85e5('0x6')](_0x85e5('0x52'),_0x326321?_0x326321[_0x85e5('0x26')](','):[]);},'get':function(){return this['getDataValue'](_0x85e5('0x52'))?_[_0x85e5('0x53')](this[_0x85e5('0xd')]('permissions')[_0x85e5('0x33')](','),function(_0x5af437){return parseInt(_0x5af437,0xa);}):[];}},'phoneBarUnconditionalNumber':{'type':Sequelize[_0x85e5('0x4')]},'phoneBarNoReplyNumber':{'type':Sequelize[_0x85e5('0x4')]},'phoneBarBusyNumber':{'type':Sequelize[_0x85e5('0x4')]},'phoneBarUnconditional':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'phoneBarNoReply':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'phoneBarBusy':{'type':Sequelize[_0x85e5('0x17')],'defaultValue':![]},'phoneBarDnd':{'type':Sequelize[_0x85e5('0x17')],'defaultValue':!![]},'phoneBarUnansweredCallBadge':{'type':Sequelize[_0x85e5('0x17')],'defaultValue':!![]},'phoneBarEnableDtmfTone':{'type':Sequelize[_0x85e5('0x17')],'defaultValue':![]},'phoneBarAutoAnswerDelay':{'type':Sequelize[_0x85e5('0x19')],'defaultValue':0x0},'extensionMonitor':{'type':Sequelize[_0x85e5('0x4')],'defaultValue':''},'crudPermissions':{'type':Sequelize[_0x85e5('0x19')],'defaultValue':0x0},'rtcp_mux':{'type':Sequelize[_0x85e5('0x10')](_0x85e5('0x2d'),'no'),'defaultValue':'no'},'allowmessenger':{'type':Sequelize[_0x85e5('0x17')],'defaultValue':!![]},'phoneBarOutboundProxy':{'type':Sequelize[_0x85e5('0x4')]},'passwordResetAt':{'type':Sequelize['DATE'],'defaultValue':null},'phoneBarEnableJaws':{'type':Sequelize[_0x85e5('0x17')],'defaultValue':![]},'phoneBarEnableScreenRecordingByAgent':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'phoneBarEnableVideoRecording':{'type':Sequelize[_0x85e5('0x54')],'get':function(){return this[_0x85e5('0xd')](_0x85e5('0x55'))?this[_0x85e5('0xd')](_0x85e5('0x55')):![];}},'phoneBarEnableAutomaticScreenRecording':{'type':Sequelize[_0x85e5('0x17')],'defaultValue':![]},'phoneBarPrefixRequired':{'type':Sequelize[_0x85e5('0x17')],'defaultValue':![]},'hotdesk':{'type':Sequelize[_0x85e5('0x17')],'defaultValue':![]},'interface':{'type':Sequelize[_0x85e5('0x4')],'defaultValue':null},'privacyEnabled':{'type':Sequelize[_0x85e5('0x17')],'defaultValue':![]},'apiKeyNonce':{'type':Sequelize[_0x85e5('0x4')],'allowNull':!![]},'apiKeyIat':{'type':Sequelize[_0x85e5('0x4')],'allowNull':!![]},'screenrecording':{'type':Sequelize[_0x85e5('0x17')],'defaultValue':![],'set':function(_0x3edae6){if(typeof _0x3edae6===_0x85e5('0x56')){var _0x3d5892=_0x3edae6==='1'?!![]:_0x3edae6==='0'?![]:_0x3edae6===_0x85e5('0x57')?!![]:_0x3edae6===_0x85e5('0x58')?![]:![];this[_0x85e5('0x6')](_0x85e5('0x59'),_0x3d5892);}else{this[_0x85e5('0x6')](_0x85e5('0x59'),_0x3edae6);}}},'blocked':{'type':Sequelize[_0x85e5('0x17')],'defaultValue':![],'set':function(_0x3096b6){this[_0x85e5('0x6')]('blocked',_0x3096b6);if(_0x3096b6===!![]){this[_0x85e5('0x6')]('blockedAt',moment());this[_0x85e5('0x6')]('loginAttempts',0x0);}else{this['setDataValue'](_0x85e5('0x5a'),null);}}},'blockedAt':{'type':Sequelize['DATE'],'defaultValue':null},'loginAttempts':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'disabled':{'type':Sequelize[_0x85e5('0x17')],'defaultValue':![]}};
\ No newline at end of file
+var _0x3461=['email','toLowerCase','admin','user','agent','local','accountcode','getDataValue','fullname','BOOLEAN','DATE','INTEGER','ENUM','peer','friend','from-sip','ALLOWED_NOT_SCREENED','ALLOWED_PASSED_SCREEN','ALLOWED_FAILED_SCREEN','PROHIB_NOT_SCREENED','PROHIB_PASSED_SCREEN','PROHIB','transport','split','String\x20is\x20deprecated.\x20Please\x20use\x20an\x20Array\x20as\x20[\x22udp\x22,\x20\x22tcp\x22]','shortinfo','auto','rfc2833','yes','nonat','update','outgoing','force_rport,comedia','nat','all','allow','ulaw;alaw;gsm','String\x20is\x20deprecated.\x20Please\x20use\x20an\x20Array\x20as\x20[\x22ulaw\x22,\x20\x22alaw\x22,\x20\x22gsm\x22]','insecure','join','String\x20is\x20deprecated.\x20Please\x20use\x20an\x20Array\x20as\x20[\x22port\x22,\x20\x22invite\x22]','never','\x22\x22\x20<>','always','refuse','originate','uac','uas','fingerprint','active','passive','update,nonat','showWebBar','get','isArray','udp','avpf','force_avp','icesupport','dtlsenable','dtlssetup','dtlsprivatekey','rtcp_mux','wss','encryption','dtlsverify','dtlscertfile','/etc/pki/tls/certs/motion.crt','TEXT','permissions','map','VIRTUAL','phoneBarEnableScreenRecordingByAgent','string','true','false','screenrecording','blocked','blockedAt','sequelize','util','lodash','exports','STRING','name','defaultuser','The\x20name\x20of\x20the\x20user','setDataValue','callerid','format','internal'];(function(_0x503357,_0x1920f3){var _0x48ba12=function(_0x17b04b){while(--_0x17b04b){_0x503357['push'](_0x503357['shift']());}};_0x48ba12(++_0x1920f3);}(_0x3461,0x105));var _0x1346=function(_0x46874a,_0x2b9a96){_0x46874a=_0x46874a-0x0;var _0x5424aa=_0x3461[_0x46874a];return _0x5424aa;};'use strict';var Sequelize=require(_0x1346('0x0'));var moment=require('moment');var util=require(_0x1346('0x1'));var _=require(_0x1346('0x2'));module[_0x1346('0x3')]={'name':{'type':Sequelize[_0x1346('0x4')],'allowNull':![],'unique':_0x1346('0x5'),'validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i},'set':function(_0x5b8aea){this['setDataValue'](_0x1346('0x5'),_0x5b8aea);this['setDataValue'](_0x1346('0x6'),_0x5b8aea);},'comment':_0x1346('0x7')},'fullname':{'type':Sequelize['STRING'],'allowNull':![],'set':function(_0x135082){this[_0x1346('0x8')]('fullname',_0x135082);this[_0x1346('0x8')](_0x1346('0x9'),util[_0x1346('0xa')]('\x22%s\x22\x20<%s>',_0x135082,this['getDataValue'](_0x1346('0xb'))));}},'alias':{'type':Sequelize[_0x1346('0x4')]},'email':{'type':Sequelize[_0x1346('0x4')],'allowNull':![],'unique':_0x1346('0xc'),'validate':{'isEmail':!![]},'set':function(_0x4c3959){if(_0x4c3959){this['setDataValue']('email',_0x4c3959[_0x1346('0xd')]());}}},'role':{'type':Sequelize['ENUM'](_0x1346('0xe'),_0x1346('0xf'),_0x1346('0x10'),'telephone'),'allowNull':![]},'password':{'type':Sequelize[_0x1346('0x4')],'allowNull':![],'validate':{'notEmpty':!![]}},'provider':{'type':Sequelize['STRING'],'defaultValue':_0x1346('0x11')},'internal':{'type':Sequelize['INTEGER'](0xb),'allowNull':![],'unique':_0x1346('0xb'),'set':function(_0x22108a){this[_0x1346('0x8')]('internal',_0x22108a);this[_0x1346('0x8')](_0x1346('0x12'),_0x22108a);this['setDataValue'](_0x1346('0x9'),util['format']('\x22%s\x22\x20<%s>',this[_0x1346('0x13')](_0x1346('0x14')),_0x22108a));}},'salt':{'type':Sequelize[_0x1346('0x4')]},'phone':{'type':Sequelize[_0x1346('0x4')]},'mobile':{'type':Sequelize['STRING']},'address':{'type':Sequelize[_0x1346('0x4')]},'zipcode':{'type':Sequelize[_0x1346('0x4')]},'userpic':{'type':Sequelize[_0x1346('0x4')]},'city':{'type':Sequelize['STRING']},'country':{'type':Sequelize[_0x1346('0x4')]},'online':{'type':Sequelize[_0x1346('0x15')],'defaultValue':![]},'lastLoginAt':{'type':Sequelize[_0x1346('0x16')]},'voicePause':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'chatPause':{'type':Sequelize[_0x1346('0x15')],'defaultValue':![]},'mailPause':{'type':Sequelize[_0x1346('0x15')],'defaultValue':![]},'faxPause':{'type':Sequelize[_0x1346('0x15')],'defaultValue':![]},'smsPause':{'type':Sequelize[_0x1346('0x15')],'defaultValue':![]},'whatsappPause':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'openchannelPause':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'pauseType':{'type':Sequelize[_0x1346('0x4')],'defaultValue':'DEFAULT\x20PAUSE'},'lastPauseAt':{'type':Sequelize['DATE']},'chatCapacity':{'type':Sequelize[_0x1346('0x17')],'defaultValue':0x0},'mailCapacity':{'type':Sequelize[_0x1346('0x17')],'defaultValue':0x0},'faxCapacity':{'type':Sequelize[_0x1346('0x17')],'defaultValue':0x0},'smsCapacity':{'type':Sequelize[_0x1346('0x17')],'defaultValue':0x0},'whatsappCapacity':{'type':Sequelize[_0x1346('0x17')],'defaultValue':0x0},'openchannelCapacity':{'type':Sequelize[_0x1346('0x17')],'defaultValue':0x0},'phoneBarAutoAnswer':{'type':Sequelize[_0x1346('0x15')],'defaultValue':![]},'phoneBarEnableSettings':{'type':Sequelize[_0x1346('0x15')],'defaultValue':!![]},'phoneBarListenPort':{'type':Sequelize['INTEGER'](0x5),'defaultValue':0x1428},'phoneBarExpires':{'type':Sequelize[_0x1346('0x17')](0x5),'defaultValue':0x78},'phoneBarRemoteControl':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'phoneBarRemoteControlPort':{'type':Sequelize[_0x1346('0x17')],'defaultValue':0x26a0},'phoneBarEnableRecording':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'phoneBarRingInUse':{'type':Sequelize[_0x1346('0x15')],'defaultValue':![]},'chanspy':{'type':Sequelize[_0x1346('0x15')],'defaultValue':![]},'description':{'type':Sequelize[_0x1346('0x4')],'allowNull':!![]},'host':{'type':Sequelize['STRING'],'allowNull':!![],'defaultValue':'dynamic'},'ipaddr':{'type':Sequelize[_0x1346('0x4')],'allowNull':!![]},'port':{'type':Sequelize[_0x1346('0x17')](0x5),'allowNull':!![]},'regseconds':{'type':Sequelize['INTEGER'](0xb),'allowNull':!![]},'fullcontact':{'type':Sequelize[_0x1346('0x4')],'allowNull':!![]},'regserver':{'type':Sequelize[_0x1346('0x4')],'allowNull':!![]},'useragent':{'type':Sequelize[_0x1346('0x4')],'allowNull':!![]},'lastms':{'type':Sequelize['INTEGER'](0xb),'allowNull':!![]},'type':{'type':Sequelize[_0x1346('0x18')]('friend',_0x1346('0xf'),_0x1346('0x19')),'allowNull':!![],'defaultValue':_0x1346('0x1a')},'context':{'type':Sequelize[_0x1346('0x4')],'allowNull':!![],'defaultValue':_0x1346('0x1b')},'callingpres':{'type':Sequelize[_0x1346('0x18')](_0x1346('0x1c'),_0x1346('0x1d'),_0x1346('0x1e'),'ALLOWED',_0x1346('0x1f'),_0x1346('0x20'),'PROHIB_FAILED_SCREEN',_0x1346('0x21')),'allowNull':!![]},'deny':{'type':Sequelize['STRING'],'allowNull':!![]},'permit':{'type':Sequelize[_0x1346('0x4')],'allowNull':!![]},'secret':{'type':Sequelize[_0x1346('0x4')],'allowNull':!![]},'md5secret':{'type':Sequelize[_0x1346('0x4')],'allowNull':!![]},'remotesecret':{'type':Sequelize['STRING'],'allowNull':!![]},'transport':{'type':Sequelize[_0x1346('0x4')],'allowNull':!![],'defaultValue':'udp','set':function(_0x47a0c7){this['setDataValue'](_0x1346('0x22'),_0x47a0c7?_0x47a0c7['join'](','):null);},'get':function(){return this[_0x1346('0x13')](_0x1346('0x22'))?this['getDataValue'](_0x1346('0x22'))[_0x1346('0x23')](','):null;},'comment':_0x1346('0x24')},'dtmfmode':{'type':Sequelize['ENUM']('rfc2833','info',_0x1346('0x25'),'inband',_0x1346('0x26')),'allowNull':!![],'defaultValue':_0x1346('0x27')},'directmedia':{'type':Sequelize[_0x1346('0x18')](_0x1346('0x28'),'no',_0x1346('0x29'),_0x1346('0x2a'),_0x1346('0x2b')),'allowNull':!![],'defaultValue':'no'},'directrtpsetup':{'type':Sequelize['ENUM'](_0x1346('0x28'),'no'),'allowNull':!![],'defaultValue':'no'},'directmediapermit':{'type':Sequelize[_0x1346('0x4')],'allowNull':!![]},'directmediadeny':{'type':Sequelize[_0x1346('0x4')],'allowNull':!![]},'nat':{'type':Sequelize['STRING'],'allowNull':!![],'defaultValue':_0x1346('0x2c'),'set':function(_0x2bb248){this['setDataValue'](_0x1346('0x2d'),_0x2bb248?_0x2bb248['join'](','):null);},'get':function(){return this[_0x1346('0x13')](_0x1346('0x2d'))?this[_0x1346('0x13')](_0x1346('0x2d'))[_0x1346('0x23')](','):null;},'comment':'String\x20is\x20deprecated.\x20Please\x20use\x20an\x20Array\x20as\x20[\x22force_rport\x22,\x20\x22comedia\x22]'},'callgroup':{'type':Sequelize[_0x1346('0x4')]},'namedcallgroup':{'type':Sequelize[_0x1346('0x4')]},'pickupgroup':{'type':Sequelize[_0x1346('0x4')]},'namedpickupgroup':{'type':Sequelize[_0x1346('0x4')]},'language':{'type':Sequelize[_0x1346('0x4')],'defaultValue':'en'},'tonezone':{'type':Sequelize['STRING']},'disallow':{'type':Sequelize['STRING'],'allowNull':![],'defaultValue':_0x1346('0x2e')},'allow':{'type':Sequelize[_0x1346('0x4')],'allowNull':![],'defaultValue':'ulaw;alaw;gsm','set':function(_0x4e9899){this[_0x1346('0x8')](_0x1346('0x2f'),_0x4e9899?_0x4e9899['join'](';'):_0x1346('0x30'));},'get':function(){return this[_0x1346('0x13')](_0x1346('0x2f'))?this['getDataValue'](_0x1346('0x2f'))[_0x1346('0x23')](';'):null;},'comment':_0x1346('0x31')},'autoframing':{'type':Sequelize[_0x1346('0x18')](_0x1346('0x28'),'no'),'allowNull':!![]},'insecure':{'type':Sequelize['STRING'],'allowNull':!![],'set':function(_0x5b5635){this[_0x1346('0x8')](_0x1346('0x32'),_0x5b5635?_0x5b5635[_0x1346('0x33')](','):null);},'get':function(){return this[_0x1346('0x13')](_0x1346('0x32'))?this['getDataValue'](_0x1346('0x32'))[_0x1346('0x23')](','):null;},'comment':_0x1346('0x34')},'trustrpid':{'type':Sequelize[_0x1346('0x18')](_0x1346('0x28'),'no'),'allowNull':!![],'defaultValue':'no'},'trust_id_outbound':{'type':Sequelize[_0x1346('0x18')]('yes','no'),'allowNull':!![],'defaultValue':'no'},'progressinband':{'type':Sequelize['ENUM']('yes','no',_0x1346('0x35')),'allowNull':!![]},'promiscredir':{'type':Sequelize[_0x1346('0x18')](_0x1346('0x28'),'no'),'allowNull':!![]},'useclientcode':{'type':Sequelize[_0x1346('0x18')](_0x1346('0x28'),'no'),'allowNull':!![]},'accountcode':{'type':Sequelize['INTEGER'](0xb),'allowNull':!![]},'setvar':{'type':Sequelize['STRING'],'allowNull':!![]},'callerid':{'type':Sequelize['STRING'],'allowNull':!![],'defaultValue':_0x1346('0x36')},'amaflags':{'type':Sequelize[_0x1346('0x4')],'allowNull':!![]},'callcounter':{'type':Sequelize['ENUM'](_0x1346('0x28'),'no'),'allowNull':!![],'defaultValue':_0x1346('0x28')},'busylevel':{'type':Sequelize[_0x1346('0x17')](0xb),'allowNull':!![]},'allowoverlap':{'type':Sequelize[_0x1346('0x18')](_0x1346('0x28'),'no'),'allowNull':!![]},'allowsubscribe':{'type':Sequelize[_0x1346('0x18')]('yes','no'),'allowNull':!![]},'allowtransfer':{'type':Sequelize[_0x1346('0x18')](_0x1346('0x28'),'no'),'allowNull':!![]},'ignoresdpversion':{'type':Sequelize['ENUM'](_0x1346('0x28'),'no'),'allowNull':!![]},'subscribecontext':{'type':Sequelize[_0x1346('0x4')],'allowNull':!![]},'template':{'type':Sequelize[_0x1346('0x4')],'allowNull':!![]},'videosupport':{'type':Sequelize['ENUM'](_0x1346('0x28'),'no',_0x1346('0x37')),'allowNull':!![],'defaultValue':'no'},'maxcallbitrate':{'type':Sequelize[_0x1346('0x17')](0xb),'allowNull':!![]},'rfc2833compensate':{'type':Sequelize[_0x1346('0x18')](_0x1346('0x28'),'no'),'allowNull':!![]},'mailbox':{'type':Sequelize[_0x1346('0x4')],'allowNull':!![]},'session_timers':{'type':Sequelize[_0x1346('0x18')]('accept',_0x1346('0x38'),_0x1346('0x39')),'allowNull':!![]},'session_expires':{'type':Sequelize[_0x1346('0x17')](0xb),'allowNull':!![]},'session_minse':{'type':Sequelize[_0x1346('0x17')](0xb),'allowNull':!![]},'session_refresher':{'type':Sequelize[_0x1346('0x18')](_0x1346('0x3a'),_0x1346('0x3b')),'allowNull':!![],'defaultValue':'uas'},'t38pt_usertpsource':{'type':Sequelize[_0x1346('0x4')],'allowNull':!![]},'regexten':{'type':Sequelize[_0x1346('0x4')],'allowNull':!![]},'fromdomain':{'type':Sequelize['STRING'],'allowNull':!![]},'fromuser':{'type':Sequelize[_0x1346('0x4')],'allowNull':!![]},'qualify':{'type':Sequelize[_0x1346('0x18')]('yes','no'),'allowNull':!![],'defaultValue':_0x1346('0x28')},'keepalive':{'type':Sequelize[_0x1346('0x17')](0xb),'allowNull':!![]},'defaultip':{'type':Sequelize[_0x1346('0x4')],'allowNull':!![]},'defaultuser':{'type':Sequelize[_0x1346('0x4')],'allowNull':!![]},'rtptimeout':{'type':Sequelize[_0x1346('0x17')](0xb),'allowNull':!![]},'rtpholdtimeout':{'type':Sequelize[_0x1346('0x17')](0xb),'allowNull':!![]},'rtpkeepalive':{'type':Sequelize[_0x1346('0x17')](0xb),'allowNull':!![]},'sendrpid':{'type':Sequelize[_0x1346('0x18')]('yes','no'),'allowNull':!![],'defaultValue':'no'},'outboundproxy':{'type':Sequelize[_0x1346('0x4')],'allowNull':!![]},'callbackextension':{'type':Sequelize['STRING'],'allowNull':!![]},'timert1':{'type':Sequelize[_0x1346('0x17')](0xb),'allowNull':!![]},'timerb':{'type':Sequelize[_0x1346('0x17')](0xb),'allowNull':!![]},'qualifyfreq':{'type':Sequelize[_0x1346('0x17')](0xb),'allowNull':!![]},'contactpermit':{'type':Sequelize['STRING'],'allowNull':!![]},'contactdeny':{'type':Sequelize[_0x1346('0x4')],'allowNull':!![]},'contactacl':{'type':Sequelize[_0x1346('0x4')],'allowNull':!![]},'unsolicited_mailbox':{'type':Sequelize[_0x1346('0x4')],'allowNull':!![]},'use_q850_reason':{'type':Sequelize[_0x1346('0x4')],'allowNull':!![]},'maxforwards':{'type':Sequelize['INTEGER'](0xb),'allowNull':!![]},'encryption':{'type':Sequelize[_0x1346('0x18')](_0x1346('0x28'),'no'),'allowNull':!![],'defaultValue':'no'},'avpf':{'type':Sequelize[_0x1346('0x18')](_0x1346('0x28'),'no'),'allowNull':!![]},'force_avp':{'type':Sequelize['ENUM'](_0x1346('0x28'),'no'),'allowNull':!![]},'icesupport':{'type':Sequelize[_0x1346('0x18')](_0x1346('0x28'),'no'),'allowNull':!![]},'dtlsenable':{'type':Sequelize['ENUM'](_0x1346('0x28'),'no'),'allowNull':!![]},'dtlsverify':{'type':Sequelize[_0x1346('0x18')](_0x1346('0x28'),'no',_0x1346('0x3c'),'certificate'),'allowNull':!![]},'dtlsrekey':{'type':Sequelize[_0x1346('0x17')](0xb),'allowNull':!![]},'dtlscertfile':{'type':Sequelize['STRING'],'allowNull':!![]},'dtlsprivatekey':{'type':Sequelize['STRING'],'allowNull':!![]},'dtlscipher':{'type':Sequelize[_0x1346('0x4')],'allowNull':!![]},'dtlscafile':{'type':Sequelize[_0x1346('0x4')],'allowNull':!![]},'dtlscapath':{'type':Sequelize[_0x1346('0x4')],'allowNull':!![]},'dtlssetup':{'type':Sequelize[_0x1346('0x18')](_0x1346('0x3d'),_0x1346('0x3e'),'actpass'),'allowNull':!![]},'dtlsfingerprint':{'type':Sequelize['STRING'],'allowNull':!![]},'usereqphone':{'type':Sequelize[_0x1346('0x18')](_0x1346('0x28'),'no'),'allowNull':!![],'defaultValue':'no'},'recordonfeature':{'type':Sequelize[_0x1346('0x4')],'allowNull':!![]},'recordofffeature':{'type':Sequelize[_0x1346('0x4')],'allowNull':!![]},'call_limit':{'type':Sequelize[_0x1346('0x17')](0xb),'allowNull':!![],'defaultValue':0xa},'registertrying':{'type':Sequelize[_0x1346('0x18')](_0x1346('0x28'),'no'),'allowNull':!![]},'subscribemwi':{'type':Sequelize[_0x1346('0x18')]('yes','no'),'allowNull':!![]},'vmexten':{'type':Sequelize['STRING'],'allowNull':!![]},'mohinterpret':{'type':Sequelize[_0x1346('0x4')],'allowNull':!![]},'mohsuggest':{'type':Sequelize[_0x1346('0x4')],'allowNull':!![]},'parkinglot':{'type':Sequelize['STRING'],'allowNull':!![]},'canreinvite':{'type':Sequelize['ENUM']('yes','no',_0x1346('0x29'),_0x1346('0x2a'),_0x1346('0x3f')),'allowNull':!![],'defaultValue':'no'},'loginInPause':{'type':Sequelize[_0x1346('0x15')],'defaultValue':![]},'resetPasswordToken':{'type':Sequelize['STRING']},'resetPasswordExpires':{'type':Sequelize[_0x1346('0x16')]},'showWebBar':{'type':Sequelize[_0x1346('0x17')],'defaultValue':0x0,'set':function(_0x43490b){this[_0x1346('0x8')](_0x1346('0x40'),_0x43490b);var _0x32f961=this[_0x1346('0x41')]({'plain':!![]});switch(_0x43490b){case 0x0:case 0x1:var _0x43d6a5=_0x32f961[_0x1346('0x22')]?_[_0x1346('0x42')](_0x32f961[_0x1346('0x22')])?_0x32f961[_0x1346('0x22')][_0x1346('0x33')]():_0x32f961[_0x1346('0x22')]:_0x1346('0x43');if(_0x43d6a5==='wss'){_0x43d6a5=_0x1346('0x43');}this[_0x1346('0x8')]('transport',_0x43d6a5);this[_0x1346('0x8')]('encryption','no');this[_0x1346('0x8')](_0x1346('0x44'),null);this[_0x1346('0x8')](_0x1346('0x45'),null);this[_0x1346('0x8')](_0x1346('0x46'),null);this['setDataValue'](_0x1346('0x47'),null);this[_0x1346('0x8')]('dtlsverify',null);this[_0x1346('0x8')](_0x1346('0x48'),null);this[_0x1346('0x8')]('dtlscertfile',null);this['setDataValue'](_0x1346('0x49'),null);this[_0x1346('0x8')](_0x1346('0x4a'),'no');break;case 0x2:this[_0x1346('0x8')](_0x1346('0x22'),_0x1346('0x4b'));this[_0x1346('0x8')](_0x1346('0x4c'),_0x1346('0x28'));this[_0x1346('0x8')]('avpf',_0x1346('0x28'));this['setDataValue'](_0x1346('0x45'),_0x1346('0x28'));this[_0x1346('0x8')](_0x1346('0x46'),_0x1346('0x28'));this['setDataValue'](_0x1346('0x47'),'yes');this[_0x1346('0x8')](_0x1346('0x4d'),'no');this[_0x1346('0x8')](_0x1346('0x48'),'actpass');this[_0x1346('0x8')](_0x1346('0x4e'),_0x32f961['dtlscertfile']||_0x1346('0x4f'));this['setDataValue'](_0x1346('0x49'),_0x32f961['dtlsprivatekey']||'/etc/pki/tls/private/motion.key');this[_0x1346('0x8')](_0x1346('0x4a'),_0x1346('0x28'));break;default:}}},'permissions':{'type':Sequelize[_0x1346('0x50')],'set':function(_0x6218f2){this[_0x1346('0x8')](_0x1346('0x51'),_0x6218f2?_0x6218f2['join'](','):[]);},'get':function(){return this['getDataValue'](_0x1346('0x51'))?_[_0x1346('0x52')](this[_0x1346('0x13')]('permissions')[_0x1346('0x23')](','),function(_0x570dad){return parseInt(_0x570dad,0xa);}):[];}},'phoneBarUnconditionalNumber':{'type':Sequelize['STRING']},'phoneBarNoReplyNumber':{'type':Sequelize[_0x1346('0x4')]},'phoneBarBusyNumber':{'type':Sequelize[_0x1346('0x4')]},'phoneBarUnconditional':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'phoneBarNoReply':{'type':Sequelize[_0x1346('0x15')],'defaultValue':![]},'phoneBarBusy':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'phoneBarDnd':{'type':Sequelize[_0x1346('0x15')],'defaultValue':!![]},'phoneBarUnansweredCallBadge':{'type':Sequelize[_0x1346('0x15')],'defaultValue':!![]},'phoneBarEnableDtmfTone':{'type':Sequelize[_0x1346('0x15')],'defaultValue':![]},'phoneBarAutoAnswerDelay':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'extensionMonitor':{'type':Sequelize[_0x1346('0x4')],'defaultValue':''},'crudPermissions':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'rtcp_mux':{'type':Sequelize[_0x1346('0x18')](_0x1346('0x28'),'no'),'defaultValue':'no'},'allowmessenger':{'type':Sequelize[_0x1346('0x15')],'defaultValue':!![]},'phoneBarOutboundProxy':{'type':Sequelize[_0x1346('0x4')]},'passwordResetAt':{'type':Sequelize['DATE'],'defaultValue':null},'phoneBarEnableJaws':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'phoneBarEnableScreenRecordingByAgent':{'type':Sequelize[_0x1346('0x15')],'defaultValue':![]},'phoneBarEnableVideoRecording':{'type':Sequelize[_0x1346('0x53')],'get':function(){return this['getDataValue'](_0x1346('0x54'))?this[_0x1346('0x13')]('phoneBarEnableScreenRecordingByAgent'):![];}},'phoneBarEnableAutomaticScreenRecording':{'type':Sequelize[_0x1346('0x15')],'defaultValue':![]},'phoneBarPrefixRequired':{'type':Sequelize[_0x1346('0x15')],'defaultValue':![]},'hotdesk':{'type':Sequelize[_0x1346('0x15')],'defaultValue':![]},'interface':{'type':Sequelize[_0x1346('0x4')],'defaultValue':null},'privacyEnabled':{'type':Sequelize[_0x1346('0x15')],'defaultValue':![]},'apiKeyNonce':{'type':Sequelize[_0x1346('0x4')],'allowNull':!![]},'apiKeyIat':{'type':Sequelize[_0x1346('0x4')],'allowNull':!![]},'screenrecording':{'type':Sequelize[_0x1346('0x15')],'defaultValue':![],'set':function(_0x53597a){if(typeof _0x53597a===_0x1346('0x55')){var _0x4f5444=_0x53597a==='1'?!![]:_0x53597a==='0'?![]:_0x53597a===_0x1346('0x56')?!![]:_0x53597a===_0x1346('0x57')?![]:![];this[_0x1346('0x8')](_0x1346('0x58'),_0x4f5444);}else{this['setDataValue'](_0x1346('0x58'),_0x53597a);}}},'blocked':{'type':Sequelize[_0x1346('0x15')],'defaultValue':![],'set':function(_0x52d5b0){this[_0x1346('0x8')](_0x1346('0x59'),_0x52d5b0);if(_0x52d5b0===!![]){this[_0x1346('0x8')]('blockedAt',moment());this['setDataValue']('loginAttempts',0x0);}else{this['setDataValue'](_0x1346('0x5a'),null);}}},'blockedAt':{'type':Sequelize[_0x1346('0x16')],'defaultValue':null},'loginAttempts':{'type':Sequelize[_0x1346('0x17')],'defaultValue':0x0},'disabled':{'type':Sequelize[_0x1346('0x15')],'defaultValue':![]}};
\ No newline at end of file