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