Built motion from commit 5fcd269f5146f10cf3129722d518881dfac64576. Version 3.0.0...
[motion-next.git] / server / api / user / user.attributes.js
index 8bf2fad..567c00c 100644 (file)
@@ -1 +1 @@
-const a647_0x5525=['phoneBarEnableScreenRecordingByAgent','ALLOWED_NOT_SCREENED','String\x20is\x20deprecated.\x20Please\x20use\x20an\x20Array\x20as\x20[\x22force_rport\x22,\x20\x22comedia\x22]','ENUM','\x22%s\x22\x20<%s>','string','email','all','DEFAULT\x20PAUSE','fingerprint','The\x20name\x20of\x20the\x20user','udp','PROHIB','join','DATE','PROHIB_PASSED_SCREEN','avpf','defaultuser','dtlsenable','dynamic','ALLOWED_PASSED_SCREEN','getDataValue','split','ulaw;alaw;gsm','actpass','allow','blocked','from-sip','/etc/pki/tls/private/motion.key','dtlsprivatekey','accountcode','String\x20is\x20deprecated.\x20Please\x20use\x20an\x20Array\x20as\x20[\x22ulaw\x22,\x20\x22alaw\x22,\x20\x22gsm\x22]','update,nonat','never','/etc/pki/tls/certs/motion.crt','ALLOWED_FAILED_SCREEN','wss','screenrecording','VIRTUAL','util','dtlssetup','admin','icesupport','format','inband','lodash','outgoing','info','callerid','friend','certificate','yes','PROHIB_NOT_SCREENED','always','map','accept','update','dtlsverify','INTEGER','internal','permissions','name','auto','insecure','uac','local','force_rport,comedia','nat','\x22\x22\x20<>','transport','rtcp_mux','dtlscertfile','shortinfo','true','get','encryption','moment','fullname','STRING','force_avp','setDataValue','nonat','BOOLEAN'];(function(_0x314e9c,_0x552518){const _0x23b698=function(_0x3dd146){while(--_0x3dd146){_0x314e9c['push'](_0x314e9c['shift']());}};_0x23b698(++_0x552518);}(a647_0x5525,0xde));const a647_0x23b6=function(_0x314e9c,_0x552518){_0x314e9c=_0x314e9c-0x0;let _0x23b698=a647_0x5525[_0x314e9c];return _0x23b698;};const _0x38b528=a647_0x23b6;'use strict';const Sequelize=require('sequelize'),moment=require(_0x38b528('0x14')),util=require(_0x38b528('0x42')),_=require(_0x38b528('0x48'));module['exports']={'name':{'type':Sequelize[_0x38b528('0x16')],'allowNull':![],'unique':_0x38b528('0x5'),'validate':{'notEmpty':!![],'is':/^[A-Za-z0-9._]+$/i},'set':function(_0x3dd146){const _0x5d7e73=_0x38b528;this[_0x5d7e73('0x18')]('name',_0x3dd146),this['setDataValue'](_0x5d7e73('0x2c'),_0x3dd146);},'comment':_0x38b528('0x25')},'fullname':{'type':Sequelize['STRING'],'allowNull':![],'set':function(_0x1f169c){const _0x2db7ad=_0x38b528;this[_0x2db7ad('0x18')](_0x2db7ad('0x15'),_0x1f169c),this[_0x2db7ad('0x18')](_0x2db7ad('0x4b'),util[_0x2db7ad('0x46')](_0x2db7ad('0x1f'),_0x1f169c,this[_0x2db7ad('0x30')]('internal')));}},'alias':{'type':Sequelize[_0x38b528('0x16')]},'email':{'type':Sequelize[_0x38b528('0x16')],'allowNull':![],'unique':_0x38b528('0x21'),'validate':{'isEmail':!![]},'set':function(_0x1cd35e){const _0x5311ac=_0x38b528;_0x1cd35e&&this['setDataValue'](_0x5311ac('0x21'),_0x1cd35e['toLowerCase']());}},'role':{'type':Sequelize['ENUM'](_0x38b528('0x44'),'user','agent','telephone'),'allowNull':![]},'password':{'type':Sequelize[_0x38b528('0x16')],'allowNull':![],'validate':{'notEmpty':!![]}},'provider':{'type':Sequelize[_0x38b528('0x16')],'defaultValue':_0x38b528('0x9')},'internal':{'type':Sequelize[_0x38b528('0x2')](0xb),'allowNull':![],'unique':_0x38b528('0x3'),'set':function(_0x37b6c1){const _0x8bc54d=_0x38b528;this[_0x8bc54d('0x18')]('internal',_0x37b6c1),this['setDataValue'](_0x8bc54d('0x39'),_0x37b6c1),this[_0x8bc54d('0x18')](_0x8bc54d('0x4b'),util[_0x8bc54d('0x46')](_0x8bc54d('0x1f'),this['getDataValue']('fullname'),_0x37b6c1));}},'salt':{'type':Sequelize['STRING']},'phone':{'type':Sequelize[_0x38b528('0x16')]},'mobile':{'type':Sequelize['STRING']},'address':{'type':Sequelize[_0x38b528('0x16')]},'zipcode':{'type':Sequelize['STRING']},'userpic':{'type':Sequelize[_0x38b528('0x16')]},'city':{'type':Sequelize[_0x38b528('0x16')]},'country':{'type':Sequelize[_0x38b528('0x16')]},'online':{'type':Sequelize[_0x38b528('0x1a')],'defaultValue':![]},'lastLoginAt':{'type':Sequelize[_0x38b528('0x29')]},'voicePause':{'type':Sequelize[_0x38b528('0x1a')],'defaultValue':![]},'chatPause':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'mailPause':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'faxPause':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'smsPause':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'whatsappPause':{'type':Sequelize[_0x38b528('0x1a')],'defaultValue':![]},'openchannelPause':{'type':Sequelize[_0x38b528('0x1a')],'defaultValue':![]},'pauseType':{'type':Sequelize[_0x38b528('0x16')],'defaultValue':_0x38b528('0x23')},'lastPauseAt':{'type':Sequelize[_0x38b528('0x29')]},'chatCapacity':{'type':Sequelize[_0x38b528('0x2')],'defaultValue':0x0},'mailCapacity':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'faxCapacity':{'type':Sequelize[_0x38b528('0x2')],'defaultValue':0x0},'smsCapacity':{'type':Sequelize[_0x38b528('0x2')],'defaultValue':0x0},'whatsappCapacity':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'openchannelCapacity':{'type':Sequelize[_0x38b528('0x2')],'defaultValue':0x0},'phoneBarAutoAnswer':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'phoneBarEnableSettings':{'type':Sequelize[_0x38b528('0x1a')],'defaultValue':!![]},'phoneBarListenPort':{'type':Sequelize[_0x38b528('0x2')](0x5),'defaultValue':0x1428},'phoneBarExpires':{'type':Sequelize[_0x38b528('0x2')](0x5),'defaultValue':0x78},'phoneBarRemoteControl':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'phoneBarRemoteControlPort':{'type':Sequelize[_0x38b528('0x2')],'defaultValue':0x26a0},'phoneBarEnableRecording':{'type':Sequelize[_0x38b528('0x1a')],'defaultValue':![]},'phoneBarRingInUse':{'type':Sequelize[_0x38b528('0x1a')],'defaultValue':![]},'chanspy':{'type':Sequelize[_0x38b528('0x1a')],'defaultValue':![]},'description':{'type':Sequelize[_0x38b528('0x16')],'allowNull':!![]},'host':{'type':Sequelize[_0x38b528('0x16')],'allowNull':!![],'defaultValue':_0x38b528('0x2e')},'ipaddr':{'type':Sequelize[_0x38b528('0x16')],'allowNull':!![]},'port':{'type':Sequelize[_0x38b528('0x2')](0x5),'allowNull':!![]},'regseconds':{'type':Sequelize[_0x38b528('0x2')](0xb),'allowNull':!![]},'fullcontact':{'type':Sequelize[_0x38b528('0x16')],'allowNull':!![]},'regserver':{'type':Sequelize['STRING'],'allowNull':!![]},'useragent':{'type':Sequelize[_0x38b528('0x16')],'allowNull':!![]},'lastms':{'type':Sequelize[_0x38b528('0x2')](0xb),'allowNull':!![]},'type':{'type':Sequelize[_0x38b528('0x1e')](_0x38b528('0x4c'),'user','peer'),'allowNull':!![],'defaultValue':_0x38b528('0x4c')},'context':{'type':Sequelize[_0x38b528('0x16')],'allowNull':!![],'defaultValue':_0x38b528('0x36')},'callingpres':{'type':Sequelize['ENUM'](_0x38b528('0x1c'),_0x38b528('0x2f'),_0x38b528('0x3e'),'ALLOWED',_0x38b528('0x4f'),_0x38b528('0x2a'),'PROHIB_FAILED_SCREEN',_0x38b528('0x27')),'allowNull':!![]},'deny':{'type':Sequelize[_0x38b528('0x16')],'allowNull':!![]},'permit':{'type':Sequelize[_0x38b528('0x16')],'allowNull':!![]},'secret':{'type':Sequelize[_0x38b528('0x16')],'allowNull':!![]},'md5secret':{'type':Sequelize[_0x38b528('0x16')],'allowNull':!![]},'remotesecret':{'type':Sequelize[_0x38b528('0x16')],'allowNull':!![]},'transport':{'type':Sequelize[_0x38b528('0x16')],'allowNull':!![],'defaultValue':_0x38b528('0x26'),'set':function(_0x3bad7f){const _0x90e5f3=_0x38b528;this[_0x90e5f3('0x18')](_0x90e5f3('0xd'),_0x3bad7f?_0x3bad7f['join'](','):null);},'get':function(){const _0x185066=_0x38b528;return this[_0x185066('0x30')](_0x185066('0xd'))?this[_0x185066('0x30')]('transport')[_0x185066('0x31')](','):null;},'comment':'String\x20is\x20deprecated.\x20Please\x20use\x20an\x20Array\x20as\x20[\x22udp\x22,\x20\x22tcp\x22]'},'dtmfmode':{'type':Sequelize[_0x38b528('0x1e')]('rfc2833',_0x38b528('0x4a'),_0x38b528('0x10'),_0x38b528('0x47'),_0x38b528('0x6')),'allowNull':!![],'defaultValue':'rfc2833'},'directmedia':{'type':Sequelize['ENUM']('yes','no',_0x38b528('0x19'),'update',_0x38b528('0x49')),'allowNull':!![],'defaultValue':'no'},'directrtpsetup':{'type':Sequelize[_0x38b528('0x1e')](_0x38b528('0x4e'),'no'),'allowNull':!![],'defaultValue':'no'},'directmediapermit':{'type':Sequelize[_0x38b528('0x16')],'allowNull':!![]},'directmediadeny':{'type':Sequelize[_0x38b528('0x16')],'allowNull':!![]},'nat':{'type':Sequelize['STRING'],'allowNull':!![],'defaultValue':_0x38b528('0xa'),'set':function(_0x2bf45f){const _0x371a3f=_0x38b528;this[_0x371a3f('0x18')](_0x371a3f('0xb'),_0x2bf45f?_0x2bf45f[_0x371a3f('0x28')](','):null);},'get':function(){const _0x6f7729=_0x38b528;return this['getDataValue']('nat')?this['getDataValue'](_0x6f7729('0xb'))[_0x6f7729('0x31')](','):null;},'comment':_0x38b528('0x1d')},'callgroup':{'type':Sequelize[_0x38b528('0x16')]},'namedcallgroup':{'type':Sequelize[_0x38b528('0x16')]},'pickupgroup':{'type':Sequelize['STRING']},'namedpickupgroup':{'type':Sequelize[_0x38b528('0x16')]},'language':{'type':Sequelize[_0x38b528('0x16')],'defaultValue':'en'},'tonezone':{'type':Sequelize[_0x38b528('0x16')]},'disallow':{'type':Sequelize['STRING'],'allowNull':![],'defaultValue':_0x38b528('0x22')},'allow':{'type':Sequelize[_0x38b528('0x16')],'allowNull':![],'defaultValue':'ulaw;alaw;gsm','set':function(_0x2b075d){const _0x2d2c4b=_0x38b528;this[_0x2d2c4b('0x18')](_0x2d2c4b('0x34'),_0x2b075d?_0x2b075d[_0x2d2c4b('0x28')](';'):_0x2d2c4b('0x32'));},'get':function(){const _0x4a8e3b=_0x38b528;return this[_0x4a8e3b('0x30')](_0x4a8e3b('0x34'))?this[_0x4a8e3b('0x30')](_0x4a8e3b('0x34'))[_0x4a8e3b('0x31')](';'):null;},'comment':_0x38b528('0x3a')},'autoframing':{'type':Sequelize[_0x38b528('0x1e')]('yes','no'),'allowNull':!![]},'insecure':{'type':Sequelize[_0x38b528('0x16')],'allowNull':!![],'set':function(_0x4f1bbc){const _0x5d0beb=_0x38b528;this[_0x5d0beb('0x18')](_0x5d0beb('0x7'),_0x4f1bbc?_0x4f1bbc[_0x5d0beb('0x28')](','):null);},'get':function(){const _0x407817=_0x38b528;return this['getDataValue']('insecure')?this['getDataValue'](_0x407817('0x7'))['split'](','):null;},'comment':'String\x20is\x20deprecated.\x20Please\x20use\x20an\x20Array\x20as\x20[\x22port\x22,\x20\x22invite\x22]'},'trustrpid':{'type':Sequelize[_0x38b528('0x1e')](_0x38b528('0x4e'),'no'),'allowNull':!![],'defaultValue':'no'},'trust_id_outbound':{'type':Sequelize['ENUM'](_0x38b528('0x4e'),'no'),'allowNull':!![],'defaultValue':'no'},'progressinband':{'type':Sequelize['ENUM'](_0x38b528('0x4e'),'no',_0x38b528('0x3c')),'allowNull':!![]},'promiscredir':{'type':Sequelize[_0x38b528('0x1e')]('yes','no'),'allowNull':!![]},'useclientcode':{'type':Sequelize['ENUM']('yes','no'),'allowNull':!![]},'accountcode':{'type':Sequelize[_0x38b528('0x2')](0xb),'allowNull':!![]},'setvar':{'type':Sequelize[_0x38b528('0x16')],'allowNull':!![]},'callerid':{'type':Sequelize['STRING'],'allowNull':!![],'defaultValue':_0x38b528('0xc')},'amaflags':{'type':Sequelize[_0x38b528('0x16')],'allowNull':!![]},'callcounter':{'type':Sequelize[_0x38b528('0x1e')](_0x38b528('0x4e'),'no'),'allowNull':!![],'defaultValue':'yes'},'busylevel':{'type':Sequelize[_0x38b528('0x2')](0xb),'allowNull':!![]},'allowoverlap':{'type':Sequelize[_0x38b528('0x1e')](_0x38b528('0x4e'),'no'),'allowNull':!![]},'allowsubscribe':{'type':Sequelize['ENUM'](_0x38b528('0x4e'),'no'),'allowNull':!![]},'allowtransfer':{'type':Sequelize[_0x38b528('0x1e')](_0x38b528('0x4e'),'no'),'allowNull':!![]},'ignoresdpversion':{'type':Sequelize[_0x38b528('0x1e')](_0x38b528('0x4e'),'no'),'allowNull':!![]},'subscribecontext':{'type':Sequelize[_0x38b528('0x16')],'allowNull':!![]},'template':{'type':Sequelize['STRING'],'allowNull':!![]},'videosupport':{'type':Sequelize[_0x38b528('0x1e')](_0x38b528('0x4e'),'no',_0x38b528('0x50')),'allowNull':!![],'defaultValue':'no'},'maxcallbitrate':{'type':Sequelize[_0x38b528('0x2')](0xb),'allowNull':!![]},'rfc2833compensate':{'type':Sequelize[_0x38b528('0x1e')](_0x38b528('0x4e'),'no'),'allowNull':!![]},'mailbox':{'type':Sequelize[_0x38b528('0x16')],'allowNull':!![]},'session_timers':{'type':Sequelize['ENUM'](_0x38b528('0x52'),'refuse','originate'),'allowNull':!![]},'session_expires':{'type':Sequelize[_0x38b528('0x2')](0xb),'allowNull':!![]},'session_minse':{'type':Sequelize[_0x38b528('0x2')](0xb),'allowNull':!![]},'session_refresher':{'type':Sequelize[_0x38b528('0x1e')](_0x38b528('0x8'),'uas'),'allowNull':!![],'defaultValue':'uas'},'t38pt_usertpsource':{'type':Sequelize['STRING'],'allowNull':!![]},'regexten':{'type':Sequelize['STRING'],'allowNull':!![]},'fromdomain':{'type':Sequelize['STRING'],'allowNull':!![]},'fromuser':{'type':Sequelize[_0x38b528('0x16')],'allowNull':!![]},'qualify':{'type':Sequelize[_0x38b528('0x1e')](_0x38b528('0x4e'),'no'),'allowNull':!![],'defaultValue':_0x38b528('0x4e')},'keepalive':{'type':Sequelize[_0x38b528('0x2')](0xb),'allowNull':!![]},'defaultip':{'type':Sequelize[_0x38b528('0x16')],'allowNull':!![]},'defaultuser':{'type':Sequelize[_0x38b528('0x16')],'allowNull':!![]},'rtptimeout':{'type':Sequelize['INTEGER'](0xb),'allowNull':!![]},'rtpholdtimeout':{'type':Sequelize[_0x38b528('0x2')](0xb),'allowNull':!![]},'rtpkeepalive':{'type':Sequelize[_0x38b528('0x2')](0xb),'allowNull':!![]},'sendrpid':{'type':Sequelize[_0x38b528('0x1e')](_0x38b528('0x4e'),'no'),'allowNull':!![],'defaultValue':'no'},'outboundproxy':{'type':Sequelize[_0x38b528('0x16')],'allowNull':!![]},'callbackextension':{'type':Sequelize[_0x38b528('0x16')],'allowNull':!![]},'timert1':{'type':Sequelize[_0x38b528('0x2')](0xb),'allowNull':!![]},'timerb':{'type':Sequelize[_0x38b528('0x2')](0xb),'allowNull':!![]},'qualifyfreq':{'type':Sequelize[_0x38b528('0x2')](0xb),'allowNull':!![]},'contactpermit':{'type':Sequelize[_0x38b528('0x16')],'allowNull':!![]},'contactdeny':{'type':Sequelize[_0x38b528('0x16')],'allowNull':!![]},'contactacl':{'type':Sequelize[_0x38b528('0x16')],'allowNull':!![]},'unsolicited_mailbox':{'type':Sequelize[_0x38b528('0x16')],'allowNull':!![]},'use_q850_reason':{'type':Sequelize[_0x38b528('0x16')],'allowNull':!![]},'maxforwards':{'type':Sequelize['INTEGER'](0xb),'allowNull':!![]},'encryption':{'type':Sequelize[_0x38b528('0x1e')](_0x38b528('0x4e'),'no'),'allowNull':!![],'defaultValue':'no'},'avpf':{'type':Sequelize[_0x38b528('0x1e')](_0x38b528('0x4e'),'no'),'allowNull':!![]},'force_avp':{'type':Sequelize[_0x38b528('0x1e')](_0x38b528('0x4e'),'no'),'allowNull':!![]},'icesupport':{'type':Sequelize[_0x38b528('0x1e')](_0x38b528('0x4e'),'no'),'allowNull':!![]},'dtlsenable':{'type':Sequelize[_0x38b528('0x1e')](_0x38b528('0x4e'),'no'),'allowNull':!![]},'dtlsverify':{'type':Sequelize[_0x38b528('0x1e')]('yes','no',_0x38b528('0x24'),_0x38b528('0x4d')),'allowNull':!![]},'dtlsrekey':{'type':Sequelize[_0x38b528('0x2')](0xb),'allowNull':!![]},'dtlscertfile':{'type':Sequelize[_0x38b528('0x16')],'allowNull':!![]},'dtlsprivatekey':{'type':Sequelize[_0x38b528('0x16')],'allowNull':!![]},'dtlscipher':{'type':Sequelize[_0x38b528('0x16')],'allowNull':!![]},'dtlscafile':{'type':Sequelize[_0x38b528('0x16')],'allowNull':!![]},'dtlscapath':{'type':Sequelize[_0x38b528('0x16')],'allowNull':!![]},'dtlssetup':{'type':Sequelize[_0x38b528('0x1e')]('active','passive',_0x38b528('0x33')),'allowNull':!![]},'dtlsfingerprint':{'type':Sequelize[_0x38b528('0x16')],'allowNull':!![]},'usereqphone':{'type':Sequelize[_0x38b528('0x1e')](_0x38b528('0x4e'),'no'),'allowNull':!![],'defaultValue':'no'},'recordonfeature':{'type':Sequelize[_0x38b528('0x16')],'allowNull':!![]},'recordofffeature':{'type':Sequelize[_0x38b528('0x16')],'allowNull':!![]},'call_limit':{'type':Sequelize[_0x38b528('0x2')](0xb),'allowNull':!![],'defaultValue':0xa},'registertrying':{'type':Sequelize[_0x38b528('0x1e')](_0x38b528('0x4e'),'no'),'allowNull':!![]},'subscribemwi':{'type':Sequelize['ENUM'](_0x38b528('0x4e'),'no'),'allowNull':!![]},'vmexten':{'type':Sequelize[_0x38b528('0x16')],'allowNull':!![]},'mohinterpret':{'type':Sequelize[_0x38b528('0x16')],'allowNull':!![]},'mohsuggest':{'type':Sequelize[_0x38b528('0x16')],'allowNull':!![]},'parkinglot':{'type':Sequelize[_0x38b528('0x16')],'allowNull':!![]},'canreinvite':{'type':Sequelize[_0x38b528('0x1e')]('yes','no',_0x38b528('0x19'),_0x38b528('0x0'),_0x38b528('0x3b')),'allowNull':!![],'defaultValue':'no'},'loginInPause':{'type':Sequelize[_0x38b528('0x1a')],'defaultValue':![]},'resetPasswordToken':{'type':Sequelize['STRING']},'resetPasswordExpires':{'type':Sequelize[_0x38b528('0x29')]},'passwordResetAt':{'type':Sequelize[_0x38b528('0x29')],'defaultValue':null},'previousPasswords':{'type':Sequelize['STRING']},'showWebBar':{'type':Sequelize[_0x38b528('0x2')],'defaultValue':0x0,'set':function(_0x2982da){const _0x2a02dc=_0x38b528;this['setDataValue']('showWebBar',_0x2982da);const _0x3b2638=this[_0x2a02dc('0x12')]({'plain':!![]});switch(_0x2982da){case 0x0:case 0x1:{let _0x10977b=_0x3b2638[_0x2a02dc('0xd')]?_['isArray'](_0x3b2638['transport'])?_0x3b2638[_0x2a02dc('0xd')]['join']():_0x3b2638[_0x2a02dc('0xd')]:_0x2a02dc('0x26');_0x10977b===_0x2a02dc('0x3f')&&(_0x10977b=_0x2a02dc('0x26')),this[_0x2a02dc('0x18')](_0x2a02dc('0xd'),_0x10977b),this[_0x2a02dc('0x18')](_0x2a02dc('0x13'),'no'),this[_0x2a02dc('0x18')](_0x2a02dc('0x2b'),null),this['setDataValue'](_0x2a02dc('0x17'),null),this[_0x2a02dc('0x18')](_0x2a02dc('0x45'),null),this[_0x2a02dc('0x18')](_0x2a02dc('0x2d'),null),this['setDataValue']('dtlsverify',null),this['setDataValue']('dtlssetup',null),this[_0x2a02dc('0x18')]('dtlscertfile',null),this['setDataValue']('dtlsprivatekey',null),this[_0x2a02dc('0x18')](_0x2a02dc('0xe'),'no');}break;case 0x2:this[_0x2a02dc('0x18')](_0x2a02dc('0xd'),_0x2a02dc('0x3f')),this['setDataValue'](_0x2a02dc('0x13'),_0x2a02dc('0x4e')),this[_0x2a02dc('0x18')](_0x2a02dc('0x2b'),_0x2a02dc('0x4e')),this[_0x2a02dc('0x18')](_0x2a02dc('0x17'),_0x2a02dc('0x4e')),this['setDataValue'](_0x2a02dc('0x45'),_0x2a02dc('0x4e')),this['setDataValue'](_0x2a02dc('0x2d'),_0x2a02dc('0x4e')),this[_0x2a02dc('0x18')](_0x2a02dc('0x1'),'no'),this[_0x2a02dc('0x18')](_0x2a02dc('0x43'),_0x2a02dc('0x33')),this[_0x2a02dc('0x18')]('dtlscertfile',_0x3b2638[_0x2a02dc('0xf')]||_0x2a02dc('0x3d')),this[_0x2a02dc('0x18')]('dtlsprivatekey',_0x3b2638[_0x2a02dc('0x38')]||_0x2a02dc('0x37')),this[_0x2a02dc('0x18')](_0x2a02dc('0xe'),'yes');break;default:}}},'permissions':{'type':Sequelize['TEXT'],'set':function(_0x432836){const _0x40f6a2=_0x38b528;this[_0x40f6a2('0x18')](_0x40f6a2('0x4'),_0x432836?_0x432836['join'](','):[]);},'get':function(){const _0x1a8abe=_0x38b528;return this[_0x1a8abe('0x30')](_0x1a8abe('0x4'))?_[_0x1a8abe('0x51')](this[_0x1a8abe('0x30')](_0x1a8abe('0x4'))[_0x1a8abe('0x31')](','),function(_0x5dba6e){return parseInt(_0x5dba6e,0xa);}):[];}},'phoneBarUnconditionalNumber':{'type':Sequelize[_0x38b528('0x16')]},'phoneBarNoReplyNumber':{'type':Sequelize[_0x38b528('0x16')]},'phoneBarBusyNumber':{'type':Sequelize['STRING']},'phoneBarUnconditional':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'phoneBarNoReply':{'type':Sequelize[_0x38b528('0x1a')],'defaultValue':![]},'phoneBarBusy':{'type':Sequelize[_0x38b528('0x1a')],'defaultValue':![]},'phoneBarDnd':{'type':Sequelize[_0x38b528('0x1a')],'defaultValue':!![]},'phoneBarUnansweredCallBadge':{'type':Sequelize[_0x38b528('0x1a')],'defaultValue':!![]},'phoneBarEnableDtmfTone':{'type':Sequelize[_0x38b528('0x1a')],'defaultValue':![]},'phoneBarAutoAnswerDelay':{'type':Sequelize[_0x38b528('0x2')],'defaultValue':0x0},'extensionMonitor':{'type':Sequelize[_0x38b528('0x16')],'defaultValue':''},'crudPermissions':{'type':Sequelize[_0x38b528('0x2')],'defaultValue':0x0},'rtcp_mux':{'type':Sequelize['ENUM'](_0x38b528('0x4e'),'no'),'defaultValue':'no'},'allowmessenger':{'type':Sequelize[_0x38b528('0x1a')],'defaultValue':!![]},'phoneBarOutboundProxy':{'type':Sequelize[_0x38b528('0x16')]},'phoneBarEnableJaws':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'phoneBarEnableScreenRecordingByAgent':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'phoneBarEnableVideoRecording':{'type':Sequelize[_0x38b528('0x41')],'get':function(){const _0x242c8f=_0x38b528;return this['getDataValue']('phoneBarEnableScreenRecordingByAgent')?this[_0x242c8f('0x30')](_0x242c8f('0x1b')):![];}},'phoneBarEnableAutomaticScreenRecording':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'phoneBarPrefixRequired':{'type':Sequelize[_0x38b528('0x1a')],'defaultValue':![]},'hotdesk':{'type':Sequelize[_0x38b528('0x1a')],'defaultValue':![]},'interface':{'type':Sequelize[_0x38b528('0x16')],'defaultValue':null},'privacyEnabled':{'type':Sequelize[_0x38b528('0x1a')],'defaultValue':![]},'apiKeyNonce':{'type':Sequelize[_0x38b528('0x16')],'allowNull':!![]},'apiKeyIat':{'type':Sequelize['STRING'],'allowNull':!![]},'screenrecording':{'type':Sequelize['BOOLEAN'],'defaultValue':![],'set':function(_0x43aebf){const _0x1cd8a7=_0x38b528;if(typeof _0x43aebf===_0x1cd8a7('0x20')){const _0x328151=_0x43aebf==='1'?!![]:_0x43aebf==='0'?![]:_0x43aebf===_0x1cd8a7('0x11')?!![]:_0x43aebf==='false'?![]:![];this['setDataValue'](_0x1cd8a7('0x40'),_0x328151);}else this[_0x1cd8a7('0x18')](_0x1cd8a7('0x40'),_0x43aebf);}},'blocked':{'type':Sequelize[_0x38b528('0x1a')],'defaultValue':![],'set':function(_0x492d12){const _0x32036c=_0x38b528;this[_0x32036c('0x18')](_0x32036c('0x35'),_0x492d12),_0x492d12===!![]?(this['setDataValue']('blockedAt',moment()),this[_0x32036c('0x18')]('loginAttempts',0x0)):this[_0x32036c('0x18')]('blockedAt',null);}},'blockedAt':{'type':Sequelize['DATE'],'defaultValue':null},'loginAttempts':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'disabled':{'type':Sequelize[_0x38b528('0x1a')],'defaultValue':![]},'settingsEnabled':{'type':Sequelize[_0x38b528('0x1a')],'defaultValue':!![]}};
\ No newline at end of file
+const a647_0x2484=['PROHIB_NOT_SCREENED','INTEGER','join','dynamic','force_avp','\x22%s\x22\x20<%s>','rtcp_mux','allow','ulaw;alaw;gsm','insecure','uas','active','shortinfo','rfc2833','from-sip','dtlscertfile','peer','sequelize','ENUM','dtlssetup','getDataValue','admin','setDataValue','string','uac','actpass','ALLOWED_NOT_SCREENED','yes','VIRTUAL','/etc/pki/tls/certs/motion.crt','fullname','dtlsprivatekey','always','nat','STRING','toLowerCase','moment','udp','String\x20is\x20deprecated.\x20Please\x20use\x20an\x20Array\x20as\x20[\x22port\x22,\x20\x22invite\x22]','DEFAULT\x20PAUSE','blockedAt','isArray','false','blocked','transport','get','String\x20is\x20deprecated.\x20Please\x20use\x20an\x20Array\x20as\x20[\x22force_rport\x22,\x20\x22comedia\x22]','dtlsverify','ALLOWED_FAILED_SCREEN','format','ALLOWED','loginAttempts','String\x20is\x20deprecated.\x20Please\x20use\x20an\x20Array\x20as\x20[\x22udp\x22,\x20\x22tcp\x22]','lodash','ALLOWED_PASSED_SCREEN','friend','internal','util','defaultuser','TEXT','callerid','nonat','encryption','inband','showWebBar','auto','wss','DATE','avpf','name','screenrecording','phoneBarEnableScreenRecordingByAgent','split','PROHIB','update','passive','all','agent','The\x20name\x20of\x20the\x20user','email','BOOLEAN','icesupport'];(function(_0x1a338f,_0x2484b0){const _0x364d53=function(_0x29d403){while(--_0x29d403){_0x1a338f['push'](_0x1a338f['shift']());}};_0x364d53(++_0x2484b0);}(a647_0x2484,0x186));const a647_0x364d=function(_0x1a338f,_0x2484b0){_0x1a338f=_0x1a338f-0x0;let _0x364d53=a647_0x2484[_0x1a338f];return _0x364d53;};const _0x4730cf=a647_0x364d;'use strict';const Sequelize=require(_0x4730cf('0x25')),moment=require(_0x4730cf('0x38')),util=require(_0x4730cf('0x4d')),_=require(_0x4730cf('0x49'));module['exports']={'name':{'type':Sequelize[_0x4730cf('0x36')],'allowNull':![],'unique':_0x4730cf('0x7'),'validate':{'notEmpty':!![],'is':/^[A-Za-z0-9._]+$/i},'set':function(_0x29d403){const _0x2ae7ed=_0x4730cf;this[_0x2ae7ed('0x2a')](_0x2ae7ed('0x7'),_0x29d403),this['setDataValue'](_0x2ae7ed('0x4e'),_0x29d403);},'comment':_0x4730cf('0x10')},'fullname':{'type':Sequelize[_0x4730cf('0x36')],'allowNull':![],'set':function(_0x131616){const _0x3fb8cd=_0x4730cf;this[_0x3fb8cd('0x2a')](_0x3fb8cd('0x32'),_0x131616),this[_0x3fb8cd('0x2a')](_0x3fb8cd('0x50'),util['format']('\x22%s\x22\x20<%s>',_0x131616,this[_0x3fb8cd('0x28')](_0x3fb8cd('0x4c'))));}},'alias':{'type':Sequelize[_0x4730cf('0x36')]},'email':{'type':Sequelize[_0x4730cf('0x36')],'allowNull':![],'unique':_0x4730cf('0x11'),'validate':{'isEmail':!![]},'set':function(_0x217cb3){const _0x4c68b3=_0x4730cf;_0x217cb3&&this['setDataValue'](_0x4c68b3('0x11'),_0x217cb3[_0x4c68b3('0x37')]());}},'role':{'type':Sequelize[_0x4730cf('0x26')](_0x4730cf('0x29'),'user',_0x4730cf('0xf'),'telephone'),'allowNull':![]},'password':{'type':Sequelize[_0x4730cf('0x36')],'allowNull':![],'validate':{'notEmpty':!![]}},'provider':{'type':Sequelize['STRING'],'defaultValue':'local'},'internal':{'type':Sequelize['INTEGER'](0xb),'allowNull':![],'unique':_0x4730cf('0x4c'),'set':function(_0x8b8f5c){const _0x561109=_0x4730cf;this[_0x561109('0x2a')](_0x561109('0x4c'),_0x8b8f5c),this['setDataValue']('accountcode',_0x8b8f5c),this['setDataValue'](_0x561109('0x50'),util[_0x561109('0x45')](_0x561109('0x19'),this['getDataValue']('fullname'),_0x8b8f5c));}},'salt':{'type':Sequelize[_0x4730cf('0x36')]},'phone':{'type':Sequelize[_0x4730cf('0x36')]},'mobile':{'type':Sequelize[_0x4730cf('0x36')]},'address':{'type':Sequelize[_0x4730cf('0x36')]},'zipcode':{'type':Sequelize[_0x4730cf('0x36')]},'userpic':{'type':Sequelize['STRING']},'city':{'type':Sequelize['STRING']},'country':{'type':Sequelize[_0x4730cf('0x36')]},'online':{'type':Sequelize[_0x4730cf('0x12')],'defaultValue':![]},'lastLoginAt':{'type':Sequelize[_0x4730cf('0x5')]},'voicePause':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'chatPause':{'type':Sequelize[_0x4730cf('0x12')],'defaultValue':![]},'mailPause':{'type':Sequelize[_0x4730cf('0x12')],'defaultValue':![]},'faxPause':{'type':Sequelize[_0x4730cf('0x12')],'defaultValue':![]},'smsPause':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'whatsappPause':{'type':Sequelize[_0x4730cf('0x12')],'defaultValue':![]},'openchannelPause':{'type':Sequelize[_0x4730cf('0x12')],'defaultValue':![]},'pauseType':{'type':Sequelize[_0x4730cf('0x36')],'defaultValue':_0x4730cf('0x3b')},'lastPauseAt':{'type':Sequelize['DATE']},'chatCapacity':{'type':Sequelize[_0x4730cf('0x15')],'defaultValue':0x0},'mailCapacity':{'type':Sequelize[_0x4730cf('0x15')],'defaultValue':0x0},'faxCapacity':{'type':Sequelize[_0x4730cf('0x15')],'defaultValue':0x0},'smsCapacity':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'whatsappCapacity':{'type':Sequelize[_0x4730cf('0x15')],'defaultValue':0x0},'openchannelCapacity':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'phoneBarAutoAnswer':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'phoneBarEnableSettings':{'type':Sequelize[_0x4730cf('0x12')],'defaultValue':!![]},'phoneBarListenPort':{'type':Sequelize[_0x4730cf('0x15')](0x5),'defaultValue':0x1428},'phoneBarExpires':{'type':Sequelize['INTEGER'](0x5),'defaultValue':0x78},'phoneBarRemoteControl':{'type':Sequelize[_0x4730cf('0x12')],'defaultValue':![]},'phoneBarRemoteControlPort':{'type':Sequelize[_0x4730cf('0x15')],'defaultValue':0x26a0},'phoneBarEnableRecording':{'type':Sequelize[_0x4730cf('0x12')],'defaultValue':![]},'phoneBarRingInUse':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'chanspy':{'type':Sequelize[_0x4730cf('0x12')],'defaultValue':![]},'description':{'type':Sequelize[_0x4730cf('0x36')],'allowNull':!![]},'host':{'type':Sequelize[_0x4730cf('0x36')],'allowNull':!![],'defaultValue':_0x4730cf('0x17')},'ipaddr':{'type':Sequelize[_0x4730cf('0x36')],'allowNull':!![]},'port':{'type':Sequelize[_0x4730cf('0x15')](0x5),'allowNull':!![]},'regseconds':{'type':Sequelize['INTEGER'](0xb),'allowNull':!![]},'fullcontact':{'type':Sequelize['STRING'],'allowNull':!![]},'regserver':{'type':Sequelize[_0x4730cf('0x36')],'allowNull':!![]},'useragent':{'type':Sequelize[_0x4730cf('0x36')],'allowNull':!![]},'lastms':{'type':Sequelize[_0x4730cf('0x15')](0xb),'allowNull':!![]},'type':{'type':Sequelize[_0x4730cf('0x26')]('friend','user',_0x4730cf('0x24')),'allowNull':!![],'defaultValue':_0x4730cf('0x4b')},'context':{'type':Sequelize['STRING'],'allowNull':!![],'defaultValue':_0x4730cf('0x22')},'callingpres':{'type':Sequelize[_0x4730cf('0x26')](_0x4730cf('0x2e'),_0x4730cf('0x4a'),_0x4730cf('0x44'),_0x4730cf('0x46'),_0x4730cf('0x14'),'PROHIB_PASSED_SCREEN','PROHIB_FAILED_SCREEN',_0x4730cf('0xb')),'allowNull':!![]},'deny':{'type':Sequelize['STRING'],'allowNull':!![]},'permit':{'type':Sequelize[_0x4730cf('0x36')],'allowNull':!![]},'secret':{'type':Sequelize[_0x4730cf('0x36')],'allowNull':!![]},'md5secret':{'type':Sequelize[_0x4730cf('0x36')],'allowNull':!![]},'remotesecret':{'type':Sequelize[_0x4730cf('0x36')],'allowNull':!![]},'transport':{'type':Sequelize[_0x4730cf('0x36')],'allowNull':!![],'defaultValue':'udp','set':function(_0x46ec09){const _0x1d1927=_0x4730cf;this[_0x1d1927('0x2a')](_0x1d1927('0x40'),_0x46ec09?_0x46ec09[_0x1d1927('0x16')](','):null);},'get':function(){const _0x37715d=_0x4730cf;return this['getDataValue'](_0x37715d('0x40'))?this[_0x37715d('0x28')](_0x37715d('0x40'))[_0x37715d('0xa')](','):null;},'comment':_0x4730cf('0x48')},'dtmfmode':{'type':Sequelize[_0x4730cf('0x26')](_0x4730cf('0x21'),'info',_0x4730cf('0x20'),_0x4730cf('0x1'),_0x4730cf('0x3')),'allowNull':!![],'defaultValue':_0x4730cf('0x21')},'directmedia':{'type':Sequelize[_0x4730cf('0x26')]('yes','no','nonat',_0x4730cf('0xc'),'outgoing'),'allowNull':!![],'defaultValue':'no'},'directrtpsetup':{'type':Sequelize['ENUM']('yes','no'),'allowNull':!![],'defaultValue':'no'},'directmediapermit':{'type':Sequelize[_0x4730cf('0x36')],'allowNull':!![]},'directmediadeny':{'type':Sequelize['STRING'],'allowNull':!![]},'nat':{'type':Sequelize[_0x4730cf('0x36')],'allowNull':!![],'defaultValue':'force_rport,comedia','set':function(_0xf6fb52){const _0x472cf1=_0x4730cf;this[_0x472cf1('0x2a')](_0x472cf1('0x35'),_0xf6fb52?_0xf6fb52['join'](','):null);},'get':function(){const _0x1f5b8a=_0x4730cf;return this['getDataValue'](_0x1f5b8a('0x35'))?this[_0x1f5b8a('0x28')](_0x1f5b8a('0x35'))[_0x1f5b8a('0xa')](','):null;},'comment':_0x4730cf('0x42')},'callgroup':{'type':Sequelize[_0x4730cf('0x36')]},'namedcallgroup':{'type':Sequelize[_0x4730cf('0x36')]},'pickupgroup':{'type':Sequelize[_0x4730cf('0x36')]},'namedpickupgroup':{'type':Sequelize[_0x4730cf('0x36')]},'language':{'type':Sequelize[_0x4730cf('0x36')],'defaultValue':'en'},'tonezone':{'type':Sequelize[_0x4730cf('0x36')]},'disallow':{'type':Sequelize['STRING'],'allowNull':![],'defaultValue':_0x4730cf('0xe')},'allow':{'type':Sequelize[_0x4730cf('0x36')],'allowNull':![],'defaultValue':_0x4730cf('0x1c'),'set':function(_0x3024e7){const _0x470902=_0x4730cf;this[_0x470902('0x2a')](_0x470902('0x1b'),_0x3024e7?_0x3024e7[_0x470902('0x16')](';'):_0x470902('0x1c'));},'get':function(){const _0x6604bc=_0x4730cf;return this['getDataValue'](_0x6604bc('0x1b'))?this[_0x6604bc('0x28')]('allow')[_0x6604bc('0xa')](';'):null;},'comment':'String\x20is\x20deprecated.\x20Please\x20use\x20an\x20Array\x20as\x20[\x22ulaw\x22,\x20\x22alaw\x22,\x20\x22gsm\x22]'},'autoframing':{'type':Sequelize[_0x4730cf('0x26')](_0x4730cf('0x2f'),'no'),'allowNull':!![]},'insecure':{'type':Sequelize['STRING'],'allowNull':!![],'set':function(_0x54c7bb){const _0x2e6607=_0x4730cf;this['setDataValue']('insecure',_0x54c7bb?_0x54c7bb[_0x2e6607('0x16')](','):null);},'get':function(){const _0x286a1f=_0x4730cf;return this[_0x286a1f('0x28')](_0x286a1f('0x1d'))?this[_0x286a1f('0x28')]('insecure')[_0x286a1f('0xa')](','):null;},'comment':_0x4730cf('0x3a')},'trustrpid':{'type':Sequelize[_0x4730cf('0x26')](_0x4730cf('0x2f'),'no'),'allowNull':!![],'defaultValue':'no'},'trust_id_outbound':{'type':Sequelize[_0x4730cf('0x26')](_0x4730cf('0x2f'),'no'),'allowNull':!![],'defaultValue':'no'},'progressinband':{'type':Sequelize[_0x4730cf('0x26')]('yes','no','never'),'allowNull':!![]},'promiscredir':{'type':Sequelize[_0x4730cf('0x26')](_0x4730cf('0x2f'),'no'),'allowNull':!![]},'useclientcode':{'type':Sequelize[_0x4730cf('0x26')](_0x4730cf('0x2f'),'no'),'allowNull':!![]},'accountcode':{'type':Sequelize[_0x4730cf('0x15')](0xb),'allowNull':!![]},'setvar':{'type':Sequelize[_0x4730cf('0x36')],'allowNull':!![]},'callerid':{'type':Sequelize[_0x4730cf('0x36')],'allowNull':!![],'defaultValue':'\x22\x22\x20<>'},'amaflags':{'type':Sequelize['STRING'],'allowNull':!![]},'callcounter':{'type':Sequelize[_0x4730cf('0x26')](_0x4730cf('0x2f'),'no'),'allowNull':!![],'defaultValue':'yes'},'busylevel':{'type':Sequelize['INTEGER'](0xb),'allowNull':!![]},'allowoverlap':{'type':Sequelize[_0x4730cf('0x26')](_0x4730cf('0x2f'),'no'),'allowNull':!![]},'allowsubscribe':{'type':Sequelize[_0x4730cf('0x26')]('yes','no'),'allowNull':!![]},'allowtransfer':{'type':Sequelize[_0x4730cf('0x26')]('yes','no'),'allowNull':!![]},'ignoresdpversion':{'type':Sequelize[_0x4730cf('0x26')](_0x4730cf('0x2f'),'no'),'allowNull':!![]},'subscribecontext':{'type':Sequelize[_0x4730cf('0x36')],'allowNull':!![]},'template':{'type':Sequelize['STRING'],'allowNull':!![]},'videosupport':{'type':Sequelize[_0x4730cf('0x26')](_0x4730cf('0x2f'),'no',_0x4730cf('0x34')),'allowNull':!![],'defaultValue':'no'},'maxcallbitrate':{'type':Sequelize['INTEGER'](0xb),'allowNull':!![]},'rfc2833compensate':{'type':Sequelize['ENUM'](_0x4730cf('0x2f'),'no'),'allowNull':!![]},'mailbox':{'type':Sequelize[_0x4730cf('0x36')],'allowNull':!![]},'session_timers':{'type':Sequelize[_0x4730cf('0x26')]('accept','refuse','originate'),'allowNull':!![]},'session_expires':{'type':Sequelize[_0x4730cf('0x15')](0xb),'allowNull':!![]},'session_minse':{'type':Sequelize[_0x4730cf('0x15')](0xb),'allowNull':!![]},'session_refresher':{'type':Sequelize[_0x4730cf('0x26')](_0x4730cf('0x2c'),_0x4730cf('0x1e')),'allowNull':!![],'defaultValue':_0x4730cf('0x1e')},'t38pt_usertpsource':{'type':Sequelize[_0x4730cf('0x36')],'allowNull':!![]},'regexten':{'type':Sequelize['STRING'],'allowNull':!![]},'fromdomain':{'type':Sequelize['STRING'],'allowNull':!![]},'fromuser':{'type':Sequelize[_0x4730cf('0x36')],'allowNull':!![]},'qualify':{'type':Sequelize[_0x4730cf('0x26')]('yes','no'),'allowNull':!![],'defaultValue':_0x4730cf('0x2f')},'keepalive':{'type':Sequelize[_0x4730cf('0x15')](0xb),'allowNull':!![]},'defaultip':{'type':Sequelize[_0x4730cf('0x36')],'allowNull':!![]},'defaultuser':{'type':Sequelize[_0x4730cf('0x36')],'allowNull':!![]},'rtptimeout':{'type':Sequelize[_0x4730cf('0x15')](0xb),'allowNull':!![]},'rtpholdtimeout':{'type':Sequelize[_0x4730cf('0x15')](0xb),'allowNull':!![]},'rtpkeepalive':{'type':Sequelize[_0x4730cf('0x15')](0xb),'allowNull':!![]},'sendrpid':{'type':Sequelize['ENUM'](_0x4730cf('0x2f'),'no'),'allowNull':!![],'defaultValue':'no'},'outboundproxy':{'type':Sequelize[_0x4730cf('0x36')],'allowNull':!![]},'callbackextension':{'type':Sequelize[_0x4730cf('0x36')],'allowNull':!![]},'timert1':{'type':Sequelize['INTEGER'](0xb),'allowNull':!![]},'timerb':{'type':Sequelize[_0x4730cf('0x15')](0xb),'allowNull':!![]},'qualifyfreq':{'type':Sequelize['INTEGER'](0xb),'allowNull':!![]},'contactpermit':{'type':Sequelize[_0x4730cf('0x36')],'allowNull':!![]},'contactdeny':{'type':Sequelize[_0x4730cf('0x36')],'allowNull':!![]},'contactacl':{'type':Sequelize['STRING'],'allowNull':!![]},'unsolicited_mailbox':{'type':Sequelize['STRING'],'allowNull':!![]},'use_q850_reason':{'type':Sequelize[_0x4730cf('0x36')],'allowNull':!![]},'maxforwards':{'type':Sequelize[_0x4730cf('0x15')](0xb),'allowNull':!![]},'encryption':{'type':Sequelize[_0x4730cf('0x26')](_0x4730cf('0x2f'),'no'),'allowNull':!![],'defaultValue':'no'},'avpf':{'type':Sequelize[_0x4730cf('0x26')](_0x4730cf('0x2f'),'no'),'allowNull':!![]},'force_avp':{'type':Sequelize[_0x4730cf('0x26')](_0x4730cf('0x2f'),'no'),'allowNull':!![]},'icesupport':{'type':Sequelize[_0x4730cf('0x26')](_0x4730cf('0x2f'),'no'),'allowNull':!![]},'dtlsenable':{'type':Sequelize[_0x4730cf('0x26')](_0x4730cf('0x2f'),'no'),'allowNull':!![]},'dtlsverify':{'type':Sequelize[_0x4730cf('0x26')]('yes','no','fingerprint','certificate'),'allowNull':!![]},'dtlsrekey':{'type':Sequelize[_0x4730cf('0x15')](0xb),'allowNull':!![]},'dtlscertfile':{'type':Sequelize[_0x4730cf('0x36')],'allowNull':!![]},'dtlsprivatekey':{'type':Sequelize[_0x4730cf('0x36')],'allowNull':!![]},'dtlscipher':{'type':Sequelize['STRING'],'allowNull':!![]},'dtlscafile':{'type':Sequelize[_0x4730cf('0x36')],'allowNull':!![]},'dtlscapath':{'type':Sequelize[_0x4730cf('0x36')],'allowNull':!![]},'dtlssetup':{'type':Sequelize['ENUM'](_0x4730cf('0x1f'),_0x4730cf('0xd'),_0x4730cf('0x2d')),'allowNull':!![]},'dtlsfingerprint':{'type':Sequelize['STRING'],'allowNull':!![]},'usereqphone':{'type':Sequelize[_0x4730cf('0x26')](_0x4730cf('0x2f'),'no'),'allowNull':!![],'defaultValue':'no'},'recordonfeature':{'type':Sequelize[_0x4730cf('0x36')],'allowNull':!![]},'recordofffeature':{'type':Sequelize[_0x4730cf('0x36')],'allowNull':!![]},'call_limit':{'type':Sequelize[_0x4730cf('0x15')](0xb),'allowNull':!![],'defaultValue':0xa},'registertrying':{'type':Sequelize[_0x4730cf('0x26')](_0x4730cf('0x2f'),'no'),'allowNull':!![]},'subscribemwi':{'type':Sequelize[_0x4730cf('0x26')](_0x4730cf('0x2f'),'no'),'allowNull':!![]},'vmexten':{'type':Sequelize[_0x4730cf('0x36')],'allowNull':!![]},'mohinterpret':{'type':Sequelize['STRING'],'allowNull':!![]},'mohsuggest':{'type':Sequelize['STRING'],'allowNull':!![]},'parkinglot':{'type':Sequelize[_0x4730cf('0x36')],'allowNull':!![]},'canreinvite':{'type':Sequelize[_0x4730cf('0x26')]('yes','no',_0x4730cf('0x51'),_0x4730cf('0xc'),'update,nonat'),'allowNull':!![],'defaultValue':'no'},'loginInPause':{'type':Sequelize[_0x4730cf('0x12')],'defaultValue':![]},'resetPasswordToken':{'type':Sequelize['STRING']},'resetPasswordExpires':{'type':Sequelize[_0x4730cf('0x5')]},'passwordResetAt':{'type':Sequelize[_0x4730cf('0x5')],'defaultValue':null},'previousPasswords':{'type':Sequelize[_0x4730cf('0x36')]},'showWebBar':{'type':Sequelize['INTEGER'],'defaultValue':0x0,'set':function(_0x44066e){const _0x47f922=_0x4730cf;this[_0x47f922('0x2a')](_0x47f922('0x2'),_0x44066e);const _0x233543=this[_0x47f922('0x41')]({'plain':!![]});switch(_0x44066e){case 0x0:case 0x1:{let _0x58a51d=_0x233543[_0x47f922('0x40')]?_[_0x47f922('0x3d')](_0x233543[_0x47f922('0x40')])?_0x233543['transport'][_0x47f922('0x16')]():_0x233543['transport']:_0x47f922('0x39');_0x58a51d===_0x47f922('0x4')&&(_0x58a51d=_0x47f922('0x39')),this[_0x47f922('0x2a')](_0x47f922('0x40'),_0x58a51d),this[_0x47f922('0x2a')]('encryption','no'),this[_0x47f922('0x2a')](_0x47f922('0x6'),null),this[_0x47f922('0x2a')](_0x47f922('0x18'),null),this[_0x47f922('0x2a')](_0x47f922('0x13'),null),this[_0x47f922('0x2a')]('dtlsenable',null),this[_0x47f922('0x2a')](_0x47f922('0x43'),null),this['setDataValue']('dtlssetup',null),this[_0x47f922('0x2a')]('dtlscertfile',null),this[_0x47f922('0x2a')](_0x47f922('0x33'),null),this[_0x47f922('0x2a')](_0x47f922('0x1a'),'no');}break;case 0x2:this[_0x47f922('0x2a')](_0x47f922('0x40'),_0x47f922('0x4')),this[_0x47f922('0x2a')](_0x47f922('0x0'),_0x47f922('0x2f')),this['setDataValue'](_0x47f922('0x6'),_0x47f922('0x2f')),this[_0x47f922('0x2a')](_0x47f922('0x18'),_0x47f922('0x2f')),this['setDataValue'](_0x47f922('0x13'),_0x47f922('0x2f')),this[_0x47f922('0x2a')]('dtlsenable',_0x47f922('0x2f')),this[_0x47f922('0x2a')]('dtlsverify','no'),this[_0x47f922('0x2a')](_0x47f922('0x27'),_0x47f922('0x2d')),this[_0x47f922('0x2a')](_0x47f922('0x23'),_0x233543[_0x47f922('0x23')]||_0x47f922('0x31')),this[_0x47f922('0x2a')](_0x47f922('0x33'),_0x233543[_0x47f922('0x33')]||'/etc/pki/tls/private/motion.key'),this['setDataValue'](_0x47f922('0x1a'),_0x47f922('0x2f'));break;default:}}},'permissions':{'type':Sequelize[_0x4730cf('0x4f')],'set':function(_0x4b425f){const _0x47266c=_0x4730cf;this[_0x47266c('0x2a')]('permissions',_0x4b425f?_0x4b425f[_0x47266c('0x16')](','):[]);},'get':function(){const _0x562a3b=_0x4730cf;return this[_0x562a3b('0x28')]('permissions')?_['map'](this[_0x562a3b('0x28')]('permissions')[_0x562a3b('0xa')](','),function(_0x11ef30){return parseInt(_0x11ef30,0xa);}):[];}},'phoneBarUnconditionalNumber':{'type':Sequelize[_0x4730cf('0x36')]},'phoneBarNoReplyNumber':{'type':Sequelize[_0x4730cf('0x36')]},'phoneBarBusyNumber':{'type':Sequelize['STRING']},'phoneBarUnconditional':{'type':Sequelize[_0x4730cf('0x12')],'defaultValue':![]},'phoneBarNoReply':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'phoneBarBusy':{'type':Sequelize[_0x4730cf('0x12')],'defaultValue':![]},'phoneBarDnd':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'phoneBarUnansweredCallBadge':{'type':Sequelize[_0x4730cf('0x12')],'defaultValue':!![]},'phoneBarEnableDtmfTone':{'type':Sequelize[_0x4730cf('0x12')],'defaultValue':![]},'phoneBarAutoAnswerDelay':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'extensionMonitor':{'type':Sequelize[_0x4730cf('0x36')],'defaultValue':''},'crudPermissions':{'type':Sequelize[_0x4730cf('0x15')],'defaultValue':0x0},'rtcp_mux':{'type':Sequelize[_0x4730cf('0x26')]('yes','no'),'defaultValue':'no'},'allowmessenger':{'type':Sequelize[_0x4730cf('0x12')],'defaultValue':!![]},'phoneBarOutboundProxy':{'type':Sequelize[_0x4730cf('0x36')]},'phoneBarEnableJaws':{'type':Sequelize[_0x4730cf('0x12')],'defaultValue':![]},'phoneBarEnableScreenRecordingByAgent':{'type':Sequelize[_0x4730cf('0x12')],'defaultValue':![]},'phoneBarEnableVideoRecording':{'type':Sequelize[_0x4730cf('0x30')],'get':function(){const _0x2cc43c=_0x4730cf;return this[_0x2cc43c('0x28')](_0x2cc43c('0x9'))?this[_0x2cc43c('0x28')]('phoneBarEnableScreenRecordingByAgent'):![];}},'phoneBarEnableAutomaticScreenRecording':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'phoneBarPrefixRequired':{'type':Sequelize[_0x4730cf('0x12')],'defaultValue':![]},'hotdesk':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'interface':{'type':Sequelize[_0x4730cf('0x36')],'defaultValue':null},'privacyEnabled':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'apiKeyNonce':{'type':Sequelize['STRING'],'allowNull':!![]},'apiKeyIat':{'type':Sequelize[_0x4730cf('0x36')],'allowNull':!![]},'screenrecording':{'type':Sequelize['BOOLEAN'],'defaultValue':![],'set':function(_0x47bc7e){const _0x49ead2=_0x4730cf;if(typeof _0x47bc7e===_0x49ead2('0x2b')){const _0x1b4368=_0x47bc7e==='1'?!![]:_0x47bc7e==='0'?![]:_0x47bc7e==='true'?!![]:_0x47bc7e===_0x49ead2('0x3e')?![]:![];this[_0x49ead2('0x2a')](_0x49ead2('0x8'),_0x1b4368);}else this[_0x49ead2('0x2a')](_0x49ead2('0x8'),_0x47bc7e);}},'blocked':{'type':Sequelize['BOOLEAN'],'defaultValue':![],'set':function(_0x152b90){const _0x1f125f=_0x4730cf;this[_0x1f125f('0x2a')](_0x1f125f('0x3f'),_0x152b90),_0x152b90===!![]?(this[_0x1f125f('0x2a')](_0x1f125f('0x3c'),moment()),this['setDataValue'](_0x1f125f('0x47'),0x0)):this[_0x1f125f('0x2a')](_0x1f125f('0x3c'),null);}},'blockedAt':{'type':Sequelize[_0x4730cf('0x5')],'defaultValue':null},'loginAttempts':{'type':Sequelize[_0x4730cf('0x15')],'defaultValue':0x0},'disabled':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'settingsEnabled':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]}};
\ No newline at end of file