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