Built motion from commit 3c2ce842.|2.6.31
[motion2.git] / server / api / user / user.attributes.js
index 81f5615..42353f3 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xa2a6=['PROHIB_FAILED_SCREEN','PROHIB','udp','transport','join','split','String\x20is\x20deprecated.\x20Please\x20use\x20an\x20Array\x20as\x20[\x22udp\x22,\x20\x22tcp\x22]','rfc2833','info','inband','yes','nonat','update','outgoing','force_rport,comedia','nat','String\x20is\x20deprecated.\x20Please\x20use\x20an\x20Array\x20as\x20[\x22force_rport\x22,\x20\x22comedia\x22]','ulaw;alaw;gsm','allow','insecure','String\x20is\x20deprecated.\x20Please\x20use\x20an\x20Array\x20as\x20[\x22port\x22,\x20\x22invite\x22]','never','\x22\x22\x20<>','always','accept','uac','uas','fingerprint','active','actpass','update,nonat','TEXT','showWebBar','get','isArray','encryption','avpf','icesupport','dtlsenable','dtlsverify','dtlssetup','dtlscertfile','dtlsprivatekey','rtcp_mux','wss','force_avp','/etc/pki/tls/certs/motion.crt','permissions','map','VIRTUAL','phoneBarEnableScreenRecordingByAgent','string','true','false','screenrecording','blocked','blockedAt','loginAttempts','UNSIGNED','sequelize','moment','lodash','exports','STRING','name','setDataValue','The\x20name\x20of\x20the\x20user','fullname','callerid','format','\x22%s\x22\x20<%s>','getDataValue','email','ENUM','admin','user','telephone','internal','accountcode','BOOLEAN','DATE','DEFAULT\x20PAUSE','INTEGER','friend','peer','ALLOWED_NOT_SCREENED','ALLOWED_PASSED_SCREEN','ALLOWED','PROHIB_NOT_SCREENED'];(function(_0x45aa72,_0x8af642){var _0x75adaa=function(_0x1f6809){while(--_0x1f6809){_0x45aa72['push'](_0x45aa72['shift']());}};_0x75adaa(++_0x8af642);}(_0xa2a6,0x94));var _0x6a2a=function(_0x5b689c,_0x197203){_0x5b689c=_0x5b689c-0x0;var _0x14b057=_0xa2a6[_0x5b689c];return _0x14b057;};'use strict';var Sequelize=require(_0x6a2a('0x0'));var moment=require(_0x6a2a('0x1'));var util=require('util');var _=require(_0x6a2a('0x2'));module[_0x6a2a('0x3')]={'name':{'type':Sequelize[_0x6a2a('0x4')],'allowNull':![],'unique':_0x6a2a('0x5'),'validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i},'set':function(_0x3b780f){this[_0x6a2a('0x6')](_0x6a2a('0x5'),_0x3b780f);this[_0x6a2a('0x6')]('defaultuser',_0x3b780f);},'comment':_0x6a2a('0x7')},'fullname':{'type':Sequelize['STRING'],'allowNull':![],'set':function(_0x940c12){this[_0x6a2a('0x6')](_0x6a2a('0x8'),_0x940c12);this['setDataValue'](_0x6a2a('0x9'),util[_0x6a2a('0xa')](_0x6a2a('0xb'),_0x940c12,this[_0x6a2a('0xc')]('internal')));}},'alias':{'type':Sequelize['STRING']},'email':{'type':Sequelize[_0x6a2a('0x4')],'allowNull':![],'unique':_0x6a2a('0xd'),'validate':{'isEmail':!![]},'set':function(_0x23dbcf){if(_0x23dbcf){this[_0x6a2a('0x6')](_0x6a2a('0xd'),_0x23dbcf['toLowerCase']());}}},'role':{'type':Sequelize[_0x6a2a('0xe')](_0x6a2a('0xf'),_0x6a2a('0x10'),'agent',_0x6a2a('0x11')),'allowNull':![]},'password':{'type':Sequelize[_0x6a2a('0x4')],'allowNull':![],'validate':{'notEmpty':!![]}},'provider':{'type':Sequelize[_0x6a2a('0x4')],'defaultValue':'local'},'internal':{'type':Sequelize['INTEGER'](0xb),'allowNull':![],'unique':_0x6a2a('0x12'),'set':function(_0x2c12b3){this[_0x6a2a('0x6')](_0x6a2a('0x12'),_0x2c12b3);this[_0x6a2a('0x6')](_0x6a2a('0x13'),_0x2c12b3);this[_0x6a2a('0x6')](_0x6a2a('0x9'),util['format'](_0x6a2a('0xb'),this[_0x6a2a('0xc')]('fullname'),_0x2c12b3));}},'salt':{'type':Sequelize[_0x6a2a('0x4')]},'phone':{'type':Sequelize[_0x6a2a('0x4')]},'mobile':{'type':Sequelize[_0x6a2a('0x4')]},'address':{'type':Sequelize['STRING']},'zipcode':{'type':Sequelize[_0x6a2a('0x4')]},'userpic':{'type':Sequelize[_0x6a2a('0x4')]},'city':{'type':Sequelize[_0x6a2a('0x4')]},'country':{'type':Sequelize[_0x6a2a('0x4')]},'online':{'type':Sequelize[_0x6a2a('0x14')],'defaultValue':![]},'lastLoginAt':{'type':Sequelize[_0x6a2a('0x15')]},'voicePause':{'type':Sequelize[_0x6a2a('0x14')],'defaultValue':![]},'chatPause':{'type':Sequelize[_0x6a2a('0x14')],'defaultValue':![]},'mailPause':{'type':Sequelize[_0x6a2a('0x14')],'defaultValue':![]},'faxPause':{'type':Sequelize[_0x6a2a('0x14')],'defaultValue':![]},'smsPause':{'type':Sequelize[_0x6a2a('0x14')],'defaultValue':![]},'whatsappPause':{'type':Sequelize[_0x6a2a('0x14')],'defaultValue':![]},'openchannelPause':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'pauseType':{'type':Sequelize[_0x6a2a('0x4')],'defaultValue':_0x6a2a('0x16')},'lastPauseAt':{'type':Sequelize[_0x6a2a('0x15')]},'chatCapacity':{'type':Sequelize[_0x6a2a('0x17')],'defaultValue':0x0},'mailCapacity':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'faxCapacity':{'type':Sequelize[_0x6a2a('0x17')],'defaultValue':0x0},'smsCapacity':{'type':Sequelize[_0x6a2a('0x17')],'defaultValue':0x0},'whatsappCapacity':{'type':Sequelize[_0x6a2a('0x17')],'defaultValue':0x0},'openchannelCapacity':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'phoneBarAutoAnswer':{'type':Sequelize[_0x6a2a('0x14')],'defaultValue':![]},'phoneBarEnableSettings':{'type':Sequelize[_0x6a2a('0x14')],'defaultValue':!![]},'phoneBarListenPort':{'type':Sequelize['INTEGER'](0x5),'defaultValue':0x1428},'phoneBarExpires':{'type':Sequelize[_0x6a2a('0x17')](0x5),'defaultValue':0x78},'phoneBarRemoteControl':{'type':Sequelize[_0x6a2a('0x14')],'defaultValue':![]},'phoneBarRemoteControlPort':{'type':Sequelize['INTEGER'],'defaultValue':0x26a0},'phoneBarEnableRecording':{'type':Sequelize[_0x6a2a('0x14')],'defaultValue':![]},'phoneBarRingInUse':{'type':Sequelize[_0x6a2a('0x14')],'defaultValue':![]},'chanspy':{'type':Sequelize[_0x6a2a('0x14')],'defaultValue':![]},'description':{'type':Sequelize[_0x6a2a('0x4')],'allowNull':!![]},'host':{'type':Sequelize['STRING'],'allowNull':!![],'defaultValue':'dynamic'},'ipaddr':{'type':Sequelize[_0x6a2a('0x4')],'allowNull':!![]},'port':{'type':Sequelize[_0x6a2a('0x17')](0x5),'allowNull':!![]},'regseconds':{'type':Sequelize[_0x6a2a('0x17')](0xb),'allowNull':!![]},'fullcontact':{'type':Sequelize[_0x6a2a('0x4')],'allowNull':!![]},'regserver':{'type':Sequelize['STRING'],'allowNull':!![]},'useragent':{'type':Sequelize['STRING'],'allowNull':!![]},'lastms':{'type':Sequelize['INTEGER'](0xb),'allowNull':!![]},'type':{'type':Sequelize['ENUM'](_0x6a2a('0x18'),_0x6a2a('0x10'),_0x6a2a('0x19')),'allowNull':!![],'defaultValue':_0x6a2a('0x18')},'context':{'type':Sequelize[_0x6a2a('0x4')],'allowNull':!![],'defaultValue':'from-sip'},'callingpres':{'type':Sequelize[_0x6a2a('0xe')](_0x6a2a('0x1a'),_0x6a2a('0x1b'),'ALLOWED_FAILED_SCREEN',_0x6a2a('0x1c'),_0x6a2a('0x1d'),'PROHIB_PASSED_SCREEN',_0x6a2a('0x1e'),_0x6a2a('0x1f')),'allowNull':!![]},'deny':{'type':Sequelize[_0x6a2a('0x4')],'allowNull':!![]},'permit':{'type':Sequelize['STRING'],'allowNull':!![]},'secret':{'type':Sequelize[_0x6a2a('0x4')],'allowNull':!![]},'md5secret':{'type':Sequelize['STRING'],'allowNull':!![]},'remotesecret':{'type':Sequelize[_0x6a2a('0x4')],'allowNull':!![]},'transport':{'type':Sequelize['STRING'],'allowNull':!![],'defaultValue':_0x6a2a('0x20'),'set':function(_0x2ce023){this[_0x6a2a('0x6')](_0x6a2a('0x21'),_0x2ce023?_0x2ce023[_0x6a2a('0x22')](','):null);},'get':function(){return this[_0x6a2a('0xc')]('transport')?this[_0x6a2a('0xc')]('transport')[_0x6a2a('0x23')](','):null;},'comment':_0x6a2a('0x24')},'dtmfmode':{'type':Sequelize[_0x6a2a('0xe')](_0x6a2a('0x25'),_0x6a2a('0x26'),'shortinfo',_0x6a2a('0x27'),'auto'),'allowNull':!![],'defaultValue':_0x6a2a('0x25')},'directmedia':{'type':Sequelize['ENUM'](_0x6a2a('0x28'),'no',_0x6a2a('0x29'),_0x6a2a('0x2a'),_0x6a2a('0x2b')),'allowNull':!![],'defaultValue':'no'},'directrtpsetup':{'type':Sequelize[_0x6a2a('0xe')](_0x6a2a('0x28'),'no'),'allowNull':!![],'defaultValue':'no'},'directmediapermit':{'type':Sequelize[_0x6a2a('0x4')],'allowNull':!![]},'directmediadeny':{'type':Sequelize[_0x6a2a('0x4')],'allowNull':!![]},'nat':{'type':Sequelize[_0x6a2a('0x4')],'allowNull':!![],'defaultValue':_0x6a2a('0x2c'),'set':function(_0x358ecd){this['setDataValue'](_0x6a2a('0x2d'),_0x358ecd?_0x358ecd['join'](','):null);},'get':function(){return this['getDataValue']('nat')?this[_0x6a2a('0xc')](_0x6a2a('0x2d'))[_0x6a2a('0x23')](','):null;},'comment':_0x6a2a('0x2e')},'callgroup':{'type':Sequelize[_0x6a2a('0x4')]},'namedcallgroup':{'type':Sequelize[_0x6a2a('0x4')]},'pickupgroup':{'type':Sequelize[_0x6a2a('0x4')]},'namedpickupgroup':{'type':Sequelize[_0x6a2a('0x4')]},'language':{'type':Sequelize[_0x6a2a('0x4')],'defaultValue':'en'},'tonezone':{'type':Sequelize[_0x6a2a('0x4')]},'disallow':{'type':Sequelize[_0x6a2a('0x4')],'allowNull':![],'defaultValue':'all'},'allow':{'type':Sequelize[_0x6a2a('0x4')],'allowNull':![],'defaultValue':_0x6a2a('0x2f'),'set':function(_0x3f7744){this[_0x6a2a('0x6')](_0x6a2a('0x30'),_0x3f7744?_0x3f7744[_0x6a2a('0x22')](';'):_0x6a2a('0x2f'));},'get':function(){return this[_0x6a2a('0xc')](_0x6a2a('0x30'))?this[_0x6a2a('0xc')](_0x6a2a('0x30'))['split'](';'):null;},'comment':'String\x20is\x20deprecated.\x20Please\x20use\x20an\x20Array\x20as\x20[\x22ulaw\x22,\x20\x22alaw\x22,\x20\x22gsm\x22]'},'autoframing':{'type':Sequelize[_0x6a2a('0xe')](_0x6a2a('0x28'),'no'),'allowNull':!![]},'insecure':{'type':Sequelize[_0x6a2a('0x4')],'allowNull':!![],'set':function(_0x2bd376){this[_0x6a2a('0x6')](_0x6a2a('0x31'),_0x2bd376?_0x2bd376[_0x6a2a('0x22')](','):null);},'get':function(){return this[_0x6a2a('0xc')](_0x6a2a('0x31'))?this[_0x6a2a('0xc')](_0x6a2a('0x31'))[_0x6a2a('0x23')](','):null;},'comment':_0x6a2a('0x32')},'trustrpid':{'type':Sequelize[_0x6a2a('0xe')](_0x6a2a('0x28'),'no'),'allowNull':!![],'defaultValue':'no'},'trust_id_outbound':{'type':Sequelize[_0x6a2a('0xe')](_0x6a2a('0x28'),'no'),'allowNull':!![],'defaultValue':'no'},'progressinband':{'type':Sequelize[_0x6a2a('0xe')](_0x6a2a('0x28'),'no',_0x6a2a('0x33')),'allowNull':!![]},'promiscredir':{'type':Sequelize[_0x6a2a('0xe')](_0x6a2a('0x28'),'no'),'allowNull':!![]},'useclientcode':{'type':Sequelize[_0x6a2a('0xe')](_0x6a2a('0x28'),'no'),'allowNull':!![]},'accountcode':{'type':Sequelize[_0x6a2a('0x17')](0xb),'allowNull':!![]},'setvar':{'type':Sequelize['STRING'],'allowNull':!![]},'callerid':{'type':Sequelize['STRING'],'allowNull':!![],'defaultValue':_0x6a2a('0x34')},'amaflags':{'type':Sequelize[_0x6a2a('0x4')],'allowNull':!![]},'callcounter':{'type':Sequelize[_0x6a2a('0xe')](_0x6a2a('0x28'),'no'),'allowNull':!![],'defaultValue':_0x6a2a('0x28')},'busylevel':{'type':Sequelize[_0x6a2a('0x17')](0xb),'allowNull':!![]},'allowoverlap':{'type':Sequelize[_0x6a2a('0xe')](_0x6a2a('0x28'),'no'),'allowNull':!![]},'allowsubscribe':{'type':Sequelize[_0x6a2a('0xe')](_0x6a2a('0x28'),'no'),'allowNull':!![]},'allowtransfer':{'type':Sequelize['ENUM'](_0x6a2a('0x28'),'no'),'allowNull':!![]},'ignoresdpversion':{'type':Sequelize[_0x6a2a('0xe')]('yes','no'),'allowNull':!![]},'subscribecontext':{'type':Sequelize[_0x6a2a('0x4')],'allowNull':!![]},'template':{'type':Sequelize['STRING'],'allowNull':!![]},'videosupport':{'type':Sequelize[_0x6a2a('0xe')](_0x6a2a('0x28'),'no',_0x6a2a('0x35')),'allowNull':!![],'defaultValue':'no'},'maxcallbitrate':{'type':Sequelize[_0x6a2a('0x17')](0xb),'allowNull':!![]},'rfc2833compensate':{'type':Sequelize['ENUM'](_0x6a2a('0x28'),'no'),'allowNull':!![]},'mailbox':{'type':Sequelize[_0x6a2a('0x4')],'allowNull':!![]},'session_timers':{'type':Sequelize[_0x6a2a('0xe')](_0x6a2a('0x36'),'refuse','originate'),'allowNull':!![]},'session_expires':{'type':Sequelize[_0x6a2a('0x17')](0xb),'allowNull':!![]},'session_minse':{'type':Sequelize['INTEGER'](0xb),'allowNull':!![]},'session_refresher':{'type':Sequelize[_0x6a2a('0xe')](_0x6a2a('0x37'),_0x6a2a('0x38')),'allowNull':!![],'defaultValue':_0x6a2a('0x38')},'t38pt_usertpsource':{'type':Sequelize[_0x6a2a('0x4')],'allowNull':!![]},'regexten':{'type':Sequelize['STRING'],'allowNull':!![]},'fromdomain':{'type':Sequelize[_0x6a2a('0x4')],'allowNull':!![]},'fromuser':{'type':Sequelize[_0x6a2a('0x4')],'allowNull':!![]},'qualify':{'type':Sequelize[_0x6a2a('0xe')](_0x6a2a('0x28'),'no'),'allowNull':!![],'defaultValue':_0x6a2a('0x28')},'keepalive':{'type':Sequelize[_0x6a2a('0x17')](0xb),'allowNull':!![]},'defaultip':{'type':Sequelize['STRING'],'allowNull':!![]},'defaultuser':{'type':Sequelize[_0x6a2a('0x4')],'allowNull':!![]},'rtptimeout':{'type':Sequelize['INTEGER'](0xb),'allowNull':!![]},'rtpholdtimeout':{'type':Sequelize['INTEGER'](0xb),'allowNull':!![]},'rtpkeepalive':{'type':Sequelize[_0x6a2a('0x17')](0xb),'allowNull':!![]},'sendrpid':{'type':Sequelize[_0x6a2a('0xe')](_0x6a2a('0x28'),'no'),'allowNull':!![],'defaultValue':'no'},'outboundproxy':{'type':Sequelize['STRING'],'allowNull':!![]},'callbackextension':{'type':Sequelize[_0x6a2a('0x4')],'allowNull':!![]},'timert1':{'type':Sequelize['INTEGER'](0xb),'allowNull':!![]},'timerb':{'type':Sequelize[_0x6a2a('0x17')](0xb),'allowNull':!![]},'qualifyfreq':{'type':Sequelize[_0x6a2a('0x17')](0xb),'allowNull':!![]},'contactpermit':{'type':Sequelize[_0x6a2a('0x4')],'allowNull':!![]},'contactdeny':{'type':Sequelize[_0x6a2a('0x4')],'allowNull':!![]},'contactacl':{'type':Sequelize['STRING'],'allowNull':!![]},'unsolicited_mailbox':{'type':Sequelize[_0x6a2a('0x4')],'allowNull':!![]},'use_q850_reason':{'type':Sequelize[_0x6a2a('0x4')],'allowNull':!![]},'maxforwards':{'type':Sequelize[_0x6a2a('0x17')](0xb),'allowNull':!![]},'encryption':{'type':Sequelize['ENUM'](_0x6a2a('0x28'),'no'),'allowNull':!![],'defaultValue':'no'},'avpf':{'type':Sequelize['ENUM'](_0x6a2a('0x28'),'no'),'allowNull':!![]},'force_avp':{'type':Sequelize[_0x6a2a('0xe')](_0x6a2a('0x28'),'no'),'allowNull':!![]},'icesupport':{'type':Sequelize[_0x6a2a('0xe')]('yes','no'),'allowNull':!![]},'dtlsenable':{'type':Sequelize[_0x6a2a('0xe')]('yes','no'),'allowNull':!![]},'dtlsverify':{'type':Sequelize[_0x6a2a('0xe')]('yes','no',_0x6a2a('0x39'),'certificate'),'allowNull':!![]},'dtlsrekey':{'type':Sequelize[_0x6a2a('0x17')](0xb),'allowNull':!![]},'dtlscertfile':{'type':Sequelize[_0x6a2a('0x4')],'allowNull':!![]},'dtlsprivatekey':{'type':Sequelize[_0x6a2a('0x4')],'allowNull':!![]},'dtlscipher':{'type':Sequelize[_0x6a2a('0x4')],'allowNull':!![]},'dtlscafile':{'type':Sequelize[_0x6a2a('0x4')],'allowNull':!![]},'dtlscapath':{'type':Sequelize[_0x6a2a('0x4')],'allowNull':!![]},'dtlssetup':{'type':Sequelize[_0x6a2a('0xe')](_0x6a2a('0x3a'),'passive',_0x6a2a('0x3b')),'allowNull':!![]},'dtlsfingerprint':{'type':Sequelize[_0x6a2a('0x4')],'allowNull':!![]},'usereqphone':{'type':Sequelize[_0x6a2a('0xe')]('yes','no'),'allowNull':!![],'defaultValue':'no'},'recordonfeature':{'type':Sequelize[_0x6a2a('0x4')],'allowNull':!![]},'recordofffeature':{'type':Sequelize['STRING'],'allowNull':!![]},'call_limit':{'type':Sequelize[_0x6a2a('0x17')](0xb),'allowNull':!![],'defaultValue':0xa},'registertrying':{'type':Sequelize['ENUM'](_0x6a2a('0x28'),'no'),'allowNull':!![]},'subscribemwi':{'type':Sequelize[_0x6a2a('0xe')]('yes','no'),'allowNull':!![]},'vmexten':{'type':Sequelize['STRING'],'allowNull':!![]},'mohinterpret':{'type':Sequelize[_0x6a2a('0x4')],'allowNull':!![]},'mohsuggest':{'type':Sequelize['STRING'],'allowNull':!![]},'parkinglot':{'type':Sequelize[_0x6a2a('0x4')],'allowNull':!![]},'canreinvite':{'type':Sequelize['ENUM'](_0x6a2a('0x28'),'no',_0x6a2a('0x29'),'update',_0x6a2a('0x3c')),'allowNull':!![],'defaultValue':'no'},'loginInPause':{'type':Sequelize[_0x6a2a('0x14')],'defaultValue':![]},'resetPasswordToken':{'type':Sequelize[_0x6a2a('0x4')]},'resetPasswordExpires':{'type':Sequelize['DATE']},'passwordResetAt':{'type':Sequelize[_0x6a2a('0x15')],'defaultValue':null},'previousPasswords':{'type':Sequelize[_0x6a2a('0x3d')]},'showWebBar':{'type':Sequelize[_0x6a2a('0x17')],'defaultValue':0x0,'set':function(_0xf13ad2){this[_0x6a2a('0x6')](_0x6a2a('0x3e'),_0xf13ad2);var _0x37cc31=this[_0x6a2a('0x3f')]({'plain':!![]});switch(_0xf13ad2){case 0x0:case 0x1:var _0x3d0b79=_0x37cc31['transport']?_[_0x6a2a('0x40')](_0x37cc31[_0x6a2a('0x21')])?_0x37cc31[_0x6a2a('0x21')][_0x6a2a('0x22')]():_0x37cc31[_0x6a2a('0x21')]:_0x6a2a('0x20');if(_0x3d0b79==='wss'){_0x3d0b79=_0x6a2a('0x20');}this['setDataValue'](_0x6a2a('0x21'),_0x3d0b79);this['setDataValue'](_0x6a2a('0x41'),'no');this[_0x6a2a('0x6')](_0x6a2a('0x42'),null);this[_0x6a2a('0x6')]('force_avp',null);this[_0x6a2a('0x6')](_0x6a2a('0x43'),null);this['setDataValue'](_0x6a2a('0x44'),null);this[_0x6a2a('0x6')](_0x6a2a('0x45'),null);this[_0x6a2a('0x6')](_0x6a2a('0x46'),null);this['setDataValue'](_0x6a2a('0x47'),null);this['setDataValue'](_0x6a2a('0x48'),null);this['setDataValue'](_0x6a2a('0x49'),'no');break;case 0x2:this[_0x6a2a('0x6')](_0x6a2a('0x21'),_0x6a2a('0x4a'));this[_0x6a2a('0x6')]('encryption',_0x6a2a('0x28'));this[_0x6a2a('0x6')](_0x6a2a('0x42'),_0x6a2a('0x28'));this['setDataValue'](_0x6a2a('0x4b'),_0x6a2a('0x28'));this['setDataValue'](_0x6a2a('0x43'),_0x6a2a('0x28'));this[_0x6a2a('0x6')]('dtlsenable','yes');this[_0x6a2a('0x6')]('dtlsverify','no');this[_0x6a2a('0x6')]('dtlssetup',_0x6a2a('0x3b'));this[_0x6a2a('0x6')](_0x6a2a('0x47'),_0x37cc31['dtlscertfile']||_0x6a2a('0x4c'));this['setDataValue'](_0x6a2a('0x48'),_0x37cc31['dtlsprivatekey']||'/etc/pki/tls/private/motion.key');this[_0x6a2a('0x6')](_0x6a2a('0x49'),_0x6a2a('0x28'));break;default:}}},'permissions':{'type':Sequelize[_0x6a2a('0x3d')],'set':function(_0x1e8c70){this[_0x6a2a('0x6')](_0x6a2a('0x4d'),_0x1e8c70?_0x1e8c70[_0x6a2a('0x22')](','):[]);},'get':function(){return this[_0x6a2a('0xc')]('permissions')?_[_0x6a2a('0x4e')](this[_0x6a2a('0xc')](_0x6a2a('0x4d'))[_0x6a2a('0x23')](','),function(_0x164703){return parseInt(_0x164703,0xa);}):[];}},'phoneBarUnconditionalNumber':{'type':Sequelize[_0x6a2a('0x4')]},'phoneBarNoReplyNumber':{'type':Sequelize[_0x6a2a('0x4')]},'phoneBarBusyNumber':{'type':Sequelize[_0x6a2a('0x4')]},'phoneBarUnconditional':{'type':Sequelize[_0x6a2a('0x14')],'defaultValue':![]},'phoneBarNoReply':{'type':Sequelize[_0x6a2a('0x14')],'defaultValue':![]},'phoneBarBusy':{'type':Sequelize[_0x6a2a('0x14')],'defaultValue':![]},'phoneBarDnd':{'type':Sequelize[_0x6a2a('0x14')],'defaultValue':!![]},'phoneBarUnansweredCallBadge':{'type':Sequelize[_0x6a2a('0x14')],'defaultValue':!![]},'phoneBarEnableDtmfTone':{'type':Sequelize[_0x6a2a('0x14')],'defaultValue':![]},'phoneBarAutoAnswerDelay':{'type':Sequelize[_0x6a2a('0x17')],'defaultValue':0x0},'extensionMonitor':{'type':Sequelize[_0x6a2a('0x4')],'defaultValue':''},'crudPermissions':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'rtcp_mux':{'type':Sequelize[_0x6a2a('0xe')](_0x6a2a('0x28'),'no'),'defaultValue':'no'},'allowmessenger':{'type':Sequelize[_0x6a2a('0x14')],'defaultValue':!![]},'phoneBarOutboundProxy':{'type':Sequelize[_0x6a2a('0x4')]},'phoneBarEnableJaws':{'type':Sequelize[_0x6a2a('0x14')],'defaultValue':![]},'phoneBarEnableScreenRecordingByAgent':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'phoneBarEnableVideoRecording':{'type':Sequelize[_0x6a2a('0x4f')],'get':function(){return this['getDataValue'](_0x6a2a('0x50'))?this['getDataValue'](_0x6a2a('0x50')):![];}},'phoneBarEnableAutomaticScreenRecording':{'type':Sequelize[_0x6a2a('0x14')],'defaultValue':![]},'phoneBarPrefixRequired':{'type':Sequelize[_0x6a2a('0x14')],'defaultValue':![]},'hotdesk':{'type':Sequelize[_0x6a2a('0x14')],'defaultValue':![]},'interface':{'type':Sequelize['STRING'],'defaultValue':null},'privacyEnabled':{'type':Sequelize[_0x6a2a('0x14')],'defaultValue':![]},'apiKeyNonce':{'type':Sequelize['STRING'],'allowNull':!![]},'apiKeyIat':{'type':Sequelize[_0x6a2a('0x4')],'allowNull':!![]},'screenrecording':{'type':Sequelize[_0x6a2a('0x14')],'defaultValue':![],'set':function(_0x5e94c9){if(typeof _0x5e94c9===_0x6a2a('0x51')){var _0x4686a2=_0x5e94c9==='1'?!![]:_0x5e94c9==='0'?![]:_0x5e94c9===_0x6a2a('0x52')?!![]:_0x5e94c9===_0x6a2a('0x53')?![]:![];this[_0x6a2a('0x6')](_0x6a2a('0x54'),_0x4686a2);}else{this[_0x6a2a('0x6')](_0x6a2a('0x54'),_0x5e94c9);}}},'blocked':{'type':Sequelize['BOOLEAN'],'defaultValue':![],'set':function(_0x934c1d){this[_0x6a2a('0x6')](_0x6a2a('0x55'),_0x934c1d);if(_0x934c1d===!![]){this[_0x6a2a('0x6')](_0x6a2a('0x56'),moment());this['setDataValue'](_0x6a2a('0x57'),0x0);}else{this[_0x6a2a('0x6')](_0x6a2a('0x56'),null);}}},'blockedAt':{'type':Sequelize['DATE'],'defaultValue':null},'loginAttempts':{'type':Sequelize[_0x6a2a('0x17')],'defaultValue':0x0},'disabled':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'settingsEnabled':{'type':Sequelize[_0x6a2a('0x14')],'defaultValue':!![]},'wssPort':{'type':Sequelize[_0x6a2a('0x17')](0x5)[_0x6a2a('0x58')],'defaultValue':0x1f99},'downloadAttachments':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'downloadOmnichannelInteractions':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'downloadVoiceRecordings':{'type':Sequelize[_0x6a2a('0x14')],'defaultValue':!![]},'ignorePauseForPreviewCalls':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'selectRecallMeCampaign':{'type':Sequelize[_0x6a2a('0x14')],'defaultValue':![]},'adSsoEnabled':{'type':Sequelize[_0x6a2a('0x14')],'defaultValue':![]},'chatAutoanswer':{'type':Sequelize[_0x6a2a('0x14')],'defaultValue':![]},'chatAutoanswerDelay':{'type':Sequelize[_0x6a2a('0x17')],'defaultValue':0x0},'emailAutoanswer':{'type':Sequelize[_0x6a2a('0x14')],'defaultValue':![]},'emailAutoanswerDelay':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'smsAutoanswer':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'smsAutoanswerDelay':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'openchannelAutoanswer':{'type':Sequelize[_0x6a2a('0x14')],'defaultValue':![]},'openchannelAutoanswerDelay':{'type':Sequelize[_0x6a2a('0x17')],'defaultValue':0x0},'faxAutoanswer':{'type':Sequelize[_0x6a2a('0x14')],'defaultValue':![]},'faxAutoanswerDelay':{'type':Sequelize[_0x6a2a('0x17')],'defaultValue':0x0},'whatsappAutoanswer':{'type':Sequelize[_0x6a2a('0x14')],'defaultValue':![]},'whatsappAutoanswerDelay':{'type':Sequelize[_0x6a2a('0x17')],'defaultValue':0x0},'messengerSoundNotification':{'type':Sequelize[_0x6a2a('0x14')],'defaultValue':![]}};
\ No newline at end of file
+var _0x0e08=['blocked','blockedAt','loginAttempts','UNSIGNED','sequelize','moment','util','lodash','STRING','name','setDataValue','fullname','callerid','email','toLowerCase','admin','user','agent','telephone','local','INTEGER','internal','accountcode','format','getDataValue','BOOLEAN','DATE','DEFAULT\x20PAUSE','dynamic','ENUM','friend','peer','from-sip','ALLOWED_NOT_SCREENED','ALLOWED_FAILED_SCREEN','PROHIB_PASSED_SCREEN','PROHIB_FAILED_SCREEN','PROHIB','udp','transport','join','split','String\x20is\x20deprecated.\x20Please\x20use\x20an\x20Array\x20as\x20[\x22udp\x22,\x20\x22tcp\x22]','rfc2833','info','auto','yes','nonat','update','force_rport,comedia','nat','String\x20is\x20deprecated.\x20Please\x20use\x20an\x20Array\x20as\x20[\x22force_rport\x22,\x20\x22comedia\x22]','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','refuse','uac','uas','fingerprint','active','passive','actpass','TEXT','showWebBar','get','isArray','wss','encryption','force_avp','icesupport','dtlsenable','dtlsverify','dtlssetup','dtlsprivatekey','rtcp_mux','avpf','dtlscertfile','/etc/pki/tls/certs/motion.crt','permissions','map','VIRTUAL','phoneBarEnableScreenRecordingByAgent','string','true','false','screenrecording'];(function(_0x9e698b,_0x37f251){var _0x41d538=function(_0x288e41){while(--_0x288e41){_0x9e698b['push'](_0x9e698b['shift']());}};_0x41d538(++_0x37f251);}(_0x0e08,0x112));var _0x80e0=function(_0x1cd592,_0x4536bc){_0x1cd592=_0x1cd592-0x0;var _0x25c17f=_0x0e08[_0x1cd592];return _0x25c17f;};'use strict';var Sequelize=require(_0x80e0('0x0'));var moment=require(_0x80e0('0x1'));var util=require(_0x80e0('0x2'));var _=require(_0x80e0('0x3'));module['exports']={'name':{'type':Sequelize[_0x80e0('0x4')],'allowNull':![],'unique':_0x80e0('0x5'),'validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i},'set':function(_0x563c3f){this[_0x80e0('0x6')](_0x80e0('0x5'),_0x563c3f);this[_0x80e0('0x6')]('defaultuser',_0x563c3f);},'comment':'The\x20name\x20of\x20the\x20user'},'fullname':{'type':Sequelize[_0x80e0('0x4')],'allowNull':![],'set':function(_0x12e064){this[_0x80e0('0x6')](_0x80e0('0x7'),_0x12e064);this['setDataValue'](_0x80e0('0x8'),util['format']('\x22%s\x22\x20<%s>',_0x12e064,this['getDataValue']('internal')));}},'alias':{'type':Sequelize[_0x80e0('0x4')]},'email':{'type':Sequelize['STRING'],'allowNull':![],'unique':_0x80e0('0x9'),'validate':{'isEmail':!![]},'set':function(_0x2019a7){if(_0x2019a7){this[_0x80e0('0x6')](_0x80e0('0x9'),_0x2019a7[_0x80e0('0xa')]());}}},'role':{'type':Sequelize['ENUM'](_0x80e0('0xb'),_0x80e0('0xc'),_0x80e0('0xd'),_0x80e0('0xe')),'allowNull':![]},'password':{'type':Sequelize['STRING'],'allowNull':![],'validate':{'notEmpty':!![]}},'provider':{'type':Sequelize[_0x80e0('0x4')],'defaultValue':_0x80e0('0xf')},'internal':{'type':Sequelize[_0x80e0('0x10')](0xb),'allowNull':![],'unique':_0x80e0('0x11'),'set':function(_0x563a8a){this[_0x80e0('0x6')](_0x80e0('0x11'),_0x563a8a);this[_0x80e0('0x6')](_0x80e0('0x12'),_0x563a8a);this['setDataValue'](_0x80e0('0x8'),util[_0x80e0('0x13')]('\x22%s\x22\x20<%s>',this[_0x80e0('0x14')](_0x80e0('0x7')),_0x563a8a));}},'salt':{'type':Sequelize['STRING']},'phone':{'type':Sequelize[_0x80e0('0x4')]},'mobile':{'type':Sequelize['STRING']},'address':{'type':Sequelize[_0x80e0('0x4')]},'zipcode':{'type':Sequelize[_0x80e0('0x4')]},'userpic':{'type':Sequelize[_0x80e0('0x4')]},'city':{'type':Sequelize[_0x80e0('0x4')]},'country':{'type':Sequelize[_0x80e0('0x4')]},'online':{'type':Sequelize[_0x80e0('0x15')],'defaultValue':![]},'lastLoginAt':{'type':Sequelize[_0x80e0('0x16')]},'voicePause':{'type':Sequelize[_0x80e0('0x15')],'defaultValue':![]},'chatPause':{'type':Sequelize[_0x80e0('0x15')],'defaultValue':![]},'mailPause':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'faxPause':{'type':Sequelize[_0x80e0('0x15')],'defaultValue':![]},'smsPause':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'whatsappPause':{'type':Sequelize[_0x80e0('0x15')],'defaultValue':![]},'openchannelPause':{'type':Sequelize[_0x80e0('0x15')],'defaultValue':![]},'pauseType':{'type':Sequelize[_0x80e0('0x4')],'defaultValue':_0x80e0('0x17')},'lastPauseAt':{'type':Sequelize[_0x80e0('0x16')]},'chatCapacity':{'type':Sequelize[_0x80e0('0x10')],'defaultValue':0x0},'mailCapacity':{'type':Sequelize[_0x80e0('0x10')],'defaultValue':0x0},'faxCapacity':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'smsCapacity':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'whatsappCapacity':{'type':Sequelize[_0x80e0('0x10')],'defaultValue':0x0},'openchannelCapacity':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'phoneBarAutoAnswer':{'type':Sequelize[_0x80e0('0x15')],'defaultValue':![]},'phoneBarEnableSettings':{'type':Sequelize[_0x80e0('0x15')],'defaultValue':!![]},'phoneBarListenPort':{'type':Sequelize[_0x80e0('0x10')](0x5),'defaultValue':0x1428},'phoneBarExpires':{'type':Sequelize[_0x80e0('0x10')](0x5),'defaultValue':0x78},'phoneBarRemoteControl':{'type':Sequelize[_0x80e0('0x15')],'defaultValue':![]},'phoneBarRemoteControlPort':{'type':Sequelize[_0x80e0('0x10')],'defaultValue':0x26a0},'phoneBarEnableRecording':{'type':Sequelize[_0x80e0('0x15')],'defaultValue':![]},'phoneBarRingInUse':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'chanspy':{'type':Sequelize[_0x80e0('0x15')],'defaultValue':![]},'description':{'type':Sequelize[_0x80e0('0x4')],'allowNull':!![]},'host':{'type':Sequelize[_0x80e0('0x4')],'allowNull':!![],'defaultValue':_0x80e0('0x18')},'ipaddr':{'type':Sequelize[_0x80e0('0x4')],'allowNull':!![]},'port':{'type':Sequelize[_0x80e0('0x10')](0x5),'allowNull':!![]},'regseconds':{'type':Sequelize[_0x80e0('0x10')](0xb),'allowNull':!![]},'fullcontact':{'type':Sequelize[_0x80e0('0x4')],'allowNull':!![]},'regserver':{'type':Sequelize[_0x80e0('0x4')],'allowNull':!![]},'useragent':{'type':Sequelize[_0x80e0('0x4')],'allowNull':!![]},'lastms':{'type':Sequelize[_0x80e0('0x10')](0xb),'allowNull':!![]},'type':{'type':Sequelize[_0x80e0('0x19')](_0x80e0('0x1a'),_0x80e0('0xc'),_0x80e0('0x1b')),'allowNull':!![],'defaultValue':'friend'},'context':{'type':Sequelize['STRING'],'allowNull':!![],'defaultValue':_0x80e0('0x1c')},'callingpres':{'type':Sequelize['ENUM'](_0x80e0('0x1d'),'ALLOWED_PASSED_SCREEN',_0x80e0('0x1e'),'ALLOWED','PROHIB_NOT_SCREENED',_0x80e0('0x1f'),_0x80e0('0x20'),_0x80e0('0x21')),'allowNull':!![]},'deny':{'type':Sequelize[_0x80e0('0x4')],'allowNull':!![]},'permit':{'type':Sequelize['STRING'],'allowNull':!![]},'secret':{'type':Sequelize['STRING'],'allowNull':!![]},'md5secret':{'type':Sequelize[_0x80e0('0x4')],'allowNull':!![]},'remotesecret':{'type':Sequelize[_0x80e0('0x4')],'allowNull':!![]},'transport':{'type':Sequelize[_0x80e0('0x4')],'allowNull':!![],'defaultValue':_0x80e0('0x22'),'set':function(_0x2ccf50){this['setDataValue'](_0x80e0('0x23'),_0x2ccf50?_0x2ccf50[_0x80e0('0x24')](','):null);},'get':function(){return this['getDataValue'](_0x80e0('0x23'))?this[_0x80e0('0x14')](_0x80e0('0x23'))[_0x80e0('0x25')](','):null;},'comment':_0x80e0('0x26')},'dtmfmode':{'type':Sequelize[_0x80e0('0x19')](_0x80e0('0x27'),_0x80e0('0x28'),'shortinfo','inband',_0x80e0('0x29')),'allowNull':!![],'defaultValue':_0x80e0('0x27')},'directmedia':{'type':Sequelize['ENUM'](_0x80e0('0x2a'),'no',_0x80e0('0x2b'),_0x80e0('0x2c'),'outgoing'),'allowNull':!![],'defaultValue':'no'},'directrtpsetup':{'type':Sequelize['ENUM'](_0x80e0('0x2a'),'no'),'allowNull':!![],'defaultValue':'no'},'directmediapermit':{'type':Sequelize['STRING'],'allowNull':!![]},'directmediadeny':{'type':Sequelize[_0x80e0('0x4')],'allowNull':!![]},'nat':{'type':Sequelize[_0x80e0('0x4')],'allowNull':!![],'defaultValue':_0x80e0('0x2d'),'set':function(_0x2e0ea9){this[_0x80e0('0x6')](_0x80e0('0x2e'),_0x2e0ea9?_0x2e0ea9[_0x80e0('0x24')](','):null);},'get':function(){return this[_0x80e0('0x14')](_0x80e0('0x2e'))?this[_0x80e0('0x14')]('nat')[_0x80e0('0x25')](','):null;},'comment':_0x80e0('0x2f')},'callgroup':{'type':Sequelize[_0x80e0('0x4')]},'namedcallgroup':{'type':Sequelize[_0x80e0('0x4')]},'pickupgroup':{'type':Sequelize[_0x80e0('0x4')]},'namedpickupgroup':{'type':Sequelize[_0x80e0('0x4')]},'language':{'type':Sequelize[_0x80e0('0x4')],'defaultValue':'en'},'tonezone':{'type':Sequelize[_0x80e0('0x4')]},'disallow':{'type':Sequelize[_0x80e0('0x4')],'allowNull':![],'defaultValue':'all'},'allow':{'type':Sequelize[_0x80e0('0x4')],'allowNull':![],'defaultValue':_0x80e0('0x30'),'set':function(_0x4f3733){this[_0x80e0('0x6')](_0x80e0('0x31'),_0x4f3733?_0x4f3733[_0x80e0('0x24')](';'):_0x80e0('0x30'));},'get':function(){return this[_0x80e0('0x14')](_0x80e0('0x31'))?this['getDataValue'](_0x80e0('0x31'))[_0x80e0('0x25')](';'):null;},'comment':_0x80e0('0x32')},'autoframing':{'type':Sequelize[_0x80e0('0x19')]('yes','no'),'allowNull':!![]},'insecure':{'type':Sequelize['STRING'],'allowNull':!![],'set':function(_0x17983a){this[_0x80e0('0x6')](_0x80e0('0x33'),_0x17983a?_0x17983a['join'](','):null);},'get':function(){return this['getDataValue'](_0x80e0('0x33'))?this[_0x80e0('0x14')]('insecure')['split'](','):null;},'comment':_0x80e0('0x34')},'trustrpid':{'type':Sequelize[_0x80e0('0x19')](_0x80e0('0x2a'),'no'),'allowNull':!![],'defaultValue':'no'},'trust_id_outbound':{'type':Sequelize[_0x80e0('0x19')](_0x80e0('0x2a'),'no'),'allowNull':!![],'defaultValue':'no'},'progressinband':{'type':Sequelize[_0x80e0('0x19')](_0x80e0('0x2a'),'no',_0x80e0('0x35')),'allowNull':!![]},'promiscredir':{'type':Sequelize[_0x80e0('0x19')]('yes','no'),'allowNull':!![]},'useclientcode':{'type':Sequelize['ENUM'](_0x80e0('0x2a'),'no'),'allowNull':!![]},'accountcode':{'type':Sequelize[_0x80e0('0x10')](0xb),'allowNull':!![]},'setvar':{'type':Sequelize[_0x80e0('0x4')],'allowNull':!![]},'callerid':{'type':Sequelize[_0x80e0('0x4')],'allowNull':!![],'defaultValue':'\x22\x22\x20<>'},'amaflags':{'type':Sequelize[_0x80e0('0x4')],'allowNull':!![]},'callcounter':{'type':Sequelize['ENUM']('yes','no'),'allowNull':!![],'defaultValue':'yes'},'busylevel':{'type':Sequelize['INTEGER'](0xb),'allowNull':!![]},'allowoverlap':{'type':Sequelize[_0x80e0('0x19')](_0x80e0('0x2a'),'no'),'allowNull':!![]},'allowsubscribe':{'type':Sequelize['ENUM'](_0x80e0('0x2a'),'no'),'allowNull':!![]},'allowtransfer':{'type':Sequelize['ENUM'](_0x80e0('0x2a'),'no'),'allowNull':!![]},'ignoresdpversion':{'type':Sequelize[_0x80e0('0x19')]('yes','no'),'allowNull':!![]},'subscribecontext':{'type':Sequelize['STRING'],'allowNull':!![]},'template':{'type':Sequelize[_0x80e0('0x4')],'allowNull':!![]},'videosupport':{'type':Sequelize[_0x80e0('0x19')](_0x80e0('0x2a'),'no',_0x80e0('0x36')),'allowNull':!![],'defaultValue':'no'},'maxcallbitrate':{'type':Sequelize[_0x80e0('0x10')](0xb),'allowNull':!![]},'rfc2833compensate':{'type':Sequelize[_0x80e0('0x19')](_0x80e0('0x2a'),'no'),'allowNull':!![]},'mailbox':{'type':Sequelize['STRING'],'allowNull':!![]},'session_timers':{'type':Sequelize['ENUM']('accept',_0x80e0('0x37'),'originate'),'allowNull':!![]},'session_expires':{'type':Sequelize[_0x80e0('0x10')](0xb),'allowNull':!![]},'session_minse':{'type':Sequelize[_0x80e0('0x10')](0xb),'allowNull':!![]},'session_refresher':{'type':Sequelize[_0x80e0('0x19')](_0x80e0('0x38'),'uas'),'allowNull':!![],'defaultValue':_0x80e0('0x39')},'t38pt_usertpsource':{'type':Sequelize[_0x80e0('0x4')],'allowNull':!![]},'regexten':{'type':Sequelize['STRING'],'allowNull':!![]},'fromdomain':{'type':Sequelize[_0x80e0('0x4')],'allowNull':!![]},'fromuser':{'type':Sequelize[_0x80e0('0x4')],'allowNull':!![]},'qualify':{'type':Sequelize[_0x80e0('0x19')](_0x80e0('0x2a'),'no'),'allowNull':!![],'defaultValue':_0x80e0('0x2a')},'keepalive':{'type':Sequelize[_0x80e0('0x10')](0xb),'allowNull':!![]},'defaultip':{'type':Sequelize[_0x80e0('0x4')],'allowNull':!![]},'defaultuser':{'type':Sequelize[_0x80e0('0x4')],'allowNull':!![]},'rtptimeout':{'type':Sequelize['INTEGER'](0xb),'allowNull':!![]},'rtpholdtimeout':{'type':Sequelize['INTEGER'](0xb),'allowNull':!![]},'rtpkeepalive':{'type':Sequelize['INTEGER'](0xb),'allowNull':!![]},'sendrpid':{'type':Sequelize[_0x80e0('0x19')](_0x80e0('0x2a'),'no'),'allowNull':!![],'defaultValue':'no'},'outboundproxy':{'type':Sequelize[_0x80e0('0x4')],'allowNull':!![]},'callbackextension':{'type':Sequelize['STRING'],'allowNull':!![]},'timert1':{'type':Sequelize[_0x80e0('0x10')](0xb),'allowNull':!![]},'timerb':{'type':Sequelize[_0x80e0('0x10')](0xb),'allowNull':!![]},'qualifyfreq':{'type':Sequelize[_0x80e0('0x10')](0xb),'allowNull':!![]},'contactpermit':{'type':Sequelize['STRING'],'allowNull':!![]},'contactdeny':{'type':Sequelize[_0x80e0('0x4')],'allowNull':!![]},'contactacl':{'type':Sequelize['STRING'],'allowNull':!![]},'unsolicited_mailbox':{'type':Sequelize['STRING'],'allowNull':!![]},'use_q850_reason':{'type':Sequelize['STRING'],'allowNull':!![]},'maxforwards':{'type':Sequelize[_0x80e0('0x10')](0xb),'allowNull':!![]},'encryption':{'type':Sequelize[_0x80e0('0x19')](_0x80e0('0x2a'),'no'),'allowNull':!![],'defaultValue':'no'},'avpf':{'type':Sequelize[_0x80e0('0x19')]('yes','no'),'allowNull':!![]},'force_avp':{'type':Sequelize[_0x80e0('0x19')](_0x80e0('0x2a'),'no'),'allowNull':!![]},'icesupport':{'type':Sequelize[_0x80e0('0x19')](_0x80e0('0x2a'),'no'),'allowNull':!![]},'dtlsenable':{'type':Sequelize[_0x80e0('0x19')](_0x80e0('0x2a'),'no'),'allowNull':!![]},'dtlsverify':{'type':Sequelize[_0x80e0('0x19')](_0x80e0('0x2a'),'no',_0x80e0('0x3a'),'certificate'),'allowNull':!![]},'dtlsrekey':{'type':Sequelize[_0x80e0('0x10')](0xb),'allowNull':!![]},'dtlscertfile':{'type':Sequelize[_0x80e0('0x4')],'allowNull':!![]},'dtlsprivatekey':{'type':Sequelize[_0x80e0('0x4')],'allowNull':!![]},'dtlscipher':{'type':Sequelize[_0x80e0('0x4')],'allowNull':!![]},'dtlscafile':{'type':Sequelize[_0x80e0('0x4')],'allowNull':!![]},'dtlscapath':{'type':Sequelize[_0x80e0('0x4')],'allowNull':!![]},'dtlssetup':{'type':Sequelize['ENUM'](_0x80e0('0x3b'),_0x80e0('0x3c'),_0x80e0('0x3d')),'allowNull':!![]},'dtlsfingerprint':{'type':Sequelize[_0x80e0('0x4')],'allowNull':!![]},'usereqphone':{'type':Sequelize[_0x80e0('0x19')](_0x80e0('0x2a'),'no'),'allowNull':!![],'defaultValue':'no'},'recordonfeature':{'type':Sequelize['STRING'],'allowNull':!![]},'recordofffeature':{'type':Sequelize['STRING'],'allowNull':!![]},'call_limit':{'type':Sequelize[_0x80e0('0x10')](0xb),'allowNull':!![],'defaultValue':0xa},'registertrying':{'type':Sequelize[_0x80e0('0x19')]('yes','no'),'allowNull':!![]},'subscribemwi':{'type':Sequelize['ENUM'](_0x80e0('0x2a'),'no'),'allowNull':!![]},'vmexten':{'type':Sequelize[_0x80e0('0x4')],'allowNull':!![]},'mohinterpret':{'type':Sequelize[_0x80e0('0x4')],'allowNull':!![]},'mohsuggest':{'type':Sequelize[_0x80e0('0x4')],'allowNull':!![]},'parkinglot':{'type':Sequelize[_0x80e0('0x4')],'allowNull':!![]},'canreinvite':{'type':Sequelize[_0x80e0('0x19')](_0x80e0('0x2a'),'no',_0x80e0('0x2b'),_0x80e0('0x2c'),'update,nonat'),'allowNull':!![],'defaultValue':'no'},'loginInPause':{'type':Sequelize[_0x80e0('0x15')],'defaultValue':![]},'resetPasswordToken':{'type':Sequelize[_0x80e0('0x4')]},'resetPasswordExpires':{'type':Sequelize['DATE']},'passwordResetAt':{'type':Sequelize[_0x80e0('0x16')],'defaultValue':null},'previousPasswords':{'type':Sequelize[_0x80e0('0x3e')]},'showWebBar':{'type':Sequelize[_0x80e0('0x10')],'defaultValue':0x0,'set':function(_0x3754af){this[_0x80e0('0x6')](_0x80e0('0x3f'),_0x3754af);var _0x32b934=this[_0x80e0('0x40')]({'plain':!![]});switch(_0x3754af){case 0x0:case 0x1:var _0x322f6a=_0x32b934[_0x80e0('0x23')]?_[_0x80e0('0x41')](_0x32b934[_0x80e0('0x23')])?_0x32b934[_0x80e0('0x23')]['join']():_0x32b934[_0x80e0('0x23')]:_0x80e0('0x22');if(_0x322f6a===_0x80e0('0x42')){_0x322f6a='udp';}this['setDataValue']('transport',_0x322f6a);this[_0x80e0('0x6')](_0x80e0('0x43'),'no');this[_0x80e0('0x6')]('avpf',null);this['setDataValue'](_0x80e0('0x44'),null);this[_0x80e0('0x6')](_0x80e0('0x45'),null);this[_0x80e0('0x6')](_0x80e0('0x46'),null);this[_0x80e0('0x6')](_0x80e0('0x47'),null);this[_0x80e0('0x6')](_0x80e0('0x48'),null);this[_0x80e0('0x6')]('dtlscertfile',null);this[_0x80e0('0x6')](_0x80e0('0x49'),null);this['setDataValue'](_0x80e0('0x4a'),'no');break;case 0x2:this[_0x80e0('0x6')](_0x80e0('0x23'),'wss');this['setDataValue'](_0x80e0('0x43'),'yes');this[_0x80e0('0x6')](_0x80e0('0x4b'),'yes');this[_0x80e0('0x6')]('force_avp',_0x80e0('0x2a'));this[_0x80e0('0x6')](_0x80e0('0x45'),_0x80e0('0x2a'));this['setDataValue'](_0x80e0('0x46'),_0x80e0('0x2a'));this[_0x80e0('0x6')](_0x80e0('0x47'),'no');this[_0x80e0('0x6')]('dtlssetup',_0x80e0('0x3d'));this[_0x80e0('0x6')](_0x80e0('0x4c'),_0x32b934[_0x80e0('0x4c')]||_0x80e0('0x4d'));this[_0x80e0('0x6')](_0x80e0('0x49'),_0x32b934[_0x80e0('0x49')]||'/etc/pki/tls/private/motion.key');this[_0x80e0('0x6')](_0x80e0('0x4a'),_0x80e0('0x2a'));break;default:}}},'permissions':{'type':Sequelize[_0x80e0('0x3e')],'set':function(_0x5f5383){this[_0x80e0('0x6')]('permissions',_0x5f5383?_0x5f5383[_0x80e0('0x24')](','):[]);},'get':function(){return this[_0x80e0('0x14')](_0x80e0('0x4e'))?_[_0x80e0('0x4f')](this[_0x80e0('0x14')](_0x80e0('0x4e'))['split'](','),function(_0x27b32c){return parseInt(_0x27b32c,0xa);}):[];}},'phoneBarUnconditionalNumber':{'type':Sequelize[_0x80e0('0x4')]},'phoneBarNoReplyNumber':{'type':Sequelize[_0x80e0('0x4')]},'phoneBarBusyNumber':{'type':Sequelize[_0x80e0('0x4')]},'phoneBarUnconditional':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'phoneBarNoReply':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'phoneBarBusy':{'type':Sequelize[_0x80e0('0x15')],'defaultValue':![]},'phoneBarDnd':{'type':Sequelize[_0x80e0('0x15')],'defaultValue':!![]},'phoneBarUnansweredCallBadge':{'type':Sequelize[_0x80e0('0x15')],'defaultValue':!![]},'phoneBarEnableDtmfTone':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'phoneBarAutoAnswerDelay':{'type':Sequelize[_0x80e0('0x10')],'defaultValue':0x0},'extensionMonitor':{'type':Sequelize[_0x80e0('0x4')],'defaultValue':''},'crudPermissions':{'type':Sequelize[_0x80e0('0x10')],'defaultValue':0x0},'rtcp_mux':{'type':Sequelize[_0x80e0('0x19')](_0x80e0('0x2a'),'no'),'defaultValue':'no'},'allowmessenger':{'type':Sequelize[_0x80e0('0x15')],'defaultValue':!![]},'phoneBarOutboundProxy':{'type':Sequelize[_0x80e0('0x4')]},'phoneBarEnableJaws':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'phoneBarEnableScreenRecordingByAgent':{'type':Sequelize[_0x80e0('0x15')],'defaultValue':![]},'phoneBarEnableVideoRecording':{'type':Sequelize[_0x80e0('0x50')],'get':function(){return this['getDataValue'](_0x80e0('0x51'))?this[_0x80e0('0x14')](_0x80e0('0x51')):![];}},'phoneBarEnableAutomaticScreenRecording':{'type':Sequelize[_0x80e0('0x15')],'defaultValue':![]},'phoneBarPrefixRequired':{'type':Sequelize[_0x80e0('0x15')],'defaultValue':![]},'hotdesk':{'type':Sequelize[_0x80e0('0x15')],'defaultValue':![]},'interface':{'type':Sequelize['STRING'],'defaultValue':null},'privacyEnabled':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'apiKeyNonce':{'type':Sequelize['STRING'],'allowNull':!![]},'apiKeyIat':{'type':Sequelize[_0x80e0('0x4')],'allowNull':!![]},'screenrecording':{'type':Sequelize[_0x80e0('0x15')],'defaultValue':![],'set':function(_0x1ac6f7){if(typeof _0x1ac6f7===_0x80e0('0x52')){var _0x281c26=_0x1ac6f7==='1'?!![]:_0x1ac6f7==='0'?![]:_0x1ac6f7===_0x80e0('0x53')?!![]:_0x1ac6f7===_0x80e0('0x54')?![]:![];this[_0x80e0('0x6')](_0x80e0('0x55'),_0x281c26);}else{this[_0x80e0('0x6')](_0x80e0('0x55'),_0x1ac6f7);}}},'blocked':{'type':Sequelize[_0x80e0('0x15')],'defaultValue':![],'set':function(_0x180c3e){this[_0x80e0('0x6')](_0x80e0('0x56'),_0x180c3e);if(_0x180c3e===!![]){this['setDataValue'](_0x80e0('0x57'),moment());this[_0x80e0('0x6')](_0x80e0('0x58'),0x0);}else{this['setDataValue'](_0x80e0('0x57'),null);}}},'blockedAt':{'type':Sequelize[_0x80e0('0x16')],'defaultValue':null},'loginAttempts':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'disabled':{'type':Sequelize[_0x80e0('0x15')],'defaultValue':![]},'settingsEnabled':{'type':Sequelize[_0x80e0('0x15')],'defaultValue':!![]},'wssPort':{'type':Sequelize[_0x80e0('0x10')](0x5)[_0x80e0('0x59')],'defaultValue':0x1f99},'downloadAttachments':{'type':Sequelize[_0x80e0('0x15')],'defaultValue':!![]},'downloadOmnichannelInteractions':{'type':Sequelize[_0x80e0('0x15')],'defaultValue':!![]},'downloadVoiceRecordings':{'type':Sequelize[_0x80e0('0x15')],'defaultValue':!![]},'ignorePauseForPreviewCalls':{'type':Sequelize[_0x80e0('0x15')],'defaultValue':![]},'selectRecallMeCampaign':{'type':Sequelize[_0x80e0('0x15')],'defaultValue':![]},'adSsoEnabled':{'type':Sequelize[_0x80e0('0x15')],'defaultValue':![]},'chatAutoanswer':{'type':Sequelize[_0x80e0('0x15')],'defaultValue':![]},'chatAutoanswerDelay':{'type':Sequelize[_0x80e0('0x10')],'defaultValue':0x0},'emailAutoanswer':{'type':Sequelize[_0x80e0('0x15')],'defaultValue':![]},'emailAutoanswerDelay':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'smsAutoanswer':{'type':Sequelize[_0x80e0('0x15')],'defaultValue':![]},'smsAutoanswerDelay':{'type':Sequelize[_0x80e0('0x10')],'defaultValue':0x0},'openchannelAutoanswer':{'type':Sequelize[_0x80e0('0x15')],'defaultValue':![]},'openchannelAutoanswerDelay':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'faxAutoanswer':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'faxAutoanswerDelay':{'type':Sequelize[_0x80e0('0x10')],'defaultValue':0x0},'whatsappAutoanswer':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'whatsappAutoanswerDelay':{'type':Sequelize[_0x80e0('0x10')],'defaultValue':0x0},'messengerSoundNotification':{'type':Sequelize[_0x80e0('0x15')],'defaultValue':![]}};
\ No newline at end of file