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