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