Built motion from commit 7158bc59.|2.5.42
[motion2.git] / server / api / user / user.attributes.js
index d4d2156..d42f72c 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x3445=['\x22\x22\x20<>','always','uac','uas','fingerprint','certificate','active','passive','update,nonat','TEXT','showWebBar','isArray','wss','udp','encryption','avpf','icesupport','dtlsenable','dtlsverify','dtlssetup','dtlscertfile','dtlsprivatekey','actpass','/etc/pki/tls/certs/motion.crt','/etc/pki/tls/private/motion.key','rtcp_mux','permissions','map','VIRTUAL','phoneBarEnableScreenRecordingByAgent','true','false','screenrecording','blocked','loginAttempts','blockedAt','sequelize','moment','lodash','exports','STRING','name','setDataValue','fullname','callerid','\x22%s\x22\x20<%s>','getDataValue','internal','email','toLowerCase','admin','user','agent','telephone','local','INTEGER','format','BOOLEAN','DATE','DEFAULT\x20PAUSE','dynamic','ENUM','peer','from-sip','ALLOWED_FAILED_SCREEN','ALLOWED','PROHIB_NOT_SCREENED','PROHIB_PASSED_SCREEN','PROHIB_FAILED_SCREEN','PROHIB','transport','split','String\x20is\x20deprecated.\x20Please\x20use\x20an\x20Array\x20as\x20[\x22udp\x22,\x20\x22tcp\x22]','rfc2833','info','shortinfo','inband','auto','nonat','update','outgoing','yes','force_rport,comedia','nat','join','ulaw;alaw;gsm','allow','insecure','String\x20is\x20deprecated.\x20Please\x20use\x20an\x20Array\x20as\x20[\x22port\x22,\x20\x22invite\x22]','never'];(function(_0x39cd3c,_0xa21102){var _0x47a0ae=function(_0x330b05){while(--_0x330b05){_0x39cd3c['push'](_0x39cd3c['shift']());}};_0x47a0ae(++_0xa21102);}(_0x3445,0x132));var _0x5344=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x3445[_0x3dd15e];return _0x231fd0;};'use strict';var Sequelize=require(_0x5344('0x0'));var moment=require(_0x5344('0x1'));var util=require('util');var _=require(_0x5344('0x2'));module[_0x5344('0x3')]={'name':{'type':Sequelize[_0x5344('0x4')],'allowNull':![],'unique':_0x5344('0x5'),'validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i},'set':function(_0x35cb3e){this[_0x5344('0x6')](_0x5344('0x5'),_0x35cb3e);this[_0x5344('0x6')]('defaultuser',_0x35cb3e);},'comment':'The\x20name\x20of\x20the\x20user'},'fullname':{'type':Sequelize['STRING'],'allowNull':![],'set':function(_0x29fead){this[_0x5344('0x6')](_0x5344('0x7'),_0x29fead);this['setDataValue'](_0x5344('0x8'),util['format'](_0x5344('0x9'),_0x29fead,this[_0x5344('0xa')](_0x5344('0xb'))));}},'alias':{'type':Sequelize[_0x5344('0x4')]},'email':{'type':Sequelize[_0x5344('0x4')],'allowNull':![],'unique':_0x5344('0xc'),'validate':{'isEmail':!![]},'set':function(_0x3225bf){if(_0x3225bf){this['setDataValue'](_0x5344('0xc'),_0x3225bf[_0x5344('0xd')]());}}},'role':{'type':Sequelize['ENUM'](_0x5344('0xe'),_0x5344('0xf'),_0x5344('0x10'),_0x5344('0x11')),'allowNull':![]},'password':{'type':Sequelize[_0x5344('0x4')],'allowNull':![],'validate':{'notEmpty':!![]}},'provider':{'type':Sequelize['STRING'],'defaultValue':_0x5344('0x12')},'internal':{'type':Sequelize[_0x5344('0x13')](0xb),'allowNull':![],'unique':_0x5344('0xb'),'set':function(_0x21a2b3){this[_0x5344('0x6')](_0x5344('0xb'),_0x21a2b3);this[_0x5344('0x6')]('accountcode',_0x21a2b3);this[_0x5344('0x6')]('callerid',util[_0x5344('0x14')]('\x22%s\x22\x20<%s>',this[_0x5344('0xa')](_0x5344('0x7')),_0x21a2b3));}},'salt':{'type':Sequelize[_0x5344('0x4')]},'phone':{'type':Sequelize[_0x5344('0x4')]},'mobile':{'type':Sequelize['STRING']},'address':{'type':Sequelize[_0x5344('0x4')]},'zipcode':{'type':Sequelize[_0x5344('0x4')]},'userpic':{'type':Sequelize[_0x5344('0x4')]},'city':{'type':Sequelize[_0x5344('0x4')]},'country':{'type':Sequelize['STRING']},'online':{'type':Sequelize[_0x5344('0x15')],'defaultValue':![]},'lastLoginAt':{'type':Sequelize[_0x5344('0x16')]},'voicePause':{'type':Sequelize[_0x5344('0x15')],'defaultValue':![]},'chatPause':{'type':Sequelize[_0x5344('0x15')],'defaultValue':![]},'mailPause':{'type':Sequelize[_0x5344('0x15')],'defaultValue':![]},'faxPause':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'smsPause':{'type':Sequelize[_0x5344('0x15')],'defaultValue':![]},'whatsappPause':{'type':Sequelize[_0x5344('0x15')],'defaultValue':![]},'openchannelPause':{'type':Sequelize[_0x5344('0x15')],'defaultValue':![]},'pauseType':{'type':Sequelize[_0x5344('0x4')],'defaultValue':_0x5344('0x17')},'lastPauseAt':{'type':Sequelize[_0x5344('0x16')]},'chatCapacity':{'type':Sequelize[_0x5344('0x13')],'defaultValue':0x0},'mailCapacity':{'type':Sequelize[_0x5344('0x13')],'defaultValue':0x0},'faxCapacity':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'smsCapacity':{'type':Sequelize[_0x5344('0x13')],'defaultValue':0x0},'whatsappCapacity':{'type':Sequelize[_0x5344('0x13')],'defaultValue':0x0},'openchannelCapacity':{'type':Sequelize[_0x5344('0x13')],'defaultValue':0x0},'phoneBarAutoAnswer':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'phoneBarEnableSettings':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'phoneBarListenPort':{'type':Sequelize[_0x5344('0x13')](0x5),'defaultValue':0x1428},'phoneBarExpires':{'type':Sequelize[_0x5344('0x13')](0x5),'defaultValue':0x78},'phoneBarRemoteControl':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'phoneBarRemoteControlPort':{'type':Sequelize[_0x5344('0x13')],'defaultValue':0x26a0},'phoneBarEnableRecording':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'phoneBarRingInUse':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'chanspy':{'type':Sequelize[_0x5344('0x15')],'defaultValue':![]},'description':{'type':Sequelize[_0x5344('0x4')],'allowNull':!![]},'host':{'type':Sequelize[_0x5344('0x4')],'allowNull':!![],'defaultValue':_0x5344('0x18')},'ipaddr':{'type':Sequelize[_0x5344('0x4')],'allowNull':!![]},'port':{'type':Sequelize[_0x5344('0x13')](0x5),'allowNull':!![]},'regseconds':{'type':Sequelize['INTEGER'](0xb),'allowNull':!![]},'fullcontact':{'type':Sequelize[_0x5344('0x4')],'allowNull':!![]},'regserver':{'type':Sequelize[_0x5344('0x4')],'allowNull':!![]},'useragent':{'type':Sequelize[_0x5344('0x4')],'allowNull':!![]},'lastms':{'type':Sequelize[_0x5344('0x13')](0xb),'allowNull':!![]},'type':{'type':Sequelize[_0x5344('0x19')]('friend',_0x5344('0xf'),_0x5344('0x1a')),'allowNull':!![],'defaultValue':'friend'},'context':{'type':Sequelize[_0x5344('0x4')],'allowNull':!![],'defaultValue':_0x5344('0x1b')},'callingpres':{'type':Sequelize[_0x5344('0x19')]('ALLOWED_NOT_SCREENED','ALLOWED_PASSED_SCREEN',_0x5344('0x1c'),_0x5344('0x1d'),_0x5344('0x1e'),_0x5344('0x1f'),_0x5344('0x20'),_0x5344('0x21')),'allowNull':!![]},'deny':{'type':Sequelize['STRING'],'allowNull':!![]},'permit':{'type':Sequelize['STRING'],'allowNull':!![]},'secret':{'type':Sequelize[_0x5344('0x4')],'allowNull':!![]},'md5secret':{'type':Sequelize[_0x5344('0x4')],'allowNull':!![]},'remotesecret':{'type':Sequelize[_0x5344('0x4')],'allowNull':!![]},'transport':{'type':Sequelize[_0x5344('0x4')],'allowNull':!![],'defaultValue':'udp','set':function(_0x30250e){this[_0x5344('0x6')]('transport',_0x30250e?_0x30250e['join'](','):null);},'get':function(){return this['getDataValue'](_0x5344('0x22'))?this[_0x5344('0xa')]('transport')[_0x5344('0x23')](','):null;},'comment':_0x5344('0x24')},'dtmfmode':{'type':Sequelize[_0x5344('0x19')](_0x5344('0x25'),_0x5344('0x26'),_0x5344('0x27'),_0x5344('0x28'),_0x5344('0x29')),'allowNull':!![],'defaultValue':_0x5344('0x25')},'directmedia':{'type':Sequelize[_0x5344('0x19')]('yes','no',_0x5344('0x2a'),_0x5344('0x2b'),_0x5344('0x2c')),'allowNull':!![],'defaultValue':'no'},'directrtpsetup':{'type':Sequelize[_0x5344('0x19')](_0x5344('0x2d'),'no'),'allowNull':!![],'defaultValue':'no'},'directmediapermit':{'type':Sequelize[_0x5344('0x4')],'allowNull':!![]},'directmediadeny':{'type':Sequelize[_0x5344('0x4')],'allowNull':!![]},'nat':{'type':Sequelize[_0x5344('0x4')],'allowNull':!![],'defaultValue':_0x5344('0x2e'),'set':function(_0x33973d){this[_0x5344('0x6')](_0x5344('0x2f'),_0x33973d?_0x33973d[_0x5344('0x30')](','):null);},'get':function(){return this[_0x5344('0xa')](_0x5344('0x2f'))?this['getDataValue'](_0x5344('0x2f'))[_0x5344('0x23')](','):null;},'comment':'String\x20is\x20deprecated.\x20Please\x20use\x20an\x20Array\x20as\x20[\x22force_rport\x22,\x20\x22comedia\x22]'},'callgroup':{'type':Sequelize[_0x5344('0x4')]},'namedcallgroup':{'type':Sequelize[_0x5344('0x4')]},'pickupgroup':{'type':Sequelize[_0x5344('0x4')]},'namedpickupgroup':{'type':Sequelize[_0x5344('0x4')]},'language':{'type':Sequelize['STRING'],'defaultValue':'en'},'tonezone':{'type':Sequelize[_0x5344('0x4')]},'disallow':{'type':Sequelize['STRING'],'allowNull':![],'defaultValue':'all'},'allow':{'type':Sequelize[_0x5344('0x4')],'allowNull':![],'defaultValue':_0x5344('0x31'),'set':function(_0x3d3a10){this['setDataValue'](_0x5344('0x32'),_0x3d3a10?_0x3d3a10[_0x5344('0x30')](';'):_0x5344('0x31'));},'get':function(){return this[_0x5344('0xa')]('allow')?this[_0x5344('0xa')](_0x5344('0x32'))[_0x5344('0x23')](';'):null;},'comment':'String\x20is\x20deprecated.\x20Please\x20use\x20an\x20Array\x20as\x20[\x22ulaw\x22,\x20\x22alaw\x22,\x20\x22gsm\x22]'},'autoframing':{'type':Sequelize['ENUM'](_0x5344('0x2d'),'no'),'allowNull':!![]},'insecure':{'type':Sequelize[_0x5344('0x4')],'allowNull':!![],'set':function(_0x41a8a3){this['setDataValue'](_0x5344('0x33'),_0x41a8a3?_0x41a8a3[_0x5344('0x30')](','):null);},'get':function(){return this[_0x5344('0xa')](_0x5344('0x33'))?this[_0x5344('0xa')](_0x5344('0x33'))[_0x5344('0x23')](','):null;},'comment':_0x5344('0x34')},'trustrpid':{'type':Sequelize[_0x5344('0x19')]('yes','no'),'allowNull':!![],'defaultValue':'no'},'trust_id_outbound':{'type':Sequelize[_0x5344('0x19')](_0x5344('0x2d'),'no'),'allowNull':!![],'defaultValue':'no'},'progressinband':{'type':Sequelize[_0x5344('0x19')](_0x5344('0x2d'),'no',_0x5344('0x35')),'allowNull':!![]},'promiscredir':{'type':Sequelize[_0x5344('0x19')]('yes','no'),'allowNull':!![]},'useclientcode':{'type':Sequelize[_0x5344('0x19')]('yes','no'),'allowNull':!![]},'accountcode':{'type':Sequelize[_0x5344('0x13')](0xb),'allowNull':!![]},'setvar':{'type':Sequelize[_0x5344('0x4')],'allowNull':!![]},'callerid':{'type':Sequelize[_0x5344('0x4')],'allowNull':!![],'defaultValue':_0x5344('0x36')},'amaflags':{'type':Sequelize['STRING'],'allowNull':!![]},'callcounter':{'type':Sequelize[_0x5344('0x19')](_0x5344('0x2d'),'no'),'allowNull':!![],'defaultValue':'yes'},'busylevel':{'type':Sequelize['INTEGER'](0xb),'allowNull':!![]},'allowoverlap':{'type':Sequelize[_0x5344('0x19')]('yes','no'),'allowNull':!![]},'allowsubscribe':{'type':Sequelize[_0x5344('0x19')](_0x5344('0x2d'),'no'),'allowNull':!![]},'allowtransfer':{'type':Sequelize[_0x5344('0x19')](_0x5344('0x2d'),'no'),'allowNull':!![]},'ignoresdpversion':{'type':Sequelize['ENUM'](_0x5344('0x2d'),'no'),'allowNull':!![]},'subscribecontext':{'type':Sequelize[_0x5344('0x4')],'allowNull':!![]},'template':{'type':Sequelize[_0x5344('0x4')],'allowNull':!![]},'videosupport':{'type':Sequelize['ENUM'](_0x5344('0x2d'),'no',_0x5344('0x37')),'allowNull':!![],'defaultValue':'no'},'maxcallbitrate':{'type':Sequelize[_0x5344('0x13')](0xb),'allowNull':!![]},'rfc2833compensate':{'type':Sequelize[_0x5344('0x19')]('yes','no'),'allowNull':!![]},'mailbox':{'type':Sequelize[_0x5344('0x4')],'allowNull':!![]},'session_timers':{'type':Sequelize[_0x5344('0x19')]('accept','refuse','originate'),'allowNull':!![]},'session_expires':{'type':Sequelize[_0x5344('0x13')](0xb),'allowNull':!![]},'session_minse':{'type':Sequelize[_0x5344('0x13')](0xb),'allowNull':!![]},'session_refresher':{'type':Sequelize[_0x5344('0x19')](_0x5344('0x38'),_0x5344('0x39')),'allowNull':!![],'defaultValue':'uas'},'t38pt_usertpsource':{'type':Sequelize[_0x5344('0x4')],'allowNull':!![]},'regexten':{'type':Sequelize['STRING'],'allowNull':!![]},'fromdomain':{'type':Sequelize[_0x5344('0x4')],'allowNull':!![]},'fromuser':{'type':Sequelize[_0x5344('0x4')],'allowNull':!![]},'qualify':{'type':Sequelize[_0x5344('0x19')](_0x5344('0x2d'),'no'),'allowNull':!![],'defaultValue':'yes'},'keepalive':{'type':Sequelize[_0x5344('0x13')](0xb),'allowNull':!![]},'defaultip':{'type':Sequelize[_0x5344('0x4')],'allowNull':!![]},'defaultuser':{'type':Sequelize[_0x5344('0x4')],'allowNull':!![]},'rtptimeout':{'type':Sequelize['INTEGER'](0xb),'allowNull':!![]},'rtpholdtimeout':{'type':Sequelize[_0x5344('0x13')](0xb),'allowNull':!![]},'rtpkeepalive':{'type':Sequelize['INTEGER'](0xb),'allowNull':!![]},'sendrpid':{'type':Sequelize[_0x5344('0x19')](_0x5344('0x2d'),'no'),'allowNull':!![],'defaultValue':'no'},'outboundproxy':{'type':Sequelize[_0x5344('0x4')],'allowNull':!![]},'callbackextension':{'type':Sequelize[_0x5344('0x4')],'allowNull':!![]},'timert1':{'type':Sequelize[_0x5344('0x13')](0xb),'allowNull':!![]},'timerb':{'type':Sequelize['INTEGER'](0xb),'allowNull':!![]},'qualifyfreq':{'type':Sequelize[_0x5344('0x13')](0xb),'allowNull':!![]},'contactpermit':{'type':Sequelize[_0x5344('0x4')],'allowNull':!![]},'contactdeny':{'type':Sequelize[_0x5344('0x4')],'allowNull':!![]},'contactacl':{'type':Sequelize['STRING'],'allowNull':!![]},'unsolicited_mailbox':{'type':Sequelize[_0x5344('0x4')],'allowNull':!![]},'use_q850_reason':{'type':Sequelize[_0x5344('0x4')],'allowNull':!![]},'maxforwards':{'type':Sequelize[_0x5344('0x13')](0xb),'allowNull':!![]},'encryption':{'type':Sequelize['ENUM'](_0x5344('0x2d'),'no'),'allowNull':!![],'defaultValue':'no'},'avpf':{'type':Sequelize['ENUM'](_0x5344('0x2d'),'no'),'allowNull':!![]},'force_avp':{'type':Sequelize[_0x5344('0x19')]('yes','no'),'allowNull':!![]},'icesupport':{'type':Sequelize[_0x5344('0x19')](_0x5344('0x2d'),'no'),'allowNull':!![]},'dtlsenable':{'type':Sequelize['ENUM']('yes','no'),'allowNull':!![]},'dtlsverify':{'type':Sequelize[_0x5344('0x19')](_0x5344('0x2d'),'no',_0x5344('0x3a'),_0x5344('0x3b')),'allowNull':!![]},'dtlsrekey':{'type':Sequelize[_0x5344('0x13')](0xb),'allowNull':!![]},'dtlscertfile':{'type':Sequelize[_0x5344('0x4')],'allowNull':!![]},'dtlsprivatekey':{'type':Sequelize[_0x5344('0x4')],'allowNull':!![]},'dtlscipher':{'type':Sequelize[_0x5344('0x4')],'allowNull':!![]},'dtlscafile':{'type':Sequelize['STRING'],'allowNull':!![]},'dtlscapath':{'type':Sequelize[_0x5344('0x4')],'allowNull':!![]},'dtlssetup':{'type':Sequelize[_0x5344('0x19')](_0x5344('0x3c'),_0x5344('0x3d'),'actpass'),'allowNull':!![]},'dtlsfingerprint':{'type':Sequelize['STRING'],'allowNull':!![]},'usereqphone':{'type':Sequelize[_0x5344('0x19')](_0x5344('0x2d'),'no'),'allowNull':!![],'defaultValue':'no'},'recordonfeature':{'type':Sequelize[_0x5344('0x4')],'allowNull':!![]},'recordofffeature':{'type':Sequelize['STRING'],'allowNull':!![]},'call_limit':{'type':Sequelize['INTEGER'](0xb),'allowNull':!![],'defaultValue':0xa},'registertrying':{'type':Sequelize[_0x5344('0x19')]('yes','no'),'allowNull':!![]},'subscribemwi':{'type':Sequelize[_0x5344('0x19')]('yes','no'),'allowNull':!![]},'vmexten':{'type':Sequelize['STRING'],'allowNull':!![]},'mohinterpret':{'type':Sequelize['STRING'],'allowNull':!![]},'mohsuggest':{'type':Sequelize['STRING'],'allowNull':!![]},'parkinglot':{'type':Sequelize['STRING'],'allowNull':!![]},'canreinvite':{'type':Sequelize[_0x5344('0x19')](_0x5344('0x2d'),'no',_0x5344('0x2a'),'update',_0x5344('0x3e')),'allowNull':!![],'defaultValue':'no'},'loginInPause':{'type':Sequelize[_0x5344('0x15')],'defaultValue':![]},'resetPasswordToken':{'type':Sequelize[_0x5344('0x4')]},'resetPasswordExpires':{'type':Sequelize[_0x5344('0x16')]},'passwordResetAt':{'type':Sequelize[_0x5344('0x16')],'defaultValue':null},'previousPasswords':{'type':Sequelize[_0x5344('0x3f')]},'showWebBar':{'type':Sequelize[_0x5344('0x13')],'defaultValue':0x0,'set':function(_0x1f67e0){this[_0x5344('0x6')](_0x5344('0x40'),_0x1f67e0);var _0x2a8c82=this['get']({'plain':!![]});switch(_0x1f67e0){case 0x0:case 0x1:var _0x45f660=_0x2a8c82[_0x5344('0x22')]?_[_0x5344('0x41')](_0x2a8c82[_0x5344('0x22')])?_0x2a8c82[_0x5344('0x22')][_0x5344('0x30')]():_0x2a8c82[_0x5344('0x22')]:'udp';if(_0x45f660===_0x5344('0x42')){_0x45f660=_0x5344('0x43');}this['setDataValue']('transport',_0x45f660);this['setDataValue'](_0x5344('0x44'),'no');this['setDataValue'](_0x5344('0x45'),null);this[_0x5344('0x6')]('force_avp',null);this['setDataValue'](_0x5344('0x46'),null);this[_0x5344('0x6')](_0x5344('0x47'),null);this[_0x5344('0x6')](_0x5344('0x48'),null);this[_0x5344('0x6')](_0x5344('0x49'),null);this['setDataValue'](_0x5344('0x4a'),null);this[_0x5344('0x6')](_0x5344('0x4b'),null);this['setDataValue']('rtcp_mux','no');break;case 0x2:this[_0x5344('0x6')](_0x5344('0x22'),_0x5344('0x42'));this[_0x5344('0x6')](_0x5344('0x44'),_0x5344('0x2d'));this[_0x5344('0x6')]('avpf',_0x5344('0x2d'));this[_0x5344('0x6')]('force_avp',_0x5344('0x2d'));this[_0x5344('0x6')](_0x5344('0x46'),_0x5344('0x2d'));this['setDataValue'](_0x5344('0x47'),_0x5344('0x2d'));this[_0x5344('0x6')](_0x5344('0x48'),'no');this[_0x5344('0x6')](_0x5344('0x49'),_0x5344('0x4c'));this[_0x5344('0x6')](_0x5344('0x4a'),_0x2a8c82['dtlscertfile']||_0x5344('0x4d'));this[_0x5344('0x6')](_0x5344('0x4b'),_0x2a8c82[_0x5344('0x4b')]||_0x5344('0x4e'));this[_0x5344('0x6')](_0x5344('0x4f'),_0x5344('0x2d'));break;default:}}},'permissions':{'type':Sequelize[_0x5344('0x3f')],'set':function(_0x2a3554){this[_0x5344('0x6')]('permissions',_0x2a3554?_0x2a3554['join'](','):[]);},'get':function(){return this[_0x5344('0xa')](_0x5344('0x50'))?_[_0x5344('0x51')](this[_0x5344('0xa')](_0x5344('0x50'))[_0x5344('0x23')](','),function(_0x5c779c){return parseInt(_0x5c779c,0xa);}):[];}},'phoneBarUnconditionalNumber':{'type':Sequelize[_0x5344('0x4')]},'phoneBarNoReplyNumber':{'type':Sequelize[_0x5344('0x4')]},'phoneBarBusyNumber':{'type':Sequelize[_0x5344('0x4')]},'phoneBarUnconditional':{'type':Sequelize[_0x5344('0x15')],'defaultValue':![]},'phoneBarNoReply':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'phoneBarBusy':{'type':Sequelize[_0x5344('0x15')],'defaultValue':![]},'phoneBarDnd':{'type':Sequelize[_0x5344('0x15')],'defaultValue':!![]},'phoneBarUnansweredCallBadge':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'phoneBarEnableDtmfTone':{'type':Sequelize[_0x5344('0x15')],'defaultValue':![]},'phoneBarAutoAnswerDelay':{'type':Sequelize[_0x5344('0x13')],'defaultValue':0x0},'extensionMonitor':{'type':Sequelize[_0x5344('0x4')],'defaultValue':''},'crudPermissions':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'rtcp_mux':{'type':Sequelize[_0x5344('0x19')](_0x5344('0x2d'),'no'),'defaultValue':'no'},'allowmessenger':{'type':Sequelize[_0x5344('0x15')],'defaultValue':!![]},'phoneBarOutboundProxy':{'type':Sequelize[_0x5344('0x4')]},'phoneBarEnableJaws':{'type':Sequelize[_0x5344('0x15')],'defaultValue':![]},'phoneBarEnableScreenRecordingByAgent':{'type':Sequelize[_0x5344('0x15')],'defaultValue':![]},'phoneBarEnableVideoRecording':{'type':Sequelize[_0x5344('0x52')],'get':function(){return this[_0x5344('0xa')](_0x5344('0x53'))?this[_0x5344('0xa')](_0x5344('0x53')):![];}},'phoneBarEnableAutomaticScreenRecording':{'type':Sequelize[_0x5344('0x15')],'defaultValue':![]},'phoneBarPrefixRequired':{'type':Sequelize[_0x5344('0x15')],'defaultValue':![]},'hotdesk':{'type':Sequelize[_0x5344('0x15')],'defaultValue':![]},'interface':{'type':Sequelize[_0x5344('0x4')],'defaultValue':null},'privacyEnabled':{'type':Sequelize[_0x5344('0x15')],'defaultValue':![]},'apiKeyNonce':{'type':Sequelize[_0x5344('0x4')],'allowNull':!![]},'apiKeyIat':{'type':Sequelize[_0x5344('0x4')],'allowNull':!![]},'screenrecording':{'type':Sequelize[_0x5344('0x15')],'defaultValue':![],'set':function(_0x5c286d){if(typeof _0x5c286d==='string'){var _0x591223=_0x5c286d==='1'?!![]:_0x5c286d==='0'?![]:_0x5c286d===_0x5344('0x54')?!![]:_0x5c286d===_0x5344('0x55')?![]:![];this[_0x5344('0x6')]('screenrecording',_0x591223);}else{this[_0x5344('0x6')](_0x5344('0x56'),_0x5c286d);}}},'blocked':{'type':Sequelize[_0x5344('0x15')],'defaultValue':![],'set':function(_0x4bf2f2){this[_0x5344('0x6')](_0x5344('0x57'),_0x4bf2f2);if(_0x4bf2f2===!![]){this[_0x5344('0x6')]('blockedAt',moment());this[_0x5344('0x6')](_0x5344('0x58'),0x0);}else{this[_0x5344('0x6')](_0x5344('0x59'),null);}}},'blockedAt':{'type':Sequelize['DATE'],'defaultValue':null},'loginAttempts':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'disabled':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'settingsEnabled':{'type':Sequelize[_0x5344('0x15')],'defaultValue':!![]},'wssPort':{'type':Sequelize[_0x5344('0x13')](0x5)['UNSIGNED'],'defaultValue':0x1f99},'downloadAttachments':{'type':Sequelize[_0x5344('0x15')],'defaultValue':!![]},'downloadOmnichannelInteractions':{'type':Sequelize[_0x5344('0x15')],'defaultValue':!![]},'downloadVoiceRecordings':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'ignorePauseForPreviewCalls':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'selectRecallMeCampaign':{'type':Sequelize[_0x5344('0x15')],'defaultValue':![]},'adSsoEnabled':{'type':Sequelize[_0x5344('0x15')],'defaultValue':![]}};
\ No newline at end of file
+var _0xa181=['encryption','avpf','force_avp','icesupport','dtlsverify','dtlssetup','dtlscertfile','dtlsprivatekey','rtcp_mux','dtlsenable','/etc/pki/tls/certs/motion.crt','permissions','map','VIRTUAL','phoneBarEnableScreenRecordingByAgent','true','false','screenrecording','blocked','blockedAt','lodash','STRING','name','setDataValue','defaultuser','fullname','callerid','format','\x22%s\x22\x20<%s>','getDataValue','email','toLowerCase','ENUM','admin','user','agent','telephone','local','INTEGER','internal','accountcode','BOOLEAN','DEFAULT\x20PAUSE','DATE','ALLOWED_NOT_SCREENED','ALLOWED_PASSED_SCREEN','ALLOWED_FAILED_SCREEN','ALLOWED','PROHIB_NOT_SCREENED','PROHIB_PASSED_SCREEN','PROHIB_FAILED_SCREEN','PROHIB','udp','transport','join','String\x20is\x20deprecated.\x20Please\x20use\x20an\x20Array\x20as\x20[\x22udp\x22,\x20\x22tcp\x22]','rfc2833','shortinfo','inband','auto','yes','nonat','update','force_rport,comedia','nat','split','String\x20is\x20deprecated.\x20Please\x20use\x20an\x20Array\x20as\x20[\x22force_rport\x22,\x20\x22comedia\x22]','all','allow','String\x20is\x20deprecated.\x20Please\x20use\x20an\x20Array\x20as\x20[\x22ulaw\x22,\x20\x22alaw\x22,\x20\x22gsm\x22]','insecure','String\x20is\x20deprecated.\x20Please\x20use\x20an\x20Array\x20as\x20[\x22port\x22,\x20\x22invite\x22]','\x22\x22\x20<>','accept','originate','uac','uas','fingerprint','actpass','update,nonat','TEXT','showWebBar','get','isArray','wss'];(function(_0x57b54c,_0x54ce0d){var _0x59cc19=function(_0xa33bc6){while(--_0xa33bc6){_0x57b54c['push'](_0x57b54c['shift']());}};_0x59cc19(++_0x54ce0d);}(_0xa181,0xbe));var _0x1a18=function(_0x443913,_0x33f0fb){_0x443913=_0x443913-0x0;var _0xda11cd=_0xa181[_0x443913];return _0xda11cd;};'use strict';var Sequelize=require('sequelize');var moment=require('moment');var util=require('util');var _=require(_0x1a18('0x0'));module['exports']={'name':{'type':Sequelize[_0x1a18('0x1')],'allowNull':![],'unique':_0x1a18('0x2'),'validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i},'set':function(_0x1aebfc){this[_0x1a18('0x3')](_0x1a18('0x2'),_0x1aebfc);this[_0x1a18('0x3')](_0x1a18('0x4'),_0x1aebfc);},'comment':'The\x20name\x20of\x20the\x20user'},'fullname':{'type':Sequelize['STRING'],'allowNull':![],'set':function(_0x58b916){this[_0x1a18('0x3')](_0x1a18('0x5'),_0x58b916);this[_0x1a18('0x3')](_0x1a18('0x6'),util[_0x1a18('0x7')](_0x1a18('0x8'),_0x58b916,this[_0x1a18('0x9')]('internal')));}},'alias':{'type':Sequelize[_0x1a18('0x1')]},'email':{'type':Sequelize[_0x1a18('0x1')],'allowNull':![],'unique':'email','validate':{'isEmail':!![]},'set':function(_0x59f026){if(_0x59f026){this[_0x1a18('0x3')](_0x1a18('0xa'),_0x59f026[_0x1a18('0xb')]());}}},'role':{'type':Sequelize[_0x1a18('0xc')](_0x1a18('0xd'),_0x1a18('0xe'),_0x1a18('0xf'),_0x1a18('0x10')),'allowNull':![]},'password':{'type':Sequelize['STRING'],'allowNull':![],'validate':{'notEmpty':!![]}},'provider':{'type':Sequelize[_0x1a18('0x1')],'defaultValue':_0x1a18('0x11')},'internal':{'type':Sequelize[_0x1a18('0x12')](0xb),'allowNull':![],'unique':_0x1a18('0x13'),'set':function(_0x475a64){this[_0x1a18('0x3')]('internal',_0x475a64);this[_0x1a18('0x3')](_0x1a18('0x14'),_0x475a64);this[_0x1a18('0x3')](_0x1a18('0x6'),util[_0x1a18('0x7')](_0x1a18('0x8'),this[_0x1a18('0x9')]('fullname'),_0x475a64));}},'salt':{'type':Sequelize[_0x1a18('0x1')]},'phone':{'type':Sequelize['STRING']},'mobile':{'type':Sequelize[_0x1a18('0x1')]},'address':{'type':Sequelize[_0x1a18('0x1')]},'zipcode':{'type':Sequelize[_0x1a18('0x1')]},'userpic':{'type':Sequelize[_0x1a18('0x1')]},'city':{'type':Sequelize[_0x1a18('0x1')]},'country':{'type':Sequelize[_0x1a18('0x1')]},'online':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'lastLoginAt':{'type':Sequelize['DATE']},'voicePause':{'type':Sequelize[_0x1a18('0x15')],'defaultValue':![]},'chatPause':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'mailPause':{'type':Sequelize[_0x1a18('0x15')],'defaultValue':![]},'faxPause':{'type':Sequelize[_0x1a18('0x15')],'defaultValue':![]},'smsPause':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'whatsappPause':{'type':Sequelize[_0x1a18('0x15')],'defaultValue':![]},'openchannelPause':{'type':Sequelize[_0x1a18('0x15')],'defaultValue':![]},'pauseType':{'type':Sequelize[_0x1a18('0x1')],'defaultValue':_0x1a18('0x16')},'lastPauseAt':{'type':Sequelize[_0x1a18('0x17')]},'chatCapacity':{'type':Sequelize[_0x1a18('0x12')],'defaultValue':0x0},'mailCapacity':{'type':Sequelize[_0x1a18('0x12')],'defaultValue':0x0},'faxCapacity':{'type':Sequelize[_0x1a18('0x12')],'defaultValue':0x0},'smsCapacity':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'whatsappCapacity':{'type':Sequelize[_0x1a18('0x12')],'defaultValue':0x0},'openchannelCapacity':{'type':Sequelize[_0x1a18('0x12')],'defaultValue':0x0},'phoneBarAutoAnswer':{'type':Sequelize[_0x1a18('0x15')],'defaultValue':![]},'phoneBarEnableSettings':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'phoneBarListenPort':{'type':Sequelize[_0x1a18('0x12')](0x5),'defaultValue':0x1428},'phoneBarExpires':{'type':Sequelize[_0x1a18('0x12')](0x5),'defaultValue':0x78},'phoneBarRemoteControl':{'type':Sequelize[_0x1a18('0x15')],'defaultValue':![]},'phoneBarRemoteControlPort':{'type':Sequelize['INTEGER'],'defaultValue':0x26a0},'phoneBarEnableRecording':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'phoneBarRingInUse':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'chanspy':{'type':Sequelize[_0x1a18('0x15')],'defaultValue':![]},'description':{'type':Sequelize[_0x1a18('0x1')],'allowNull':!![]},'host':{'type':Sequelize[_0x1a18('0x1')],'allowNull':!![],'defaultValue':'dynamic'},'ipaddr':{'type':Sequelize[_0x1a18('0x1')],'allowNull':!![]},'port':{'type':Sequelize[_0x1a18('0x12')](0x5),'allowNull':!![]},'regseconds':{'type':Sequelize[_0x1a18('0x12')](0xb),'allowNull':!![]},'fullcontact':{'type':Sequelize[_0x1a18('0x1')],'allowNull':!![]},'regserver':{'type':Sequelize[_0x1a18('0x1')],'allowNull':!![]},'useragent':{'type':Sequelize[_0x1a18('0x1')],'allowNull':!![]},'lastms':{'type':Sequelize[_0x1a18('0x12')](0xb),'allowNull':!![]},'type':{'type':Sequelize[_0x1a18('0xc')]('friend',_0x1a18('0xe'),'peer'),'allowNull':!![],'defaultValue':'friend'},'context':{'type':Sequelize[_0x1a18('0x1')],'allowNull':!![],'defaultValue':'from-sip'},'callingpres':{'type':Sequelize['ENUM'](_0x1a18('0x18'),_0x1a18('0x19'),_0x1a18('0x1a'),_0x1a18('0x1b'),_0x1a18('0x1c'),_0x1a18('0x1d'),_0x1a18('0x1e'),_0x1a18('0x1f')),'allowNull':!![]},'deny':{'type':Sequelize[_0x1a18('0x1')],'allowNull':!![]},'permit':{'type':Sequelize[_0x1a18('0x1')],'allowNull':!![]},'secret':{'type':Sequelize['STRING'],'allowNull':!![]},'md5secret':{'type':Sequelize[_0x1a18('0x1')],'allowNull':!![]},'remotesecret':{'type':Sequelize[_0x1a18('0x1')],'allowNull':!![]},'transport':{'type':Sequelize[_0x1a18('0x1')],'allowNull':!![],'defaultValue':_0x1a18('0x20'),'set':function(_0x5c97bb){this[_0x1a18('0x3')](_0x1a18('0x21'),_0x5c97bb?_0x5c97bb[_0x1a18('0x22')](','):null);},'get':function(){return this[_0x1a18('0x9')]('transport')?this[_0x1a18('0x9')]('transport')['split'](','):null;},'comment':_0x1a18('0x23')},'dtmfmode':{'type':Sequelize[_0x1a18('0xc')](_0x1a18('0x24'),'info',_0x1a18('0x25'),_0x1a18('0x26'),_0x1a18('0x27')),'allowNull':!![],'defaultValue':'rfc2833'},'directmedia':{'type':Sequelize[_0x1a18('0xc')](_0x1a18('0x28'),'no',_0x1a18('0x29'),_0x1a18('0x2a'),'outgoing'),'allowNull':!![],'defaultValue':'no'},'directrtpsetup':{'type':Sequelize[_0x1a18('0xc')]('yes','no'),'allowNull':!![],'defaultValue':'no'},'directmediapermit':{'type':Sequelize[_0x1a18('0x1')],'allowNull':!![]},'directmediadeny':{'type':Sequelize[_0x1a18('0x1')],'allowNull':!![]},'nat':{'type':Sequelize[_0x1a18('0x1')],'allowNull':!![],'defaultValue':_0x1a18('0x2b'),'set':function(_0x331612){this[_0x1a18('0x3')](_0x1a18('0x2c'),_0x331612?_0x331612['join'](','):null);},'get':function(){return this[_0x1a18('0x9')]('nat')?this['getDataValue'](_0x1a18('0x2c'))[_0x1a18('0x2d')](','):null;},'comment':_0x1a18('0x2e')},'callgroup':{'type':Sequelize['STRING']},'namedcallgroup':{'type':Sequelize[_0x1a18('0x1')]},'pickupgroup':{'type':Sequelize[_0x1a18('0x1')]},'namedpickupgroup':{'type':Sequelize[_0x1a18('0x1')]},'language':{'type':Sequelize[_0x1a18('0x1')],'defaultValue':'en'},'tonezone':{'type':Sequelize['STRING']},'disallow':{'type':Sequelize['STRING'],'allowNull':![],'defaultValue':_0x1a18('0x2f')},'allow':{'type':Sequelize[_0x1a18('0x1')],'allowNull':![],'defaultValue':'ulaw;alaw;gsm','set':function(_0xe6c3f0){this[_0x1a18('0x3')](_0x1a18('0x30'),_0xe6c3f0?_0xe6c3f0[_0x1a18('0x22')](';'):'ulaw;alaw;gsm');},'get':function(){return this[_0x1a18('0x9')](_0x1a18('0x30'))?this['getDataValue'](_0x1a18('0x30'))[_0x1a18('0x2d')](';'):null;},'comment':_0x1a18('0x31')},'autoframing':{'type':Sequelize[_0x1a18('0xc')](_0x1a18('0x28'),'no'),'allowNull':!![]},'insecure':{'type':Sequelize[_0x1a18('0x1')],'allowNull':!![],'set':function(_0x3477f0){this[_0x1a18('0x3')](_0x1a18('0x32'),_0x3477f0?_0x3477f0[_0x1a18('0x22')](','):null);},'get':function(){return this[_0x1a18('0x9')](_0x1a18('0x32'))?this[_0x1a18('0x9')]('insecure')[_0x1a18('0x2d')](','):null;},'comment':_0x1a18('0x33')},'trustrpid':{'type':Sequelize[_0x1a18('0xc')](_0x1a18('0x28'),'no'),'allowNull':!![],'defaultValue':'no'},'trust_id_outbound':{'type':Sequelize[_0x1a18('0xc')]('yes','no'),'allowNull':!![],'defaultValue':'no'},'progressinband':{'type':Sequelize['ENUM']('yes','no','never'),'allowNull':!![]},'promiscredir':{'type':Sequelize[_0x1a18('0xc')](_0x1a18('0x28'),'no'),'allowNull':!![]},'useclientcode':{'type':Sequelize[_0x1a18('0xc')]('yes','no'),'allowNull':!![]},'accountcode':{'type':Sequelize['INTEGER'](0xb),'allowNull':!![]},'setvar':{'type':Sequelize[_0x1a18('0x1')],'allowNull':!![]},'callerid':{'type':Sequelize[_0x1a18('0x1')],'allowNull':!![],'defaultValue':_0x1a18('0x34')},'amaflags':{'type':Sequelize['STRING'],'allowNull':!![]},'callcounter':{'type':Sequelize[_0x1a18('0xc')](_0x1a18('0x28'),'no'),'allowNull':!![],'defaultValue':_0x1a18('0x28')},'busylevel':{'type':Sequelize[_0x1a18('0x12')](0xb),'allowNull':!![]},'allowoverlap':{'type':Sequelize['ENUM']('yes','no'),'allowNull':!![]},'allowsubscribe':{'type':Sequelize['ENUM'](_0x1a18('0x28'),'no'),'allowNull':!![]},'allowtransfer':{'type':Sequelize[_0x1a18('0xc')]('yes','no'),'allowNull':!![]},'ignoresdpversion':{'type':Sequelize[_0x1a18('0xc')](_0x1a18('0x28'),'no'),'allowNull':!![]},'subscribecontext':{'type':Sequelize[_0x1a18('0x1')],'allowNull':!![]},'template':{'type':Sequelize[_0x1a18('0x1')],'allowNull':!![]},'videosupport':{'type':Sequelize['ENUM'](_0x1a18('0x28'),'no','always'),'allowNull':!![],'defaultValue':'no'},'maxcallbitrate':{'type':Sequelize['INTEGER'](0xb),'allowNull':!![]},'rfc2833compensate':{'type':Sequelize[_0x1a18('0xc')](_0x1a18('0x28'),'no'),'allowNull':!![]},'mailbox':{'type':Sequelize[_0x1a18('0x1')],'allowNull':!![]},'session_timers':{'type':Sequelize[_0x1a18('0xc')](_0x1a18('0x35'),'refuse',_0x1a18('0x36')),'allowNull':!![]},'session_expires':{'type':Sequelize[_0x1a18('0x12')](0xb),'allowNull':!![]},'session_minse':{'type':Sequelize['INTEGER'](0xb),'allowNull':!![]},'session_refresher':{'type':Sequelize[_0x1a18('0xc')](_0x1a18('0x37'),_0x1a18('0x38')),'allowNull':!![],'defaultValue':'uas'},'t38pt_usertpsource':{'type':Sequelize[_0x1a18('0x1')],'allowNull':!![]},'regexten':{'type':Sequelize['STRING'],'allowNull':!![]},'fromdomain':{'type':Sequelize['STRING'],'allowNull':!![]},'fromuser':{'type':Sequelize[_0x1a18('0x1')],'allowNull':!![]},'qualify':{'type':Sequelize['ENUM'](_0x1a18('0x28'),'no'),'allowNull':!![],'defaultValue':_0x1a18('0x28')},'keepalive':{'type':Sequelize['INTEGER'](0xb),'allowNull':!![]},'defaultip':{'type':Sequelize[_0x1a18('0x1')],'allowNull':!![]},'defaultuser':{'type':Sequelize[_0x1a18('0x1')],'allowNull':!![]},'rtptimeout':{'type':Sequelize[_0x1a18('0x12')](0xb),'allowNull':!![]},'rtpholdtimeout':{'type':Sequelize[_0x1a18('0x12')](0xb),'allowNull':!![]},'rtpkeepalive':{'type':Sequelize[_0x1a18('0x12')](0xb),'allowNull':!![]},'sendrpid':{'type':Sequelize[_0x1a18('0xc')](_0x1a18('0x28'),'no'),'allowNull':!![],'defaultValue':'no'},'outboundproxy':{'type':Sequelize[_0x1a18('0x1')],'allowNull':!![]},'callbackextension':{'type':Sequelize[_0x1a18('0x1')],'allowNull':!![]},'timert1':{'type':Sequelize[_0x1a18('0x12')](0xb),'allowNull':!![]},'timerb':{'type':Sequelize['INTEGER'](0xb),'allowNull':!![]},'qualifyfreq':{'type':Sequelize[_0x1a18('0x12')](0xb),'allowNull':!![]},'contactpermit':{'type':Sequelize[_0x1a18('0x1')],'allowNull':!![]},'contactdeny':{'type':Sequelize[_0x1a18('0x1')],'allowNull':!![]},'contactacl':{'type':Sequelize[_0x1a18('0x1')],'allowNull':!![]},'unsolicited_mailbox':{'type':Sequelize[_0x1a18('0x1')],'allowNull':!![]},'use_q850_reason':{'type':Sequelize['STRING'],'allowNull':!![]},'maxforwards':{'type':Sequelize[_0x1a18('0x12')](0xb),'allowNull':!![]},'encryption':{'type':Sequelize[_0x1a18('0xc')](_0x1a18('0x28'),'no'),'allowNull':!![],'defaultValue':'no'},'avpf':{'type':Sequelize[_0x1a18('0xc')]('yes','no'),'allowNull':!![]},'force_avp':{'type':Sequelize[_0x1a18('0xc')](_0x1a18('0x28'),'no'),'allowNull':!![]},'icesupport':{'type':Sequelize[_0x1a18('0xc')](_0x1a18('0x28'),'no'),'allowNull':!![]},'dtlsenable':{'type':Sequelize[_0x1a18('0xc')](_0x1a18('0x28'),'no'),'allowNull':!![]},'dtlsverify':{'type':Sequelize[_0x1a18('0xc')](_0x1a18('0x28'),'no',_0x1a18('0x39'),'certificate'),'allowNull':!![]},'dtlsrekey':{'type':Sequelize['INTEGER'](0xb),'allowNull':!![]},'dtlscertfile':{'type':Sequelize[_0x1a18('0x1')],'allowNull':!![]},'dtlsprivatekey':{'type':Sequelize[_0x1a18('0x1')],'allowNull':!![]},'dtlscipher':{'type':Sequelize[_0x1a18('0x1')],'allowNull':!![]},'dtlscafile':{'type':Sequelize[_0x1a18('0x1')],'allowNull':!![]},'dtlscapath':{'type':Sequelize[_0x1a18('0x1')],'allowNull':!![]},'dtlssetup':{'type':Sequelize['ENUM']('active','passive',_0x1a18('0x3a')),'allowNull':!![]},'dtlsfingerprint':{'type':Sequelize[_0x1a18('0x1')],'allowNull':!![]},'usereqphone':{'type':Sequelize[_0x1a18('0xc')]('yes','no'),'allowNull':!![],'defaultValue':'no'},'recordonfeature':{'type':Sequelize[_0x1a18('0x1')],'allowNull':!![]},'recordofffeature':{'type':Sequelize[_0x1a18('0x1')],'allowNull':!![]},'call_limit':{'type':Sequelize[_0x1a18('0x12')](0xb),'allowNull':!![],'defaultValue':0xa},'registertrying':{'type':Sequelize['ENUM'](_0x1a18('0x28'),'no'),'allowNull':!![]},'subscribemwi':{'type':Sequelize[_0x1a18('0xc')](_0x1a18('0x28'),'no'),'allowNull':!![]},'vmexten':{'type':Sequelize[_0x1a18('0x1')],'allowNull':!![]},'mohinterpret':{'type':Sequelize[_0x1a18('0x1')],'allowNull':!![]},'mohsuggest':{'type':Sequelize[_0x1a18('0x1')],'allowNull':!![]},'parkinglot':{'type':Sequelize[_0x1a18('0x1')],'allowNull':!![]},'canreinvite':{'type':Sequelize[_0x1a18('0xc')](_0x1a18('0x28'),'no','nonat',_0x1a18('0x2a'),_0x1a18('0x3b')),'allowNull':!![],'defaultValue':'no'},'loginInPause':{'type':Sequelize[_0x1a18('0x15')],'defaultValue':![]},'resetPasswordToken':{'type':Sequelize[_0x1a18('0x1')]},'resetPasswordExpires':{'type':Sequelize['DATE']},'passwordResetAt':{'type':Sequelize[_0x1a18('0x17')],'defaultValue':null},'previousPasswords':{'type':Sequelize[_0x1a18('0x3c')]},'showWebBar':{'type':Sequelize[_0x1a18('0x12')],'defaultValue':0x0,'set':function(_0x5f1517){this['setDataValue'](_0x1a18('0x3d'),_0x5f1517);var _0x3b04f6=this[_0x1a18('0x3e')]({'plain':!![]});switch(_0x5f1517){case 0x0:case 0x1:var _0x1363c0=_0x3b04f6['transport']?_[_0x1a18('0x3f')](_0x3b04f6[_0x1a18('0x21')])?_0x3b04f6['transport'][_0x1a18('0x22')]():_0x3b04f6[_0x1a18('0x21')]:_0x1a18('0x20');if(_0x1363c0===_0x1a18('0x40')){_0x1363c0='udp';}this[_0x1a18('0x3')](_0x1a18('0x21'),_0x1363c0);this[_0x1a18('0x3')](_0x1a18('0x41'),'no');this[_0x1a18('0x3')](_0x1a18('0x42'),null);this['setDataValue'](_0x1a18('0x43'),null);this[_0x1a18('0x3')](_0x1a18('0x44'),null);this[_0x1a18('0x3')]('dtlsenable',null);this['setDataValue'](_0x1a18('0x45'),null);this[_0x1a18('0x3')](_0x1a18('0x46'),null);this[_0x1a18('0x3')](_0x1a18('0x47'),null);this[_0x1a18('0x3')](_0x1a18('0x48'),null);this[_0x1a18('0x3')](_0x1a18('0x49'),'no');break;case 0x2:this['setDataValue'](_0x1a18('0x21'),_0x1a18('0x40'));this[_0x1a18('0x3')](_0x1a18('0x41'),'yes');this[_0x1a18('0x3')]('avpf',_0x1a18('0x28'));this[_0x1a18('0x3')](_0x1a18('0x43'),_0x1a18('0x28'));this['setDataValue']('icesupport',_0x1a18('0x28'));this['setDataValue'](_0x1a18('0x4a'),_0x1a18('0x28'));this[_0x1a18('0x3')](_0x1a18('0x45'),'no');this[_0x1a18('0x3')](_0x1a18('0x46'),_0x1a18('0x3a'));this[_0x1a18('0x3')](_0x1a18('0x47'),_0x3b04f6['dtlscertfile']||_0x1a18('0x4b'));this[_0x1a18('0x3')](_0x1a18('0x48'),_0x3b04f6[_0x1a18('0x48')]||'/etc/pki/tls/private/motion.key');this[_0x1a18('0x3')](_0x1a18('0x49'),_0x1a18('0x28'));break;default:}}},'permissions':{'type':Sequelize[_0x1a18('0x3c')],'set':function(_0x4a2804){this[_0x1a18('0x3')](_0x1a18('0x4c'),_0x4a2804?_0x4a2804[_0x1a18('0x22')](','):[]);},'get':function(){return this[_0x1a18('0x9')](_0x1a18('0x4c'))?_[_0x1a18('0x4d')](this['getDataValue'](_0x1a18('0x4c'))[_0x1a18('0x2d')](','),function(_0x3442e7){return parseInt(_0x3442e7,0xa);}):[];}},'phoneBarUnconditionalNumber':{'type':Sequelize[_0x1a18('0x1')]},'phoneBarNoReplyNumber':{'type':Sequelize[_0x1a18('0x1')]},'phoneBarBusyNumber':{'type':Sequelize['STRING']},'phoneBarUnconditional':{'type':Sequelize[_0x1a18('0x15')],'defaultValue':![]},'phoneBarNoReply':{'type':Sequelize[_0x1a18('0x15')],'defaultValue':![]},'phoneBarBusy':{'type':Sequelize[_0x1a18('0x15')],'defaultValue':![]},'phoneBarDnd':{'type':Sequelize[_0x1a18('0x15')],'defaultValue':!![]},'phoneBarUnansweredCallBadge':{'type':Sequelize[_0x1a18('0x15')],'defaultValue':!![]},'phoneBarEnableDtmfTone':{'type':Sequelize[_0x1a18('0x15')],'defaultValue':![]},'phoneBarAutoAnswerDelay':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'extensionMonitor':{'type':Sequelize[_0x1a18('0x1')],'defaultValue':''},'crudPermissions':{'type':Sequelize[_0x1a18('0x12')],'defaultValue':0x0},'rtcp_mux':{'type':Sequelize[_0x1a18('0xc')](_0x1a18('0x28'),'no'),'defaultValue':'no'},'allowmessenger':{'type':Sequelize[_0x1a18('0x15')],'defaultValue':!![]},'phoneBarOutboundProxy':{'type':Sequelize[_0x1a18('0x1')]},'phoneBarEnableJaws':{'type':Sequelize[_0x1a18('0x15')],'defaultValue':![]},'phoneBarEnableScreenRecordingByAgent':{'type':Sequelize[_0x1a18('0x15')],'defaultValue':![]},'phoneBarEnableVideoRecording':{'type':Sequelize[_0x1a18('0x4e')],'get':function(){return this[_0x1a18('0x9')](_0x1a18('0x4f'))?this[_0x1a18('0x9')]('phoneBarEnableScreenRecordingByAgent'):![];}},'phoneBarEnableAutomaticScreenRecording':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'phoneBarPrefixRequired':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'hotdesk':{'type':Sequelize[_0x1a18('0x15')],'defaultValue':![]},'interface':{'type':Sequelize[_0x1a18('0x1')],'defaultValue':null},'privacyEnabled':{'type':Sequelize[_0x1a18('0x15')],'defaultValue':![]},'apiKeyNonce':{'type':Sequelize['STRING'],'allowNull':!![]},'apiKeyIat':{'type':Sequelize['STRING'],'allowNull':!![]},'screenrecording':{'type':Sequelize[_0x1a18('0x15')],'defaultValue':![],'set':function(_0xf8531a){if(typeof _0xf8531a==='string'){var _0x116c72=_0xf8531a==='1'?!![]:_0xf8531a==='0'?![]:_0xf8531a===_0x1a18('0x50')?!![]:_0xf8531a===_0x1a18('0x51')?![]:![];this['setDataValue'](_0x1a18('0x52'),_0x116c72);}else{this[_0x1a18('0x3')](_0x1a18('0x52'),_0xf8531a);}}},'blocked':{'type':Sequelize[_0x1a18('0x15')],'defaultValue':![],'set':function(_0x2bc684){this[_0x1a18('0x3')](_0x1a18('0x53'),_0x2bc684);if(_0x2bc684===!![]){this[_0x1a18('0x3')](_0x1a18('0x54'),moment());this[_0x1a18('0x3')]('loginAttempts',0x0);}else{this[_0x1a18('0x3')](_0x1a18('0x54'),null);}}},'blockedAt':{'type':Sequelize[_0x1a18('0x17')],'defaultValue':null},'loginAttempts':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'disabled':{'type':Sequelize[_0x1a18('0x15')],'defaultValue':![]},'settingsEnabled':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'wssPort':{'type':Sequelize[_0x1a18('0x12')](0x5)['UNSIGNED'],'defaultValue':0x1f99},'downloadAttachments':{'type':Sequelize[_0x1a18('0x15')],'defaultValue':!![]},'downloadOmnichannelInteractions':{'type':Sequelize[_0x1a18('0x15')],'defaultValue':!![]},'downloadVoiceRecordings':{'type':Sequelize[_0x1a18('0x15')],'defaultValue':!![]},'ignorePauseForPreviewCalls':{'type':Sequelize[_0x1a18('0x15')],'defaultValue':![]},'selectRecallMeCampaign':{'type':Sequelize[_0x1a18('0x15')],'defaultValue':![]},'adSsoEnabled':{'type':Sequelize[_0x1a18('0x15')],'defaultValue':![]}};
\ No newline at end of file