Built motion from commit (unavailable).|2.5.21
[motion2.git] / server / api / user / user.attributes.js
index fcc4498..7028a9c 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x7f50=['PROHIB_NOT_SCREENED','PROHIB_PASSED_SCREEN','PROHIB','udp','join','transport','split','String\x20is\x20deprecated.\x20Please\x20use\x20an\x20Array\x20as\x20[\x22udp\x22,\x20\x22tcp\x22]','rfc2833','info','shortinfo','auto','yes','nonat','update','outgoing','force_rport,comedia','nat','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]','never','\x22\x22\x20<>','always','accept','refuse','originate','uac','uas','certificate','active','passive','actpass','get','isArray','wss','encryption','avpf','dtlsenable','dtlsverify','dtlssetup','dtlscertfile','dtlsprivatekey','rtcp_mux','icesupport','/etc/pki/tls/certs/motion.crt','/etc/pki/tls/private/motion.key','TEXT','permissions','map','VIRTUAL','phoneBarEnableScreenRecordingByAgent','string','screenrecording','blocked','blockedAt','loginAttempts','moment','util','lodash','exports','name','setDataValue','STRING','fullname','callerid','format','getDataValue','internal','email','toLowerCase','admin','agent','local','accountcode','\x22%s\x22\x20<%s>','BOOLEAN','DATE','DEFAULT\x20PAUSE','INTEGER','dynamic','ENUM','friend','peer','from-sip','ALLOWED_NOT_SCREENED','ALLOWED'];(function(_0x294bf3,_0x54a948){var _0x56a8dc=function(_0x2088fb){while(--_0x2088fb){_0x294bf3['push'](_0x294bf3['shift']());}};_0x56a8dc(++_0x54a948);}(_0x7f50,0xf3));var _0x07f5=function(_0x4d9f9a,_0x255bed){_0x4d9f9a=_0x4d9f9a-0x0;var _0x12db25=_0x7f50[_0x4d9f9a];return _0x12db25;};'use strict';var Sequelize=require('sequelize');var moment=require(_0x07f5('0x0'));var util=require(_0x07f5('0x1'));var _=require(_0x07f5('0x2'));module[_0x07f5('0x3')]={'name':{'type':Sequelize['STRING'],'allowNull':![],'unique':_0x07f5('0x4'),'validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i},'set':function(_0x1e4a0c){this['setDataValue'](_0x07f5('0x4'),_0x1e4a0c);this[_0x07f5('0x5')]('defaultuser',_0x1e4a0c);},'comment':'The\x20name\x20of\x20the\x20user'},'fullname':{'type':Sequelize[_0x07f5('0x6')],'allowNull':![],'set':function(_0x3064a7){this[_0x07f5('0x5')](_0x07f5('0x7'),_0x3064a7);this['setDataValue'](_0x07f5('0x8'),util[_0x07f5('0x9')]('\x22%s\x22\x20<%s>',_0x3064a7,this[_0x07f5('0xa')](_0x07f5('0xb'))));}},'alias':{'type':Sequelize['STRING']},'email':{'type':Sequelize['STRING'],'allowNull':![],'unique':_0x07f5('0xc'),'validate':{'isEmail':!![]},'set':function(_0x590d71){if(_0x590d71){this[_0x07f5('0x5')](_0x07f5('0xc'),_0x590d71[_0x07f5('0xd')]());}}},'role':{'type':Sequelize['ENUM'](_0x07f5('0xe'),'user',_0x07f5('0xf'),'telephone'),'allowNull':![]},'password':{'type':Sequelize[_0x07f5('0x6')],'allowNull':![],'validate':{'notEmpty':!![]}},'provider':{'type':Sequelize[_0x07f5('0x6')],'defaultValue':_0x07f5('0x10')},'internal':{'type':Sequelize['INTEGER'](0xb),'allowNull':![],'unique':_0x07f5('0xb'),'set':function(_0x1b9c3b){this['setDataValue'](_0x07f5('0xb'),_0x1b9c3b);this[_0x07f5('0x5')](_0x07f5('0x11'),_0x1b9c3b);this[_0x07f5('0x5')](_0x07f5('0x8'),util[_0x07f5('0x9')](_0x07f5('0x12'),this[_0x07f5('0xa')]('fullname'),_0x1b9c3b));}},'salt':{'type':Sequelize[_0x07f5('0x6')]},'phone':{'type':Sequelize['STRING']},'mobile':{'type':Sequelize[_0x07f5('0x6')]},'address':{'type':Sequelize[_0x07f5('0x6')]},'zipcode':{'type':Sequelize[_0x07f5('0x6')]},'userpic':{'type':Sequelize['STRING']},'city':{'type':Sequelize['STRING']},'country':{'type':Sequelize[_0x07f5('0x6')]},'online':{'type':Sequelize[_0x07f5('0x13')],'defaultValue':![]},'lastLoginAt':{'type':Sequelize[_0x07f5('0x14')]},'voicePause':{'type':Sequelize[_0x07f5('0x13')],'defaultValue':![]},'chatPause':{'type':Sequelize[_0x07f5('0x13')],'defaultValue':![]},'mailPause':{'type':Sequelize[_0x07f5('0x13')],'defaultValue':![]},'faxPause':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'smsPause':{'type':Sequelize[_0x07f5('0x13')],'defaultValue':![]},'whatsappPause':{'type':Sequelize[_0x07f5('0x13')],'defaultValue':![]},'openchannelPause':{'type':Sequelize[_0x07f5('0x13')],'defaultValue':![]},'pauseType':{'type':Sequelize[_0x07f5('0x6')],'defaultValue':_0x07f5('0x15')},'lastPauseAt':{'type':Sequelize[_0x07f5('0x14')]},'chatCapacity':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'mailCapacity':{'type':Sequelize[_0x07f5('0x16')],'defaultValue':0x0},'faxCapacity':{'type':Sequelize[_0x07f5('0x16')],'defaultValue':0x0},'smsCapacity':{'type':Sequelize[_0x07f5('0x16')],'defaultValue':0x0},'whatsappCapacity':{'type':Sequelize[_0x07f5('0x16')],'defaultValue':0x0},'openchannelCapacity':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'phoneBarAutoAnswer':{'type':Sequelize[_0x07f5('0x13')],'defaultValue':![]},'phoneBarEnableSettings':{'type':Sequelize[_0x07f5('0x13')],'defaultValue':!![]},'phoneBarListenPort':{'type':Sequelize[_0x07f5('0x16')](0x5),'defaultValue':0x1428},'phoneBarExpires':{'type':Sequelize[_0x07f5('0x16')](0x5),'defaultValue':0x78},'phoneBarRemoteControl':{'type':Sequelize[_0x07f5('0x13')],'defaultValue':![]},'phoneBarRemoteControlPort':{'type':Sequelize[_0x07f5('0x16')],'defaultValue':0x26a0},'phoneBarEnableRecording':{'type':Sequelize[_0x07f5('0x13')],'defaultValue':![]},'phoneBarRingInUse':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'chanspy':{'type':Sequelize[_0x07f5('0x13')],'defaultValue':![]},'description':{'type':Sequelize[_0x07f5('0x6')],'allowNull':!![]},'host':{'type':Sequelize[_0x07f5('0x6')],'allowNull':!![],'defaultValue':_0x07f5('0x17')},'ipaddr':{'type':Sequelize[_0x07f5('0x6')],'allowNull':!![]},'port':{'type':Sequelize[_0x07f5('0x16')](0x5),'allowNull':!![]},'regseconds':{'type':Sequelize[_0x07f5('0x16')](0xb),'allowNull':!![]},'fullcontact':{'type':Sequelize[_0x07f5('0x6')],'allowNull':!![]},'regserver':{'type':Sequelize[_0x07f5('0x6')],'allowNull':!![]},'useragent':{'type':Sequelize[_0x07f5('0x6')],'allowNull':!![]},'lastms':{'type':Sequelize['INTEGER'](0xb),'allowNull':!![]},'type':{'type':Sequelize[_0x07f5('0x18')](_0x07f5('0x19'),'user',_0x07f5('0x1a')),'allowNull':!![],'defaultValue':_0x07f5('0x19')},'context':{'type':Sequelize[_0x07f5('0x6')],'allowNull':!![],'defaultValue':_0x07f5('0x1b')},'callingpres':{'type':Sequelize[_0x07f5('0x18')](_0x07f5('0x1c'),'ALLOWED_PASSED_SCREEN','ALLOWED_FAILED_SCREEN',_0x07f5('0x1d'),_0x07f5('0x1e'),_0x07f5('0x1f'),'PROHIB_FAILED_SCREEN',_0x07f5('0x20')),'allowNull':!![]},'deny':{'type':Sequelize[_0x07f5('0x6')],'allowNull':!![]},'permit':{'type':Sequelize[_0x07f5('0x6')],'allowNull':!![]},'secret':{'type':Sequelize['STRING'],'allowNull':!![]},'md5secret':{'type':Sequelize[_0x07f5('0x6')],'allowNull':!![]},'remotesecret':{'type':Sequelize[_0x07f5('0x6')],'allowNull':!![]},'transport':{'type':Sequelize[_0x07f5('0x6')],'allowNull':!![],'defaultValue':_0x07f5('0x21'),'set':function(_0x3491c9){this[_0x07f5('0x5')]('transport',_0x3491c9?_0x3491c9[_0x07f5('0x22')](','):null);},'get':function(){return this[_0x07f5('0xa')](_0x07f5('0x23'))?this['getDataValue'](_0x07f5('0x23'))[_0x07f5('0x24')](','):null;},'comment':_0x07f5('0x25')},'dtmfmode':{'type':Sequelize[_0x07f5('0x18')](_0x07f5('0x26'),_0x07f5('0x27'),_0x07f5('0x28'),'inband',_0x07f5('0x29')),'allowNull':!![],'defaultValue':_0x07f5('0x26')},'directmedia':{'type':Sequelize[_0x07f5('0x18')](_0x07f5('0x2a'),'no',_0x07f5('0x2b'),_0x07f5('0x2c'),_0x07f5('0x2d')),'allowNull':!![],'defaultValue':'no'},'directrtpsetup':{'type':Sequelize[_0x07f5('0x18')](_0x07f5('0x2a'),'no'),'allowNull':!![],'defaultValue':'no'},'directmediapermit':{'type':Sequelize[_0x07f5('0x6')],'allowNull':!![]},'directmediadeny':{'type':Sequelize[_0x07f5('0x6')],'allowNull':!![]},'nat':{'type':Sequelize[_0x07f5('0x6')],'allowNull':!![],'defaultValue':_0x07f5('0x2e'),'set':function(_0x311e07){this[_0x07f5('0x5')](_0x07f5('0x2f'),_0x311e07?_0x311e07[_0x07f5('0x22')](','):null);},'get':function(){return this[_0x07f5('0xa')](_0x07f5('0x2f'))?this[_0x07f5('0xa')](_0x07f5('0x2f'))[_0x07f5('0x24')](','):null;},'comment':_0x07f5('0x30')},'callgroup':{'type':Sequelize['STRING']},'namedcallgroup':{'type':Sequelize['STRING']},'pickupgroup':{'type':Sequelize['STRING']},'namedpickupgroup':{'type':Sequelize[_0x07f5('0x6')]},'language':{'type':Sequelize['STRING'],'defaultValue':'en'},'tonezone':{'type':Sequelize[_0x07f5('0x6')]},'disallow':{'type':Sequelize[_0x07f5('0x6')],'allowNull':![],'defaultValue':_0x07f5('0x31')},'allow':{'type':Sequelize[_0x07f5('0x6')],'allowNull':![],'defaultValue':'ulaw;alaw;gsm','set':function(_0x27e911){this['setDataValue'](_0x07f5('0x32'),_0x27e911?_0x27e911[_0x07f5('0x22')](';'):_0x07f5('0x33'));},'get':function(){return this['getDataValue']('allow')?this[_0x07f5('0xa')]('allow')[_0x07f5('0x24')](';'):null;},'comment':_0x07f5('0x34')},'autoframing':{'type':Sequelize[_0x07f5('0x18')](_0x07f5('0x2a'),'no'),'allowNull':!![]},'insecure':{'type':Sequelize[_0x07f5('0x6')],'allowNull':!![],'set':function(_0x114b27){this[_0x07f5('0x5')](_0x07f5('0x35'),_0x114b27?_0x114b27[_0x07f5('0x22')](','):null);},'get':function(){return this[_0x07f5('0xa')](_0x07f5('0x35'))?this[_0x07f5('0xa')](_0x07f5('0x35'))[_0x07f5('0x24')](','):null;},'comment':_0x07f5('0x36')},'trustrpid':{'type':Sequelize[_0x07f5('0x18')](_0x07f5('0x2a'),'no'),'allowNull':!![],'defaultValue':'no'},'trust_id_outbound':{'type':Sequelize[_0x07f5('0x18')](_0x07f5('0x2a'),'no'),'allowNull':!![],'defaultValue':'no'},'progressinband':{'type':Sequelize['ENUM'](_0x07f5('0x2a'),'no',_0x07f5('0x37')),'allowNull':!![]},'promiscredir':{'type':Sequelize[_0x07f5('0x18')](_0x07f5('0x2a'),'no'),'allowNull':!![]},'useclientcode':{'type':Sequelize[_0x07f5('0x18')](_0x07f5('0x2a'),'no'),'allowNull':!![]},'accountcode':{'type':Sequelize['INTEGER'](0xb),'allowNull':!![]},'setvar':{'type':Sequelize[_0x07f5('0x6')],'allowNull':!![]},'callerid':{'type':Sequelize['STRING'],'allowNull':!![],'defaultValue':_0x07f5('0x38')},'amaflags':{'type':Sequelize[_0x07f5('0x6')],'allowNull':!![]},'callcounter':{'type':Sequelize[_0x07f5('0x18')](_0x07f5('0x2a'),'no'),'allowNull':!![],'defaultValue':'yes'},'busylevel':{'type':Sequelize[_0x07f5('0x16')](0xb),'allowNull':!![]},'allowoverlap':{'type':Sequelize[_0x07f5('0x18')](_0x07f5('0x2a'),'no'),'allowNull':!![]},'allowsubscribe':{'type':Sequelize[_0x07f5('0x18')](_0x07f5('0x2a'),'no'),'allowNull':!![]},'allowtransfer':{'type':Sequelize['ENUM'](_0x07f5('0x2a'),'no'),'allowNull':!![]},'ignoresdpversion':{'type':Sequelize[_0x07f5('0x18')](_0x07f5('0x2a'),'no'),'allowNull':!![]},'subscribecontext':{'type':Sequelize[_0x07f5('0x6')],'allowNull':!![]},'template':{'type':Sequelize[_0x07f5('0x6')],'allowNull':!![]},'videosupport':{'type':Sequelize[_0x07f5('0x18')](_0x07f5('0x2a'),'no',_0x07f5('0x39')),'allowNull':!![],'defaultValue':'no'},'maxcallbitrate':{'type':Sequelize['INTEGER'](0xb),'allowNull':!![]},'rfc2833compensate':{'type':Sequelize[_0x07f5('0x18')](_0x07f5('0x2a'),'no'),'allowNull':!![]},'mailbox':{'type':Sequelize[_0x07f5('0x6')],'allowNull':!![]},'session_timers':{'type':Sequelize[_0x07f5('0x18')](_0x07f5('0x3a'),_0x07f5('0x3b'),_0x07f5('0x3c')),'allowNull':!![]},'session_expires':{'type':Sequelize[_0x07f5('0x16')](0xb),'allowNull':!![]},'session_minse':{'type':Sequelize[_0x07f5('0x16')](0xb),'allowNull':!![]},'session_refresher':{'type':Sequelize[_0x07f5('0x18')](_0x07f5('0x3d'),_0x07f5('0x3e')),'allowNull':!![],'defaultValue':_0x07f5('0x3e')},'t38pt_usertpsource':{'type':Sequelize[_0x07f5('0x6')],'allowNull':!![]},'regexten':{'type':Sequelize[_0x07f5('0x6')],'allowNull':!![]},'fromdomain':{'type':Sequelize['STRING'],'allowNull':!![]},'fromuser':{'type':Sequelize[_0x07f5('0x6')],'allowNull':!![]},'qualify':{'type':Sequelize[_0x07f5('0x18')](_0x07f5('0x2a'),'no'),'allowNull':!![],'defaultValue':_0x07f5('0x2a')},'keepalive':{'type':Sequelize[_0x07f5('0x16')](0xb),'allowNull':!![]},'defaultip':{'type':Sequelize[_0x07f5('0x6')],'allowNull':!![]},'defaultuser':{'type':Sequelize['STRING'],'allowNull':!![]},'rtptimeout':{'type':Sequelize[_0x07f5('0x16')](0xb),'allowNull':!![]},'rtpholdtimeout':{'type':Sequelize[_0x07f5('0x16')](0xb),'allowNull':!![]},'rtpkeepalive':{'type':Sequelize[_0x07f5('0x16')](0xb),'allowNull':!![]},'sendrpid':{'type':Sequelize[_0x07f5('0x18')](_0x07f5('0x2a'),'no'),'allowNull':!![],'defaultValue':'no'},'outboundproxy':{'type':Sequelize[_0x07f5('0x6')],'allowNull':!![]},'callbackextension':{'type':Sequelize['STRING'],'allowNull':!![]},'timert1':{'type':Sequelize[_0x07f5('0x16')](0xb),'allowNull':!![]},'timerb':{'type':Sequelize[_0x07f5('0x16')](0xb),'allowNull':!![]},'qualifyfreq':{'type':Sequelize[_0x07f5('0x16')](0xb),'allowNull':!![]},'contactpermit':{'type':Sequelize[_0x07f5('0x6')],'allowNull':!![]},'contactdeny':{'type':Sequelize[_0x07f5('0x6')],'allowNull':!![]},'contactacl':{'type':Sequelize[_0x07f5('0x6')],'allowNull':!![]},'unsolicited_mailbox':{'type':Sequelize[_0x07f5('0x6')],'allowNull':!![]},'use_q850_reason':{'type':Sequelize['STRING'],'allowNull':!![]},'maxforwards':{'type':Sequelize[_0x07f5('0x16')](0xb),'allowNull':!![]},'encryption':{'type':Sequelize[_0x07f5('0x18')](_0x07f5('0x2a'),'no'),'allowNull':!![],'defaultValue':'no'},'avpf':{'type':Sequelize['ENUM'](_0x07f5('0x2a'),'no'),'allowNull':!![]},'force_avp':{'type':Sequelize[_0x07f5('0x18')](_0x07f5('0x2a'),'no'),'allowNull':!![]},'icesupport':{'type':Sequelize[_0x07f5('0x18')](_0x07f5('0x2a'),'no'),'allowNull':!![]},'dtlsenable':{'type':Sequelize['ENUM'](_0x07f5('0x2a'),'no'),'allowNull':!![]},'dtlsverify':{'type':Sequelize[_0x07f5('0x18')]('yes','no','fingerprint',_0x07f5('0x3f')),'allowNull':!![]},'dtlsrekey':{'type':Sequelize[_0x07f5('0x16')](0xb),'allowNull':!![]},'dtlscertfile':{'type':Sequelize['STRING'],'allowNull':!![]},'dtlsprivatekey':{'type':Sequelize[_0x07f5('0x6')],'allowNull':!![]},'dtlscipher':{'type':Sequelize['STRING'],'allowNull':!![]},'dtlscafile':{'type':Sequelize[_0x07f5('0x6')],'allowNull':!![]},'dtlscapath':{'type':Sequelize[_0x07f5('0x6')],'allowNull':!![]},'dtlssetup':{'type':Sequelize['ENUM'](_0x07f5('0x40'),_0x07f5('0x41'),_0x07f5('0x42')),'allowNull':!![]},'dtlsfingerprint':{'type':Sequelize[_0x07f5('0x6')],'allowNull':!![]},'usereqphone':{'type':Sequelize[_0x07f5('0x18')](_0x07f5('0x2a'),'no'),'allowNull':!![],'defaultValue':'no'},'recordonfeature':{'type':Sequelize[_0x07f5('0x6')],'allowNull':!![]},'recordofffeature':{'type':Sequelize[_0x07f5('0x6')],'allowNull':!![]},'call_limit':{'type':Sequelize['INTEGER'](0xb),'allowNull':!![],'defaultValue':0xa},'registertrying':{'type':Sequelize['ENUM'](_0x07f5('0x2a'),'no'),'allowNull':!![]},'subscribemwi':{'type':Sequelize['ENUM']('yes','no'),'allowNull':!![]},'vmexten':{'type':Sequelize['STRING'],'allowNull':!![]},'mohinterpret':{'type':Sequelize['STRING'],'allowNull':!![]},'mohsuggest':{'type':Sequelize[_0x07f5('0x6')],'allowNull':!![]},'parkinglot':{'type':Sequelize[_0x07f5('0x6')],'allowNull':!![]},'canreinvite':{'type':Sequelize[_0x07f5('0x18')](_0x07f5('0x2a'),'no',_0x07f5('0x2b'),'update','update,nonat'),'allowNull':!![],'defaultValue':'no'},'loginInPause':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'resetPasswordToken':{'type':Sequelize[_0x07f5('0x6')]},'resetPasswordExpires':{'type':Sequelize[_0x07f5('0x14')]},'passwordResetAt':{'type':Sequelize[_0x07f5('0x14')],'defaultValue':null},'previousPasswords':{'type':Sequelize['STRING']},'showWebBar':{'type':Sequelize[_0x07f5('0x16')],'defaultValue':0x0,'set':function(_0x49343d){this['setDataValue']('showWebBar',_0x49343d);var _0x285e64=this[_0x07f5('0x43')]({'plain':!![]});switch(_0x49343d){case 0x0:case 0x1:var _0x33ea81=_0x285e64[_0x07f5('0x23')]?_[_0x07f5('0x44')](_0x285e64[_0x07f5('0x23')])?_0x285e64[_0x07f5('0x23')][_0x07f5('0x22')]():_0x285e64[_0x07f5('0x23')]:_0x07f5('0x21');if(_0x33ea81===_0x07f5('0x45')){_0x33ea81='udp';}this['setDataValue'](_0x07f5('0x23'),_0x33ea81);this[_0x07f5('0x5')](_0x07f5('0x46'),'no');this['setDataValue'](_0x07f5('0x47'),null);this['setDataValue']('force_avp',null);this[_0x07f5('0x5')]('icesupport',null);this[_0x07f5('0x5')](_0x07f5('0x48'),null);this[_0x07f5('0x5')](_0x07f5('0x49'),null);this[_0x07f5('0x5')](_0x07f5('0x4a'),null);this['setDataValue'](_0x07f5('0x4b'),null);this[_0x07f5('0x5')](_0x07f5('0x4c'),null);this['setDataValue'](_0x07f5('0x4d'),'no');break;case 0x2:this[_0x07f5('0x5')](_0x07f5('0x23'),_0x07f5('0x45'));this[_0x07f5('0x5')](_0x07f5('0x46'),_0x07f5('0x2a'));this[_0x07f5('0x5')]('avpf',_0x07f5('0x2a'));this[_0x07f5('0x5')]('force_avp',_0x07f5('0x2a'));this[_0x07f5('0x5')](_0x07f5('0x4e'),_0x07f5('0x2a'));this['setDataValue']('dtlsenable','yes');this['setDataValue'](_0x07f5('0x49'),'no');this['setDataValue'](_0x07f5('0x4a'),_0x07f5('0x42'));this[_0x07f5('0x5')](_0x07f5('0x4b'),_0x285e64['dtlscertfile']||_0x07f5('0x4f'));this[_0x07f5('0x5')]('dtlsprivatekey',_0x285e64[_0x07f5('0x4c')]||_0x07f5('0x50'));this[_0x07f5('0x5')](_0x07f5('0x4d'),'yes');break;default:}}},'permissions':{'type':Sequelize[_0x07f5('0x51')],'set':function(_0xf682af){this[_0x07f5('0x5')]('permissions',_0xf682af?_0xf682af['join'](','):[]);},'get':function(){return this['getDataValue'](_0x07f5('0x52'))?_[_0x07f5('0x53')](this[_0x07f5('0xa')](_0x07f5('0x52'))[_0x07f5('0x24')](','),function(_0x4264e9){return parseInt(_0x4264e9,0xa);}):[];}},'phoneBarUnconditionalNumber':{'type':Sequelize['STRING']},'phoneBarNoReplyNumber':{'type':Sequelize[_0x07f5('0x6')]},'phoneBarBusyNumber':{'type':Sequelize['STRING']},'phoneBarUnconditional':{'type':Sequelize[_0x07f5('0x13')],'defaultValue':![]},'phoneBarNoReply':{'type':Sequelize[_0x07f5('0x13')],'defaultValue':![]},'phoneBarBusy':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'phoneBarDnd':{'type':Sequelize[_0x07f5('0x13')],'defaultValue':!![]},'phoneBarUnansweredCallBadge':{'type':Sequelize[_0x07f5('0x13')],'defaultValue':!![]},'phoneBarEnableDtmfTone':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'phoneBarAutoAnswerDelay':{'type':Sequelize[_0x07f5('0x16')],'defaultValue':0x0},'extensionMonitor':{'type':Sequelize[_0x07f5('0x6')],'defaultValue':''},'crudPermissions':{'type':Sequelize[_0x07f5('0x16')],'defaultValue':0x0},'rtcp_mux':{'type':Sequelize['ENUM'](_0x07f5('0x2a'),'no'),'defaultValue':'no'},'allowmessenger':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'phoneBarOutboundProxy':{'type':Sequelize[_0x07f5('0x6')]},'phoneBarEnableJaws':{'type':Sequelize[_0x07f5('0x13')],'defaultValue':![]},'phoneBarEnableScreenRecordingByAgent':{'type':Sequelize[_0x07f5('0x13')],'defaultValue':![]},'phoneBarEnableVideoRecording':{'type':Sequelize[_0x07f5('0x54')],'get':function(){return this[_0x07f5('0xa')](_0x07f5('0x55'))?this[_0x07f5('0xa')](_0x07f5('0x55')):![];}},'phoneBarEnableAutomaticScreenRecording':{'type':Sequelize[_0x07f5('0x13')],'defaultValue':![]},'phoneBarPrefixRequired':{'type':Sequelize[_0x07f5('0x13')],'defaultValue':![]},'hotdesk':{'type':Sequelize[_0x07f5('0x13')],'defaultValue':![]},'interface':{'type':Sequelize[_0x07f5('0x6')],'defaultValue':null},'privacyEnabled':{'type':Sequelize[_0x07f5('0x13')],'defaultValue':![]},'apiKeyNonce':{'type':Sequelize[_0x07f5('0x6')],'allowNull':!![]},'apiKeyIat':{'type':Sequelize[_0x07f5('0x6')],'allowNull':!![]},'screenrecording':{'type':Sequelize[_0x07f5('0x13')],'defaultValue':![],'set':function(_0x44b020){if(typeof _0x44b020===_0x07f5('0x56')){var _0xa90f0a=_0x44b020==='1'?!![]:_0x44b020==='0'?![]:_0x44b020==='true'?!![]:_0x44b020==='false'?![]:![];this[_0x07f5('0x5')]('screenrecording',_0xa90f0a);}else{this[_0x07f5('0x5')](_0x07f5('0x57'),_0x44b020);}}},'blocked':{'type':Sequelize[_0x07f5('0x13')],'defaultValue':![],'set':function(_0x139d19){this[_0x07f5('0x5')](_0x07f5('0x58'),_0x139d19);if(_0x139d19===!![]){this[_0x07f5('0x5')](_0x07f5('0x59'),moment());this[_0x07f5('0x5')](_0x07f5('0x5a'),0x0);}else{this[_0x07f5('0x5')]('blockedAt',null);}}},'blockedAt':{'type':Sequelize[_0x07f5('0x14')],'defaultValue':null},'loginAttempts':{'type':Sequelize[_0x07f5('0x16')],'defaultValue':0x0},'disabled':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'settingsEnabled':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]}};
\ No newline at end of file
+var _0x32de=['ALLOWED_FAILED_SCREEN','ALLOWED','PROHIB_PASSED_SCREEN','PROHIB_FAILED_SCREEN','udp','transport','join','split','String\x20is\x20deprecated.\x20Please\x20use\x20an\x20Array\x20as\x20[\x22udp\x22,\x20\x22tcp\x22]','rfc2833','info','shortinfo','inband','auto','yes','update','outgoing','force_rport,comedia','nat','String\x20is\x20deprecated.\x20Please\x20use\x20an\x20Array\x20as\x20[\x22force_rport\x22,\x20\x22comedia\x22]','all','ulaw;alaw;gsm','insecure','String\x20is\x20deprecated.\x20Please\x20use\x20an\x20Array\x20as\x20[\x22port\x22,\x20\x22invite\x22]','\x22\x22\x20<>','always','accept','refuse','uac','uas','certificate','active','passive','actpass','update,nonat','showWebBar','get','isArray','wss','avpf','icesupport','dtlsenable','dtlssetup','dtlscertfile','dtlsprivatekey','rtcp_mux','/etc/pki/tls/certs/motion.crt','/etc/pki/tls/private/motion.key','permissions','VIRTUAL','phoneBarEnableScreenRecordingByAgent','string','true','false','screenrecording','blocked','loginAttempts','blockedAt','moment','lodash','exports','name','defaultuser','The\x20name\x20of\x20the\x20user','STRING','fullname','setDataValue','callerid','format','getDataValue','email','toLowerCase','admin','telephone','local','internal','accountcode','\x22%s\x22\x20<%s>','BOOLEAN','DATE','DEFAULT\x20PAUSE','INTEGER','dynamic','friend','peer','ENUM','ALLOWED_PASSED_SCREEN'];(function(_0x293062,_0x521051){var _0x2656bb=function(_0x3be06d){while(--_0x3be06d){_0x293062['push'](_0x293062['shift']());}};_0x2656bb(++_0x521051);}(_0x32de,0x13f));var _0xe32d=function(_0x3a1bcd,_0x244041){_0x3a1bcd=_0x3a1bcd-0x0;var _0x57422c=_0x32de[_0x3a1bcd];return _0x57422c;};'use strict';var Sequelize=require('sequelize');var moment=require(_0xe32d('0x0'));var util=require('util');var _=require(_0xe32d('0x1'));module[_0xe32d('0x2')]={'name':{'type':Sequelize['STRING'],'allowNull':![],'unique':_0xe32d('0x3'),'validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i},'set':function(_0x52bd0d){this['setDataValue'](_0xe32d('0x3'),_0x52bd0d);this['setDataValue'](_0xe32d('0x4'),_0x52bd0d);},'comment':_0xe32d('0x5')},'fullname':{'type':Sequelize[_0xe32d('0x6')],'allowNull':![],'set':function(_0x192b57){this['setDataValue'](_0xe32d('0x7'),_0x192b57);this[_0xe32d('0x8')](_0xe32d('0x9'),util[_0xe32d('0xa')]('\x22%s\x22\x20<%s>',_0x192b57,this[_0xe32d('0xb')]('internal')));}},'alias':{'type':Sequelize[_0xe32d('0x6')]},'email':{'type':Sequelize['STRING'],'allowNull':![],'unique':_0xe32d('0xc'),'validate':{'isEmail':!![]},'set':function(_0x6f5a02){if(_0x6f5a02){this['setDataValue'](_0xe32d('0xc'),_0x6f5a02[_0xe32d('0xd')]());}}},'role':{'type':Sequelize['ENUM'](_0xe32d('0xe'),'user','agent',_0xe32d('0xf')),'allowNull':![]},'password':{'type':Sequelize[_0xe32d('0x6')],'allowNull':![],'validate':{'notEmpty':!![]}},'provider':{'type':Sequelize[_0xe32d('0x6')],'defaultValue':_0xe32d('0x10')},'internal':{'type':Sequelize['INTEGER'](0xb),'allowNull':![],'unique':'internal','set':function(_0xd33782){this['setDataValue'](_0xe32d('0x11'),_0xd33782);this['setDataValue'](_0xe32d('0x12'),_0xd33782);this[_0xe32d('0x8')](_0xe32d('0x9'),util[_0xe32d('0xa')](_0xe32d('0x13'),this[_0xe32d('0xb')]('fullname'),_0xd33782));}},'salt':{'type':Sequelize[_0xe32d('0x6')]},'phone':{'type':Sequelize['STRING']},'mobile':{'type':Sequelize[_0xe32d('0x6')]},'address':{'type':Sequelize[_0xe32d('0x6')]},'zipcode':{'type':Sequelize['STRING']},'userpic':{'type':Sequelize[_0xe32d('0x6')]},'city':{'type':Sequelize[_0xe32d('0x6')]},'country':{'type':Sequelize[_0xe32d('0x6')]},'online':{'type':Sequelize[_0xe32d('0x14')],'defaultValue':![]},'lastLoginAt':{'type':Sequelize[_0xe32d('0x15')]},'voicePause':{'type':Sequelize[_0xe32d('0x14')],'defaultValue':![]},'chatPause':{'type':Sequelize[_0xe32d('0x14')],'defaultValue':![]},'mailPause':{'type':Sequelize[_0xe32d('0x14')],'defaultValue':![]},'faxPause':{'type':Sequelize[_0xe32d('0x14')],'defaultValue':![]},'smsPause':{'type':Sequelize[_0xe32d('0x14')],'defaultValue':![]},'whatsappPause':{'type':Sequelize[_0xe32d('0x14')],'defaultValue':![]},'openchannelPause':{'type':Sequelize[_0xe32d('0x14')],'defaultValue':![]},'pauseType':{'type':Sequelize[_0xe32d('0x6')],'defaultValue':_0xe32d('0x16')},'lastPauseAt':{'type':Sequelize[_0xe32d('0x15')]},'chatCapacity':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'mailCapacity':{'type':Sequelize[_0xe32d('0x17')],'defaultValue':0x0},'faxCapacity':{'type':Sequelize[_0xe32d('0x17')],'defaultValue':0x0},'smsCapacity':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'whatsappCapacity':{'type':Sequelize[_0xe32d('0x17')],'defaultValue':0x0},'openchannelCapacity':{'type':Sequelize[_0xe32d('0x17')],'defaultValue':0x0},'phoneBarAutoAnswer':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'phoneBarEnableSettings':{'type':Sequelize[_0xe32d('0x14')],'defaultValue':!![]},'phoneBarListenPort':{'type':Sequelize[_0xe32d('0x17')](0x5),'defaultValue':0x1428},'phoneBarExpires':{'type':Sequelize['INTEGER'](0x5),'defaultValue':0x78},'phoneBarRemoteControl':{'type':Sequelize[_0xe32d('0x14')],'defaultValue':![]},'phoneBarRemoteControlPort':{'type':Sequelize[_0xe32d('0x17')],'defaultValue':0x26a0},'phoneBarEnableRecording':{'type':Sequelize[_0xe32d('0x14')],'defaultValue':![]},'phoneBarRingInUse':{'type':Sequelize[_0xe32d('0x14')],'defaultValue':![]},'chanspy':{'type':Sequelize[_0xe32d('0x14')],'defaultValue':![]},'description':{'type':Sequelize[_0xe32d('0x6')],'allowNull':!![]},'host':{'type':Sequelize[_0xe32d('0x6')],'allowNull':!![],'defaultValue':_0xe32d('0x18')},'ipaddr':{'type':Sequelize['STRING'],'allowNull':!![]},'port':{'type':Sequelize[_0xe32d('0x17')](0x5),'allowNull':!![]},'regseconds':{'type':Sequelize[_0xe32d('0x17')](0xb),'allowNull':!![]},'fullcontact':{'type':Sequelize[_0xe32d('0x6')],'allowNull':!![]},'regserver':{'type':Sequelize[_0xe32d('0x6')],'allowNull':!![]},'useragent':{'type':Sequelize['STRING'],'allowNull':!![]},'lastms':{'type':Sequelize[_0xe32d('0x17')](0xb),'allowNull':!![]},'type':{'type':Sequelize['ENUM'](_0xe32d('0x19'),'user',_0xe32d('0x1a')),'allowNull':!![],'defaultValue':_0xe32d('0x19')},'context':{'type':Sequelize[_0xe32d('0x6')],'allowNull':!![],'defaultValue':'from-sip'},'callingpres':{'type':Sequelize[_0xe32d('0x1b')]('ALLOWED_NOT_SCREENED',_0xe32d('0x1c'),_0xe32d('0x1d'),_0xe32d('0x1e'),'PROHIB_NOT_SCREENED',_0xe32d('0x1f'),_0xe32d('0x20'),'PROHIB'),'allowNull':!![]},'deny':{'type':Sequelize[_0xe32d('0x6')],'allowNull':!![]},'permit':{'type':Sequelize['STRING'],'allowNull':!![]},'secret':{'type':Sequelize[_0xe32d('0x6')],'allowNull':!![]},'md5secret':{'type':Sequelize[_0xe32d('0x6')],'allowNull':!![]},'remotesecret':{'type':Sequelize['STRING'],'allowNull':!![]},'transport':{'type':Sequelize['STRING'],'allowNull':!![],'defaultValue':_0xe32d('0x21'),'set':function(_0x21390e){this[_0xe32d('0x8')](_0xe32d('0x22'),_0x21390e?_0x21390e[_0xe32d('0x23')](','):null);},'get':function(){return this['getDataValue'](_0xe32d('0x22'))?this['getDataValue'](_0xe32d('0x22'))[_0xe32d('0x24')](','):null;},'comment':_0xe32d('0x25')},'dtmfmode':{'type':Sequelize[_0xe32d('0x1b')](_0xe32d('0x26'),_0xe32d('0x27'),_0xe32d('0x28'),_0xe32d('0x29'),_0xe32d('0x2a')),'allowNull':!![],'defaultValue':_0xe32d('0x26')},'directmedia':{'type':Sequelize['ENUM'](_0xe32d('0x2b'),'no','nonat',_0xe32d('0x2c'),_0xe32d('0x2d')),'allowNull':!![],'defaultValue':'no'},'directrtpsetup':{'type':Sequelize[_0xe32d('0x1b')](_0xe32d('0x2b'),'no'),'allowNull':!![],'defaultValue':'no'},'directmediapermit':{'type':Sequelize[_0xe32d('0x6')],'allowNull':!![]},'directmediadeny':{'type':Sequelize[_0xe32d('0x6')],'allowNull':!![]},'nat':{'type':Sequelize[_0xe32d('0x6')],'allowNull':!![],'defaultValue':_0xe32d('0x2e'),'set':function(_0x7f2d6f){this[_0xe32d('0x8')](_0xe32d('0x2f'),_0x7f2d6f?_0x7f2d6f['join'](','):null);},'get':function(){return this[_0xe32d('0xb')](_0xe32d('0x2f'))?this[_0xe32d('0xb')](_0xe32d('0x2f'))[_0xe32d('0x24')](','):null;},'comment':_0xe32d('0x30')},'callgroup':{'type':Sequelize[_0xe32d('0x6')]},'namedcallgroup':{'type':Sequelize[_0xe32d('0x6')]},'pickupgroup':{'type':Sequelize[_0xe32d('0x6')]},'namedpickupgroup':{'type':Sequelize['STRING']},'language':{'type':Sequelize[_0xe32d('0x6')],'defaultValue':'en'},'tonezone':{'type':Sequelize[_0xe32d('0x6')]},'disallow':{'type':Sequelize['STRING'],'allowNull':![],'defaultValue':_0xe32d('0x31')},'allow':{'type':Sequelize[_0xe32d('0x6')],'allowNull':![],'defaultValue':'ulaw;alaw;gsm','set':function(_0x542e01){this[_0xe32d('0x8')]('allow',_0x542e01?_0x542e01[_0xe32d('0x23')](';'):_0xe32d('0x32'));},'get':function(){return this[_0xe32d('0xb')]('allow')?this[_0xe32d('0xb')]('allow')[_0xe32d('0x24')](';'):null;},'comment':'String\x20is\x20deprecated.\x20Please\x20use\x20an\x20Array\x20as\x20[\x22ulaw\x22,\x20\x22alaw\x22,\x20\x22gsm\x22]'},'autoframing':{'type':Sequelize[_0xe32d('0x1b')]('yes','no'),'allowNull':!![]},'insecure':{'type':Sequelize[_0xe32d('0x6')],'allowNull':!![],'set':function(_0x7c0f65){this[_0xe32d('0x8')](_0xe32d('0x33'),_0x7c0f65?_0x7c0f65[_0xe32d('0x23')](','):null);},'get':function(){return this[_0xe32d('0xb')](_0xe32d('0x33'))?this[_0xe32d('0xb')](_0xe32d('0x33'))[_0xe32d('0x24')](','):null;},'comment':_0xe32d('0x34')},'trustrpid':{'type':Sequelize[_0xe32d('0x1b')](_0xe32d('0x2b'),'no'),'allowNull':!![],'defaultValue':'no'},'trust_id_outbound':{'type':Sequelize[_0xe32d('0x1b')]('yes','no'),'allowNull':!![],'defaultValue':'no'},'progressinband':{'type':Sequelize[_0xe32d('0x1b')](_0xe32d('0x2b'),'no','never'),'allowNull':!![]},'promiscredir':{'type':Sequelize[_0xe32d('0x1b')](_0xe32d('0x2b'),'no'),'allowNull':!![]},'useclientcode':{'type':Sequelize['ENUM'](_0xe32d('0x2b'),'no'),'allowNull':!![]},'accountcode':{'type':Sequelize[_0xe32d('0x17')](0xb),'allowNull':!![]},'setvar':{'type':Sequelize[_0xe32d('0x6')],'allowNull':!![]},'callerid':{'type':Sequelize[_0xe32d('0x6')],'allowNull':!![],'defaultValue':_0xe32d('0x35')},'amaflags':{'type':Sequelize[_0xe32d('0x6')],'allowNull':!![]},'callcounter':{'type':Sequelize['ENUM'](_0xe32d('0x2b'),'no'),'allowNull':!![],'defaultValue':_0xe32d('0x2b')},'busylevel':{'type':Sequelize[_0xe32d('0x17')](0xb),'allowNull':!![]},'allowoverlap':{'type':Sequelize[_0xe32d('0x1b')](_0xe32d('0x2b'),'no'),'allowNull':!![]},'allowsubscribe':{'type':Sequelize[_0xe32d('0x1b')](_0xe32d('0x2b'),'no'),'allowNull':!![]},'allowtransfer':{'type':Sequelize[_0xe32d('0x1b')](_0xe32d('0x2b'),'no'),'allowNull':!![]},'ignoresdpversion':{'type':Sequelize[_0xe32d('0x1b')]('yes','no'),'allowNull':!![]},'subscribecontext':{'type':Sequelize[_0xe32d('0x6')],'allowNull':!![]},'template':{'type':Sequelize[_0xe32d('0x6')],'allowNull':!![]},'videosupport':{'type':Sequelize[_0xe32d('0x1b')](_0xe32d('0x2b'),'no',_0xe32d('0x36')),'allowNull':!![],'defaultValue':'no'},'maxcallbitrate':{'type':Sequelize[_0xe32d('0x17')](0xb),'allowNull':!![]},'rfc2833compensate':{'type':Sequelize[_0xe32d('0x1b')](_0xe32d('0x2b'),'no'),'allowNull':!![]},'mailbox':{'type':Sequelize[_0xe32d('0x6')],'allowNull':!![]},'session_timers':{'type':Sequelize[_0xe32d('0x1b')](_0xe32d('0x37'),_0xe32d('0x38'),'originate'),'allowNull':!![]},'session_expires':{'type':Sequelize[_0xe32d('0x17')](0xb),'allowNull':!![]},'session_minse':{'type':Sequelize[_0xe32d('0x17')](0xb),'allowNull':!![]},'session_refresher':{'type':Sequelize[_0xe32d('0x1b')](_0xe32d('0x39'),_0xe32d('0x3a')),'allowNull':!![],'defaultValue':'uas'},'t38pt_usertpsource':{'type':Sequelize[_0xe32d('0x6')],'allowNull':!![]},'regexten':{'type':Sequelize[_0xe32d('0x6')],'allowNull':!![]},'fromdomain':{'type':Sequelize[_0xe32d('0x6')],'allowNull':!![]},'fromuser':{'type':Sequelize[_0xe32d('0x6')],'allowNull':!![]},'qualify':{'type':Sequelize[_0xe32d('0x1b')](_0xe32d('0x2b'),'no'),'allowNull':!![],'defaultValue':_0xe32d('0x2b')},'keepalive':{'type':Sequelize[_0xe32d('0x17')](0xb),'allowNull':!![]},'defaultip':{'type':Sequelize[_0xe32d('0x6')],'allowNull':!![]},'defaultuser':{'type':Sequelize[_0xe32d('0x6')],'allowNull':!![]},'rtptimeout':{'type':Sequelize['INTEGER'](0xb),'allowNull':!![]},'rtpholdtimeout':{'type':Sequelize['INTEGER'](0xb),'allowNull':!![]},'rtpkeepalive':{'type':Sequelize[_0xe32d('0x17')](0xb),'allowNull':!![]},'sendrpid':{'type':Sequelize[_0xe32d('0x1b')](_0xe32d('0x2b'),'no'),'allowNull':!![],'defaultValue':'no'},'outboundproxy':{'type':Sequelize[_0xe32d('0x6')],'allowNull':!![]},'callbackextension':{'type':Sequelize[_0xe32d('0x6')],'allowNull':!![]},'timert1':{'type':Sequelize[_0xe32d('0x17')](0xb),'allowNull':!![]},'timerb':{'type':Sequelize[_0xe32d('0x17')](0xb),'allowNull':!![]},'qualifyfreq':{'type':Sequelize[_0xe32d('0x17')](0xb),'allowNull':!![]},'contactpermit':{'type':Sequelize[_0xe32d('0x6')],'allowNull':!![]},'contactdeny':{'type':Sequelize[_0xe32d('0x6')],'allowNull':!![]},'contactacl':{'type':Sequelize[_0xe32d('0x6')],'allowNull':!![]},'unsolicited_mailbox':{'type':Sequelize[_0xe32d('0x6')],'allowNull':!![]},'use_q850_reason':{'type':Sequelize[_0xe32d('0x6')],'allowNull':!![]},'maxforwards':{'type':Sequelize[_0xe32d('0x17')](0xb),'allowNull':!![]},'encryption':{'type':Sequelize['ENUM'](_0xe32d('0x2b'),'no'),'allowNull':!![],'defaultValue':'no'},'avpf':{'type':Sequelize[_0xe32d('0x1b')](_0xe32d('0x2b'),'no'),'allowNull':!![]},'force_avp':{'type':Sequelize['ENUM']('yes','no'),'allowNull':!![]},'icesupport':{'type':Sequelize[_0xe32d('0x1b')](_0xe32d('0x2b'),'no'),'allowNull':!![]},'dtlsenable':{'type':Sequelize[_0xe32d('0x1b')](_0xe32d('0x2b'),'no'),'allowNull':!![]},'dtlsverify':{'type':Sequelize[_0xe32d('0x1b')]('yes','no','fingerprint',_0xe32d('0x3b')),'allowNull':!![]},'dtlsrekey':{'type':Sequelize[_0xe32d('0x17')](0xb),'allowNull':!![]},'dtlscertfile':{'type':Sequelize[_0xe32d('0x6')],'allowNull':!![]},'dtlsprivatekey':{'type':Sequelize[_0xe32d('0x6')],'allowNull':!![]},'dtlscipher':{'type':Sequelize['STRING'],'allowNull':!![]},'dtlscafile':{'type':Sequelize[_0xe32d('0x6')],'allowNull':!![]},'dtlscapath':{'type':Sequelize[_0xe32d('0x6')],'allowNull':!![]},'dtlssetup':{'type':Sequelize[_0xe32d('0x1b')](_0xe32d('0x3c'),_0xe32d('0x3d'),_0xe32d('0x3e')),'allowNull':!![]},'dtlsfingerprint':{'type':Sequelize[_0xe32d('0x6')],'allowNull':!![]},'usereqphone':{'type':Sequelize[_0xe32d('0x1b')](_0xe32d('0x2b'),'no'),'allowNull':!![],'defaultValue':'no'},'recordonfeature':{'type':Sequelize[_0xe32d('0x6')],'allowNull':!![]},'recordofffeature':{'type':Sequelize[_0xe32d('0x6')],'allowNull':!![]},'call_limit':{'type':Sequelize[_0xe32d('0x17')](0xb),'allowNull':!![],'defaultValue':0xa},'registertrying':{'type':Sequelize[_0xe32d('0x1b')](_0xe32d('0x2b'),'no'),'allowNull':!![]},'subscribemwi':{'type':Sequelize[_0xe32d('0x1b')](_0xe32d('0x2b'),'no'),'allowNull':!![]},'vmexten':{'type':Sequelize[_0xe32d('0x6')],'allowNull':!![]},'mohinterpret':{'type':Sequelize[_0xe32d('0x6')],'allowNull':!![]},'mohsuggest':{'type':Sequelize['STRING'],'allowNull':!![]},'parkinglot':{'type':Sequelize[_0xe32d('0x6')],'allowNull':!![]},'canreinvite':{'type':Sequelize[_0xe32d('0x1b')](_0xe32d('0x2b'),'no','nonat',_0xe32d('0x2c'),_0xe32d('0x3f')),'allowNull':!![],'defaultValue':'no'},'loginInPause':{'type':Sequelize[_0xe32d('0x14')],'defaultValue':![]},'resetPasswordToken':{'type':Sequelize['STRING']},'resetPasswordExpires':{'type':Sequelize[_0xe32d('0x15')]},'passwordResetAt':{'type':Sequelize[_0xe32d('0x15')],'defaultValue':null},'previousPasswords':{'type':Sequelize[_0xe32d('0x6')]},'showWebBar':{'type':Sequelize[_0xe32d('0x17')],'defaultValue':0x0,'set':function(_0x52497d){this[_0xe32d('0x8')](_0xe32d('0x40'),_0x52497d);var _0x57605f=this[_0xe32d('0x41')]({'plain':!![]});switch(_0x52497d){case 0x0:case 0x1:var _0x59f6b3=_0x57605f[_0xe32d('0x22')]?_[_0xe32d('0x42')](_0x57605f[_0xe32d('0x22')])?_0x57605f[_0xe32d('0x22')]['join']():_0x57605f[_0xe32d('0x22')]:_0xe32d('0x21');if(_0x59f6b3===_0xe32d('0x43')){_0x59f6b3=_0xe32d('0x21');}this['setDataValue'](_0xe32d('0x22'),_0x59f6b3);this[_0xe32d('0x8')]('encryption','no');this[_0xe32d('0x8')](_0xe32d('0x44'),null);this[_0xe32d('0x8')]('force_avp',null);this[_0xe32d('0x8')](_0xe32d('0x45'),null);this['setDataValue'](_0xe32d('0x46'),null);this[_0xe32d('0x8')]('dtlsverify',null);this['setDataValue'](_0xe32d('0x47'),null);this[_0xe32d('0x8')](_0xe32d('0x48'),null);this[_0xe32d('0x8')](_0xe32d('0x49'),null);this['setDataValue'](_0xe32d('0x4a'),'no');break;case 0x2:this[_0xe32d('0x8')]('transport','wss');this[_0xe32d('0x8')]('encryption',_0xe32d('0x2b'));this[_0xe32d('0x8')](_0xe32d('0x44'),_0xe32d('0x2b'));this[_0xe32d('0x8')]('force_avp',_0xe32d('0x2b'));this['setDataValue'](_0xe32d('0x45'),_0xe32d('0x2b'));this['setDataValue'](_0xe32d('0x46'),'yes');this[_0xe32d('0x8')]('dtlsverify','no');this[_0xe32d('0x8')]('dtlssetup',_0xe32d('0x3e'));this[_0xe32d('0x8')](_0xe32d('0x48'),_0x57605f[_0xe32d('0x48')]||_0xe32d('0x4b'));this[_0xe32d('0x8')](_0xe32d('0x49'),_0x57605f['dtlsprivatekey']||_0xe32d('0x4c'));this['setDataValue']('rtcp_mux','yes');break;default:}}},'permissions':{'type':Sequelize['TEXT'],'set':function(_0x23a3b1){this[_0xe32d('0x8')]('permissions',_0x23a3b1?_0x23a3b1[_0xe32d('0x23')](','):[]);},'get':function(){return this[_0xe32d('0xb')](_0xe32d('0x4d'))?_['map'](this[_0xe32d('0xb')]('permissions')['split'](','),function(_0x2db252){return parseInt(_0x2db252,0xa);}):[];}},'phoneBarUnconditionalNumber':{'type':Sequelize['STRING']},'phoneBarNoReplyNumber':{'type':Sequelize[_0xe32d('0x6')]},'phoneBarBusyNumber':{'type':Sequelize[_0xe32d('0x6')]},'phoneBarUnconditional':{'type':Sequelize[_0xe32d('0x14')],'defaultValue':![]},'phoneBarNoReply':{'type':Sequelize[_0xe32d('0x14')],'defaultValue':![]},'phoneBarBusy':{'type':Sequelize[_0xe32d('0x14')],'defaultValue':![]},'phoneBarDnd':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'phoneBarUnansweredCallBadge':{'type':Sequelize[_0xe32d('0x14')],'defaultValue':!![]},'phoneBarEnableDtmfTone':{'type':Sequelize[_0xe32d('0x14')],'defaultValue':![]},'phoneBarAutoAnswerDelay':{'type':Sequelize[_0xe32d('0x17')],'defaultValue':0x0},'extensionMonitor':{'type':Sequelize[_0xe32d('0x6')],'defaultValue':''},'crudPermissions':{'type':Sequelize[_0xe32d('0x17')],'defaultValue':0x0},'rtcp_mux':{'type':Sequelize[_0xe32d('0x1b')](_0xe32d('0x2b'),'no'),'defaultValue':'no'},'allowmessenger':{'type':Sequelize[_0xe32d('0x14')],'defaultValue':!![]},'phoneBarOutboundProxy':{'type':Sequelize[_0xe32d('0x6')]},'phoneBarEnableJaws':{'type':Sequelize[_0xe32d('0x14')],'defaultValue':![]},'phoneBarEnableScreenRecordingByAgent':{'type':Sequelize[_0xe32d('0x14')],'defaultValue':![]},'phoneBarEnableVideoRecording':{'type':Sequelize[_0xe32d('0x4e')],'get':function(){return this['getDataValue'](_0xe32d('0x4f'))?this[_0xe32d('0xb')]('phoneBarEnableScreenRecordingByAgent'):![];}},'phoneBarEnableAutomaticScreenRecording':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'phoneBarPrefixRequired':{'type':Sequelize[_0xe32d('0x14')],'defaultValue':![]},'hotdesk':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'interface':{'type':Sequelize['STRING'],'defaultValue':null},'privacyEnabled':{'type':Sequelize[_0xe32d('0x14')],'defaultValue':![]},'apiKeyNonce':{'type':Sequelize[_0xe32d('0x6')],'allowNull':!![]},'apiKeyIat':{'type':Sequelize[_0xe32d('0x6')],'allowNull':!![]},'screenrecording':{'type':Sequelize[_0xe32d('0x14')],'defaultValue':![],'set':function(_0x61cdd4){if(typeof _0x61cdd4===_0xe32d('0x50')){var _0x5ec1d8=_0x61cdd4==='1'?!![]:_0x61cdd4==='0'?![]:_0x61cdd4===_0xe32d('0x51')?!![]:_0x61cdd4===_0xe32d('0x52')?![]:![];this[_0xe32d('0x8')](_0xe32d('0x53'),_0x5ec1d8);}else{this[_0xe32d('0x8')](_0xe32d('0x53'),_0x61cdd4);}}},'blocked':{'type':Sequelize[_0xe32d('0x14')],'defaultValue':![],'set':function(_0x2a4c62){this['setDataValue'](_0xe32d('0x54'),_0x2a4c62);if(_0x2a4c62===!![]){this['setDataValue']('blockedAt',moment());this[_0xe32d('0x8')](_0xe32d('0x55'),0x0);}else{this['setDataValue'](_0xe32d('0x56'),null);}}},'blockedAt':{'type':Sequelize['DATE'],'defaultValue':null},'loginAttempts':{'type':Sequelize[_0xe32d('0x17')],'defaultValue':0x0},'disabled':{'type':Sequelize[_0xe32d('0x14')],'defaultValue':![]},'settingsEnabled':{'type':Sequelize[_0xe32d('0x14')],'defaultValue':!![]}};
\ No newline at end of file