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