Built motion from commit 5ba5b610.|2.5.33
[motion2.git] / server / api / user / user.attributes.js
index 1c6a603..b0ed6aa 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x4fb4=['certificate','active','passive','actpass','update,nonat','TEXT','showWebBar','get','wss','encryption','force_avp','dtlsverify','dtlssetup','dtlsprivatekey','rtcp_mux','avpf','icesupport','dtlsenable','dtlscertfile','/etc/pki/tls/certs/motion.crt','/etc/pki/tls/private/motion.key','permissions','map','VIRTUAL','phoneBarEnableScreenRecordingByAgent','string','true','false','screenrecording','blocked','loginAttempts','blockedAt','moment','util','lodash','exports','STRING','name','setDataValue','defaultuser','The\x20name\x20of\x20the\x20user','callerid','\x22%s\x22\x20<%s>','getDataValue','internal','email','toLowerCase','admin','user','agent','telephone','local','INTEGER','accountcode','format','BOOLEAN','DATE','DEFAULT\x20PAUSE','dynamic','ENUM','friend','peer','ALLOWED_PASSED_SCREEN','ALLOWED_FAILED_SCREEN','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','yes','nonat','outgoing','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','uac','uas','fingerprint'];(function(_0x1589dd,_0x2b9d22){var _0x1bddd1=function(_0x3687f8){while(--_0x3687f8){_0x1589dd['push'](_0x1589dd['shift']());}};_0x1bddd1(++_0x2b9d22);}(_0x4fb4,0x190));var _0x44fb=function(_0x58f59c,_0x2e5545){_0x58f59c=_0x58f59c-0x0;var _0x2ff000=_0x4fb4[_0x58f59c];return _0x2ff000;};'use strict';var Sequelize=require('sequelize');var moment=require(_0x44fb('0x0'));var util=require(_0x44fb('0x1'));var _=require(_0x44fb('0x2'));module[_0x44fb('0x3')]={'name':{'type':Sequelize[_0x44fb('0x4')],'allowNull':![],'unique':_0x44fb('0x5'),'validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i},'set':function(_0x53ee5d){this[_0x44fb('0x6')](_0x44fb('0x5'),_0x53ee5d);this[_0x44fb('0x6')](_0x44fb('0x7'),_0x53ee5d);},'comment':_0x44fb('0x8')},'fullname':{'type':Sequelize[_0x44fb('0x4')],'allowNull':![],'set':function(_0x464af5){this[_0x44fb('0x6')]('fullname',_0x464af5);this[_0x44fb('0x6')](_0x44fb('0x9'),util['format'](_0x44fb('0xa'),_0x464af5,this[_0x44fb('0xb')](_0x44fb('0xc'))));}},'alias':{'type':Sequelize[_0x44fb('0x4')]},'email':{'type':Sequelize[_0x44fb('0x4')],'allowNull':![],'unique':_0x44fb('0xd'),'validate':{'isEmail':!![]},'set':function(_0x184039){if(_0x184039){this[_0x44fb('0x6')](_0x44fb('0xd'),_0x184039[_0x44fb('0xe')]());}}},'role':{'type':Sequelize['ENUM'](_0x44fb('0xf'),_0x44fb('0x10'),_0x44fb('0x11'),_0x44fb('0x12')),'allowNull':![]},'password':{'type':Sequelize[_0x44fb('0x4')],'allowNull':![],'validate':{'notEmpty':!![]}},'provider':{'type':Sequelize['STRING'],'defaultValue':_0x44fb('0x13')},'internal':{'type':Sequelize[_0x44fb('0x14')](0xb),'allowNull':![],'unique':_0x44fb('0xc'),'set':function(_0x449150){this[_0x44fb('0x6')]('internal',_0x449150);this[_0x44fb('0x6')](_0x44fb('0x15'),_0x449150);this[_0x44fb('0x6')](_0x44fb('0x9'),util[_0x44fb('0x16')](_0x44fb('0xa'),this[_0x44fb('0xb')]('fullname'),_0x449150));}},'salt':{'type':Sequelize[_0x44fb('0x4')]},'phone':{'type':Sequelize[_0x44fb('0x4')]},'mobile':{'type':Sequelize[_0x44fb('0x4')]},'address':{'type':Sequelize[_0x44fb('0x4')]},'zipcode':{'type':Sequelize[_0x44fb('0x4')]},'userpic':{'type':Sequelize[_0x44fb('0x4')]},'city':{'type':Sequelize[_0x44fb('0x4')]},'country':{'type':Sequelize[_0x44fb('0x4')]},'online':{'type':Sequelize[_0x44fb('0x17')],'defaultValue':![]},'lastLoginAt':{'type':Sequelize[_0x44fb('0x18')]},'voicePause':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'chatPause':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'mailPause':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'faxPause':{'type':Sequelize[_0x44fb('0x17')],'defaultValue':![]},'smsPause':{'type':Sequelize[_0x44fb('0x17')],'defaultValue':![]},'whatsappPause':{'type':Sequelize[_0x44fb('0x17')],'defaultValue':![]},'openchannelPause':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'pauseType':{'type':Sequelize[_0x44fb('0x4')],'defaultValue':_0x44fb('0x19')},'lastPauseAt':{'type':Sequelize[_0x44fb('0x18')]},'chatCapacity':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'mailCapacity':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'faxCapacity':{'type':Sequelize[_0x44fb('0x14')],'defaultValue':0x0},'smsCapacity':{'type':Sequelize[_0x44fb('0x14')],'defaultValue':0x0},'whatsappCapacity':{'type':Sequelize[_0x44fb('0x14')],'defaultValue':0x0},'openchannelCapacity':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'phoneBarAutoAnswer':{'type':Sequelize[_0x44fb('0x17')],'defaultValue':![]},'phoneBarEnableSettings':{'type':Sequelize[_0x44fb('0x17')],'defaultValue':!![]},'phoneBarListenPort':{'type':Sequelize[_0x44fb('0x14')](0x5),'defaultValue':0x1428},'phoneBarExpires':{'type':Sequelize['INTEGER'](0x5),'defaultValue':0x78},'phoneBarRemoteControl':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'phoneBarRemoteControlPort':{'type':Sequelize[_0x44fb('0x14')],'defaultValue':0x26a0},'phoneBarEnableRecording':{'type':Sequelize[_0x44fb('0x17')],'defaultValue':![]},'phoneBarRingInUse':{'type':Sequelize[_0x44fb('0x17')],'defaultValue':![]},'chanspy':{'type':Sequelize[_0x44fb('0x17')],'defaultValue':![]},'description':{'type':Sequelize['STRING'],'allowNull':!![]},'host':{'type':Sequelize[_0x44fb('0x4')],'allowNull':!![],'defaultValue':_0x44fb('0x1a')},'ipaddr':{'type':Sequelize['STRING'],'allowNull':!![]},'port':{'type':Sequelize['INTEGER'](0x5),'allowNull':!![]},'regseconds':{'type':Sequelize[_0x44fb('0x14')](0xb),'allowNull':!![]},'fullcontact':{'type':Sequelize[_0x44fb('0x4')],'allowNull':!![]},'regserver':{'type':Sequelize[_0x44fb('0x4')],'allowNull':!![]},'useragent':{'type':Sequelize[_0x44fb('0x4')],'allowNull':!![]},'lastms':{'type':Sequelize[_0x44fb('0x14')](0xb),'allowNull':!![]},'type':{'type':Sequelize[_0x44fb('0x1b')](_0x44fb('0x1c'),_0x44fb('0x10'),_0x44fb('0x1d')),'allowNull':!![],'defaultValue':'friend'},'context':{'type':Sequelize['STRING'],'allowNull':!![],'defaultValue':'from-sip'},'callingpres':{'type':Sequelize[_0x44fb('0x1b')]('ALLOWED_NOT_SCREENED',_0x44fb('0x1e'),_0x44fb('0x1f'),'ALLOWED',_0x44fb('0x20'),_0x44fb('0x21'),_0x44fb('0x22'),_0x44fb('0x23')),'allowNull':!![]},'deny':{'type':Sequelize[_0x44fb('0x4')],'allowNull':!![]},'permit':{'type':Sequelize['STRING'],'allowNull':!![]},'secret':{'type':Sequelize['STRING'],'allowNull':!![]},'md5secret':{'type':Sequelize[_0x44fb('0x4')],'allowNull':!![]},'remotesecret':{'type':Sequelize['STRING'],'allowNull':!![]},'transport':{'type':Sequelize[_0x44fb('0x4')],'allowNull':!![],'defaultValue':_0x44fb('0x24'),'set':function(_0x15aa21){this[_0x44fb('0x6')](_0x44fb('0x25'),_0x15aa21?_0x15aa21[_0x44fb('0x26')](','):null);},'get':function(){return this[_0x44fb('0xb')](_0x44fb('0x25'))?this[_0x44fb('0xb')](_0x44fb('0x25'))[_0x44fb('0x27')](','):null;},'comment':_0x44fb('0x28')},'dtmfmode':{'type':Sequelize[_0x44fb('0x1b')](_0x44fb('0x29'),_0x44fb('0x2a'),'shortinfo','inband','auto'),'allowNull':!![],'defaultValue':_0x44fb('0x29')},'directmedia':{'type':Sequelize[_0x44fb('0x1b')](_0x44fb('0x2b'),'no',_0x44fb('0x2c'),'update',_0x44fb('0x2d')),'allowNull':!![],'defaultValue':'no'},'directrtpsetup':{'type':Sequelize[_0x44fb('0x1b')]('yes','no'),'allowNull':!![],'defaultValue':'no'},'directmediapermit':{'type':Sequelize[_0x44fb('0x4')],'allowNull':!![]},'directmediadeny':{'type':Sequelize['STRING'],'allowNull':!![]},'nat':{'type':Sequelize[_0x44fb('0x4')],'allowNull':!![],'defaultValue':'force_rport,comedia','set':function(_0x2fabf0){this['setDataValue'](_0x44fb('0x2e'),_0x2fabf0?_0x2fabf0['join'](','):null);},'get':function(){return this['getDataValue'](_0x44fb('0x2e'))?this[_0x44fb('0xb')](_0x44fb('0x2e'))[_0x44fb('0x27')](','):null;},'comment':_0x44fb('0x2f')},'callgroup':{'type':Sequelize[_0x44fb('0x4')]},'namedcallgroup':{'type':Sequelize[_0x44fb('0x4')]},'pickupgroup':{'type':Sequelize[_0x44fb('0x4')]},'namedpickupgroup':{'type':Sequelize[_0x44fb('0x4')]},'language':{'type':Sequelize[_0x44fb('0x4')],'defaultValue':'en'},'tonezone':{'type':Sequelize['STRING']},'disallow':{'type':Sequelize[_0x44fb('0x4')],'allowNull':![],'defaultValue':_0x44fb('0x30')},'allow':{'type':Sequelize[_0x44fb('0x4')],'allowNull':![],'defaultValue':_0x44fb('0x31'),'set':function(_0x22aa31){this['setDataValue'](_0x44fb('0x32'),_0x22aa31?_0x22aa31[_0x44fb('0x26')](';'):'ulaw;alaw;gsm');},'get':function(){return this['getDataValue'](_0x44fb('0x32'))?this[_0x44fb('0xb')](_0x44fb('0x32'))['split'](';'):null;},'comment':_0x44fb('0x33')},'autoframing':{'type':Sequelize[_0x44fb('0x1b')](_0x44fb('0x2b'),'no'),'allowNull':!![]},'insecure':{'type':Sequelize[_0x44fb('0x4')],'allowNull':!![],'set':function(_0x8f8aae){this[_0x44fb('0x6')]('insecure',_0x8f8aae?_0x8f8aae[_0x44fb('0x26')](','):null);},'get':function(){return this['getDataValue'](_0x44fb('0x34'))?this[_0x44fb('0xb')](_0x44fb('0x34'))[_0x44fb('0x27')](','):null;},'comment':'String\x20is\x20deprecated.\x20Please\x20use\x20an\x20Array\x20as\x20[\x22port\x22,\x20\x22invite\x22]'},'trustrpid':{'type':Sequelize[_0x44fb('0x1b')](_0x44fb('0x2b'),'no'),'allowNull':!![],'defaultValue':'no'},'trust_id_outbound':{'type':Sequelize[_0x44fb('0x1b')](_0x44fb('0x2b'),'no'),'allowNull':!![],'defaultValue':'no'},'progressinband':{'type':Sequelize[_0x44fb('0x1b')]('yes','no',_0x44fb('0x35')),'allowNull':!![]},'promiscredir':{'type':Sequelize[_0x44fb('0x1b')](_0x44fb('0x2b'),'no'),'allowNull':!![]},'useclientcode':{'type':Sequelize[_0x44fb('0x1b')]('yes','no'),'allowNull':!![]},'accountcode':{'type':Sequelize['INTEGER'](0xb),'allowNull':!![]},'setvar':{'type':Sequelize[_0x44fb('0x4')],'allowNull':!![]},'callerid':{'type':Sequelize[_0x44fb('0x4')],'allowNull':!![],'defaultValue':'\x22\x22\x20<>'},'amaflags':{'type':Sequelize[_0x44fb('0x4')],'allowNull':!![]},'callcounter':{'type':Sequelize['ENUM']('yes','no'),'allowNull':!![],'defaultValue':'yes'},'busylevel':{'type':Sequelize['INTEGER'](0xb),'allowNull':!![]},'allowoverlap':{'type':Sequelize[_0x44fb('0x1b')](_0x44fb('0x2b'),'no'),'allowNull':!![]},'allowsubscribe':{'type':Sequelize[_0x44fb('0x1b')](_0x44fb('0x2b'),'no'),'allowNull':!![]},'allowtransfer':{'type':Sequelize['ENUM'](_0x44fb('0x2b'),'no'),'allowNull':!![]},'ignoresdpversion':{'type':Sequelize[_0x44fb('0x1b')](_0x44fb('0x2b'),'no'),'allowNull':!![]},'subscribecontext':{'type':Sequelize[_0x44fb('0x4')],'allowNull':!![]},'template':{'type':Sequelize[_0x44fb('0x4')],'allowNull':!![]},'videosupport':{'type':Sequelize[_0x44fb('0x1b')](_0x44fb('0x2b'),'no',_0x44fb('0x36')),'allowNull':!![],'defaultValue':'no'},'maxcallbitrate':{'type':Sequelize['INTEGER'](0xb),'allowNull':!![]},'rfc2833compensate':{'type':Sequelize[_0x44fb('0x1b')]('yes','no'),'allowNull':!![]},'mailbox':{'type':Sequelize['STRING'],'allowNull':!![]},'session_timers':{'type':Sequelize[_0x44fb('0x1b')](_0x44fb('0x37'),_0x44fb('0x38'),'originate'),'allowNull':!![]},'session_expires':{'type':Sequelize[_0x44fb('0x14')](0xb),'allowNull':!![]},'session_minse':{'type':Sequelize[_0x44fb('0x14')](0xb),'allowNull':!![]},'session_refresher':{'type':Sequelize[_0x44fb('0x1b')](_0x44fb('0x39'),_0x44fb('0x3a')),'allowNull':!![],'defaultValue':_0x44fb('0x3a')},'t38pt_usertpsource':{'type':Sequelize[_0x44fb('0x4')],'allowNull':!![]},'regexten':{'type':Sequelize['STRING'],'allowNull':!![]},'fromdomain':{'type':Sequelize[_0x44fb('0x4')],'allowNull':!![]},'fromuser':{'type':Sequelize['STRING'],'allowNull':!![]},'qualify':{'type':Sequelize[_0x44fb('0x1b')]('yes','no'),'allowNull':!![],'defaultValue':_0x44fb('0x2b')},'keepalive':{'type':Sequelize[_0x44fb('0x14')](0xb),'allowNull':!![]},'defaultip':{'type':Sequelize[_0x44fb('0x4')],'allowNull':!![]},'defaultuser':{'type':Sequelize[_0x44fb('0x4')],'allowNull':!![]},'rtptimeout':{'type':Sequelize['INTEGER'](0xb),'allowNull':!![]},'rtpholdtimeout':{'type':Sequelize[_0x44fb('0x14')](0xb),'allowNull':!![]},'rtpkeepalive':{'type':Sequelize[_0x44fb('0x14')](0xb),'allowNull':!![]},'sendrpid':{'type':Sequelize[_0x44fb('0x1b')](_0x44fb('0x2b'),'no'),'allowNull':!![],'defaultValue':'no'},'outboundproxy':{'type':Sequelize[_0x44fb('0x4')],'allowNull':!![]},'callbackextension':{'type':Sequelize[_0x44fb('0x4')],'allowNull':!![]},'timert1':{'type':Sequelize[_0x44fb('0x14')](0xb),'allowNull':!![]},'timerb':{'type':Sequelize[_0x44fb('0x14')](0xb),'allowNull':!![]},'qualifyfreq':{'type':Sequelize[_0x44fb('0x14')](0xb),'allowNull':!![]},'contactpermit':{'type':Sequelize[_0x44fb('0x4')],'allowNull':!![]},'contactdeny':{'type':Sequelize[_0x44fb('0x4')],'allowNull':!![]},'contactacl':{'type':Sequelize[_0x44fb('0x4')],'allowNull':!![]},'unsolicited_mailbox':{'type':Sequelize['STRING'],'allowNull':!![]},'use_q850_reason':{'type':Sequelize[_0x44fb('0x4')],'allowNull':!![]},'maxforwards':{'type':Sequelize['INTEGER'](0xb),'allowNull':!![]},'encryption':{'type':Sequelize[_0x44fb('0x1b')](_0x44fb('0x2b'),'no'),'allowNull':!![],'defaultValue':'no'},'avpf':{'type':Sequelize['ENUM']('yes','no'),'allowNull':!![]},'force_avp':{'type':Sequelize['ENUM'](_0x44fb('0x2b'),'no'),'allowNull':!![]},'icesupport':{'type':Sequelize[_0x44fb('0x1b')](_0x44fb('0x2b'),'no'),'allowNull':!![]},'dtlsenable':{'type':Sequelize[_0x44fb('0x1b')](_0x44fb('0x2b'),'no'),'allowNull':!![]},'dtlsverify':{'type':Sequelize[_0x44fb('0x1b')](_0x44fb('0x2b'),'no',_0x44fb('0x3b'),_0x44fb('0x3c')),'allowNull':!![]},'dtlsrekey':{'type':Sequelize[_0x44fb('0x14')](0xb),'allowNull':!![]},'dtlscertfile':{'type':Sequelize[_0x44fb('0x4')],'allowNull':!![]},'dtlsprivatekey':{'type':Sequelize[_0x44fb('0x4')],'allowNull':!![]},'dtlscipher':{'type':Sequelize[_0x44fb('0x4')],'allowNull':!![]},'dtlscafile':{'type':Sequelize[_0x44fb('0x4')],'allowNull':!![]},'dtlscapath':{'type':Sequelize[_0x44fb('0x4')],'allowNull':!![]},'dtlssetup':{'type':Sequelize[_0x44fb('0x1b')](_0x44fb('0x3d'),_0x44fb('0x3e'),_0x44fb('0x3f')),'allowNull':!![]},'dtlsfingerprint':{'type':Sequelize['STRING'],'allowNull':!![]},'usereqphone':{'type':Sequelize['ENUM'](_0x44fb('0x2b'),'no'),'allowNull':!![],'defaultValue':'no'},'recordonfeature':{'type':Sequelize['STRING'],'allowNull':!![]},'recordofffeature':{'type':Sequelize['STRING'],'allowNull':!![]},'call_limit':{'type':Sequelize['INTEGER'](0xb),'allowNull':!![],'defaultValue':0xa},'registertrying':{'type':Sequelize[_0x44fb('0x1b')](_0x44fb('0x2b'),'no'),'allowNull':!![]},'subscribemwi':{'type':Sequelize[_0x44fb('0x1b')]('yes','no'),'allowNull':!![]},'vmexten':{'type':Sequelize[_0x44fb('0x4')],'allowNull':!![]},'mohinterpret':{'type':Sequelize['STRING'],'allowNull':!![]},'mohsuggest':{'type':Sequelize[_0x44fb('0x4')],'allowNull':!![]},'parkinglot':{'type':Sequelize['STRING'],'allowNull':!![]},'canreinvite':{'type':Sequelize[_0x44fb('0x1b')](_0x44fb('0x2b'),'no',_0x44fb('0x2c'),'update',_0x44fb('0x40')),'allowNull':!![],'defaultValue':'no'},'loginInPause':{'type':Sequelize[_0x44fb('0x17')],'defaultValue':![]},'resetPasswordToken':{'type':Sequelize[_0x44fb('0x4')]},'resetPasswordExpires':{'type':Sequelize['DATE']},'passwordResetAt':{'type':Sequelize[_0x44fb('0x18')],'defaultValue':null},'previousPasswords':{'type':Sequelize[_0x44fb('0x41')]},'showWebBar':{'type':Sequelize[_0x44fb('0x14')],'defaultValue':0x0,'set':function(_0x4b7445){this['setDataValue'](_0x44fb('0x42'),_0x4b7445);var _0x35a96b=this[_0x44fb('0x43')]({'plain':!![]});switch(_0x4b7445){case 0x0:case 0x1:var _0x4b3cdb=_0x35a96b['transport']?_['isArray'](_0x35a96b[_0x44fb('0x25')])?_0x35a96b[_0x44fb('0x25')][_0x44fb('0x26')]():_0x35a96b[_0x44fb('0x25')]:_0x44fb('0x24');if(_0x4b3cdb===_0x44fb('0x44')){_0x4b3cdb='udp';}this[_0x44fb('0x6')](_0x44fb('0x25'),_0x4b3cdb);this[_0x44fb('0x6')](_0x44fb('0x45'),'no');this['setDataValue']('avpf',null);this[_0x44fb('0x6')](_0x44fb('0x46'),null);this[_0x44fb('0x6')]('icesupport',null);this[_0x44fb('0x6')]('dtlsenable',null);this[_0x44fb('0x6')](_0x44fb('0x47'),null);this[_0x44fb('0x6')](_0x44fb('0x48'),null);this[_0x44fb('0x6')]('dtlscertfile',null);this[_0x44fb('0x6')](_0x44fb('0x49'),null);this[_0x44fb('0x6')](_0x44fb('0x4a'),'no');break;case 0x2:this['setDataValue'](_0x44fb('0x25'),_0x44fb('0x44'));this[_0x44fb('0x6')](_0x44fb('0x45'),_0x44fb('0x2b'));this[_0x44fb('0x6')](_0x44fb('0x4b'),_0x44fb('0x2b'));this[_0x44fb('0x6')](_0x44fb('0x46'),_0x44fb('0x2b'));this[_0x44fb('0x6')](_0x44fb('0x4c'),_0x44fb('0x2b'));this[_0x44fb('0x6')](_0x44fb('0x4d'),_0x44fb('0x2b'));this[_0x44fb('0x6')](_0x44fb('0x47'),'no');this['setDataValue']('dtlssetup',_0x44fb('0x3f'));this[_0x44fb('0x6')](_0x44fb('0x4e'),_0x35a96b[_0x44fb('0x4e')]||_0x44fb('0x4f'));this[_0x44fb('0x6')]('dtlsprivatekey',_0x35a96b['dtlsprivatekey']||_0x44fb('0x50'));this[_0x44fb('0x6')](_0x44fb('0x4a'),_0x44fb('0x2b'));break;default:}}},'permissions':{'type':Sequelize['TEXT'],'set':function(_0x20a370){this[_0x44fb('0x6')](_0x44fb('0x51'),_0x20a370?_0x20a370[_0x44fb('0x26')](','):[]);},'get':function(){return this[_0x44fb('0xb')](_0x44fb('0x51'))?_[_0x44fb('0x52')](this[_0x44fb('0xb')](_0x44fb('0x51'))[_0x44fb('0x27')](','),function(_0x5231ac){return parseInt(_0x5231ac,0xa);}):[];}},'phoneBarUnconditionalNumber':{'type':Sequelize[_0x44fb('0x4')]},'phoneBarNoReplyNumber':{'type':Sequelize[_0x44fb('0x4')]},'phoneBarBusyNumber':{'type':Sequelize['STRING']},'phoneBarUnconditional':{'type':Sequelize[_0x44fb('0x17')],'defaultValue':![]},'phoneBarNoReply':{'type':Sequelize[_0x44fb('0x17')],'defaultValue':![]},'phoneBarBusy':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'phoneBarDnd':{'type':Sequelize[_0x44fb('0x17')],'defaultValue':!![]},'phoneBarUnansweredCallBadge':{'type':Sequelize[_0x44fb('0x17')],'defaultValue':!![]},'phoneBarEnableDtmfTone':{'type':Sequelize[_0x44fb('0x17')],'defaultValue':![]},'phoneBarAutoAnswerDelay':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'extensionMonitor':{'type':Sequelize['STRING'],'defaultValue':''},'crudPermissions':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'rtcp_mux':{'type':Sequelize[_0x44fb('0x1b')](_0x44fb('0x2b'),'no'),'defaultValue':'no'},'allowmessenger':{'type':Sequelize[_0x44fb('0x17')],'defaultValue':!![]},'phoneBarOutboundProxy':{'type':Sequelize[_0x44fb('0x4')]},'phoneBarEnableJaws':{'type':Sequelize[_0x44fb('0x17')],'defaultValue':![]},'phoneBarEnableScreenRecordingByAgent':{'type':Sequelize[_0x44fb('0x17')],'defaultValue':![]},'phoneBarEnableVideoRecording':{'type':Sequelize[_0x44fb('0x53')],'get':function(){return this[_0x44fb('0xb')]('phoneBarEnableScreenRecordingByAgent')?this[_0x44fb('0xb')](_0x44fb('0x54')):![];}},'phoneBarEnableAutomaticScreenRecording':{'type':Sequelize[_0x44fb('0x17')],'defaultValue':![]},'phoneBarPrefixRequired':{'type':Sequelize[_0x44fb('0x17')],'defaultValue':![]},'hotdesk':{'type':Sequelize[_0x44fb('0x17')],'defaultValue':![]},'interface':{'type':Sequelize['STRING'],'defaultValue':null},'privacyEnabled':{'type':Sequelize[_0x44fb('0x17')],'defaultValue':![]},'apiKeyNonce':{'type':Sequelize[_0x44fb('0x4')],'allowNull':!![]},'apiKeyIat':{'type':Sequelize[_0x44fb('0x4')],'allowNull':!![]},'screenrecording':{'type':Sequelize['BOOLEAN'],'defaultValue':![],'set':function(_0x35f32e){if(typeof _0x35f32e===_0x44fb('0x55')){var _0x3bcf43=_0x35f32e==='1'?!![]:_0x35f32e==='0'?![]:_0x35f32e===_0x44fb('0x56')?!![]:_0x35f32e===_0x44fb('0x57')?![]:![];this[_0x44fb('0x6')](_0x44fb('0x58'),_0x3bcf43);}else{this[_0x44fb('0x6')](_0x44fb('0x58'),_0x35f32e);}}},'blocked':{'type':Sequelize[_0x44fb('0x17')],'defaultValue':![],'set':function(_0x35d961){this[_0x44fb('0x6')](_0x44fb('0x59'),_0x35d961);if(_0x35d961===!![]){this[_0x44fb('0x6')]('blockedAt',moment());this[_0x44fb('0x6')](_0x44fb('0x5a'),0x0);}else{this[_0x44fb('0x6')](_0x44fb('0x5b'),null);}}},'blockedAt':{'type':Sequelize[_0x44fb('0x18')],'defaultValue':null},'loginAttempts':{'type':Sequelize[_0x44fb('0x14')],'defaultValue':0x0},'disabled':{'type':Sequelize[_0x44fb('0x17')],'defaultValue':![]},'settingsEnabled':{'type':Sequelize[_0x44fb('0x17')],'defaultValue':!![]},'wssPort':{'type':Sequelize[_0x44fb('0x14')](0x5)['UNSIGNED'],'defaultValue':0x1f99},'downloadAttachments':{'type':Sequelize[_0x44fb('0x17')],'defaultValue':!![]},'downloadOmnichannelInteractions':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'downloadVoiceRecordings':{'type':Sequelize[_0x44fb('0x17')],'defaultValue':!![]}};
\ No newline at end of file
+var _0x3e0c=['udp','encryption','avpf','icesupport','dtlsverify','dtlscertfile','dtlsprivatekey','rtcp_mux','wss','force_avp','/etc/pki/tls/private/motion.key','permissions','map','VIRTUAL','phoneBarEnableScreenRecordingByAgent','string','true','screenrecording','blocked','blockedAt','UNSIGNED','sequelize','moment','util','exports','STRING','name','setDataValue','fullname','internal','email','ENUM','user','agent','local','INTEGER','callerid','\x22%s\x22\x20<%s>','getDataValue','BOOLEAN','DATE','friend','peer','from-sip','ALLOWED_NOT_SCREENED','ALLOWED_PASSED_SCREEN','ALLOWED_FAILED_SCREEN','ALLOWED','PROHIB_NOT_SCREENED','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','info','inband','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','\x22\x22\x20<>','always','accept','refuse','uas','fingerprint','certificate','passive','actpass','nonat','update,nonat','TEXT','showWebBar'];(function(_0x35516b,_0x4ae52b){var _0x365e02=function(_0x5242d3){while(--_0x5242d3){_0x35516b['push'](_0x35516b['shift']());}};_0x365e02(++_0x4ae52b);}(_0x3e0c,0x16d));var _0xc3e0=function(_0x4e04a8,_0x2f2d6a){_0x4e04a8=_0x4e04a8-0x0;var _0x6c3e6f=_0x3e0c[_0x4e04a8];return _0x6c3e6f;};'use strict';var Sequelize=require(_0xc3e0('0x0'));var moment=require(_0xc3e0('0x1'));var util=require(_0xc3e0('0x2'));var _=require('lodash');module[_0xc3e0('0x3')]={'name':{'type':Sequelize[_0xc3e0('0x4')],'allowNull':![],'unique':_0xc3e0('0x5'),'validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i},'set':function(_0x2ba135){this[_0xc3e0('0x6')]('name',_0x2ba135);this[_0xc3e0('0x6')]('defaultuser',_0x2ba135);},'comment':'The\x20name\x20of\x20the\x20user'},'fullname':{'type':Sequelize['STRING'],'allowNull':![],'set':function(_0x553e6d){this[_0xc3e0('0x6')](_0xc3e0('0x7'),_0x553e6d);this[_0xc3e0('0x6')]('callerid',util['format']('\x22%s\x22\x20<%s>',_0x553e6d,this['getDataValue'](_0xc3e0('0x8'))));}},'alias':{'type':Sequelize[_0xc3e0('0x4')]},'email':{'type':Sequelize[_0xc3e0('0x4')],'allowNull':![],'unique':_0xc3e0('0x9'),'validate':{'isEmail':!![]},'set':function(_0x3f38c5){if(_0x3f38c5){this[_0xc3e0('0x6')](_0xc3e0('0x9'),_0x3f38c5['toLowerCase']());}}},'role':{'type':Sequelize[_0xc3e0('0xa')]('admin',_0xc3e0('0xb'),_0xc3e0('0xc'),'telephone'),'allowNull':![]},'password':{'type':Sequelize[_0xc3e0('0x4')],'allowNull':![],'validate':{'notEmpty':!![]}},'provider':{'type':Sequelize['STRING'],'defaultValue':_0xc3e0('0xd')},'internal':{'type':Sequelize[_0xc3e0('0xe')](0xb),'allowNull':![],'unique':_0xc3e0('0x8'),'set':function(_0x18c9f7){this[_0xc3e0('0x6')](_0xc3e0('0x8'),_0x18c9f7);this[_0xc3e0('0x6')]('accountcode',_0x18c9f7);this[_0xc3e0('0x6')](_0xc3e0('0xf'),util['format'](_0xc3e0('0x10'),this[_0xc3e0('0x11')](_0xc3e0('0x7')),_0x18c9f7));}},'salt':{'type':Sequelize[_0xc3e0('0x4')]},'phone':{'type':Sequelize[_0xc3e0('0x4')]},'mobile':{'type':Sequelize[_0xc3e0('0x4')]},'address':{'type':Sequelize[_0xc3e0('0x4')]},'zipcode':{'type':Sequelize[_0xc3e0('0x4')]},'userpic':{'type':Sequelize[_0xc3e0('0x4')]},'city':{'type':Sequelize[_0xc3e0('0x4')]},'country':{'type':Sequelize[_0xc3e0('0x4')]},'online':{'type':Sequelize[_0xc3e0('0x12')],'defaultValue':![]},'lastLoginAt':{'type':Sequelize[_0xc3e0('0x13')]},'voicePause':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'chatPause':{'type':Sequelize[_0xc3e0('0x12')],'defaultValue':![]},'mailPause':{'type':Sequelize[_0xc3e0('0x12')],'defaultValue':![]},'faxPause':{'type':Sequelize[_0xc3e0('0x12')],'defaultValue':![]},'smsPause':{'type':Sequelize[_0xc3e0('0x12')],'defaultValue':![]},'whatsappPause':{'type':Sequelize[_0xc3e0('0x12')],'defaultValue':![]},'openchannelPause':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'pauseType':{'type':Sequelize[_0xc3e0('0x4')],'defaultValue':'DEFAULT\x20PAUSE'},'lastPauseAt':{'type':Sequelize[_0xc3e0('0x13')]},'chatCapacity':{'type':Sequelize[_0xc3e0('0xe')],'defaultValue':0x0},'mailCapacity':{'type':Sequelize[_0xc3e0('0xe')],'defaultValue':0x0},'faxCapacity':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'smsCapacity':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'whatsappCapacity':{'type':Sequelize[_0xc3e0('0xe')],'defaultValue':0x0},'openchannelCapacity':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'phoneBarAutoAnswer':{'type':Sequelize[_0xc3e0('0x12')],'defaultValue':![]},'phoneBarEnableSettings':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'phoneBarListenPort':{'type':Sequelize[_0xc3e0('0xe')](0x5),'defaultValue':0x1428},'phoneBarExpires':{'type':Sequelize[_0xc3e0('0xe')](0x5),'defaultValue':0x78},'phoneBarRemoteControl':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'phoneBarRemoteControlPort':{'type':Sequelize[_0xc3e0('0xe')],'defaultValue':0x26a0},'phoneBarEnableRecording':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'phoneBarRingInUse':{'type':Sequelize[_0xc3e0('0x12')],'defaultValue':![]},'chanspy':{'type':Sequelize[_0xc3e0('0x12')],'defaultValue':![]},'description':{'type':Sequelize[_0xc3e0('0x4')],'allowNull':!![]},'host':{'type':Sequelize[_0xc3e0('0x4')],'allowNull':!![],'defaultValue':'dynamic'},'ipaddr':{'type':Sequelize[_0xc3e0('0x4')],'allowNull':!![]},'port':{'type':Sequelize[_0xc3e0('0xe')](0x5),'allowNull':!![]},'regseconds':{'type':Sequelize['INTEGER'](0xb),'allowNull':!![]},'fullcontact':{'type':Sequelize[_0xc3e0('0x4')],'allowNull':!![]},'regserver':{'type':Sequelize[_0xc3e0('0x4')],'allowNull':!![]},'useragent':{'type':Sequelize[_0xc3e0('0x4')],'allowNull':!![]},'lastms':{'type':Sequelize[_0xc3e0('0xe')](0xb),'allowNull':!![]},'type':{'type':Sequelize['ENUM'](_0xc3e0('0x14'),_0xc3e0('0xb'),_0xc3e0('0x15')),'allowNull':!![],'defaultValue':_0xc3e0('0x14')},'context':{'type':Sequelize[_0xc3e0('0x4')],'allowNull':!![],'defaultValue':_0xc3e0('0x16')},'callingpres':{'type':Sequelize['ENUM'](_0xc3e0('0x17'),_0xc3e0('0x18'),_0xc3e0('0x19'),_0xc3e0('0x1a'),_0xc3e0('0x1b'),_0xc3e0('0x1c'),_0xc3e0('0x1d'),_0xc3e0('0x1e')),'allowNull':!![]},'deny':{'type':Sequelize[_0xc3e0('0x4')],'allowNull':!![]},'permit':{'type':Sequelize[_0xc3e0('0x4')],'allowNull':!![]},'secret':{'type':Sequelize[_0xc3e0('0x4')],'allowNull':!![]},'md5secret':{'type':Sequelize[_0xc3e0('0x4')],'allowNull':!![]},'remotesecret':{'type':Sequelize[_0xc3e0('0x4')],'allowNull':!![]},'transport':{'type':Sequelize[_0xc3e0('0x4')],'allowNull':!![],'defaultValue':'udp','set':function(_0xc4613e){this[_0xc3e0('0x6')](_0xc3e0('0x1f'),_0xc4613e?_0xc4613e[_0xc3e0('0x20')](','):null);},'get':function(){return this[_0xc3e0('0x11')]('transport')?this[_0xc3e0('0x11')]('transport')[_0xc3e0('0x21')](','):null;},'comment':_0xc3e0('0x22')},'dtmfmode':{'type':Sequelize[_0xc3e0('0xa')](_0xc3e0('0x23'),_0xc3e0('0x24'),'shortinfo',_0xc3e0('0x25'),_0xc3e0('0x26')),'allowNull':!![],'defaultValue':'rfc2833'},'directmedia':{'type':Sequelize['ENUM'](_0xc3e0('0x27'),'no','nonat',_0xc3e0('0x28'),_0xc3e0('0x29')),'allowNull':!![],'defaultValue':'no'},'directrtpsetup':{'type':Sequelize[_0xc3e0('0xa')](_0xc3e0('0x27'),'no'),'allowNull':!![],'defaultValue':'no'},'directmediapermit':{'type':Sequelize[_0xc3e0('0x4')],'allowNull':!![]},'directmediadeny':{'type':Sequelize[_0xc3e0('0x4')],'allowNull':!![]},'nat':{'type':Sequelize[_0xc3e0('0x4')],'allowNull':!![],'defaultValue':_0xc3e0('0x2a'),'set':function(_0xc84803){this['setDataValue'](_0xc3e0('0x2b'),_0xc84803?_0xc84803['join'](','):null);},'get':function(){return this[_0xc3e0('0x11')](_0xc3e0('0x2b'))?this['getDataValue']('nat')['split'](','):null;},'comment':_0xc3e0('0x2c')},'callgroup':{'type':Sequelize['STRING']},'namedcallgroup':{'type':Sequelize[_0xc3e0('0x4')]},'pickupgroup':{'type':Sequelize[_0xc3e0('0x4')]},'namedpickupgroup':{'type':Sequelize['STRING']},'language':{'type':Sequelize[_0xc3e0('0x4')],'defaultValue':'en'},'tonezone':{'type':Sequelize['STRING']},'disallow':{'type':Sequelize['STRING'],'allowNull':![],'defaultValue':_0xc3e0('0x2d')},'allow':{'type':Sequelize[_0xc3e0('0x4')],'allowNull':![],'defaultValue':'ulaw;alaw;gsm','set':function(_0x35d62a){this['setDataValue']('allow',_0x35d62a?_0x35d62a[_0xc3e0('0x20')](';'):_0xc3e0('0x2e'));},'get':function(){return this[_0xc3e0('0x11')]('allow')?this[_0xc3e0('0x11')](_0xc3e0('0x2f'))[_0xc3e0('0x21')](';'):null;},'comment':_0xc3e0('0x30')},'autoframing':{'type':Sequelize[_0xc3e0('0xa')](_0xc3e0('0x27'),'no'),'allowNull':!![]},'insecure':{'type':Sequelize[_0xc3e0('0x4')],'allowNull':!![],'set':function(_0xdf75ee){this[_0xc3e0('0x6')](_0xc3e0('0x31'),_0xdf75ee?_0xdf75ee[_0xc3e0('0x20')](','):null);},'get':function(){return this[_0xc3e0('0x11')]('insecure')?this[_0xc3e0('0x11')]('insecure')[_0xc3e0('0x21')](','):null;},'comment':_0xc3e0('0x32')},'trustrpid':{'type':Sequelize[_0xc3e0('0xa')](_0xc3e0('0x27'),'no'),'allowNull':!![],'defaultValue':'no'},'trust_id_outbound':{'type':Sequelize[_0xc3e0('0xa')](_0xc3e0('0x27'),'no'),'allowNull':!![],'defaultValue':'no'},'progressinband':{'type':Sequelize[_0xc3e0('0xa')](_0xc3e0('0x27'),'no',_0xc3e0('0x33')),'allowNull':!![]},'promiscredir':{'type':Sequelize[_0xc3e0('0xa')](_0xc3e0('0x27'),'no'),'allowNull':!![]},'useclientcode':{'type':Sequelize['ENUM'](_0xc3e0('0x27'),'no'),'allowNull':!![]},'accountcode':{'type':Sequelize[_0xc3e0('0xe')](0xb),'allowNull':!![]},'setvar':{'type':Sequelize[_0xc3e0('0x4')],'allowNull':!![]},'callerid':{'type':Sequelize[_0xc3e0('0x4')],'allowNull':!![],'defaultValue':_0xc3e0('0x34')},'amaflags':{'type':Sequelize['STRING'],'allowNull':!![]},'callcounter':{'type':Sequelize[_0xc3e0('0xa')](_0xc3e0('0x27'),'no'),'allowNull':!![],'defaultValue':'yes'},'busylevel':{'type':Sequelize['INTEGER'](0xb),'allowNull':!![]},'allowoverlap':{'type':Sequelize[_0xc3e0('0xa')](_0xc3e0('0x27'),'no'),'allowNull':!![]},'allowsubscribe':{'type':Sequelize[_0xc3e0('0xa')](_0xc3e0('0x27'),'no'),'allowNull':!![]},'allowtransfer':{'type':Sequelize[_0xc3e0('0xa')]('yes','no'),'allowNull':!![]},'ignoresdpversion':{'type':Sequelize[_0xc3e0('0xa')](_0xc3e0('0x27'),'no'),'allowNull':!![]},'subscribecontext':{'type':Sequelize[_0xc3e0('0x4')],'allowNull':!![]},'template':{'type':Sequelize[_0xc3e0('0x4')],'allowNull':!![]},'videosupport':{'type':Sequelize[_0xc3e0('0xa')](_0xc3e0('0x27'),'no',_0xc3e0('0x35')),'allowNull':!![],'defaultValue':'no'},'maxcallbitrate':{'type':Sequelize['INTEGER'](0xb),'allowNull':!![]},'rfc2833compensate':{'type':Sequelize[_0xc3e0('0xa')](_0xc3e0('0x27'),'no'),'allowNull':!![]},'mailbox':{'type':Sequelize['STRING'],'allowNull':!![]},'session_timers':{'type':Sequelize[_0xc3e0('0xa')](_0xc3e0('0x36'),_0xc3e0('0x37'),'originate'),'allowNull':!![]},'session_expires':{'type':Sequelize[_0xc3e0('0xe')](0xb),'allowNull':!![]},'session_minse':{'type':Sequelize[_0xc3e0('0xe')](0xb),'allowNull':!![]},'session_refresher':{'type':Sequelize['ENUM']('uac','uas'),'allowNull':!![],'defaultValue':_0xc3e0('0x38')},'t38pt_usertpsource':{'type':Sequelize[_0xc3e0('0x4')],'allowNull':!![]},'regexten':{'type':Sequelize[_0xc3e0('0x4')],'allowNull':!![]},'fromdomain':{'type':Sequelize[_0xc3e0('0x4')],'allowNull':!![]},'fromuser':{'type':Sequelize[_0xc3e0('0x4')],'allowNull':!![]},'qualify':{'type':Sequelize[_0xc3e0('0xa')](_0xc3e0('0x27'),'no'),'allowNull':!![],'defaultValue':_0xc3e0('0x27')},'keepalive':{'type':Sequelize['INTEGER'](0xb),'allowNull':!![]},'defaultip':{'type':Sequelize[_0xc3e0('0x4')],'allowNull':!![]},'defaultuser':{'type':Sequelize['STRING'],'allowNull':!![]},'rtptimeout':{'type':Sequelize[_0xc3e0('0xe')](0xb),'allowNull':!![]},'rtpholdtimeout':{'type':Sequelize[_0xc3e0('0xe')](0xb),'allowNull':!![]},'rtpkeepalive':{'type':Sequelize['INTEGER'](0xb),'allowNull':!![]},'sendrpid':{'type':Sequelize[_0xc3e0('0xa')](_0xc3e0('0x27'),'no'),'allowNull':!![],'defaultValue':'no'},'outboundproxy':{'type':Sequelize[_0xc3e0('0x4')],'allowNull':!![]},'callbackextension':{'type':Sequelize['STRING'],'allowNull':!![]},'timert1':{'type':Sequelize[_0xc3e0('0xe')](0xb),'allowNull':!![]},'timerb':{'type':Sequelize[_0xc3e0('0xe')](0xb),'allowNull':!![]},'qualifyfreq':{'type':Sequelize[_0xc3e0('0xe')](0xb),'allowNull':!![]},'contactpermit':{'type':Sequelize[_0xc3e0('0x4')],'allowNull':!![]},'contactdeny':{'type':Sequelize[_0xc3e0('0x4')],'allowNull':!![]},'contactacl':{'type':Sequelize[_0xc3e0('0x4')],'allowNull':!![]},'unsolicited_mailbox':{'type':Sequelize[_0xc3e0('0x4')],'allowNull':!![]},'use_q850_reason':{'type':Sequelize['STRING'],'allowNull':!![]},'maxforwards':{'type':Sequelize[_0xc3e0('0xe')](0xb),'allowNull':!![]},'encryption':{'type':Sequelize['ENUM'](_0xc3e0('0x27'),'no'),'allowNull':!![],'defaultValue':'no'},'avpf':{'type':Sequelize[_0xc3e0('0xa')](_0xc3e0('0x27'),'no'),'allowNull':!![]},'force_avp':{'type':Sequelize[_0xc3e0('0xa')]('yes','no'),'allowNull':!![]},'icesupport':{'type':Sequelize[_0xc3e0('0xa')](_0xc3e0('0x27'),'no'),'allowNull':!![]},'dtlsenable':{'type':Sequelize[_0xc3e0('0xa')](_0xc3e0('0x27'),'no'),'allowNull':!![]},'dtlsverify':{'type':Sequelize[_0xc3e0('0xa')](_0xc3e0('0x27'),'no',_0xc3e0('0x39'),_0xc3e0('0x3a')),'allowNull':!![]},'dtlsrekey':{'type':Sequelize['INTEGER'](0xb),'allowNull':!![]},'dtlscertfile':{'type':Sequelize[_0xc3e0('0x4')],'allowNull':!![]},'dtlsprivatekey':{'type':Sequelize[_0xc3e0('0x4')],'allowNull':!![]},'dtlscipher':{'type':Sequelize[_0xc3e0('0x4')],'allowNull':!![]},'dtlscafile':{'type':Sequelize[_0xc3e0('0x4')],'allowNull':!![]},'dtlscapath':{'type':Sequelize['STRING'],'allowNull':!![]},'dtlssetup':{'type':Sequelize[_0xc3e0('0xa')]('active',_0xc3e0('0x3b'),_0xc3e0('0x3c')),'allowNull':!![]},'dtlsfingerprint':{'type':Sequelize[_0xc3e0('0x4')],'allowNull':!![]},'usereqphone':{'type':Sequelize[_0xc3e0('0xa')](_0xc3e0('0x27'),'no'),'allowNull':!![],'defaultValue':'no'},'recordonfeature':{'type':Sequelize[_0xc3e0('0x4')],'allowNull':!![]},'recordofffeature':{'type':Sequelize[_0xc3e0('0x4')],'allowNull':!![]},'call_limit':{'type':Sequelize[_0xc3e0('0xe')](0xb),'allowNull':!![],'defaultValue':0xa},'registertrying':{'type':Sequelize[_0xc3e0('0xa')](_0xc3e0('0x27'),'no'),'allowNull':!![]},'subscribemwi':{'type':Sequelize[_0xc3e0('0xa')]('yes','no'),'allowNull':!![]},'vmexten':{'type':Sequelize['STRING'],'allowNull':!![]},'mohinterpret':{'type':Sequelize[_0xc3e0('0x4')],'allowNull':!![]},'mohsuggest':{'type':Sequelize[_0xc3e0('0x4')],'allowNull':!![]},'parkinglot':{'type':Sequelize[_0xc3e0('0x4')],'allowNull':!![]},'canreinvite':{'type':Sequelize[_0xc3e0('0xa')](_0xc3e0('0x27'),'no',_0xc3e0('0x3d'),'update',_0xc3e0('0x3e')),'allowNull':!![],'defaultValue':'no'},'loginInPause':{'type':Sequelize[_0xc3e0('0x12')],'defaultValue':![]},'resetPasswordToken':{'type':Sequelize['STRING']},'resetPasswordExpires':{'type':Sequelize[_0xc3e0('0x13')]},'passwordResetAt':{'type':Sequelize[_0xc3e0('0x13')],'defaultValue':null},'previousPasswords':{'type':Sequelize[_0xc3e0('0x3f')]},'showWebBar':{'type':Sequelize['INTEGER'],'defaultValue':0x0,'set':function(_0x55bd63){this[_0xc3e0('0x6')](_0xc3e0('0x40'),_0x55bd63);var _0x34677a=this['get']({'plain':!![]});switch(_0x55bd63){case 0x0:case 0x1:var _0x1fd102=_0x34677a[_0xc3e0('0x1f')]?_['isArray'](_0x34677a[_0xc3e0('0x1f')])?_0x34677a['transport'][_0xc3e0('0x20')]():_0x34677a[_0xc3e0('0x1f')]:_0xc3e0('0x41');if(_0x1fd102==='wss'){_0x1fd102='udp';}this[_0xc3e0('0x6')]('transport',_0x1fd102);this['setDataValue'](_0xc3e0('0x42'),'no');this[_0xc3e0('0x6')](_0xc3e0('0x43'),null);this['setDataValue']('force_avp',null);this[_0xc3e0('0x6')](_0xc3e0('0x44'),null);this[_0xc3e0('0x6')]('dtlsenable',null);this[_0xc3e0('0x6')](_0xc3e0('0x45'),null);this[_0xc3e0('0x6')]('dtlssetup',null);this[_0xc3e0('0x6')](_0xc3e0('0x46'),null);this[_0xc3e0('0x6')](_0xc3e0('0x47'),null);this[_0xc3e0('0x6')](_0xc3e0('0x48'),'no');break;case 0x2:this['setDataValue']('transport',_0xc3e0('0x49'));this[_0xc3e0('0x6')](_0xc3e0('0x42'),_0xc3e0('0x27'));this[_0xc3e0('0x6')](_0xc3e0('0x43'),_0xc3e0('0x27'));this['setDataValue'](_0xc3e0('0x4a'),_0xc3e0('0x27'));this[_0xc3e0('0x6')](_0xc3e0('0x44'),_0xc3e0('0x27'));this[_0xc3e0('0x6')]('dtlsenable','yes');this['setDataValue']('dtlsverify','no');this[_0xc3e0('0x6')]('dtlssetup',_0xc3e0('0x3c'));this[_0xc3e0('0x6')]('dtlscertfile',_0x34677a[_0xc3e0('0x46')]||'/etc/pki/tls/certs/motion.crt');this[_0xc3e0('0x6')](_0xc3e0('0x47'),_0x34677a['dtlsprivatekey']||_0xc3e0('0x4b'));this[_0xc3e0('0x6')]('rtcp_mux',_0xc3e0('0x27'));break;default:}}},'permissions':{'type':Sequelize[_0xc3e0('0x3f')],'set':function(_0x55fec2){this[_0xc3e0('0x6')](_0xc3e0('0x4c'),_0x55fec2?_0x55fec2[_0xc3e0('0x20')](','):[]);},'get':function(){return this[_0xc3e0('0x11')](_0xc3e0('0x4c'))?_[_0xc3e0('0x4d')](this[_0xc3e0('0x11')](_0xc3e0('0x4c'))[_0xc3e0('0x21')](','),function(_0x4167bc){return parseInt(_0x4167bc,0xa);}):[];}},'phoneBarUnconditionalNumber':{'type':Sequelize[_0xc3e0('0x4')]},'phoneBarNoReplyNumber':{'type':Sequelize[_0xc3e0('0x4')]},'phoneBarBusyNumber':{'type':Sequelize['STRING']},'phoneBarUnconditional':{'type':Sequelize[_0xc3e0('0x12')],'defaultValue':![]},'phoneBarNoReply':{'type':Sequelize[_0xc3e0('0x12')],'defaultValue':![]},'phoneBarBusy':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'phoneBarDnd':{'type':Sequelize[_0xc3e0('0x12')],'defaultValue':!![]},'phoneBarUnansweredCallBadge':{'type':Sequelize[_0xc3e0('0x12')],'defaultValue':!![]},'phoneBarEnableDtmfTone':{'type':Sequelize[_0xc3e0('0x12')],'defaultValue':![]},'phoneBarAutoAnswerDelay':{'type':Sequelize[_0xc3e0('0xe')],'defaultValue':0x0},'extensionMonitor':{'type':Sequelize[_0xc3e0('0x4')],'defaultValue':''},'crudPermissions':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'rtcp_mux':{'type':Sequelize['ENUM'](_0xc3e0('0x27'),'no'),'defaultValue':'no'},'allowmessenger':{'type':Sequelize[_0xc3e0('0x12')],'defaultValue':!![]},'phoneBarOutboundProxy':{'type':Sequelize['STRING']},'phoneBarEnableJaws':{'type':Sequelize[_0xc3e0('0x12')],'defaultValue':![]},'phoneBarEnableScreenRecordingByAgent':{'type':Sequelize[_0xc3e0('0x12')],'defaultValue':![]},'phoneBarEnableVideoRecording':{'type':Sequelize[_0xc3e0('0x4e')],'get':function(){return this[_0xc3e0('0x11')]('phoneBarEnableScreenRecordingByAgent')?this[_0xc3e0('0x11')](_0xc3e0('0x4f')):![];}},'phoneBarEnableAutomaticScreenRecording':{'type':Sequelize[_0xc3e0('0x12')],'defaultValue':![]},'phoneBarPrefixRequired':{'type':Sequelize[_0xc3e0('0x12')],'defaultValue':![]},'hotdesk':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'interface':{'type':Sequelize[_0xc3e0('0x4')],'defaultValue':null},'privacyEnabled':{'type':Sequelize[_0xc3e0('0x12')],'defaultValue':![]},'apiKeyNonce':{'type':Sequelize['STRING'],'allowNull':!![]},'apiKeyIat':{'type':Sequelize[_0xc3e0('0x4')],'allowNull':!![]},'screenrecording':{'type':Sequelize[_0xc3e0('0x12')],'defaultValue':![],'set':function(_0x28dd8b){if(typeof _0x28dd8b===_0xc3e0('0x50')){var _0x402339=_0x28dd8b==='1'?!![]:_0x28dd8b==='0'?![]:_0x28dd8b===_0xc3e0('0x51')?!![]:_0x28dd8b==='false'?![]:![];this[_0xc3e0('0x6')](_0xc3e0('0x52'),_0x402339);}else{this[_0xc3e0('0x6')](_0xc3e0('0x52'),_0x28dd8b);}}},'blocked':{'type':Sequelize[_0xc3e0('0x12')],'defaultValue':![],'set':function(_0x229e57){this[_0xc3e0('0x6')](_0xc3e0('0x53'),_0x229e57);if(_0x229e57===!![]){this[_0xc3e0('0x6')](_0xc3e0('0x54'),moment());this['setDataValue']('loginAttempts',0x0);}else{this[_0xc3e0('0x6')](_0xc3e0('0x54'),null);}}},'blockedAt':{'type':Sequelize[_0xc3e0('0x13')],'defaultValue':null},'loginAttempts':{'type':Sequelize[_0xc3e0('0xe')],'defaultValue':0x0},'disabled':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'settingsEnabled':{'type':Sequelize[_0xc3e0('0x12')],'defaultValue':!![]},'wssPort':{'type':Sequelize[_0xc3e0('0xe')](0x5)[_0xc3e0('0x55')],'defaultValue':0x1f99},'downloadAttachments':{'type':Sequelize[_0xc3e0('0x12')],'defaultValue':!![]},'downloadOmnichannelInteractions':{'type':Sequelize[_0xc3e0('0x12')],'defaultValue':!![]},'downloadVoiceRecordings':{'type':Sequelize[_0xc3e0('0x12')],'defaultValue':!![]}};
\ No newline at end of file