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