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