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