Built motion from commit b0a9a629.|2.6.33
[motion2.git] / server / api / user / user.attributes.js
index 8f5daf1..5659daa 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x04a6=['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<>','accept','refuse','originate','uac','uas','certificate','active','update,nonat','showWebBar','get','isArray','wss','encryption','avpf','force_avp','icesupport','dtlsenable','dtlsverify','dtlssetup','dtlscertfile','rtcp_mux','actpass','/etc/pki/tls/certs/motion.crt','dtlsprivatekey','/etc/pki/tls/private/motion.key','TEXT','permissions','map','VIRTUAL','phoneBarEnableScreenRecordingByAgent','true','false','screenrecording','blockedAt','loginAttempts','UNSIGNED','util','lodash','exports','STRING','name','setDataValue','defaultuser','The\x20name\x20of\x20the\x20user','fullname','format','\x22%s\x22\x20<%s>','getDataValue','internal','email','toLowerCase','ENUM','admin','user','agent','telephone','local','INTEGER','callerid','BOOLEAN','DATE','dynamic','friend','peer','from-sip','ALLOWED_NOT_SCREENED','ALLOWED_PASSED_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]','shortinfo','inband','auto','rfc2833','yes','nonat','update','outgoing','force_rport,comedia','nat','String\x20is\x20deprecated.\x20Please\x20use\x20an\x20Array\x20as\x20[\x22force_rport\x22,\x20\x22comedia\x22]','ulaw;alaw;gsm','allow'];(function(_0x2a4095,_0x13f4f0){var _0x52eeab=function(_0x3950dd){while(--_0x3950dd){_0x2a4095['push'](_0x2a4095['shift']());}};_0x52eeab(++_0x13f4f0);}(_0x04a6,0x199));var _0x604a=function(_0x5dd862,_0x29d6c1){_0x5dd862=_0x5dd862-0x0;var _0x424171=_0x04a6[_0x5dd862];return _0x424171;};'use strict';var Sequelize=require('sequelize');var moment=require('moment');var util=require(_0x604a('0x0'));var _=require(_0x604a('0x1'));module[_0x604a('0x2')]={'name':{'type':Sequelize[_0x604a('0x3')],'allowNull':![],'unique':_0x604a('0x4'),'validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i},'set':function(_0x47235f){this['setDataValue'](_0x604a('0x4'),_0x47235f);this[_0x604a('0x5')](_0x604a('0x6'),_0x47235f);},'comment':_0x604a('0x7')},'fullname':{'type':Sequelize['STRING'],'allowNull':![],'set':function(_0x862969){this[_0x604a('0x5')](_0x604a('0x8'),_0x862969);this[_0x604a('0x5')]('callerid',util[_0x604a('0x9')](_0x604a('0xa'),_0x862969,this[_0x604a('0xb')](_0x604a('0xc'))));}},'alias':{'type':Sequelize[_0x604a('0x3')]},'email':{'type':Sequelize[_0x604a('0x3')],'allowNull':![],'unique':_0x604a('0xd'),'validate':{'isEmail':!![]},'set':function(_0x22c815){if(_0x22c815){this[_0x604a('0x5')](_0x604a('0xd'),_0x22c815[_0x604a('0xe')]());}}},'role':{'type':Sequelize[_0x604a('0xf')](_0x604a('0x10'),_0x604a('0x11'),_0x604a('0x12'),_0x604a('0x13')),'allowNull':![]},'password':{'type':Sequelize[_0x604a('0x3')],'allowNull':![],'validate':{'notEmpty':!![]}},'provider':{'type':Sequelize[_0x604a('0x3')],'defaultValue':_0x604a('0x14')},'internal':{'type':Sequelize[_0x604a('0x15')](0xb),'allowNull':![],'unique':_0x604a('0xc'),'set':function(_0x417f22){this[_0x604a('0x5')](_0x604a('0xc'),_0x417f22);this[_0x604a('0x5')]('accountcode',_0x417f22);this[_0x604a('0x5')](_0x604a('0x16'),util[_0x604a('0x9')](_0x604a('0xa'),this[_0x604a('0xb')](_0x604a('0x8')),_0x417f22));}},'salt':{'type':Sequelize['STRING']},'phone':{'type':Sequelize[_0x604a('0x3')]},'mobile':{'type':Sequelize[_0x604a('0x3')]},'address':{'type':Sequelize[_0x604a('0x3')]},'zipcode':{'type':Sequelize[_0x604a('0x3')]},'userpic':{'type':Sequelize[_0x604a('0x3')]},'city':{'type':Sequelize[_0x604a('0x3')]},'country':{'type':Sequelize[_0x604a('0x3')]},'online':{'type':Sequelize[_0x604a('0x17')],'defaultValue':![]},'lastLoginAt':{'type':Sequelize[_0x604a('0x18')]},'voicePause':{'type':Sequelize[_0x604a('0x17')],'defaultValue':![]},'chatPause':{'type':Sequelize[_0x604a('0x17')],'defaultValue':![]},'mailPause':{'type':Sequelize[_0x604a('0x17')],'defaultValue':![]},'faxPause':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'smsPause':{'type':Sequelize[_0x604a('0x17')],'defaultValue':![]},'whatsappPause':{'type':Sequelize[_0x604a('0x17')],'defaultValue':![]},'openchannelPause':{'type':Sequelize[_0x604a('0x17')],'defaultValue':![]},'pauseType':{'type':Sequelize['STRING'],'defaultValue':'DEFAULT\x20PAUSE'},'lastPauseAt':{'type':Sequelize[_0x604a('0x18')]},'chatCapacity':{'type':Sequelize[_0x604a('0x15')],'defaultValue':0x0},'mailCapacity':{'type':Sequelize[_0x604a('0x15')],'defaultValue':0x0},'faxCapacity':{'type':Sequelize[_0x604a('0x15')],'defaultValue':0x0},'smsCapacity':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'whatsappCapacity':{'type':Sequelize[_0x604a('0x15')],'defaultValue':0x0},'openchannelCapacity':{'type':Sequelize[_0x604a('0x15')],'defaultValue':0x0},'phoneBarAutoAnswer':{'type':Sequelize[_0x604a('0x17')],'defaultValue':![]},'phoneBarEnableSettings':{'type':Sequelize[_0x604a('0x17')],'defaultValue':!![]},'phoneBarListenPort':{'type':Sequelize['INTEGER'](0x5),'defaultValue':0x1428},'phoneBarExpires':{'type':Sequelize[_0x604a('0x15')](0x5),'defaultValue':0x78},'phoneBarRemoteControl':{'type':Sequelize[_0x604a('0x17')],'defaultValue':![]},'phoneBarRemoteControlPort':{'type':Sequelize[_0x604a('0x15')],'defaultValue':0x26a0},'phoneBarEnableRecording':{'type':Sequelize[_0x604a('0x17')],'defaultValue':![]},'phoneBarRingInUse':{'type':Sequelize[_0x604a('0x17')],'defaultValue':![]},'chanspy':{'type':Sequelize[_0x604a('0x17')],'defaultValue':![]},'description':{'type':Sequelize[_0x604a('0x3')],'allowNull':!![]},'host':{'type':Sequelize[_0x604a('0x3')],'allowNull':!![],'defaultValue':_0x604a('0x19')},'ipaddr':{'type':Sequelize[_0x604a('0x3')],'allowNull':!![]},'port':{'type':Sequelize['INTEGER'](0x5),'allowNull':!![]},'regseconds':{'type':Sequelize['INTEGER'](0xb),'allowNull':!![]},'fullcontact':{'type':Sequelize[_0x604a('0x3')],'allowNull':!![]},'regserver':{'type':Sequelize[_0x604a('0x3')],'allowNull':!![]},'useragent':{'type':Sequelize[_0x604a('0x3')],'allowNull':!![]},'lastms':{'type':Sequelize[_0x604a('0x15')](0xb),'allowNull':!![]},'type':{'type':Sequelize[_0x604a('0xf')](_0x604a('0x1a'),_0x604a('0x11'),_0x604a('0x1b')),'allowNull':!![],'defaultValue':_0x604a('0x1a')},'context':{'type':Sequelize['STRING'],'allowNull':!![],'defaultValue':_0x604a('0x1c')},'callingpres':{'type':Sequelize[_0x604a('0xf')](_0x604a('0x1d'),_0x604a('0x1e'),'ALLOWED_FAILED_SCREEN','ALLOWED','PROHIB_NOT_SCREENED',_0x604a('0x1f'),_0x604a('0x20'),_0x604a('0x21')),'allowNull':!![]},'deny':{'type':Sequelize[_0x604a('0x3')],'allowNull':!![]},'permit':{'type':Sequelize[_0x604a('0x3')],'allowNull':!![]},'secret':{'type':Sequelize['STRING'],'allowNull':!![]},'md5secret':{'type':Sequelize[_0x604a('0x3')],'allowNull':!![]},'remotesecret':{'type':Sequelize[_0x604a('0x3')],'allowNull':!![]},'transport':{'type':Sequelize[_0x604a('0x3')],'allowNull':!![],'defaultValue':'udp','set':function(_0x2f2708){this['setDataValue'](_0x604a('0x22'),_0x2f2708?_0x2f2708[_0x604a('0x23')](','):null);},'get':function(){return this[_0x604a('0xb')](_0x604a('0x22'))?this['getDataValue'](_0x604a('0x22'))[_0x604a('0x24')](','):null;},'comment':_0x604a('0x25')},'dtmfmode':{'type':Sequelize[_0x604a('0xf')]('rfc2833','info',_0x604a('0x26'),_0x604a('0x27'),_0x604a('0x28')),'allowNull':!![],'defaultValue':_0x604a('0x29')},'directmedia':{'type':Sequelize[_0x604a('0xf')](_0x604a('0x2a'),'no',_0x604a('0x2b'),_0x604a('0x2c'),_0x604a('0x2d')),'allowNull':!![],'defaultValue':'no'},'directrtpsetup':{'type':Sequelize[_0x604a('0xf')]('yes','no'),'allowNull':!![],'defaultValue':'no'},'directmediapermit':{'type':Sequelize[_0x604a('0x3')],'allowNull':!![]},'directmediadeny':{'type':Sequelize['STRING'],'allowNull':!![]},'nat':{'type':Sequelize['STRING'],'allowNull':!![],'defaultValue':_0x604a('0x2e'),'set':function(_0x34793a){this[_0x604a('0x5')](_0x604a('0x2f'),_0x34793a?_0x34793a[_0x604a('0x23')](','):null);},'get':function(){return this[_0x604a('0xb')]('nat')?this[_0x604a('0xb')](_0x604a('0x2f'))[_0x604a('0x24')](','):null;},'comment':_0x604a('0x30')},'callgroup':{'type':Sequelize['STRING']},'namedcallgroup':{'type':Sequelize['STRING']},'pickupgroup':{'type':Sequelize[_0x604a('0x3')]},'namedpickupgroup':{'type':Sequelize['STRING']},'language':{'type':Sequelize[_0x604a('0x3')],'defaultValue':'en'},'tonezone':{'type':Sequelize[_0x604a('0x3')]},'disallow':{'type':Sequelize['STRING'],'allowNull':![],'defaultValue':'all'},'allow':{'type':Sequelize[_0x604a('0x3')],'allowNull':![],'defaultValue':_0x604a('0x31'),'set':function(_0x487272){this[_0x604a('0x5')](_0x604a('0x32'),_0x487272?_0x487272[_0x604a('0x23')](';'):_0x604a('0x31'));},'get':function(){return this[_0x604a('0xb')]('allow')?this[_0x604a('0xb')]('allow')[_0x604a('0x24')](';'):null;},'comment':_0x604a('0x33')},'autoframing':{'type':Sequelize['ENUM']('yes','no'),'allowNull':!![]},'insecure':{'type':Sequelize[_0x604a('0x3')],'allowNull':!![],'set':function(_0x48cf11){this[_0x604a('0x5')](_0x604a('0x34'),_0x48cf11?_0x48cf11[_0x604a('0x23')](','):null);},'get':function(){return this[_0x604a('0xb')](_0x604a('0x34'))?this[_0x604a('0xb')](_0x604a('0x34'))['split'](','):null;},'comment':_0x604a('0x35')},'trustrpid':{'type':Sequelize['ENUM'](_0x604a('0x2a'),'no'),'allowNull':!![],'defaultValue':'no'},'trust_id_outbound':{'type':Sequelize[_0x604a('0xf')]('yes','no'),'allowNull':!![],'defaultValue':'no'},'progressinband':{'type':Sequelize[_0x604a('0xf')](_0x604a('0x2a'),'no',_0x604a('0x36')),'allowNull':!![]},'promiscredir':{'type':Sequelize['ENUM'](_0x604a('0x2a'),'no'),'allowNull':!![]},'useclientcode':{'type':Sequelize['ENUM'](_0x604a('0x2a'),'no'),'allowNull':!![]},'accountcode':{'type':Sequelize[_0x604a('0x15')](0xb),'allowNull':!![]},'setvar':{'type':Sequelize[_0x604a('0x3')],'allowNull':!![]},'callerid':{'type':Sequelize[_0x604a('0x3')],'allowNull':!![],'defaultValue':_0x604a('0x37')},'amaflags':{'type':Sequelize[_0x604a('0x3')],'allowNull':!![]},'callcounter':{'type':Sequelize['ENUM'](_0x604a('0x2a'),'no'),'allowNull':!![],'defaultValue':_0x604a('0x2a')},'busylevel':{'type':Sequelize[_0x604a('0x15')](0xb),'allowNull':!![]},'allowoverlap':{'type':Sequelize[_0x604a('0xf')](_0x604a('0x2a'),'no'),'allowNull':!![]},'allowsubscribe':{'type':Sequelize['ENUM'](_0x604a('0x2a'),'no'),'allowNull':!![]},'allowtransfer':{'type':Sequelize[_0x604a('0xf')](_0x604a('0x2a'),'no'),'allowNull':!![]},'ignoresdpversion':{'type':Sequelize['ENUM']('yes','no'),'allowNull':!![]},'subscribecontext':{'type':Sequelize[_0x604a('0x3')],'allowNull':!![]},'template':{'type':Sequelize[_0x604a('0x3')],'allowNull':!![]},'videosupport':{'type':Sequelize[_0x604a('0xf')]('yes','no','always'),'allowNull':!![],'defaultValue':'no'},'maxcallbitrate':{'type':Sequelize[_0x604a('0x15')](0xb),'allowNull':!![]},'rfc2833compensate':{'type':Sequelize['ENUM'](_0x604a('0x2a'),'no'),'allowNull':!![]},'mailbox':{'type':Sequelize[_0x604a('0x3')],'allowNull':!![]},'session_timers':{'type':Sequelize[_0x604a('0xf')](_0x604a('0x38'),_0x604a('0x39'),_0x604a('0x3a')),'allowNull':!![]},'session_expires':{'type':Sequelize['INTEGER'](0xb),'allowNull':!![]},'session_minse':{'type':Sequelize[_0x604a('0x15')](0xb),'allowNull':!![]},'session_refresher':{'type':Sequelize[_0x604a('0xf')](_0x604a('0x3b'),_0x604a('0x3c')),'allowNull':!![],'defaultValue':_0x604a('0x3c')},'t38pt_usertpsource':{'type':Sequelize[_0x604a('0x3')],'allowNull':!![]},'regexten':{'type':Sequelize[_0x604a('0x3')],'allowNull':!![]},'fromdomain':{'type':Sequelize['STRING'],'allowNull':!![]},'fromuser':{'type':Sequelize['STRING'],'allowNull':!![]},'qualify':{'type':Sequelize[_0x604a('0xf')](_0x604a('0x2a'),'no'),'allowNull':!![],'defaultValue':_0x604a('0x2a')},'keepalive':{'type':Sequelize[_0x604a('0x15')](0xb),'allowNull':!![]},'defaultip':{'type':Sequelize[_0x604a('0x3')],'allowNull':!![]},'defaultuser':{'type':Sequelize[_0x604a('0x3')],'allowNull':!![]},'rtptimeout':{'type':Sequelize[_0x604a('0x15')](0xb),'allowNull':!![]},'rtpholdtimeout':{'type':Sequelize[_0x604a('0x15')](0xb),'allowNull':!![]},'rtpkeepalive':{'type':Sequelize[_0x604a('0x15')](0xb),'allowNull':!![]},'sendrpid':{'type':Sequelize[_0x604a('0xf')]('yes','no'),'allowNull':!![],'defaultValue':'no'},'outboundproxy':{'type':Sequelize[_0x604a('0x3')],'allowNull':!![]},'callbackextension':{'type':Sequelize[_0x604a('0x3')],'allowNull':!![]},'timert1':{'type':Sequelize['INTEGER'](0xb),'allowNull':!![]},'timerb':{'type':Sequelize[_0x604a('0x15')](0xb),'allowNull':!![]},'qualifyfreq':{'type':Sequelize['INTEGER'](0xb),'allowNull':!![]},'contactpermit':{'type':Sequelize[_0x604a('0x3')],'allowNull':!![]},'contactdeny':{'type':Sequelize['STRING'],'allowNull':!![]},'contactacl':{'type':Sequelize['STRING'],'allowNull':!![]},'unsolicited_mailbox':{'type':Sequelize[_0x604a('0x3')],'allowNull':!![]},'use_q850_reason':{'type':Sequelize['STRING'],'allowNull':!![]},'maxforwards':{'type':Sequelize['INTEGER'](0xb),'allowNull':!![]},'encryption':{'type':Sequelize[_0x604a('0xf')](_0x604a('0x2a'),'no'),'allowNull':!![],'defaultValue':'no'},'avpf':{'type':Sequelize['ENUM']('yes','no'),'allowNull':!![]},'force_avp':{'type':Sequelize[_0x604a('0xf')]('yes','no'),'allowNull':!![]},'icesupport':{'type':Sequelize['ENUM'](_0x604a('0x2a'),'no'),'allowNull':!![]},'dtlsenable':{'type':Sequelize['ENUM'](_0x604a('0x2a'),'no'),'allowNull':!![]},'dtlsverify':{'type':Sequelize[_0x604a('0xf')](_0x604a('0x2a'),'no','fingerprint',_0x604a('0x3d')),'allowNull':!![]},'dtlsrekey':{'type':Sequelize[_0x604a('0x15')](0xb),'allowNull':!![]},'dtlscertfile':{'type':Sequelize['STRING'],'allowNull':!![]},'dtlsprivatekey':{'type':Sequelize[_0x604a('0x3')],'allowNull':!![]},'dtlscipher':{'type':Sequelize[_0x604a('0x3')],'allowNull':!![]},'dtlscafile':{'type':Sequelize[_0x604a('0x3')],'allowNull':!![]},'dtlscapath':{'type':Sequelize[_0x604a('0x3')],'allowNull':!![]},'dtlssetup':{'type':Sequelize['ENUM'](_0x604a('0x3e'),'passive','actpass'),'allowNull':!![]},'dtlsfingerprint':{'type':Sequelize['STRING'],'allowNull':!![]},'usereqphone':{'type':Sequelize[_0x604a('0xf')](_0x604a('0x2a'),'no'),'allowNull':!![],'defaultValue':'no'},'recordonfeature':{'type':Sequelize[_0x604a('0x3')],'allowNull':!![]},'recordofffeature':{'type':Sequelize[_0x604a('0x3')],'allowNull':!![]},'call_limit':{'type':Sequelize['INTEGER'](0xb),'allowNull':!![],'defaultValue':0xa},'registertrying':{'type':Sequelize[_0x604a('0xf')](_0x604a('0x2a'),'no'),'allowNull':!![]},'subscribemwi':{'type':Sequelize['ENUM'](_0x604a('0x2a'),'no'),'allowNull':!![]},'vmexten':{'type':Sequelize[_0x604a('0x3')],'allowNull':!![]},'mohinterpret':{'type':Sequelize[_0x604a('0x3')],'allowNull':!![]},'mohsuggest':{'type':Sequelize[_0x604a('0x3')],'allowNull':!![]},'parkinglot':{'type':Sequelize[_0x604a('0x3')],'allowNull':!![]},'canreinvite':{'type':Sequelize['ENUM'](_0x604a('0x2a'),'no',_0x604a('0x2b'),_0x604a('0x2c'),_0x604a('0x3f')),'allowNull':!![],'defaultValue':'no'},'loginInPause':{'type':Sequelize[_0x604a('0x17')],'defaultValue':![]},'resetPasswordToken':{'type':Sequelize[_0x604a('0x3')]},'resetPasswordExpires':{'type':Sequelize['DATE']},'passwordResetAt':{'type':Sequelize[_0x604a('0x18')],'defaultValue':null},'previousPasswords':{'type':Sequelize['TEXT']},'showWebBar':{'type':Sequelize[_0x604a('0x15')],'defaultValue':0x0,'set':function(_0x3926b9){this[_0x604a('0x5')](_0x604a('0x40'),_0x3926b9);var _0x1a0b3f=this[_0x604a('0x41')]({'plain':!![]});switch(_0x3926b9){case 0x0:case 0x1:var _0x42eec6=_0x1a0b3f[_0x604a('0x22')]?_[_0x604a('0x42')](_0x1a0b3f['transport'])?_0x1a0b3f[_0x604a('0x22')][_0x604a('0x23')]():_0x1a0b3f[_0x604a('0x22')]:'udp';if(_0x42eec6===_0x604a('0x43')){_0x42eec6='udp';}this[_0x604a('0x5')](_0x604a('0x22'),_0x42eec6);this[_0x604a('0x5')](_0x604a('0x44'),'no');this[_0x604a('0x5')](_0x604a('0x45'),null);this[_0x604a('0x5')](_0x604a('0x46'),null);this['setDataValue'](_0x604a('0x47'),null);this['setDataValue'](_0x604a('0x48'),null);this['setDataValue'](_0x604a('0x49'),null);this['setDataValue'](_0x604a('0x4a'),null);this[_0x604a('0x5')](_0x604a('0x4b'),null);this[_0x604a('0x5')]('dtlsprivatekey',null);this['setDataValue'](_0x604a('0x4c'),'no');break;case 0x2:this[_0x604a('0x5')](_0x604a('0x22'),'wss');this[_0x604a('0x5')]('encryption',_0x604a('0x2a'));this['setDataValue'](_0x604a('0x45'),_0x604a('0x2a'));this[_0x604a('0x5')]('force_avp',_0x604a('0x2a'));this[_0x604a('0x5')](_0x604a('0x47'),_0x604a('0x2a'));this[_0x604a('0x5')](_0x604a('0x48'),'yes');this[_0x604a('0x5')](_0x604a('0x49'),'no');this['setDataValue']('dtlssetup',_0x604a('0x4d'));this[_0x604a('0x5')](_0x604a('0x4b'),_0x1a0b3f[_0x604a('0x4b')]||_0x604a('0x4e'));this[_0x604a('0x5')](_0x604a('0x4f'),_0x1a0b3f[_0x604a('0x4f')]||_0x604a('0x50'));this[_0x604a('0x5')](_0x604a('0x4c'),'yes');break;default:}}},'permissions':{'type':Sequelize[_0x604a('0x51')],'set':function(_0x28cd69){this[_0x604a('0x5')](_0x604a('0x52'),_0x28cd69?_0x28cd69[_0x604a('0x23')](','):[]);},'get':function(){return this['getDataValue'](_0x604a('0x52'))?_[_0x604a('0x53')](this[_0x604a('0xb')](_0x604a('0x52'))['split'](','),function(_0x5e216f){return parseInt(_0x5e216f,0xa);}):[];}},'phoneBarUnconditionalNumber':{'type':Sequelize[_0x604a('0x3')]},'phoneBarNoReplyNumber':{'type':Sequelize[_0x604a('0x3')]},'phoneBarBusyNumber':{'type':Sequelize[_0x604a('0x3')]},'phoneBarUnconditional':{'type':Sequelize[_0x604a('0x17')],'defaultValue':![]},'phoneBarNoReply':{'type':Sequelize[_0x604a('0x17')],'defaultValue':![]},'phoneBarBusy':{'type':Sequelize[_0x604a('0x17')],'defaultValue':![]},'phoneBarDnd':{'type':Sequelize[_0x604a('0x17')],'defaultValue':!![]},'phoneBarUnansweredCallBadge':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'phoneBarEnableDtmfTone':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'phoneBarAutoAnswerDelay':{'type':Sequelize[_0x604a('0x15')],'defaultValue':0x0},'extensionMonitor':{'type':Sequelize['STRING'],'defaultValue':''},'crudPermissions':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'rtcp_mux':{'type':Sequelize[_0x604a('0xf')](_0x604a('0x2a'),'no'),'defaultValue':'no'},'allowmessenger':{'type':Sequelize[_0x604a('0x17')],'defaultValue':!![]},'phoneBarOutboundProxy':{'type':Sequelize[_0x604a('0x3')]},'phoneBarEnableJaws':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'phoneBarEnableScreenRecordingByAgent':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'phoneBarEnableVideoRecording':{'type':Sequelize[_0x604a('0x54')],'get':function(){return this[_0x604a('0xb')](_0x604a('0x55'))?this[_0x604a('0xb')](_0x604a('0x55')):![];}},'phoneBarEnableAutomaticScreenRecording':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'phoneBarPrefixRequired':{'type':Sequelize[_0x604a('0x17')],'defaultValue':![]},'hotdesk':{'type':Sequelize[_0x604a('0x17')],'defaultValue':![]},'interface':{'type':Sequelize['STRING'],'defaultValue':null},'privacyEnabled':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'apiKeyNonce':{'type':Sequelize[_0x604a('0x3')],'allowNull':!![]},'apiKeyIat':{'type':Sequelize[_0x604a('0x3')],'allowNull':!![]},'screenrecording':{'type':Sequelize[_0x604a('0x17')],'defaultValue':![],'set':function(_0x42bc40){if(typeof _0x42bc40==='string'){var _0x4ec970=_0x42bc40==='1'?!![]:_0x42bc40==='0'?![]:_0x42bc40===_0x604a('0x56')?!![]:_0x42bc40===_0x604a('0x57')?![]:![];this[_0x604a('0x5')](_0x604a('0x58'),_0x4ec970);}else{this['setDataValue']('screenrecording',_0x42bc40);}}},'blocked':{'type':Sequelize[_0x604a('0x17')],'defaultValue':![],'set':function(_0x3ef6fe){this['setDataValue']('blocked',_0x3ef6fe);if(_0x3ef6fe===!![]){this[_0x604a('0x5')](_0x604a('0x59'),moment());this[_0x604a('0x5')](_0x604a('0x5a'),0x0);}else{this[_0x604a('0x5')](_0x604a('0x59'),null);}}},'blockedAt':{'type':Sequelize[_0x604a('0x18')],'defaultValue':null},'loginAttempts':{'type':Sequelize[_0x604a('0x15')],'defaultValue':0x0},'disabled':{'type':Sequelize[_0x604a('0x17')],'defaultValue':![]},'settingsEnabled':{'type':Sequelize[_0x604a('0x17')],'defaultValue':!![]},'wssPort':{'type':Sequelize[_0x604a('0x15')](0x5)[_0x604a('0x5b')],'defaultValue':0x1f99},'downloadAttachments':{'type':Sequelize[_0x604a('0x17')],'defaultValue':!![]},'downloadOmnichannelInteractions':{'type':Sequelize[_0x604a('0x17')],'defaultValue':!![]},'downloadVoiceRecordings':{'type':Sequelize[_0x604a('0x17')],'defaultValue':!![]},'ignorePauseForPreviewCalls':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'selectRecallMeCampaign':{'type':Sequelize[_0x604a('0x17')],'defaultValue':![]},'adSsoEnabled':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'chatAutoanswer':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'chatAutoanswerDelay':{'type':Sequelize[_0x604a('0x15')],'defaultValue':0x0},'emailAutoanswer':{'type':Sequelize[_0x604a('0x17')],'defaultValue':![]},'emailAutoanswerDelay':{'type':Sequelize[_0x604a('0x15')],'defaultValue':0x0},'smsAutoanswer':{'type':Sequelize[_0x604a('0x17')],'defaultValue':![]},'smsAutoanswerDelay':{'type':Sequelize[_0x604a('0x15')],'defaultValue':0x0},'openchannelAutoanswer':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'openchannelAutoanswerDelay':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'faxAutoanswer':{'type':Sequelize[_0x604a('0x17')],'defaultValue':![]},'faxAutoanswerDelay':{'type':Sequelize[_0x604a('0x15')],'defaultValue':0x0},'whatsappAutoanswer':{'type':Sequelize[_0x604a('0x17')],'defaultValue':![]},'whatsappAutoanswerDelay':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'messengerSoundNotification':{'type':Sequelize['BOOLEAN'],'defaultValue':![]}};
\ No newline at end of file
+var _0x238b=['uac','uas','fingerprint','certificate','active','passive','actpass','nonat','update,nonat','TEXT','get','udp','encryption','avpf','force_avp','icesupport','dtlsverify','dtlssetup','rtcp_mux','wss','dtlsenable','dtlscertfile','/etc/pki/tls/certs/motion.crt','dtlsprivatekey','/etc/pki/tls/private/motion.key','permissions','map','VIRTUAL','phoneBarEnableScreenRecordingByAgent','true','false','blocked','blockedAt','loginAttempts','UNSIGNED','sequelize','moment','util','lodash','exports','setDataValue','name','defaultuser','The\x20name\x20of\x20the\x20user','fullname','callerid','format','getDataValue','internal','STRING','email','toLowerCase','ENUM','admin','user','agent','telephone','local','accountcode','BOOLEAN','DEFAULT\x20PAUSE','DATE','INTEGER','dynamic','friend','peer','from-sip','ALLOWED_NOT_SCREENED','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','shortinfo','auto','yes','update','outgoing','force_rport,comedia','nat','String\x20is\x20deprecated.\x20Please\x20use\x20an\x20Array\x20as\x20[\x22force_rport\x22,\x20\x22comedia\x22]','ulaw;alaw;gsm','allow','String\x20is\x20deprecated.\x20Please\x20use\x20an\x20Array\x20as\x20[\x22ulaw\x22,\x20\x22alaw\x22,\x20\x22gsm\x22]','insecure','never','\x22\x22\x20<>','always','accept','originate'];(function(_0x22083e,_0x4f8468){var _0x198f76=function(_0x4f7e72){while(--_0x4f7e72){_0x22083e['push'](_0x22083e['shift']());}};_0x198f76(++_0x4f8468);}(_0x238b,0x146));var _0xb238=function(_0x14add3,_0x13ce8d){_0x14add3=_0x14add3-0x0;var _0x4a174f=_0x238b[_0x14add3];return _0x4a174f;};'use strict';var Sequelize=require(_0xb238('0x0'));var moment=require(_0xb238('0x1'));var util=require(_0xb238('0x2'));var _=require(_0xb238('0x3'));module[_0xb238('0x4')]={'name':{'type':Sequelize['STRING'],'allowNull':![],'unique':'name','validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i},'set':function(_0x3dc837){this[_0xb238('0x5')](_0xb238('0x6'),_0x3dc837);this[_0xb238('0x5')](_0xb238('0x7'),_0x3dc837);},'comment':_0xb238('0x8')},'fullname':{'type':Sequelize['STRING'],'allowNull':![],'set':function(_0xded9b5){this[_0xb238('0x5')](_0xb238('0x9'),_0xded9b5);this[_0xb238('0x5')](_0xb238('0xa'),util[_0xb238('0xb')]('\x22%s\x22\x20<%s>',_0xded9b5,this[_0xb238('0xc')](_0xb238('0xd'))));}},'alias':{'type':Sequelize['STRING']},'email':{'type':Sequelize[_0xb238('0xe')],'allowNull':![],'unique':_0xb238('0xf'),'validate':{'isEmail':!![]},'set':function(_0x95bd85){if(_0x95bd85){this['setDataValue'](_0xb238('0xf'),_0x95bd85[_0xb238('0x10')]());}}},'role':{'type':Sequelize[_0xb238('0x11')](_0xb238('0x12'),_0xb238('0x13'),_0xb238('0x14'),_0xb238('0x15')),'allowNull':![]},'password':{'type':Sequelize[_0xb238('0xe')],'allowNull':![],'validate':{'notEmpty':!![]}},'provider':{'type':Sequelize[_0xb238('0xe')],'defaultValue':_0xb238('0x16')},'internal':{'type':Sequelize['INTEGER'](0xb),'allowNull':![],'unique':'internal','set':function(_0x29536f){this[_0xb238('0x5')](_0xb238('0xd'),_0x29536f);this[_0xb238('0x5')](_0xb238('0x17'),_0x29536f);this[_0xb238('0x5')](_0xb238('0xa'),util[_0xb238('0xb')]('\x22%s\x22\x20<%s>',this[_0xb238('0xc')]('fullname'),_0x29536f));}},'salt':{'type':Sequelize['STRING']},'phone':{'type':Sequelize[_0xb238('0xe')]},'mobile':{'type':Sequelize[_0xb238('0xe')]},'address':{'type':Sequelize[_0xb238('0xe')]},'zipcode':{'type':Sequelize[_0xb238('0xe')]},'userpic':{'type':Sequelize[_0xb238('0xe')]},'city':{'type':Sequelize[_0xb238('0xe')]},'country':{'type':Sequelize[_0xb238('0xe')]},'online':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'lastLoginAt':{'type':Sequelize['DATE']},'voicePause':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'chatPause':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'mailPause':{'type':Sequelize[_0xb238('0x18')],'defaultValue':![]},'faxPause':{'type':Sequelize[_0xb238('0x18')],'defaultValue':![]},'smsPause':{'type':Sequelize[_0xb238('0x18')],'defaultValue':![]},'whatsappPause':{'type':Sequelize[_0xb238('0x18')],'defaultValue':![]},'openchannelPause':{'type':Sequelize[_0xb238('0x18')],'defaultValue':![]},'pauseType':{'type':Sequelize[_0xb238('0xe')],'defaultValue':_0xb238('0x19')},'lastPauseAt':{'type':Sequelize[_0xb238('0x1a')]},'chatCapacity':{'type':Sequelize[_0xb238('0x1b')],'defaultValue':0x0},'mailCapacity':{'type':Sequelize[_0xb238('0x1b')],'defaultValue':0x0},'faxCapacity':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'smsCapacity':{'type':Sequelize[_0xb238('0x1b')],'defaultValue':0x0},'whatsappCapacity':{'type':Sequelize[_0xb238('0x1b')],'defaultValue':0x0},'openchannelCapacity':{'type':Sequelize[_0xb238('0x1b')],'defaultValue':0x0},'phoneBarAutoAnswer':{'type':Sequelize[_0xb238('0x18')],'defaultValue':![]},'phoneBarEnableSettings':{'type':Sequelize[_0xb238('0x18')],'defaultValue':!![]},'phoneBarListenPort':{'type':Sequelize['INTEGER'](0x5),'defaultValue':0x1428},'phoneBarExpires':{'type':Sequelize[_0xb238('0x1b')](0x5),'defaultValue':0x78},'phoneBarRemoteControl':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'phoneBarRemoteControlPort':{'type':Sequelize[_0xb238('0x1b')],'defaultValue':0x26a0},'phoneBarEnableRecording':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'phoneBarRingInUse':{'type':Sequelize[_0xb238('0x18')],'defaultValue':![]},'chanspy':{'type':Sequelize[_0xb238('0x18')],'defaultValue':![]},'description':{'type':Sequelize['STRING'],'allowNull':!![]},'host':{'type':Sequelize[_0xb238('0xe')],'allowNull':!![],'defaultValue':_0xb238('0x1c')},'ipaddr':{'type':Sequelize[_0xb238('0xe')],'allowNull':!![]},'port':{'type':Sequelize[_0xb238('0x1b')](0x5),'allowNull':!![]},'regseconds':{'type':Sequelize[_0xb238('0x1b')](0xb),'allowNull':!![]},'fullcontact':{'type':Sequelize[_0xb238('0xe')],'allowNull':!![]},'regserver':{'type':Sequelize[_0xb238('0xe')],'allowNull':!![]},'useragent':{'type':Sequelize['STRING'],'allowNull':!![]},'lastms':{'type':Sequelize[_0xb238('0x1b')](0xb),'allowNull':!![]},'type':{'type':Sequelize[_0xb238('0x11')](_0xb238('0x1d'),'user',_0xb238('0x1e')),'allowNull':!![],'defaultValue':_0xb238('0x1d')},'context':{'type':Sequelize[_0xb238('0xe')],'allowNull':!![],'defaultValue':_0xb238('0x1f')},'callingpres':{'type':Sequelize[_0xb238('0x11')](_0xb238('0x20'),'ALLOWED_PASSED_SCREEN',_0xb238('0x21'),_0xb238('0x22'),_0xb238('0x23'),_0xb238('0x24'),_0xb238('0x25'),_0xb238('0x26')),'allowNull':!![]},'deny':{'type':Sequelize[_0xb238('0xe')],'allowNull':!![]},'permit':{'type':Sequelize[_0xb238('0xe')],'allowNull':!![]},'secret':{'type':Sequelize[_0xb238('0xe')],'allowNull':!![]},'md5secret':{'type':Sequelize['STRING'],'allowNull':!![]},'remotesecret':{'type':Sequelize['STRING'],'allowNull':!![]},'transport':{'type':Sequelize['STRING'],'allowNull':!![],'defaultValue':'udp','set':function(_0x3a5731){this[_0xb238('0x5')](_0xb238('0x27'),_0x3a5731?_0x3a5731[_0xb238('0x28')](','):null);},'get':function(){return this['getDataValue'](_0xb238('0x27'))?this[_0xb238('0xc')](_0xb238('0x27'))[_0xb238('0x29')](','):null;},'comment':_0xb238('0x2a')},'dtmfmode':{'type':Sequelize[_0xb238('0x11')](_0xb238('0x2b'),_0xb238('0x2c'),_0xb238('0x2d'),'inband',_0xb238('0x2e')),'allowNull':!![],'defaultValue':_0xb238('0x2b')},'directmedia':{'type':Sequelize[_0xb238('0x11')](_0xb238('0x2f'),'no','nonat',_0xb238('0x30'),_0xb238('0x31')),'allowNull':!![],'defaultValue':'no'},'directrtpsetup':{'type':Sequelize['ENUM']('yes','no'),'allowNull':!![],'defaultValue':'no'},'directmediapermit':{'type':Sequelize[_0xb238('0xe')],'allowNull':!![]},'directmediadeny':{'type':Sequelize[_0xb238('0xe')],'allowNull':!![]},'nat':{'type':Sequelize[_0xb238('0xe')],'allowNull':!![],'defaultValue':_0xb238('0x32'),'set':function(_0x105cef){this[_0xb238('0x5')](_0xb238('0x33'),_0x105cef?_0x105cef[_0xb238('0x28')](','):null);},'get':function(){return this[_0xb238('0xc')](_0xb238('0x33'))?this[_0xb238('0xc')](_0xb238('0x33'))['split'](','):null;},'comment':_0xb238('0x34')},'callgroup':{'type':Sequelize['STRING']},'namedcallgroup':{'type':Sequelize[_0xb238('0xe')]},'pickupgroup':{'type':Sequelize[_0xb238('0xe')]},'namedpickupgroup':{'type':Sequelize[_0xb238('0xe')]},'language':{'type':Sequelize[_0xb238('0xe')],'defaultValue':'en'},'tonezone':{'type':Sequelize[_0xb238('0xe')]},'disallow':{'type':Sequelize['STRING'],'allowNull':![],'defaultValue':'all'},'allow':{'type':Sequelize[_0xb238('0xe')],'allowNull':![],'defaultValue':_0xb238('0x35'),'set':function(_0x2863cb){this[_0xb238('0x5')](_0xb238('0x36'),_0x2863cb?_0x2863cb[_0xb238('0x28')](';'):_0xb238('0x35'));},'get':function(){return this['getDataValue'](_0xb238('0x36'))?this['getDataValue'](_0xb238('0x36'))[_0xb238('0x29')](';'):null;},'comment':_0xb238('0x37')},'autoframing':{'type':Sequelize['ENUM'](_0xb238('0x2f'),'no'),'allowNull':!![]},'insecure':{'type':Sequelize['STRING'],'allowNull':!![],'set':function(_0x43128b){this[_0xb238('0x5')](_0xb238('0x38'),_0x43128b?_0x43128b[_0xb238('0x28')](','):null);},'get':function(){return this[_0xb238('0xc')](_0xb238('0x38'))?this[_0xb238('0xc')](_0xb238('0x38'))[_0xb238('0x29')](','):null;},'comment':'String\x20is\x20deprecated.\x20Please\x20use\x20an\x20Array\x20as\x20[\x22port\x22,\x20\x22invite\x22]'},'trustrpid':{'type':Sequelize[_0xb238('0x11')](_0xb238('0x2f'),'no'),'allowNull':!![],'defaultValue':'no'},'trust_id_outbound':{'type':Sequelize[_0xb238('0x11')]('yes','no'),'allowNull':!![],'defaultValue':'no'},'progressinband':{'type':Sequelize[_0xb238('0x11')]('yes','no',_0xb238('0x39')),'allowNull':!![]},'promiscredir':{'type':Sequelize[_0xb238('0x11')](_0xb238('0x2f'),'no'),'allowNull':!![]},'useclientcode':{'type':Sequelize['ENUM'](_0xb238('0x2f'),'no'),'allowNull':!![]},'accountcode':{'type':Sequelize[_0xb238('0x1b')](0xb),'allowNull':!![]},'setvar':{'type':Sequelize['STRING'],'allowNull':!![]},'callerid':{'type':Sequelize[_0xb238('0xe')],'allowNull':!![],'defaultValue':_0xb238('0x3a')},'amaflags':{'type':Sequelize[_0xb238('0xe')],'allowNull':!![]},'callcounter':{'type':Sequelize['ENUM'](_0xb238('0x2f'),'no'),'allowNull':!![],'defaultValue':_0xb238('0x2f')},'busylevel':{'type':Sequelize['INTEGER'](0xb),'allowNull':!![]},'allowoverlap':{'type':Sequelize[_0xb238('0x11')]('yes','no'),'allowNull':!![]},'allowsubscribe':{'type':Sequelize['ENUM']('yes','no'),'allowNull':!![]},'allowtransfer':{'type':Sequelize[_0xb238('0x11')](_0xb238('0x2f'),'no'),'allowNull':!![]},'ignoresdpversion':{'type':Sequelize[_0xb238('0x11')](_0xb238('0x2f'),'no'),'allowNull':!![]},'subscribecontext':{'type':Sequelize[_0xb238('0xe')],'allowNull':!![]},'template':{'type':Sequelize[_0xb238('0xe')],'allowNull':!![]},'videosupport':{'type':Sequelize[_0xb238('0x11')](_0xb238('0x2f'),'no',_0xb238('0x3b')),'allowNull':!![],'defaultValue':'no'},'maxcallbitrate':{'type':Sequelize[_0xb238('0x1b')](0xb),'allowNull':!![]},'rfc2833compensate':{'type':Sequelize[_0xb238('0x11')](_0xb238('0x2f'),'no'),'allowNull':!![]},'mailbox':{'type':Sequelize['STRING'],'allowNull':!![]},'session_timers':{'type':Sequelize[_0xb238('0x11')](_0xb238('0x3c'),'refuse',_0xb238('0x3d')),'allowNull':!![]},'session_expires':{'type':Sequelize[_0xb238('0x1b')](0xb),'allowNull':!![]},'session_minse':{'type':Sequelize['INTEGER'](0xb),'allowNull':!![]},'session_refresher':{'type':Sequelize[_0xb238('0x11')](_0xb238('0x3e'),_0xb238('0x3f')),'allowNull':!![],'defaultValue':_0xb238('0x3f')},'t38pt_usertpsource':{'type':Sequelize[_0xb238('0xe')],'allowNull':!![]},'regexten':{'type':Sequelize['STRING'],'allowNull':!![]},'fromdomain':{'type':Sequelize['STRING'],'allowNull':!![]},'fromuser':{'type':Sequelize[_0xb238('0xe')],'allowNull':!![]},'qualify':{'type':Sequelize[_0xb238('0x11')](_0xb238('0x2f'),'no'),'allowNull':!![],'defaultValue':_0xb238('0x2f')},'keepalive':{'type':Sequelize['INTEGER'](0xb),'allowNull':!![]},'defaultip':{'type':Sequelize[_0xb238('0xe')],'allowNull':!![]},'defaultuser':{'type':Sequelize['STRING'],'allowNull':!![]},'rtptimeout':{'type':Sequelize[_0xb238('0x1b')](0xb),'allowNull':!![]},'rtpholdtimeout':{'type':Sequelize[_0xb238('0x1b')](0xb),'allowNull':!![]},'rtpkeepalive':{'type':Sequelize[_0xb238('0x1b')](0xb),'allowNull':!![]},'sendrpid':{'type':Sequelize[_0xb238('0x11')]('yes','no'),'allowNull':!![],'defaultValue':'no'},'outboundproxy':{'type':Sequelize[_0xb238('0xe')],'allowNull':!![]},'callbackextension':{'type':Sequelize[_0xb238('0xe')],'allowNull':!![]},'timert1':{'type':Sequelize[_0xb238('0x1b')](0xb),'allowNull':!![]},'timerb':{'type':Sequelize['INTEGER'](0xb),'allowNull':!![]},'qualifyfreq':{'type':Sequelize[_0xb238('0x1b')](0xb),'allowNull':!![]},'contactpermit':{'type':Sequelize[_0xb238('0xe')],'allowNull':!![]},'contactdeny':{'type':Sequelize[_0xb238('0xe')],'allowNull':!![]},'contactacl':{'type':Sequelize[_0xb238('0xe')],'allowNull':!![]},'unsolicited_mailbox':{'type':Sequelize[_0xb238('0xe')],'allowNull':!![]},'use_q850_reason':{'type':Sequelize[_0xb238('0xe')],'allowNull':!![]},'maxforwards':{'type':Sequelize[_0xb238('0x1b')](0xb),'allowNull':!![]},'encryption':{'type':Sequelize['ENUM'](_0xb238('0x2f'),'no'),'allowNull':!![],'defaultValue':'no'},'avpf':{'type':Sequelize['ENUM'](_0xb238('0x2f'),'no'),'allowNull':!![]},'force_avp':{'type':Sequelize[_0xb238('0x11')](_0xb238('0x2f'),'no'),'allowNull':!![]},'icesupport':{'type':Sequelize[_0xb238('0x11')](_0xb238('0x2f'),'no'),'allowNull':!![]},'dtlsenable':{'type':Sequelize[_0xb238('0x11')](_0xb238('0x2f'),'no'),'allowNull':!![]},'dtlsverify':{'type':Sequelize[_0xb238('0x11')](_0xb238('0x2f'),'no',_0xb238('0x40'),_0xb238('0x41')),'allowNull':!![]},'dtlsrekey':{'type':Sequelize[_0xb238('0x1b')](0xb),'allowNull':!![]},'dtlscertfile':{'type':Sequelize[_0xb238('0xe')],'allowNull':!![]},'dtlsprivatekey':{'type':Sequelize[_0xb238('0xe')],'allowNull':!![]},'dtlscipher':{'type':Sequelize[_0xb238('0xe')],'allowNull':!![]},'dtlscafile':{'type':Sequelize[_0xb238('0xe')],'allowNull':!![]},'dtlscapath':{'type':Sequelize[_0xb238('0xe')],'allowNull':!![]},'dtlssetup':{'type':Sequelize[_0xb238('0x11')](_0xb238('0x42'),_0xb238('0x43'),_0xb238('0x44')),'allowNull':!![]},'dtlsfingerprint':{'type':Sequelize[_0xb238('0xe')],'allowNull':!![]},'usereqphone':{'type':Sequelize[_0xb238('0x11')]('yes','no'),'allowNull':!![],'defaultValue':'no'},'recordonfeature':{'type':Sequelize[_0xb238('0xe')],'allowNull':!![]},'recordofffeature':{'type':Sequelize[_0xb238('0xe')],'allowNull':!![]},'call_limit':{'type':Sequelize['INTEGER'](0xb),'allowNull':!![],'defaultValue':0xa},'registertrying':{'type':Sequelize[_0xb238('0x11')](_0xb238('0x2f'),'no'),'allowNull':!![]},'subscribemwi':{'type':Sequelize['ENUM'](_0xb238('0x2f'),'no'),'allowNull':!![]},'vmexten':{'type':Sequelize[_0xb238('0xe')],'allowNull':!![]},'mohinterpret':{'type':Sequelize[_0xb238('0xe')],'allowNull':!![]},'mohsuggest':{'type':Sequelize['STRING'],'allowNull':!![]},'parkinglot':{'type':Sequelize['STRING'],'allowNull':!![]},'canreinvite':{'type':Sequelize[_0xb238('0x11')](_0xb238('0x2f'),'no',_0xb238('0x45'),_0xb238('0x30'),_0xb238('0x46')),'allowNull':!![],'defaultValue':'no'},'loginInPause':{'type':Sequelize[_0xb238('0x18')],'defaultValue':![]},'resetPasswordToken':{'type':Sequelize[_0xb238('0xe')]},'resetPasswordExpires':{'type':Sequelize[_0xb238('0x1a')]},'passwordResetAt':{'type':Sequelize[_0xb238('0x1a')],'defaultValue':null},'previousPasswords':{'type':Sequelize[_0xb238('0x47')]},'showWebBar':{'type':Sequelize[_0xb238('0x1b')],'defaultValue':0x0,'set':function(_0xd737d2){this[_0xb238('0x5')]('showWebBar',_0xd737d2);var _0x414852=this[_0xb238('0x48')]({'plain':!![]});switch(_0xd737d2){case 0x0:case 0x1:var _0x270e1a=_0x414852['transport']?_['isArray'](_0x414852[_0xb238('0x27')])?_0x414852[_0xb238('0x27')][_0xb238('0x28')]():_0x414852[_0xb238('0x27')]:'udp';if(_0x270e1a==='wss'){_0x270e1a=_0xb238('0x49');}this[_0xb238('0x5')](_0xb238('0x27'),_0x270e1a);this[_0xb238('0x5')](_0xb238('0x4a'),'no');this[_0xb238('0x5')](_0xb238('0x4b'),null);this[_0xb238('0x5')](_0xb238('0x4c'),null);this['setDataValue'](_0xb238('0x4d'),null);this['setDataValue']('dtlsenable',null);this[_0xb238('0x5')](_0xb238('0x4e'),null);this['setDataValue'](_0xb238('0x4f'),null);this[_0xb238('0x5')]('dtlscertfile',null);this['setDataValue']('dtlsprivatekey',null);this[_0xb238('0x5')](_0xb238('0x50'),'no');break;case 0x2:this[_0xb238('0x5')]('transport',_0xb238('0x51'));this['setDataValue'](_0xb238('0x4a'),_0xb238('0x2f'));this[_0xb238('0x5')](_0xb238('0x4b'),_0xb238('0x2f'));this[_0xb238('0x5')](_0xb238('0x4c'),_0xb238('0x2f'));this[_0xb238('0x5')](_0xb238('0x4d'),'yes');this[_0xb238('0x5')](_0xb238('0x52'),_0xb238('0x2f'));this[_0xb238('0x5')]('dtlsverify','no');this[_0xb238('0x5')](_0xb238('0x4f'),_0xb238('0x44'));this[_0xb238('0x5')](_0xb238('0x53'),_0x414852['dtlscertfile']||_0xb238('0x54'));this[_0xb238('0x5')]('dtlsprivatekey',_0x414852[_0xb238('0x55')]||_0xb238('0x56'));this[_0xb238('0x5')](_0xb238('0x50'),'yes');break;default:}}},'permissions':{'type':Sequelize[_0xb238('0x47')],'set':function(_0x1bde4f){this[_0xb238('0x5')](_0xb238('0x57'),_0x1bde4f?_0x1bde4f[_0xb238('0x28')](','):[]);},'get':function(){return this['getDataValue'](_0xb238('0x57'))?_[_0xb238('0x58')](this[_0xb238('0xc')]('permissions')[_0xb238('0x29')](','),function(_0x1f04a6){return parseInt(_0x1f04a6,0xa);}):[];}},'phoneBarUnconditionalNumber':{'type':Sequelize[_0xb238('0xe')]},'phoneBarNoReplyNumber':{'type':Sequelize[_0xb238('0xe')]},'phoneBarBusyNumber':{'type':Sequelize[_0xb238('0xe')]},'phoneBarUnconditional':{'type':Sequelize[_0xb238('0x18')],'defaultValue':![]},'phoneBarNoReply':{'type':Sequelize[_0xb238('0x18')],'defaultValue':![]},'phoneBarBusy':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'phoneBarDnd':{'type':Sequelize[_0xb238('0x18')],'defaultValue':!![]},'phoneBarUnansweredCallBadge':{'type':Sequelize[_0xb238('0x18')],'defaultValue':!![]},'phoneBarEnableDtmfTone':{'type':Sequelize[_0xb238('0x18')],'defaultValue':![]},'phoneBarAutoAnswerDelay':{'type':Sequelize[_0xb238('0x1b')],'defaultValue':0x0},'extensionMonitor':{'type':Sequelize[_0xb238('0xe')],'defaultValue':''},'crudPermissions':{'type':Sequelize[_0xb238('0x1b')],'defaultValue':0x0},'rtcp_mux':{'type':Sequelize[_0xb238('0x11')](_0xb238('0x2f'),'no'),'defaultValue':'no'},'allowmessenger':{'type':Sequelize[_0xb238('0x18')],'defaultValue':!![]},'phoneBarOutboundProxy':{'type':Sequelize['STRING']},'phoneBarEnableJaws':{'type':Sequelize[_0xb238('0x18')],'defaultValue':![]},'phoneBarEnableScreenRecordingByAgent':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'phoneBarEnableVideoRecording':{'type':Sequelize[_0xb238('0x59')],'get':function(){return this['getDataValue'](_0xb238('0x5a'))?this[_0xb238('0xc')](_0xb238('0x5a')):![];}},'phoneBarEnableAutomaticScreenRecording':{'type':Sequelize[_0xb238('0x18')],'defaultValue':![]},'phoneBarPrefixRequired':{'type':Sequelize[_0xb238('0x18')],'defaultValue':![]},'hotdesk':{'type':Sequelize[_0xb238('0x18')],'defaultValue':![]},'interface':{'type':Sequelize['STRING'],'defaultValue':null},'privacyEnabled':{'type':Sequelize[_0xb238('0x18')],'defaultValue':![]},'apiKeyNonce':{'type':Sequelize[_0xb238('0xe')],'allowNull':!![]},'apiKeyIat':{'type':Sequelize[_0xb238('0xe')],'allowNull':!![]},'screenrecording':{'type':Sequelize[_0xb238('0x18')],'defaultValue':![],'set':function(_0x5b1445){if(typeof _0x5b1445==='string'){var _0x56df36=_0x5b1445==='1'?!![]:_0x5b1445==='0'?![]:_0x5b1445===_0xb238('0x5b')?!![]:_0x5b1445===_0xb238('0x5c')?![]:![];this['setDataValue']('screenrecording',_0x56df36);}else{this[_0xb238('0x5')]('screenrecording',_0x5b1445);}}},'blocked':{'type':Sequelize[_0xb238('0x18')],'defaultValue':![],'set':function(_0x194812){this['setDataValue'](_0xb238('0x5d'),_0x194812);if(_0x194812===!![]){this[_0xb238('0x5')](_0xb238('0x5e'),moment());this[_0xb238('0x5')](_0xb238('0x5f'),0x0);}else{this[_0xb238('0x5')](_0xb238('0x5e'),null);}}},'blockedAt':{'type':Sequelize['DATE'],'defaultValue':null},'loginAttempts':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'disabled':{'type':Sequelize[_0xb238('0x18')],'defaultValue':![]},'settingsEnabled':{'type':Sequelize[_0xb238('0x18')],'defaultValue':!![]},'wssPort':{'type':Sequelize[_0xb238('0x1b')](0x5)[_0xb238('0x60')],'defaultValue':0x1f99},'downloadAttachments':{'type':Sequelize[_0xb238('0x18')],'defaultValue':!![]},'downloadOmnichannelInteractions':{'type':Sequelize[_0xb238('0x18')],'defaultValue':!![]},'downloadVoiceRecordings':{'type':Sequelize[_0xb238('0x18')],'defaultValue':!![]},'ignorePauseForPreviewCalls':{'type':Sequelize[_0xb238('0x18')],'defaultValue':![]},'selectRecallMeCampaign':{'type':Sequelize[_0xb238('0x18')],'defaultValue':![]},'adSsoEnabled':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'chatAutoanswer':{'type':Sequelize[_0xb238('0x18')],'defaultValue':![]},'chatAutoanswerDelay':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'emailAutoanswer':{'type':Sequelize[_0xb238('0x18')],'defaultValue':![]},'emailAutoanswerDelay':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'smsAutoanswer':{'type':Sequelize[_0xb238('0x18')],'defaultValue':![]},'smsAutoanswerDelay':{'type':Sequelize[_0xb238('0x1b')],'defaultValue':0x0},'openchannelAutoanswer':{'type':Sequelize[_0xb238('0x18')],'defaultValue':![]},'openchannelAutoanswerDelay':{'type':Sequelize[_0xb238('0x1b')],'defaultValue':0x0},'faxAutoanswer':{'type':Sequelize[_0xb238('0x18')],'defaultValue':![]},'faxAutoanswerDelay':{'type':Sequelize[_0xb238('0x1b')],'defaultValue':0x0},'whatsappAutoanswer':{'type':Sequelize[_0xb238('0x18')],'defaultValue':![]},'whatsappAutoanswerDelay':{'type':Sequelize[_0xb238('0x1b')],'defaultValue':0x0},'messengerSoundNotification':{'type':Sequelize['BOOLEAN'],'defaultValue':![]}};
\ No newline at end of file