Built motion from commit (unavailable).|2.5.31
[motion2.git] / server / api / user / user.attributes.js
index d529a14..9cb4e95 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xc1bc=['name','setDataValue','The\x20name\x20of\x20the\x20user','format','getDataValue','email','toLowerCase','user','agent','telephone','INTEGER','internal','callerid','\x22%s\x22\x20<%s>','BOOLEAN','DEFAULT\x20PAUSE','DATE','dynamic','ENUM','peer','friend','from-sip','ALLOWED_NOT_SCREENED','ALLOWED_PASSED_SCREEN','ALLOWED_FAILED_SCREEN','ALLOWED','PROHIB_NOT_SCREENED','PROHIB_PASSED_SCREEN','PROHIB_FAILED_SCREEN','udp','transport','split','String\x20is\x20deprecated.\x20Please\x20use\x20an\x20Array\x20as\x20[\x22udp\x22,\x20\x22tcp\x22]','rfc2833','info','shortinfo','inband','nonat','update','outgoing','yes','nat','String\x20is\x20deprecated.\x20Please\x20use\x20an\x20Array\x20as\x20[\x22force_rport\x22,\x20\x22comedia\x22]','all','ulaw;alaw;gsm','allow','join','insecure','never','\x22\x22\x20<>','always','accept','refuse','originate','uac','uas','fingerprint','active','actpass','update,nonat','showWebBar','get','isArray','encryption','avpf','icesupport','dtlsenable','dtlsverify','dtlssetup','dtlscertfile','dtlsprivatekey','rtcp_mux','wss','force_avp','/etc/pki/tls/certs/motion.crt','/etc/pki/tls/private/motion.key','TEXT','permissions','map','VIRTUAL','phoneBarEnableScreenRecordingByAgent','string','true','false','screenrecording','blocked','loginAttempts','blockedAt','UNSIGNED','sequelize','moment','lodash','exports','STRING'];(function(_0x269ee8,_0x477226){var _0x4d98bd=function(_0x20d4c4){while(--_0x20d4c4){_0x269ee8['push'](_0x269ee8['shift']());}};_0x4d98bd(++_0x477226);}(_0xc1bc,0x173));var _0xcc1b=function(_0x2dafbe,_0x5d04de){_0x2dafbe=_0x2dafbe-0x0;var _0x58a45a=_0xc1bc[_0x2dafbe];return _0x58a45a;};'use strict';var Sequelize=require(_0xcc1b('0x0'));var moment=require(_0xcc1b('0x1'));var util=require('util');var _=require(_0xcc1b('0x2'));module[_0xcc1b('0x3')]={'name':{'type':Sequelize[_0xcc1b('0x4')],'allowNull':![],'unique':_0xcc1b('0x5'),'validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i},'set':function(_0x1b57ef){this[_0xcc1b('0x6')](_0xcc1b('0x5'),_0x1b57ef);this[_0xcc1b('0x6')]('defaultuser',_0x1b57ef);},'comment':_0xcc1b('0x7')},'fullname':{'type':Sequelize[_0xcc1b('0x4')],'allowNull':![],'set':function(_0x172878){this['setDataValue']('fullname',_0x172878);this[_0xcc1b('0x6')]('callerid',util[_0xcc1b('0x8')]('\x22%s\x22\x20<%s>',_0x172878,this[_0xcc1b('0x9')]('internal')));}},'alias':{'type':Sequelize[_0xcc1b('0x4')]},'email':{'type':Sequelize[_0xcc1b('0x4')],'allowNull':![],'unique':_0xcc1b('0xa'),'validate':{'isEmail':!![]},'set':function(_0x1999c8){if(_0x1999c8){this['setDataValue'](_0xcc1b('0xa'),_0x1999c8[_0xcc1b('0xb')]());}}},'role':{'type':Sequelize['ENUM']('admin',_0xcc1b('0xc'),_0xcc1b('0xd'),_0xcc1b('0xe')),'allowNull':![]},'password':{'type':Sequelize[_0xcc1b('0x4')],'allowNull':![],'validate':{'notEmpty':!![]}},'provider':{'type':Sequelize[_0xcc1b('0x4')],'defaultValue':'local'},'internal':{'type':Sequelize[_0xcc1b('0xf')](0xb),'allowNull':![],'unique':'internal','set':function(_0x43ecd4){this['setDataValue'](_0xcc1b('0x10'),_0x43ecd4);this[_0xcc1b('0x6')]('accountcode',_0x43ecd4);this[_0xcc1b('0x6')](_0xcc1b('0x11'),util['format'](_0xcc1b('0x12'),this[_0xcc1b('0x9')]('fullname'),_0x43ecd4));}},'salt':{'type':Sequelize['STRING']},'phone':{'type':Sequelize[_0xcc1b('0x4')]},'mobile':{'type':Sequelize['STRING']},'address':{'type':Sequelize[_0xcc1b('0x4')]},'zipcode':{'type':Sequelize['STRING']},'userpic':{'type':Sequelize[_0xcc1b('0x4')]},'city':{'type':Sequelize['STRING']},'country':{'type':Sequelize[_0xcc1b('0x4')]},'online':{'type':Sequelize[_0xcc1b('0x13')],'defaultValue':![]},'lastLoginAt':{'type':Sequelize['DATE']},'voicePause':{'type':Sequelize[_0xcc1b('0x13')],'defaultValue':![]},'chatPause':{'type':Sequelize[_0xcc1b('0x13')],'defaultValue':![]},'mailPause':{'type':Sequelize[_0xcc1b('0x13')],'defaultValue':![]},'faxPause':{'type':Sequelize[_0xcc1b('0x13')],'defaultValue':![]},'smsPause':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'whatsappPause':{'type':Sequelize[_0xcc1b('0x13')],'defaultValue':![]},'openchannelPause':{'type':Sequelize[_0xcc1b('0x13')],'defaultValue':![]},'pauseType':{'type':Sequelize['STRING'],'defaultValue':_0xcc1b('0x14')},'lastPauseAt':{'type':Sequelize[_0xcc1b('0x15')]},'chatCapacity':{'type':Sequelize[_0xcc1b('0xf')],'defaultValue':0x0},'mailCapacity':{'type':Sequelize[_0xcc1b('0xf')],'defaultValue':0x0},'faxCapacity':{'type':Sequelize[_0xcc1b('0xf')],'defaultValue':0x0},'smsCapacity':{'type':Sequelize[_0xcc1b('0xf')],'defaultValue':0x0},'whatsappCapacity':{'type':Sequelize[_0xcc1b('0xf')],'defaultValue':0x0},'openchannelCapacity':{'type':Sequelize[_0xcc1b('0xf')],'defaultValue':0x0},'phoneBarAutoAnswer':{'type':Sequelize[_0xcc1b('0x13')],'defaultValue':![]},'phoneBarEnableSettings':{'type':Sequelize[_0xcc1b('0x13')],'defaultValue':!![]},'phoneBarListenPort':{'type':Sequelize[_0xcc1b('0xf')](0x5),'defaultValue':0x1428},'phoneBarExpires':{'type':Sequelize[_0xcc1b('0xf')](0x5),'defaultValue':0x78},'phoneBarRemoteControl':{'type':Sequelize[_0xcc1b('0x13')],'defaultValue':![]},'phoneBarRemoteControlPort':{'type':Sequelize[_0xcc1b('0xf')],'defaultValue':0x26a0},'phoneBarEnableRecording':{'type':Sequelize[_0xcc1b('0x13')],'defaultValue':![]},'phoneBarRingInUse':{'type':Sequelize[_0xcc1b('0x13')],'defaultValue':![]},'chanspy':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'description':{'type':Sequelize[_0xcc1b('0x4')],'allowNull':!![]},'host':{'type':Sequelize[_0xcc1b('0x4')],'allowNull':!![],'defaultValue':_0xcc1b('0x16')},'ipaddr':{'type':Sequelize[_0xcc1b('0x4')],'allowNull':!![]},'port':{'type':Sequelize['INTEGER'](0x5),'allowNull':!![]},'regseconds':{'type':Sequelize['INTEGER'](0xb),'allowNull':!![]},'fullcontact':{'type':Sequelize[_0xcc1b('0x4')],'allowNull':!![]},'regserver':{'type':Sequelize[_0xcc1b('0x4')],'allowNull':!![]},'useragent':{'type':Sequelize[_0xcc1b('0x4')],'allowNull':!![]},'lastms':{'type':Sequelize[_0xcc1b('0xf')](0xb),'allowNull':!![]},'type':{'type':Sequelize[_0xcc1b('0x17')]('friend','user',_0xcc1b('0x18')),'allowNull':!![],'defaultValue':_0xcc1b('0x19')},'context':{'type':Sequelize['STRING'],'allowNull':!![],'defaultValue':_0xcc1b('0x1a')},'callingpres':{'type':Sequelize['ENUM'](_0xcc1b('0x1b'),_0xcc1b('0x1c'),_0xcc1b('0x1d'),_0xcc1b('0x1e'),_0xcc1b('0x1f'),_0xcc1b('0x20'),_0xcc1b('0x21'),'PROHIB'),'allowNull':!![]},'deny':{'type':Sequelize[_0xcc1b('0x4')],'allowNull':!![]},'permit':{'type':Sequelize[_0xcc1b('0x4')],'allowNull':!![]},'secret':{'type':Sequelize['STRING'],'allowNull':!![]},'md5secret':{'type':Sequelize['STRING'],'allowNull':!![]},'remotesecret':{'type':Sequelize[_0xcc1b('0x4')],'allowNull':!![]},'transport':{'type':Sequelize['STRING'],'allowNull':!![],'defaultValue':_0xcc1b('0x22'),'set':function(_0x3a030c){this[_0xcc1b('0x6')](_0xcc1b('0x23'),_0x3a030c?_0x3a030c['join'](','):null);},'get':function(){return this[_0xcc1b('0x9')](_0xcc1b('0x23'))?this[_0xcc1b('0x9')](_0xcc1b('0x23'))[_0xcc1b('0x24')](','):null;},'comment':_0xcc1b('0x25')},'dtmfmode':{'type':Sequelize[_0xcc1b('0x17')](_0xcc1b('0x26'),_0xcc1b('0x27'),_0xcc1b('0x28'),_0xcc1b('0x29'),'auto'),'allowNull':!![],'defaultValue':_0xcc1b('0x26')},'directmedia':{'type':Sequelize['ENUM']('yes','no',_0xcc1b('0x2a'),_0xcc1b('0x2b'),_0xcc1b('0x2c')),'allowNull':!![],'defaultValue':'no'},'directrtpsetup':{'type':Sequelize[_0xcc1b('0x17')](_0xcc1b('0x2d'),'no'),'allowNull':!![],'defaultValue':'no'},'directmediapermit':{'type':Sequelize[_0xcc1b('0x4')],'allowNull':!![]},'directmediadeny':{'type':Sequelize[_0xcc1b('0x4')],'allowNull':!![]},'nat':{'type':Sequelize['STRING'],'allowNull':!![],'defaultValue':'force_rport,comedia','set':function(_0x4cbb21){this['setDataValue'](_0xcc1b('0x2e'),_0x4cbb21?_0x4cbb21['join'](','):null);},'get':function(){return this['getDataValue'](_0xcc1b('0x2e'))?this[_0xcc1b('0x9')](_0xcc1b('0x2e'))['split'](','):null;},'comment':_0xcc1b('0x2f')},'callgroup':{'type':Sequelize['STRING']},'namedcallgroup':{'type':Sequelize['STRING']},'pickupgroup':{'type':Sequelize[_0xcc1b('0x4')]},'namedpickupgroup':{'type':Sequelize[_0xcc1b('0x4')]},'language':{'type':Sequelize[_0xcc1b('0x4')],'defaultValue':'en'},'tonezone':{'type':Sequelize[_0xcc1b('0x4')]},'disallow':{'type':Sequelize[_0xcc1b('0x4')],'allowNull':![],'defaultValue':_0xcc1b('0x30')},'allow':{'type':Sequelize[_0xcc1b('0x4')],'allowNull':![],'defaultValue':_0xcc1b('0x31'),'set':function(_0x25572b){this['setDataValue'](_0xcc1b('0x32'),_0x25572b?_0x25572b[_0xcc1b('0x33')](';'):_0xcc1b('0x31'));},'get':function(){return this[_0xcc1b('0x9')](_0xcc1b('0x32'))?this[_0xcc1b('0x9')](_0xcc1b('0x32'))[_0xcc1b('0x24')](';'):null;},'comment':'String\x20is\x20deprecated.\x20Please\x20use\x20an\x20Array\x20as\x20[\x22ulaw\x22,\x20\x22alaw\x22,\x20\x22gsm\x22]'},'autoframing':{'type':Sequelize[_0xcc1b('0x17')](_0xcc1b('0x2d'),'no'),'allowNull':!![]},'insecure':{'type':Sequelize[_0xcc1b('0x4')],'allowNull':!![],'set':function(_0x476c85){this[_0xcc1b('0x6')](_0xcc1b('0x34'),_0x476c85?_0x476c85['join'](','):null);},'get':function(){return this[_0xcc1b('0x9')](_0xcc1b('0x34'))?this[_0xcc1b('0x9')]('insecure')[_0xcc1b('0x24')](','):null;},'comment':'String\x20is\x20deprecated.\x20Please\x20use\x20an\x20Array\x20as\x20[\x22port\x22,\x20\x22invite\x22]'},'trustrpid':{'type':Sequelize['ENUM'](_0xcc1b('0x2d'),'no'),'allowNull':!![],'defaultValue':'no'},'trust_id_outbound':{'type':Sequelize[_0xcc1b('0x17')](_0xcc1b('0x2d'),'no'),'allowNull':!![],'defaultValue':'no'},'progressinband':{'type':Sequelize[_0xcc1b('0x17')](_0xcc1b('0x2d'),'no',_0xcc1b('0x35')),'allowNull':!![]},'promiscredir':{'type':Sequelize[_0xcc1b('0x17')](_0xcc1b('0x2d'),'no'),'allowNull':!![]},'useclientcode':{'type':Sequelize[_0xcc1b('0x17')](_0xcc1b('0x2d'),'no'),'allowNull':!![]},'accountcode':{'type':Sequelize[_0xcc1b('0xf')](0xb),'allowNull':!![]},'setvar':{'type':Sequelize[_0xcc1b('0x4')],'allowNull':!![]},'callerid':{'type':Sequelize[_0xcc1b('0x4')],'allowNull':!![],'defaultValue':_0xcc1b('0x36')},'amaflags':{'type':Sequelize[_0xcc1b('0x4')],'allowNull':!![]},'callcounter':{'type':Sequelize['ENUM'](_0xcc1b('0x2d'),'no'),'allowNull':!![],'defaultValue':_0xcc1b('0x2d')},'busylevel':{'type':Sequelize[_0xcc1b('0xf')](0xb),'allowNull':!![]},'allowoverlap':{'type':Sequelize[_0xcc1b('0x17')]('yes','no'),'allowNull':!![]},'allowsubscribe':{'type':Sequelize[_0xcc1b('0x17')](_0xcc1b('0x2d'),'no'),'allowNull':!![]},'allowtransfer':{'type':Sequelize[_0xcc1b('0x17')](_0xcc1b('0x2d'),'no'),'allowNull':!![]},'ignoresdpversion':{'type':Sequelize['ENUM'](_0xcc1b('0x2d'),'no'),'allowNull':!![]},'subscribecontext':{'type':Sequelize['STRING'],'allowNull':!![]},'template':{'type':Sequelize[_0xcc1b('0x4')],'allowNull':!![]},'videosupport':{'type':Sequelize[_0xcc1b('0x17')](_0xcc1b('0x2d'),'no',_0xcc1b('0x37')),'allowNull':!![],'defaultValue':'no'},'maxcallbitrate':{'type':Sequelize[_0xcc1b('0xf')](0xb),'allowNull':!![]},'rfc2833compensate':{'type':Sequelize[_0xcc1b('0x17')](_0xcc1b('0x2d'),'no'),'allowNull':!![]},'mailbox':{'type':Sequelize[_0xcc1b('0x4')],'allowNull':!![]},'session_timers':{'type':Sequelize[_0xcc1b('0x17')](_0xcc1b('0x38'),_0xcc1b('0x39'),_0xcc1b('0x3a')),'allowNull':!![]},'session_expires':{'type':Sequelize[_0xcc1b('0xf')](0xb),'allowNull':!![]},'session_minse':{'type':Sequelize[_0xcc1b('0xf')](0xb),'allowNull':!![]},'session_refresher':{'type':Sequelize[_0xcc1b('0x17')](_0xcc1b('0x3b'),_0xcc1b('0x3c')),'allowNull':!![],'defaultValue':_0xcc1b('0x3c')},'t38pt_usertpsource':{'type':Sequelize[_0xcc1b('0x4')],'allowNull':!![]},'regexten':{'type':Sequelize[_0xcc1b('0x4')],'allowNull':!![]},'fromdomain':{'type':Sequelize[_0xcc1b('0x4')],'allowNull':!![]},'fromuser':{'type':Sequelize[_0xcc1b('0x4')],'allowNull':!![]},'qualify':{'type':Sequelize[_0xcc1b('0x17')](_0xcc1b('0x2d'),'no'),'allowNull':!![],'defaultValue':'yes'},'keepalive':{'type':Sequelize[_0xcc1b('0xf')](0xb),'allowNull':!![]},'defaultip':{'type':Sequelize['STRING'],'allowNull':!![]},'defaultuser':{'type':Sequelize[_0xcc1b('0x4')],'allowNull':!![]},'rtptimeout':{'type':Sequelize[_0xcc1b('0xf')](0xb),'allowNull':!![]},'rtpholdtimeout':{'type':Sequelize[_0xcc1b('0xf')](0xb),'allowNull':!![]},'rtpkeepalive':{'type':Sequelize[_0xcc1b('0xf')](0xb),'allowNull':!![]},'sendrpid':{'type':Sequelize[_0xcc1b('0x17')](_0xcc1b('0x2d'),'no'),'allowNull':!![],'defaultValue':'no'},'outboundproxy':{'type':Sequelize[_0xcc1b('0x4')],'allowNull':!![]},'callbackextension':{'type':Sequelize[_0xcc1b('0x4')],'allowNull':!![]},'timert1':{'type':Sequelize[_0xcc1b('0xf')](0xb),'allowNull':!![]},'timerb':{'type':Sequelize['INTEGER'](0xb),'allowNull':!![]},'qualifyfreq':{'type':Sequelize[_0xcc1b('0xf')](0xb),'allowNull':!![]},'contactpermit':{'type':Sequelize[_0xcc1b('0x4')],'allowNull':!![]},'contactdeny':{'type':Sequelize[_0xcc1b('0x4')],'allowNull':!![]},'contactacl':{'type':Sequelize[_0xcc1b('0x4')],'allowNull':!![]},'unsolicited_mailbox':{'type':Sequelize[_0xcc1b('0x4')],'allowNull':!![]},'use_q850_reason':{'type':Sequelize[_0xcc1b('0x4')],'allowNull':!![]},'maxforwards':{'type':Sequelize['INTEGER'](0xb),'allowNull':!![]},'encryption':{'type':Sequelize[_0xcc1b('0x17')](_0xcc1b('0x2d'),'no'),'allowNull':!![],'defaultValue':'no'},'avpf':{'type':Sequelize[_0xcc1b('0x17')](_0xcc1b('0x2d'),'no'),'allowNull':!![]},'force_avp':{'type':Sequelize[_0xcc1b('0x17')]('yes','no'),'allowNull':!![]},'icesupport':{'type':Sequelize[_0xcc1b('0x17')](_0xcc1b('0x2d'),'no'),'allowNull':!![]},'dtlsenable':{'type':Sequelize[_0xcc1b('0x17')]('yes','no'),'allowNull':!![]},'dtlsverify':{'type':Sequelize[_0xcc1b('0x17')]('yes','no',_0xcc1b('0x3d'),'certificate'),'allowNull':!![]},'dtlsrekey':{'type':Sequelize[_0xcc1b('0xf')](0xb),'allowNull':!![]},'dtlscertfile':{'type':Sequelize['STRING'],'allowNull':!![]},'dtlsprivatekey':{'type':Sequelize[_0xcc1b('0x4')],'allowNull':!![]},'dtlscipher':{'type':Sequelize[_0xcc1b('0x4')],'allowNull':!![]},'dtlscafile':{'type':Sequelize['STRING'],'allowNull':!![]},'dtlscapath':{'type':Sequelize[_0xcc1b('0x4')],'allowNull':!![]},'dtlssetup':{'type':Sequelize['ENUM'](_0xcc1b('0x3e'),'passive',_0xcc1b('0x3f')),'allowNull':!![]},'dtlsfingerprint':{'type':Sequelize[_0xcc1b('0x4')],'allowNull':!![]},'usereqphone':{'type':Sequelize['ENUM'](_0xcc1b('0x2d'),'no'),'allowNull':!![],'defaultValue':'no'},'recordonfeature':{'type':Sequelize[_0xcc1b('0x4')],'allowNull':!![]},'recordofffeature':{'type':Sequelize[_0xcc1b('0x4')],'allowNull':!![]},'call_limit':{'type':Sequelize['INTEGER'](0xb),'allowNull':!![],'defaultValue':0xa},'registertrying':{'type':Sequelize[_0xcc1b('0x17')]('yes','no'),'allowNull':!![]},'subscribemwi':{'type':Sequelize[_0xcc1b('0x17')](_0xcc1b('0x2d'),'no'),'allowNull':!![]},'vmexten':{'type':Sequelize[_0xcc1b('0x4')],'allowNull':!![]},'mohinterpret':{'type':Sequelize[_0xcc1b('0x4')],'allowNull':!![]},'mohsuggest':{'type':Sequelize[_0xcc1b('0x4')],'allowNull':!![]},'parkinglot':{'type':Sequelize['STRING'],'allowNull':!![]},'canreinvite':{'type':Sequelize[_0xcc1b('0x17')](_0xcc1b('0x2d'),'no','nonat',_0xcc1b('0x2b'),_0xcc1b('0x40')),'allowNull':!![],'defaultValue':'no'},'loginInPause':{'type':Sequelize[_0xcc1b('0x13')],'defaultValue':![]},'resetPasswordToken':{'type':Sequelize[_0xcc1b('0x4')]},'resetPasswordExpires':{'type':Sequelize['DATE']},'passwordResetAt':{'type':Sequelize[_0xcc1b('0x15')],'defaultValue':null},'previousPasswords':{'type':Sequelize['TEXT']},'showWebBar':{'type':Sequelize[_0xcc1b('0xf')],'defaultValue':0x0,'set':function(_0x38c8fb){this[_0xcc1b('0x6')](_0xcc1b('0x41'),_0x38c8fb);var _0x530a6e=this[_0xcc1b('0x42')]({'plain':!![]});switch(_0x38c8fb){case 0x0:case 0x1:var _0x1af9ac=_0x530a6e['transport']?_[_0xcc1b('0x43')](_0x530a6e[_0xcc1b('0x23')])?_0x530a6e[_0xcc1b('0x23')][_0xcc1b('0x33')]():_0x530a6e[_0xcc1b('0x23')]:'udp';if(_0x1af9ac==='wss'){_0x1af9ac='udp';}this[_0xcc1b('0x6')]('transport',_0x1af9ac);this[_0xcc1b('0x6')](_0xcc1b('0x44'),'no');this[_0xcc1b('0x6')](_0xcc1b('0x45'),null);this[_0xcc1b('0x6')]('force_avp',null);this['setDataValue'](_0xcc1b('0x46'),null);this[_0xcc1b('0x6')](_0xcc1b('0x47'),null);this[_0xcc1b('0x6')](_0xcc1b('0x48'),null);this[_0xcc1b('0x6')](_0xcc1b('0x49'),null);this[_0xcc1b('0x6')](_0xcc1b('0x4a'),null);this[_0xcc1b('0x6')](_0xcc1b('0x4b'),null);this[_0xcc1b('0x6')](_0xcc1b('0x4c'),'no');break;case 0x2:this['setDataValue'](_0xcc1b('0x23'),_0xcc1b('0x4d'));this[_0xcc1b('0x6')](_0xcc1b('0x44'),_0xcc1b('0x2d'));this[_0xcc1b('0x6')](_0xcc1b('0x45'),_0xcc1b('0x2d'));this[_0xcc1b('0x6')](_0xcc1b('0x4e'),_0xcc1b('0x2d'));this[_0xcc1b('0x6')]('icesupport','yes');this['setDataValue'](_0xcc1b('0x47'),_0xcc1b('0x2d'));this[_0xcc1b('0x6')]('dtlsverify','no');this[_0xcc1b('0x6')](_0xcc1b('0x49'),_0xcc1b('0x3f'));this[_0xcc1b('0x6')](_0xcc1b('0x4a'),_0x530a6e[_0xcc1b('0x4a')]||_0xcc1b('0x4f'));this[_0xcc1b('0x6')](_0xcc1b('0x4b'),_0x530a6e[_0xcc1b('0x4b')]||_0xcc1b('0x50'));this[_0xcc1b('0x6')](_0xcc1b('0x4c'),'yes');break;default:}}},'permissions':{'type':Sequelize[_0xcc1b('0x51')],'set':function(_0x2eeb4f){this['setDataValue']('permissions',_0x2eeb4f?_0x2eeb4f['join'](','):[]);},'get':function(){return this[_0xcc1b('0x9')](_0xcc1b('0x52'))?_[_0xcc1b('0x53')](this[_0xcc1b('0x9')](_0xcc1b('0x52'))[_0xcc1b('0x24')](','),function(_0x28e0da){return parseInt(_0x28e0da,0xa);}):[];}},'phoneBarUnconditionalNumber':{'type':Sequelize[_0xcc1b('0x4')]},'phoneBarNoReplyNumber':{'type':Sequelize[_0xcc1b('0x4')]},'phoneBarBusyNumber':{'type':Sequelize['STRING']},'phoneBarUnconditional':{'type':Sequelize[_0xcc1b('0x13')],'defaultValue':![]},'phoneBarNoReply':{'type':Sequelize[_0xcc1b('0x13')],'defaultValue':![]},'phoneBarBusy':{'type':Sequelize[_0xcc1b('0x13')],'defaultValue':![]},'phoneBarDnd':{'type':Sequelize[_0xcc1b('0x13')],'defaultValue':!![]},'phoneBarUnansweredCallBadge':{'type':Sequelize[_0xcc1b('0x13')],'defaultValue':!![]},'phoneBarEnableDtmfTone':{'type':Sequelize[_0xcc1b('0x13')],'defaultValue':![]},'phoneBarAutoAnswerDelay':{'type':Sequelize[_0xcc1b('0xf')],'defaultValue':0x0},'extensionMonitor':{'type':Sequelize[_0xcc1b('0x4')],'defaultValue':''},'crudPermissions':{'type':Sequelize[_0xcc1b('0xf')],'defaultValue':0x0},'rtcp_mux':{'type':Sequelize[_0xcc1b('0x17')](_0xcc1b('0x2d'),'no'),'defaultValue':'no'},'allowmessenger':{'type':Sequelize[_0xcc1b('0x13')],'defaultValue':!![]},'phoneBarOutboundProxy':{'type':Sequelize[_0xcc1b('0x4')]},'phoneBarEnableJaws':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'phoneBarEnableScreenRecordingByAgent':{'type':Sequelize[_0xcc1b('0x13')],'defaultValue':![]},'phoneBarEnableVideoRecording':{'type':Sequelize[_0xcc1b('0x54')],'get':function(){return this[_0xcc1b('0x9')](_0xcc1b('0x55'))?this['getDataValue'](_0xcc1b('0x55')):![];}},'phoneBarEnableAutomaticScreenRecording':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'phoneBarPrefixRequired':{'type':Sequelize[_0xcc1b('0x13')],'defaultValue':![]},'hotdesk':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'interface':{'type':Sequelize[_0xcc1b('0x4')],'defaultValue':null},'privacyEnabled':{'type':Sequelize[_0xcc1b('0x13')],'defaultValue':![]},'apiKeyNonce':{'type':Sequelize['STRING'],'allowNull':!![]},'apiKeyIat':{'type':Sequelize[_0xcc1b('0x4')],'allowNull':!![]},'screenrecording':{'type':Sequelize[_0xcc1b('0x13')],'defaultValue':![],'set':function(_0x38b025){if(typeof _0x38b025===_0xcc1b('0x56')){var _0x37943e=_0x38b025==='1'?!![]:_0x38b025==='0'?![]:_0x38b025===_0xcc1b('0x57')?!![]:_0x38b025===_0xcc1b('0x58')?![]:![];this[_0xcc1b('0x6')](_0xcc1b('0x59'),_0x37943e);}else{this[_0xcc1b('0x6')](_0xcc1b('0x59'),_0x38b025);}}},'blocked':{'type':Sequelize['BOOLEAN'],'defaultValue':![],'set':function(_0x279e76){this[_0xcc1b('0x6')](_0xcc1b('0x5a'),_0x279e76);if(_0x279e76===!![]){this['setDataValue']('blockedAt',moment());this['setDataValue'](_0xcc1b('0x5b'),0x0);}else{this[_0xcc1b('0x6')](_0xcc1b('0x5c'),null);}}},'blockedAt':{'type':Sequelize[_0xcc1b('0x15')],'defaultValue':null},'loginAttempts':{'type':Sequelize[_0xcc1b('0xf')],'defaultValue':0x0},'disabled':{'type':Sequelize[_0xcc1b('0x13')],'defaultValue':![]},'settingsEnabled':{'type':Sequelize[_0xcc1b('0x13')],'defaultValue':!![]},'wssPort':{'type':Sequelize[_0xcc1b('0xf')](0x5)[_0xcc1b('0x5d')],'defaultValue':0x1f99},'downloadAttachments':{'type':Sequelize[_0xcc1b('0x13')],'defaultValue':!![]},'downloadOmnichannelInteractions':{'type':Sequelize[_0xcc1b('0x13')],'defaultValue':!![]},'downloadVoiceRecordings':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]}};
\ No newline at end of file
+var _0x8d8e=['refuse','originate','uas','fingerprint','active','passive','update','update,nonat','showWebBar','wss','avpf','force_avp','dtlsenable','dtlsverify','dtlssetup','encryption','icesupport','actpass','dtlsprivatekey','/etc/pki/tls/private/motion.key','TEXT','permissions','map','VIRTUAL','phoneBarEnableScreenRecordingByAgent','string','true','false','screenrecording','blocked','blockedAt','loginAttempts','UNSIGNED','sequelize','moment','util','exports','STRING','setDataValue','name','defaultuser','The\x20name\x20of\x20the\x20user','fullname','callerid','\x22%s\x22\x20<%s>','getDataValue','internal','email','toLowerCase','ENUM','user','telephone','INTEGER','accountcode','format','BOOLEAN','DATE','DEFAULT\x20PAUSE','dynamic','friend','peer','from-sip','ALLOWED_NOT_SCREENED','ALLOWED_FAILED_SCREEN','ALLOWED','PROHIB_NOT_SCREENED','PROHIB_PASSED_SCREEN','PROHIB_FAILED_SCREEN','udp','transport','join','split','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','String\x20is\x20deprecated.\x20Please\x20use\x20an\x20Array\x20as\x20[\x22force_rport\x22,\x20\x22comedia\x22]','all','ulaw;alaw;gsm','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'];(function(_0xf4292a,_0x6c4e92){var _0xc23235=function(_0xeb3a46){while(--_0xeb3a46){_0xf4292a['push'](_0xf4292a['shift']());}};_0xc23235(++_0x6c4e92);}(_0x8d8e,0xd9));var _0xe8d8=function(_0x2763f2,_0x416af8){_0x2763f2=_0x2763f2-0x0;var _0x3ef471=_0x8d8e[_0x2763f2];return _0x3ef471;};'use strict';var Sequelize=require(_0xe8d8('0x0'));var moment=require(_0xe8d8('0x1'));var util=require(_0xe8d8('0x2'));var _=require('lodash');module[_0xe8d8('0x3')]={'name':{'type':Sequelize[_0xe8d8('0x4')],'allowNull':![],'unique':'name','validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i},'set':function(_0x163f3c){this[_0xe8d8('0x5')](_0xe8d8('0x6'),_0x163f3c);this[_0xe8d8('0x5')](_0xe8d8('0x7'),_0x163f3c);},'comment':_0xe8d8('0x8')},'fullname':{'type':Sequelize[_0xe8d8('0x4')],'allowNull':![],'set':function(_0x3e40fb){this[_0xe8d8('0x5')](_0xe8d8('0x9'),_0x3e40fb);this['setDataValue'](_0xe8d8('0xa'),util['format'](_0xe8d8('0xb'),_0x3e40fb,this[_0xe8d8('0xc')](_0xe8d8('0xd'))));}},'alias':{'type':Sequelize[_0xe8d8('0x4')]},'email':{'type':Sequelize['STRING'],'allowNull':![],'unique':'email','validate':{'isEmail':!![]},'set':function(_0x3119c2){if(_0x3119c2){this[_0xe8d8('0x5')](_0xe8d8('0xe'),_0x3119c2[_0xe8d8('0xf')]());}}},'role':{'type':Sequelize[_0xe8d8('0x10')]('admin',_0xe8d8('0x11'),'agent',_0xe8d8('0x12')),'allowNull':![]},'password':{'type':Sequelize[_0xe8d8('0x4')],'allowNull':![],'validate':{'notEmpty':!![]}},'provider':{'type':Sequelize[_0xe8d8('0x4')],'defaultValue':'local'},'internal':{'type':Sequelize[_0xe8d8('0x13')](0xb),'allowNull':![],'unique':_0xe8d8('0xd'),'set':function(_0x5828a5){this[_0xe8d8('0x5')](_0xe8d8('0xd'),_0x5828a5);this['setDataValue'](_0xe8d8('0x14'),_0x5828a5);this['setDataValue'](_0xe8d8('0xa'),util[_0xe8d8('0x15')](_0xe8d8('0xb'),this[_0xe8d8('0xc')]('fullname'),_0x5828a5));}},'salt':{'type':Sequelize[_0xe8d8('0x4')]},'phone':{'type':Sequelize[_0xe8d8('0x4')]},'mobile':{'type':Sequelize[_0xe8d8('0x4')]},'address':{'type':Sequelize['STRING']},'zipcode':{'type':Sequelize['STRING']},'userpic':{'type':Sequelize[_0xe8d8('0x4')]},'city':{'type':Sequelize['STRING']},'country':{'type':Sequelize[_0xe8d8('0x4')]},'online':{'type':Sequelize[_0xe8d8('0x16')],'defaultValue':![]},'lastLoginAt':{'type':Sequelize[_0xe8d8('0x17')]},'voicePause':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'chatPause':{'type':Sequelize[_0xe8d8('0x16')],'defaultValue':![]},'mailPause':{'type':Sequelize[_0xe8d8('0x16')],'defaultValue':![]},'faxPause':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'smsPause':{'type':Sequelize[_0xe8d8('0x16')],'defaultValue':![]},'whatsappPause':{'type':Sequelize[_0xe8d8('0x16')],'defaultValue':![]},'openchannelPause':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'pauseType':{'type':Sequelize[_0xe8d8('0x4')],'defaultValue':_0xe8d8('0x18')},'lastPauseAt':{'type':Sequelize[_0xe8d8('0x17')]},'chatCapacity':{'type':Sequelize[_0xe8d8('0x13')],'defaultValue':0x0},'mailCapacity':{'type':Sequelize[_0xe8d8('0x13')],'defaultValue':0x0},'faxCapacity':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'smsCapacity':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'whatsappCapacity':{'type':Sequelize[_0xe8d8('0x13')],'defaultValue':0x0},'openchannelCapacity':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'phoneBarAutoAnswer':{'type':Sequelize[_0xe8d8('0x16')],'defaultValue':![]},'phoneBarEnableSettings':{'type':Sequelize[_0xe8d8('0x16')],'defaultValue':!![]},'phoneBarListenPort':{'type':Sequelize[_0xe8d8('0x13')](0x5),'defaultValue':0x1428},'phoneBarExpires':{'type':Sequelize[_0xe8d8('0x13')](0x5),'defaultValue':0x78},'phoneBarRemoteControl':{'type':Sequelize[_0xe8d8('0x16')],'defaultValue':![]},'phoneBarRemoteControlPort':{'type':Sequelize[_0xe8d8('0x13')],'defaultValue':0x26a0},'phoneBarEnableRecording':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'phoneBarRingInUse':{'type':Sequelize[_0xe8d8('0x16')],'defaultValue':![]},'chanspy':{'type':Sequelize[_0xe8d8('0x16')],'defaultValue':![]},'description':{'type':Sequelize[_0xe8d8('0x4')],'allowNull':!![]},'host':{'type':Sequelize['STRING'],'allowNull':!![],'defaultValue':_0xe8d8('0x19')},'ipaddr':{'type':Sequelize[_0xe8d8('0x4')],'allowNull':!![]},'port':{'type':Sequelize[_0xe8d8('0x13')](0x5),'allowNull':!![]},'regseconds':{'type':Sequelize[_0xe8d8('0x13')](0xb),'allowNull':!![]},'fullcontact':{'type':Sequelize['STRING'],'allowNull':!![]},'regserver':{'type':Sequelize[_0xe8d8('0x4')],'allowNull':!![]},'useragent':{'type':Sequelize[_0xe8d8('0x4')],'allowNull':!![]},'lastms':{'type':Sequelize[_0xe8d8('0x13')](0xb),'allowNull':!![]},'type':{'type':Sequelize[_0xe8d8('0x10')](_0xe8d8('0x1a'),_0xe8d8('0x11'),_0xe8d8('0x1b')),'allowNull':!![],'defaultValue':_0xe8d8('0x1a')},'context':{'type':Sequelize[_0xe8d8('0x4')],'allowNull':!![],'defaultValue':_0xe8d8('0x1c')},'callingpres':{'type':Sequelize[_0xe8d8('0x10')](_0xe8d8('0x1d'),'ALLOWED_PASSED_SCREEN',_0xe8d8('0x1e'),_0xe8d8('0x1f'),_0xe8d8('0x20'),_0xe8d8('0x21'),_0xe8d8('0x22'),'PROHIB'),'allowNull':!![]},'deny':{'type':Sequelize['STRING'],'allowNull':!![]},'permit':{'type':Sequelize[_0xe8d8('0x4')],'allowNull':!![]},'secret':{'type':Sequelize['STRING'],'allowNull':!![]},'md5secret':{'type':Sequelize[_0xe8d8('0x4')],'allowNull':!![]},'remotesecret':{'type':Sequelize[_0xe8d8('0x4')],'allowNull':!![]},'transport':{'type':Sequelize[_0xe8d8('0x4')],'allowNull':!![],'defaultValue':_0xe8d8('0x23'),'set':function(_0x3e1571){this[_0xe8d8('0x5')](_0xe8d8('0x24'),_0x3e1571?_0x3e1571[_0xe8d8('0x25')](','):null);},'get':function(){return this[_0xe8d8('0xc')](_0xe8d8('0x24'))?this[_0xe8d8('0xc')](_0xe8d8('0x24'))[_0xe8d8('0x26')](','):null;},'comment':_0xe8d8('0x27')},'dtmfmode':{'type':Sequelize['ENUM']('rfc2833',_0xe8d8('0x28'),_0xe8d8('0x29'),_0xe8d8('0x2a'),_0xe8d8('0x2b')),'allowNull':!![],'defaultValue':_0xe8d8('0x2c')},'directmedia':{'type':Sequelize[_0xe8d8('0x10')](_0xe8d8('0x2d'),'no',_0xe8d8('0x2e'),'update',_0xe8d8('0x2f')),'allowNull':!![],'defaultValue':'no'},'directrtpsetup':{'type':Sequelize['ENUM'](_0xe8d8('0x2d'),'no'),'allowNull':!![],'defaultValue':'no'},'directmediapermit':{'type':Sequelize['STRING'],'allowNull':!![]},'directmediadeny':{'type':Sequelize[_0xe8d8('0x4')],'allowNull':!![]},'nat':{'type':Sequelize[_0xe8d8('0x4')],'allowNull':!![],'defaultValue':_0xe8d8('0x30'),'set':function(_0x11dce5){this[_0xe8d8('0x5')](_0xe8d8('0x31'),_0x11dce5?_0x11dce5[_0xe8d8('0x25')](','):null);},'get':function(){return this['getDataValue']('nat')?this[_0xe8d8('0xc')]('nat')[_0xe8d8('0x26')](','):null;},'comment':_0xe8d8('0x32')},'callgroup':{'type':Sequelize[_0xe8d8('0x4')]},'namedcallgroup':{'type':Sequelize[_0xe8d8('0x4')]},'pickupgroup':{'type':Sequelize['STRING']},'namedpickupgroup':{'type':Sequelize['STRING']},'language':{'type':Sequelize[_0xe8d8('0x4')],'defaultValue':'en'},'tonezone':{'type':Sequelize[_0xe8d8('0x4')]},'disallow':{'type':Sequelize['STRING'],'allowNull':![],'defaultValue':_0xe8d8('0x33')},'allow':{'type':Sequelize[_0xe8d8('0x4')],'allowNull':![],'defaultValue':_0xe8d8('0x34'),'set':function(_0x36b37b){this[_0xe8d8('0x5')]('allow',_0x36b37b?_0x36b37b[_0xe8d8('0x25')](';'):'ulaw;alaw;gsm');},'get':function(){return this[_0xe8d8('0xc')]('allow')?this[_0xe8d8('0xc')]('allow')['split'](';'):null;},'comment':_0xe8d8('0x35')},'autoframing':{'type':Sequelize[_0xe8d8('0x10')](_0xe8d8('0x2d'),'no'),'allowNull':!![]},'insecure':{'type':Sequelize[_0xe8d8('0x4')],'allowNull':!![],'set':function(_0x1d20f1){this[_0xe8d8('0x5')]('insecure',_0x1d20f1?_0x1d20f1['join'](','):null);},'get':function(){return this[_0xe8d8('0xc')](_0xe8d8('0x36'))?this[_0xe8d8('0xc')](_0xe8d8('0x36'))[_0xe8d8('0x26')](','):null;},'comment':_0xe8d8('0x37')},'trustrpid':{'type':Sequelize['ENUM'](_0xe8d8('0x2d'),'no'),'allowNull':!![],'defaultValue':'no'},'trust_id_outbound':{'type':Sequelize['ENUM'](_0xe8d8('0x2d'),'no'),'allowNull':!![],'defaultValue':'no'},'progressinband':{'type':Sequelize[_0xe8d8('0x10')](_0xe8d8('0x2d'),'no',_0xe8d8('0x38')),'allowNull':!![]},'promiscredir':{'type':Sequelize['ENUM'](_0xe8d8('0x2d'),'no'),'allowNull':!![]},'useclientcode':{'type':Sequelize[_0xe8d8('0x10')](_0xe8d8('0x2d'),'no'),'allowNull':!![]},'accountcode':{'type':Sequelize[_0xe8d8('0x13')](0xb),'allowNull':!![]},'setvar':{'type':Sequelize[_0xe8d8('0x4')],'allowNull':!![]},'callerid':{'type':Sequelize['STRING'],'allowNull':!![],'defaultValue':'\x22\x22\x20<>'},'amaflags':{'type':Sequelize['STRING'],'allowNull':!![]},'callcounter':{'type':Sequelize['ENUM'](_0xe8d8('0x2d'),'no'),'allowNull':!![],'defaultValue':_0xe8d8('0x2d')},'busylevel':{'type':Sequelize['INTEGER'](0xb),'allowNull':!![]},'allowoverlap':{'type':Sequelize[_0xe8d8('0x10')](_0xe8d8('0x2d'),'no'),'allowNull':!![]},'allowsubscribe':{'type':Sequelize[_0xe8d8('0x10')](_0xe8d8('0x2d'),'no'),'allowNull':!![]},'allowtransfer':{'type':Sequelize['ENUM'](_0xe8d8('0x2d'),'no'),'allowNull':!![]},'ignoresdpversion':{'type':Sequelize[_0xe8d8('0x10')]('yes','no'),'allowNull':!![]},'subscribecontext':{'type':Sequelize['STRING'],'allowNull':!![]},'template':{'type':Sequelize[_0xe8d8('0x4')],'allowNull':!![]},'videosupport':{'type':Sequelize[_0xe8d8('0x10')](_0xe8d8('0x2d'),'no',_0xe8d8('0x39')),'allowNull':!![],'defaultValue':'no'},'maxcallbitrate':{'type':Sequelize[_0xe8d8('0x13')](0xb),'allowNull':!![]},'rfc2833compensate':{'type':Sequelize[_0xe8d8('0x10')](_0xe8d8('0x2d'),'no'),'allowNull':!![]},'mailbox':{'type':Sequelize[_0xe8d8('0x4')],'allowNull':!![]},'session_timers':{'type':Sequelize[_0xe8d8('0x10')](_0xe8d8('0x3a'),_0xe8d8('0x3b'),_0xe8d8('0x3c')),'allowNull':!![]},'session_expires':{'type':Sequelize['INTEGER'](0xb),'allowNull':!![]},'session_minse':{'type':Sequelize[_0xe8d8('0x13')](0xb),'allowNull':!![]},'session_refresher':{'type':Sequelize[_0xe8d8('0x10')]('uac',_0xe8d8('0x3d')),'allowNull':!![],'defaultValue':'uas'},'t38pt_usertpsource':{'type':Sequelize[_0xe8d8('0x4')],'allowNull':!![]},'regexten':{'type':Sequelize[_0xe8d8('0x4')],'allowNull':!![]},'fromdomain':{'type':Sequelize[_0xe8d8('0x4')],'allowNull':!![]},'fromuser':{'type':Sequelize[_0xe8d8('0x4')],'allowNull':!![]},'qualify':{'type':Sequelize[_0xe8d8('0x10')](_0xe8d8('0x2d'),'no'),'allowNull':!![],'defaultValue':_0xe8d8('0x2d')},'keepalive':{'type':Sequelize[_0xe8d8('0x13')](0xb),'allowNull':!![]},'defaultip':{'type':Sequelize['STRING'],'allowNull':!![]},'defaultuser':{'type':Sequelize[_0xe8d8('0x4')],'allowNull':!![]},'rtptimeout':{'type':Sequelize[_0xe8d8('0x13')](0xb),'allowNull':!![]},'rtpholdtimeout':{'type':Sequelize[_0xe8d8('0x13')](0xb),'allowNull':!![]},'rtpkeepalive':{'type':Sequelize[_0xe8d8('0x13')](0xb),'allowNull':!![]},'sendrpid':{'type':Sequelize[_0xe8d8('0x10')](_0xe8d8('0x2d'),'no'),'allowNull':!![],'defaultValue':'no'},'outboundproxy':{'type':Sequelize[_0xe8d8('0x4')],'allowNull':!![]},'callbackextension':{'type':Sequelize['STRING'],'allowNull':!![]},'timert1':{'type':Sequelize['INTEGER'](0xb),'allowNull':!![]},'timerb':{'type':Sequelize[_0xe8d8('0x13')](0xb),'allowNull':!![]},'qualifyfreq':{'type':Sequelize[_0xe8d8('0x13')](0xb),'allowNull':!![]},'contactpermit':{'type':Sequelize[_0xe8d8('0x4')],'allowNull':!![]},'contactdeny':{'type':Sequelize[_0xe8d8('0x4')],'allowNull':!![]},'contactacl':{'type':Sequelize['STRING'],'allowNull':!![]},'unsolicited_mailbox':{'type':Sequelize[_0xe8d8('0x4')],'allowNull':!![]},'use_q850_reason':{'type':Sequelize[_0xe8d8('0x4')],'allowNull':!![]},'maxforwards':{'type':Sequelize[_0xe8d8('0x13')](0xb),'allowNull':!![]},'encryption':{'type':Sequelize['ENUM'](_0xe8d8('0x2d'),'no'),'allowNull':!![],'defaultValue':'no'},'avpf':{'type':Sequelize[_0xe8d8('0x10')](_0xe8d8('0x2d'),'no'),'allowNull':!![]},'force_avp':{'type':Sequelize[_0xe8d8('0x10')]('yes','no'),'allowNull':!![]},'icesupport':{'type':Sequelize[_0xe8d8('0x10')](_0xe8d8('0x2d'),'no'),'allowNull':!![]},'dtlsenable':{'type':Sequelize[_0xe8d8('0x10')](_0xe8d8('0x2d'),'no'),'allowNull':!![]},'dtlsverify':{'type':Sequelize[_0xe8d8('0x10')](_0xe8d8('0x2d'),'no',_0xe8d8('0x3e'),'certificate'),'allowNull':!![]},'dtlsrekey':{'type':Sequelize[_0xe8d8('0x13')](0xb),'allowNull':!![]},'dtlscertfile':{'type':Sequelize[_0xe8d8('0x4')],'allowNull':!![]},'dtlsprivatekey':{'type':Sequelize[_0xe8d8('0x4')],'allowNull':!![]},'dtlscipher':{'type':Sequelize[_0xe8d8('0x4')],'allowNull':!![]},'dtlscafile':{'type':Sequelize['STRING'],'allowNull':!![]},'dtlscapath':{'type':Sequelize[_0xe8d8('0x4')],'allowNull':!![]},'dtlssetup':{'type':Sequelize[_0xe8d8('0x10')](_0xe8d8('0x3f'),_0xe8d8('0x40'),'actpass'),'allowNull':!![]},'dtlsfingerprint':{'type':Sequelize[_0xe8d8('0x4')],'allowNull':!![]},'usereqphone':{'type':Sequelize['ENUM']('yes','no'),'allowNull':!![],'defaultValue':'no'},'recordonfeature':{'type':Sequelize['STRING'],'allowNull':!![]},'recordofffeature':{'type':Sequelize[_0xe8d8('0x4')],'allowNull':!![]},'call_limit':{'type':Sequelize[_0xe8d8('0x13')](0xb),'allowNull':!![],'defaultValue':0xa},'registertrying':{'type':Sequelize['ENUM'](_0xe8d8('0x2d'),'no'),'allowNull':!![]},'subscribemwi':{'type':Sequelize[_0xe8d8('0x10')](_0xe8d8('0x2d'),'no'),'allowNull':!![]},'vmexten':{'type':Sequelize[_0xe8d8('0x4')],'allowNull':!![]},'mohinterpret':{'type':Sequelize[_0xe8d8('0x4')],'allowNull':!![]},'mohsuggest':{'type':Sequelize[_0xe8d8('0x4')],'allowNull':!![]},'parkinglot':{'type':Sequelize[_0xe8d8('0x4')],'allowNull':!![]},'canreinvite':{'type':Sequelize[_0xe8d8('0x10')](_0xe8d8('0x2d'),'no','nonat',_0xe8d8('0x41'),_0xe8d8('0x42')),'allowNull':!![],'defaultValue':'no'},'loginInPause':{'type':Sequelize[_0xe8d8('0x16')],'defaultValue':![]},'resetPasswordToken':{'type':Sequelize['STRING']},'resetPasswordExpires':{'type':Sequelize['DATE']},'passwordResetAt':{'type':Sequelize['DATE'],'defaultValue':null},'previousPasswords':{'type':Sequelize['TEXT']},'showWebBar':{'type':Sequelize[_0xe8d8('0x13')],'defaultValue':0x0,'set':function(_0x18b081){this[_0xe8d8('0x5')](_0xe8d8('0x43'),_0x18b081);var _0x5073dd=this['get']({'plain':!![]});switch(_0x18b081){case 0x0:case 0x1:var _0x5f436a=_0x5073dd['transport']?_['isArray'](_0x5073dd[_0xe8d8('0x24')])?_0x5073dd[_0xe8d8('0x24')]['join']():_0x5073dd[_0xe8d8('0x24')]:_0xe8d8('0x23');if(_0x5f436a===_0xe8d8('0x44')){_0x5f436a='udp';}this['setDataValue']('transport',_0x5f436a);this['setDataValue']('encryption','no');this['setDataValue'](_0xe8d8('0x45'),null);this[_0xe8d8('0x5')](_0xe8d8('0x46'),null);this[_0xe8d8('0x5')]('icesupport',null);this[_0xe8d8('0x5')](_0xe8d8('0x47'),null);this[_0xe8d8('0x5')](_0xe8d8('0x48'),null);this[_0xe8d8('0x5')](_0xe8d8('0x49'),null);this[_0xe8d8('0x5')]('dtlscertfile',null);this['setDataValue']('dtlsprivatekey',null);this[_0xe8d8('0x5')]('rtcp_mux','no');break;case 0x2:this[_0xe8d8('0x5')](_0xe8d8('0x24'),'wss');this['setDataValue'](_0xe8d8('0x4a'),_0xe8d8('0x2d'));this[_0xe8d8('0x5')](_0xe8d8('0x45'),'yes');this[_0xe8d8('0x5')](_0xe8d8('0x46'),_0xe8d8('0x2d'));this[_0xe8d8('0x5')](_0xe8d8('0x4b'),_0xe8d8('0x2d'));this[_0xe8d8('0x5')](_0xe8d8('0x47'),'yes');this['setDataValue'](_0xe8d8('0x48'),'no');this[_0xe8d8('0x5')](_0xe8d8('0x49'),_0xe8d8('0x4c'));this[_0xe8d8('0x5')]('dtlscertfile',_0x5073dd['dtlscertfile']||'/etc/pki/tls/certs/motion.crt');this[_0xe8d8('0x5')](_0xe8d8('0x4d'),_0x5073dd[_0xe8d8('0x4d')]||_0xe8d8('0x4e'));this[_0xe8d8('0x5')]('rtcp_mux',_0xe8d8('0x2d'));break;default:}}},'permissions':{'type':Sequelize[_0xe8d8('0x4f')],'set':function(_0x4629db){this['setDataValue'](_0xe8d8('0x50'),_0x4629db?_0x4629db[_0xe8d8('0x25')](','):[]);},'get':function(){return this[_0xe8d8('0xc')](_0xe8d8('0x50'))?_[_0xe8d8('0x51')](this[_0xe8d8('0xc')](_0xe8d8('0x50'))[_0xe8d8('0x26')](','),function(_0x425e0a){return parseInt(_0x425e0a,0xa);}):[];}},'phoneBarUnconditionalNumber':{'type':Sequelize['STRING']},'phoneBarNoReplyNumber':{'type':Sequelize['STRING']},'phoneBarBusyNumber':{'type':Sequelize[_0xe8d8('0x4')]},'phoneBarUnconditional':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'phoneBarNoReply':{'type':Sequelize[_0xe8d8('0x16')],'defaultValue':![]},'phoneBarBusy':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'phoneBarDnd':{'type':Sequelize[_0xe8d8('0x16')],'defaultValue':!![]},'phoneBarUnansweredCallBadge':{'type':Sequelize[_0xe8d8('0x16')],'defaultValue':!![]},'phoneBarEnableDtmfTone':{'type':Sequelize[_0xe8d8('0x16')],'defaultValue':![]},'phoneBarAutoAnswerDelay':{'type':Sequelize[_0xe8d8('0x13')],'defaultValue':0x0},'extensionMonitor':{'type':Sequelize[_0xe8d8('0x4')],'defaultValue':''},'crudPermissions':{'type':Sequelize[_0xe8d8('0x13')],'defaultValue':0x0},'rtcp_mux':{'type':Sequelize[_0xe8d8('0x10')]('yes','no'),'defaultValue':'no'},'allowmessenger':{'type':Sequelize[_0xe8d8('0x16')],'defaultValue':!![]},'phoneBarOutboundProxy':{'type':Sequelize[_0xe8d8('0x4')]},'phoneBarEnableJaws':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'phoneBarEnableScreenRecordingByAgent':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'phoneBarEnableVideoRecording':{'type':Sequelize[_0xe8d8('0x52')],'get':function(){return this[_0xe8d8('0xc')](_0xe8d8('0x53'))?this[_0xe8d8('0xc')]('phoneBarEnableScreenRecordingByAgent'):![];}},'phoneBarEnableAutomaticScreenRecording':{'type':Sequelize[_0xe8d8('0x16')],'defaultValue':![]},'phoneBarPrefixRequired':{'type':Sequelize[_0xe8d8('0x16')],'defaultValue':![]},'hotdesk':{'type':Sequelize[_0xe8d8('0x16')],'defaultValue':![]},'interface':{'type':Sequelize[_0xe8d8('0x4')],'defaultValue':null},'privacyEnabled':{'type':Sequelize[_0xe8d8('0x16')],'defaultValue':![]},'apiKeyNonce':{'type':Sequelize[_0xe8d8('0x4')],'allowNull':!![]},'apiKeyIat':{'type':Sequelize[_0xe8d8('0x4')],'allowNull':!![]},'screenrecording':{'type':Sequelize[_0xe8d8('0x16')],'defaultValue':![],'set':function(_0x3288bd){if(typeof _0x3288bd===_0xe8d8('0x54')){var _0xe02c35=_0x3288bd==='1'?!![]:_0x3288bd==='0'?![]:_0x3288bd===_0xe8d8('0x55')?!![]:_0x3288bd===_0xe8d8('0x56')?![]:![];this['setDataValue'](_0xe8d8('0x57'),_0xe02c35);}else{this['setDataValue'](_0xe8d8('0x57'),_0x3288bd);}}},'blocked':{'type':Sequelize[_0xe8d8('0x16')],'defaultValue':![],'set':function(_0x41db51){this[_0xe8d8('0x5')](_0xe8d8('0x58'),_0x41db51);if(_0x41db51===!![]){this[_0xe8d8('0x5')](_0xe8d8('0x59'),moment());this[_0xe8d8('0x5')](_0xe8d8('0x5a'),0x0);}else{this[_0xe8d8('0x5')]('blockedAt',null);}}},'blockedAt':{'type':Sequelize[_0xe8d8('0x17')],'defaultValue':null},'loginAttempts':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'disabled':{'type':Sequelize[_0xe8d8('0x16')],'defaultValue':![]},'settingsEnabled':{'type':Sequelize[_0xe8d8('0x16')],'defaultValue':!![]},'wssPort':{'type':Sequelize['INTEGER'](0x5)[_0xe8d8('0x5b')],'defaultValue':0x1f99},'downloadAttachments':{'type':Sequelize[_0xe8d8('0x16')],'defaultValue':!![]},'downloadOmnichannelInteractions':{'type':Sequelize[_0xe8d8('0x16')],'defaultValue':!![]},'downloadVoiceRecordings':{'type':Sequelize[_0xe8d8('0x16')],'defaultValue':!![]}};
\ No newline at end of file