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