Built motion from commit 3c2ce842.|2.6.31
[motion2.git] / server / api / user / user.attributes.js
index d7001f2..d27a5f6 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xf11d=['email','admin','local','INTEGER','format','BOOLEAN','DEFAULT\x20PAUSE','DATE','ENUM','friend','peer','from-sip','ALLOWED_PASSED_SCREEN','ALLOWED_FAILED_SCREEN','ALLOWED','PROHIB_NOT_SCREENED','PROHIB_PASSED_SCREEN','PROHIB_FAILED_SCREEN','PROHIB','udp','transport','join','split','String\x20is\x20deprecated.\x20Please\x20use\x20an\x20Array\x20as\x20[\x22udp\x22,\x20\x22tcp\x22]','rfc2833','info','inband','auto','update','outgoing','yes','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','String\x20is\x20deprecated.\x20Please\x20use\x20an\x20Array\x20as\x20[\x22port\x22,\x20\x22invite\x22]','never','\x22\x22\x20<>','always','refuse','originate','uac','uas','fingerprint','active','actpass','nonat','update,nonat','TEXT','showWebBar','isArray','encryption','avpf','force_avp','icesupport','dtlsenable','dtlsverify','dtlscertfile','dtlsprivatekey','rtcp_mux','wss','dtlssetup','/etc/pki/tls/certs/motion.crt','/etc/pki/tls/private/motion.key','permissions','map','VIRTUAL','phoneBarEnableScreenRecordingByAgent','string','true','false','screenrecording','blocked','blockedAt','UNSIGNED','util','lodash','STRING','name','setDataValue','defaultuser','The\x20name\x20of\x20the\x20user','fullname','callerid','getDataValue','internal'];(function(_0x3826ad,_0x49a30d){var _0x17b900=function(_0x38474f){while(--_0x38474f){_0x3826ad['push'](_0x3826ad['shift']());}};_0x17b900(++_0x49a30d);}(_0xf11d,0x15d));var _0xdf11=function(_0x49034f,_0x215a6a){_0x49034f=_0x49034f-0x0;var _0x4b75d5=_0xf11d[_0x49034f];return _0x4b75d5;};'use strict';var Sequelize=require('sequelize');var moment=require('moment');var util=require(_0xdf11('0x0'));var _=require(_0xdf11('0x1'));module['exports']={'name':{'type':Sequelize[_0xdf11('0x2')],'allowNull':![],'unique':_0xdf11('0x3'),'validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i},'set':function(_0x42a980){this[_0xdf11('0x4')](_0xdf11('0x3'),_0x42a980);this[_0xdf11('0x4')](_0xdf11('0x5'),_0x42a980);},'comment':_0xdf11('0x6')},'fullname':{'type':Sequelize[_0xdf11('0x2')],'allowNull':![],'set':function(_0x53b774){this[_0xdf11('0x4')](_0xdf11('0x7'),_0x53b774);this[_0xdf11('0x4')](_0xdf11('0x8'),util['format']('\x22%s\x22\x20<%s>',_0x53b774,this[_0xdf11('0x9')](_0xdf11('0xa'))));}},'alias':{'type':Sequelize[_0xdf11('0x2')]},'email':{'type':Sequelize[_0xdf11('0x2')],'allowNull':![],'unique':_0xdf11('0xb'),'validate':{'isEmail':!![]},'set':function(_0x10015b){if(_0x10015b){this['setDataValue']('email',_0x10015b['toLowerCase']());}}},'role':{'type':Sequelize['ENUM'](_0xdf11('0xc'),'user','agent','telephone'),'allowNull':![]},'password':{'type':Sequelize[_0xdf11('0x2')],'allowNull':![],'validate':{'notEmpty':!![]}},'provider':{'type':Sequelize[_0xdf11('0x2')],'defaultValue':_0xdf11('0xd')},'internal':{'type':Sequelize[_0xdf11('0xe')](0xb),'allowNull':![],'unique':'internal','set':function(_0x556c7c){this[_0xdf11('0x4')](_0xdf11('0xa'),_0x556c7c);this[_0xdf11('0x4')]('accountcode',_0x556c7c);this[_0xdf11('0x4')](_0xdf11('0x8'),util[_0xdf11('0xf')]('\x22%s\x22\x20<%s>',this[_0xdf11('0x9')]('fullname'),_0x556c7c));}},'salt':{'type':Sequelize[_0xdf11('0x2')]},'phone':{'type':Sequelize[_0xdf11('0x2')]},'mobile':{'type':Sequelize[_0xdf11('0x2')]},'address':{'type':Sequelize[_0xdf11('0x2')]},'zipcode':{'type':Sequelize['STRING']},'userpic':{'type':Sequelize['STRING']},'city':{'type':Sequelize[_0xdf11('0x2')]},'country':{'type':Sequelize['STRING']},'online':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'lastLoginAt':{'type':Sequelize['DATE']},'voicePause':{'type':Sequelize[_0xdf11('0x10')],'defaultValue':![]},'chatPause':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'mailPause':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'faxPause':{'type':Sequelize[_0xdf11('0x10')],'defaultValue':![]},'smsPause':{'type':Sequelize[_0xdf11('0x10')],'defaultValue':![]},'whatsappPause':{'type':Sequelize[_0xdf11('0x10')],'defaultValue':![]},'openchannelPause':{'type':Sequelize[_0xdf11('0x10')],'defaultValue':![]},'pauseType':{'type':Sequelize[_0xdf11('0x2')],'defaultValue':_0xdf11('0x11')},'lastPauseAt':{'type':Sequelize[_0xdf11('0x12')]},'chatCapacity':{'type':Sequelize[_0xdf11('0xe')],'defaultValue':0x0},'mailCapacity':{'type':Sequelize[_0xdf11('0xe')],'defaultValue':0x0},'faxCapacity':{'type':Sequelize[_0xdf11('0xe')],'defaultValue':0x0},'smsCapacity':{'type':Sequelize[_0xdf11('0xe')],'defaultValue':0x0},'whatsappCapacity':{'type':Sequelize[_0xdf11('0xe')],'defaultValue':0x0},'openchannelCapacity':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'phoneBarAutoAnswer':{'type':Sequelize[_0xdf11('0x10')],'defaultValue':![]},'phoneBarEnableSettings':{'type':Sequelize[_0xdf11('0x10')],'defaultValue':!![]},'phoneBarListenPort':{'type':Sequelize[_0xdf11('0xe')](0x5),'defaultValue':0x1428},'phoneBarExpires':{'type':Sequelize[_0xdf11('0xe')](0x5),'defaultValue':0x78},'phoneBarRemoteControl':{'type':Sequelize[_0xdf11('0x10')],'defaultValue':![]},'phoneBarRemoteControlPort':{'type':Sequelize[_0xdf11('0xe')],'defaultValue':0x26a0},'phoneBarEnableRecording':{'type':Sequelize[_0xdf11('0x10')],'defaultValue':![]},'phoneBarRingInUse':{'type':Sequelize[_0xdf11('0x10')],'defaultValue':![]},'chanspy':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'description':{'type':Sequelize['STRING'],'allowNull':!![]},'host':{'type':Sequelize[_0xdf11('0x2')],'allowNull':!![],'defaultValue':'dynamic'},'ipaddr':{'type':Sequelize['STRING'],'allowNull':!![]},'port':{'type':Sequelize[_0xdf11('0xe')](0x5),'allowNull':!![]},'regseconds':{'type':Sequelize[_0xdf11('0xe')](0xb),'allowNull':!![]},'fullcontact':{'type':Sequelize[_0xdf11('0x2')],'allowNull':!![]},'regserver':{'type':Sequelize[_0xdf11('0x2')],'allowNull':!![]},'useragent':{'type':Sequelize[_0xdf11('0x2')],'allowNull':!![]},'lastms':{'type':Sequelize[_0xdf11('0xe')](0xb),'allowNull':!![]},'type':{'type':Sequelize[_0xdf11('0x13')](_0xdf11('0x14'),'user',_0xdf11('0x15')),'allowNull':!![],'defaultValue':_0xdf11('0x14')},'context':{'type':Sequelize[_0xdf11('0x2')],'allowNull':!![],'defaultValue':_0xdf11('0x16')},'callingpres':{'type':Sequelize['ENUM']('ALLOWED_NOT_SCREENED',_0xdf11('0x17'),_0xdf11('0x18'),_0xdf11('0x19'),_0xdf11('0x1a'),_0xdf11('0x1b'),_0xdf11('0x1c'),_0xdf11('0x1d')),'allowNull':!![]},'deny':{'type':Sequelize[_0xdf11('0x2')],'allowNull':!![]},'permit':{'type':Sequelize[_0xdf11('0x2')],'allowNull':!![]},'secret':{'type':Sequelize[_0xdf11('0x2')],'allowNull':!![]},'md5secret':{'type':Sequelize[_0xdf11('0x2')],'allowNull':!![]},'remotesecret':{'type':Sequelize[_0xdf11('0x2')],'allowNull':!![]},'transport':{'type':Sequelize[_0xdf11('0x2')],'allowNull':!![],'defaultValue':_0xdf11('0x1e'),'set':function(_0x4910fb){this[_0xdf11('0x4')](_0xdf11('0x1f'),_0x4910fb?_0x4910fb[_0xdf11('0x20')](','):null);},'get':function(){return this['getDataValue'](_0xdf11('0x1f'))?this[_0xdf11('0x9')]('transport')[_0xdf11('0x21')](','):null;},'comment':_0xdf11('0x22')},'dtmfmode':{'type':Sequelize[_0xdf11('0x13')](_0xdf11('0x23'),_0xdf11('0x24'),'shortinfo',_0xdf11('0x25'),_0xdf11('0x26')),'allowNull':!![],'defaultValue':_0xdf11('0x23')},'directmedia':{'type':Sequelize['ENUM']('yes','no','nonat',_0xdf11('0x27'),_0xdf11('0x28')),'allowNull':!![],'defaultValue':'no'},'directrtpsetup':{'type':Sequelize[_0xdf11('0x13')](_0xdf11('0x29'),'no'),'allowNull':!![],'defaultValue':'no'},'directmediapermit':{'type':Sequelize[_0xdf11('0x2')],'allowNull':!![]},'directmediadeny':{'type':Sequelize['STRING'],'allowNull':!![]},'nat':{'type':Sequelize['STRING'],'allowNull':!![],'defaultValue':_0xdf11('0x2a'),'set':function(_0x5ddda4){this['setDataValue']('nat',_0x5ddda4?_0x5ddda4[_0xdf11('0x20')](','):null);},'get':function(){return this[_0xdf11('0x9')]('nat')?this[_0xdf11('0x9')](_0xdf11('0x2b'))[_0xdf11('0x21')](','):null;},'comment':_0xdf11('0x2c')},'callgroup':{'type':Sequelize[_0xdf11('0x2')]},'namedcallgroup':{'type':Sequelize['STRING']},'pickupgroup':{'type':Sequelize[_0xdf11('0x2')]},'namedpickupgroup':{'type':Sequelize[_0xdf11('0x2')]},'language':{'type':Sequelize[_0xdf11('0x2')],'defaultValue':'en'},'tonezone':{'type':Sequelize[_0xdf11('0x2')]},'disallow':{'type':Sequelize['STRING'],'allowNull':![],'defaultValue':_0xdf11('0x2d')},'allow':{'type':Sequelize[_0xdf11('0x2')],'allowNull':![],'defaultValue':_0xdf11('0x2e'),'set':function(_0x682af0){this['setDataValue'](_0xdf11('0x2f'),_0x682af0?_0x682af0['join'](';'):_0xdf11('0x2e'));},'get':function(){return this[_0xdf11('0x9')](_0xdf11('0x2f'))?this[_0xdf11('0x9')](_0xdf11('0x2f'))['split'](';'):null;},'comment':_0xdf11('0x30')},'autoframing':{'type':Sequelize['ENUM'](_0xdf11('0x29'),'no'),'allowNull':!![]},'insecure':{'type':Sequelize['STRING'],'allowNull':!![],'set':function(_0x2584aa){this[_0xdf11('0x4')]('insecure',_0x2584aa?_0x2584aa['join'](','):null);},'get':function(){return this[_0xdf11('0x9')](_0xdf11('0x31'))?this[_0xdf11('0x9')](_0xdf11('0x31'))[_0xdf11('0x21')](','):null;},'comment':_0xdf11('0x32')},'trustrpid':{'type':Sequelize['ENUM'](_0xdf11('0x29'),'no'),'allowNull':!![],'defaultValue':'no'},'trust_id_outbound':{'type':Sequelize[_0xdf11('0x13')](_0xdf11('0x29'),'no'),'allowNull':!![],'defaultValue':'no'},'progressinband':{'type':Sequelize[_0xdf11('0x13')](_0xdf11('0x29'),'no',_0xdf11('0x33')),'allowNull':!![]},'promiscredir':{'type':Sequelize[_0xdf11('0x13')]('yes','no'),'allowNull':!![]},'useclientcode':{'type':Sequelize[_0xdf11('0x13')]('yes','no'),'allowNull':!![]},'accountcode':{'type':Sequelize[_0xdf11('0xe')](0xb),'allowNull':!![]},'setvar':{'type':Sequelize['STRING'],'allowNull':!![]},'callerid':{'type':Sequelize[_0xdf11('0x2')],'allowNull':!![],'defaultValue':_0xdf11('0x34')},'amaflags':{'type':Sequelize[_0xdf11('0x2')],'allowNull':!![]},'callcounter':{'type':Sequelize[_0xdf11('0x13')](_0xdf11('0x29'),'no'),'allowNull':!![],'defaultValue':_0xdf11('0x29')},'busylevel':{'type':Sequelize[_0xdf11('0xe')](0xb),'allowNull':!![]},'allowoverlap':{'type':Sequelize[_0xdf11('0x13')](_0xdf11('0x29'),'no'),'allowNull':!![]},'allowsubscribe':{'type':Sequelize['ENUM']('yes','no'),'allowNull':!![]},'allowtransfer':{'type':Sequelize[_0xdf11('0x13')](_0xdf11('0x29'),'no'),'allowNull':!![]},'ignoresdpversion':{'type':Sequelize[_0xdf11('0x13')](_0xdf11('0x29'),'no'),'allowNull':!![]},'subscribecontext':{'type':Sequelize[_0xdf11('0x2')],'allowNull':!![]},'template':{'type':Sequelize['STRING'],'allowNull':!![]},'videosupport':{'type':Sequelize[_0xdf11('0x13')]('yes','no',_0xdf11('0x35')),'allowNull':!![],'defaultValue':'no'},'maxcallbitrate':{'type':Sequelize['INTEGER'](0xb),'allowNull':!![]},'rfc2833compensate':{'type':Sequelize[_0xdf11('0x13')](_0xdf11('0x29'),'no'),'allowNull':!![]},'mailbox':{'type':Sequelize[_0xdf11('0x2')],'allowNull':!![]},'session_timers':{'type':Sequelize[_0xdf11('0x13')]('accept',_0xdf11('0x36'),_0xdf11('0x37')),'allowNull':!![]},'session_expires':{'type':Sequelize[_0xdf11('0xe')](0xb),'allowNull':!![]},'session_minse':{'type':Sequelize[_0xdf11('0xe')](0xb),'allowNull':!![]},'session_refresher':{'type':Sequelize[_0xdf11('0x13')](_0xdf11('0x38'),'uas'),'allowNull':!![],'defaultValue':_0xdf11('0x39')},'t38pt_usertpsource':{'type':Sequelize['STRING'],'allowNull':!![]},'regexten':{'type':Sequelize[_0xdf11('0x2')],'allowNull':!![]},'fromdomain':{'type':Sequelize['STRING'],'allowNull':!![]},'fromuser':{'type':Sequelize[_0xdf11('0x2')],'allowNull':!![]},'qualify':{'type':Sequelize[_0xdf11('0x13')](_0xdf11('0x29'),'no'),'allowNull':!![],'defaultValue':_0xdf11('0x29')},'keepalive':{'type':Sequelize[_0xdf11('0xe')](0xb),'allowNull':!![]},'defaultip':{'type':Sequelize[_0xdf11('0x2')],'allowNull':!![]},'defaultuser':{'type':Sequelize[_0xdf11('0x2')],'allowNull':!![]},'rtptimeout':{'type':Sequelize[_0xdf11('0xe')](0xb),'allowNull':!![]},'rtpholdtimeout':{'type':Sequelize['INTEGER'](0xb),'allowNull':!![]},'rtpkeepalive':{'type':Sequelize[_0xdf11('0xe')](0xb),'allowNull':!![]},'sendrpid':{'type':Sequelize[_0xdf11('0x13')](_0xdf11('0x29'),'no'),'allowNull':!![],'defaultValue':'no'},'outboundproxy':{'type':Sequelize[_0xdf11('0x2')],'allowNull':!![]},'callbackextension':{'type':Sequelize[_0xdf11('0x2')],'allowNull':!![]},'timert1':{'type':Sequelize[_0xdf11('0xe')](0xb),'allowNull':!![]},'timerb':{'type':Sequelize[_0xdf11('0xe')](0xb),'allowNull':!![]},'qualifyfreq':{'type':Sequelize[_0xdf11('0xe')](0xb),'allowNull':!![]},'contactpermit':{'type':Sequelize['STRING'],'allowNull':!![]},'contactdeny':{'type':Sequelize[_0xdf11('0x2')],'allowNull':!![]},'contactacl':{'type':Sequelize['STRING'],'allowNull':!![]},'unsolicited_mailbox':{'type':Sequelize[_0xdf11('0x2')],'allowNull':!![]},'use_q850_reason':{'type':Sequelize['STRING'],'allowNull':!![]},'maxforwards':{'type':Sequelize[_0xdf11('0xe')](0xb),'allowNull':!![]},'encryption':{'type':Sequelize[_0xdf11('0x13')](_0xdf11('0x29'),'no'),'allowNull':!![],'defaultValue':'no'},'avpf':{'type':Sequelize[_0xdf11('0x13')](_0xdf11('0x29'),'no'),'allowNull':!![]},'force_avp':{'type':Sequelize[_0xdf11('0x13')](_0xdf11('0x29'),'no'),'allowNull':!![]},'icesupport':{'type':Sequelize['ENUM'](_0xdf11('0x29'),'no'),'allowNull':!![]},'dtlsenable':{'type':Sequelize[_0xdf11('0x13')](_0xdf11('0x29'),'no'),'allowNull':!![]},'dtlsverify':{'type':Sequelize[_0xdf11('0x13')](_0xdf11('0x29'),'no',_0xdf11('0x3a'),'certificate'),'allowNull':!![]},'dtlsrekey':{'type':Sequelize[_0xdf11('0xe')](0xb),'allowNull':!![]},'dtlscertfile':{'type':Sequelize[_0xdf11('0x2')],'allowNull':!![]},'dtlsprivatekey':{'type':Sequelize[_0xdf11('0x2')],'allowNull':!![]},'dtlscipher':{'type':Sequelize[_0xdf11('0x2')],'allowNull':!![]},'dtlscafile':{'type':Sequelize[_0xdf11('0x2')],'allowNull':!![]},'dtlscapath':{'type':Sequelize[_0xdf11('0x2')],'allowNull':!![]},'dtlssetup':{'type':Sequelize['ENUM'](_0xdf11('0x3b'),'passive',_0xdf11('0x3c')),'allowNull':!![]},'dtlsfingerprint':{'type':Sequelize[_0xdf11('0x2')],'allowNull':!![]},'usereqphone':{'type':Sequelize[_0xdf11('0x13')]('yes','no'),'allowNull':!![],'defaultValue':'no'},'recordonfeature':{'type':Sequelize[_0xdf11('0x2')],'allowNull':!![]},'recordofffeature':{'type':Sequelize[_0xdf11('0x2')],'allowNull':!![]},'call_limit':{'type':Sequelize['INTEGER'](0xb),'allowNull':!![],'defaultValue':0xa},'registertrying':{'type':Sequelize['ENUM']('yes','no'),'allowNull':!![]},'subscribemwi':{'type':Sequelize['ENUM']('yes','no'),'allowNull':!![]},'vmexten':{'type':Sequelize[_0xdf11('0x2')],'allowNull':!![]},'mohinterpret':{'type':Sequelize[_0xdf11('0x2')],'allowNull':!![]},'mohsuggest':{'type':Sequelize['STRING'],'allowNull':!![]},'parkinglot':{'type':Sequelize['STRING'],'allowNull':!![]},'canreinvite':{'type':Sequelize[_0xdf11('0x13')](_0xdf11('0x29'),'no',_0xdf11('0x3d'),'update',_0xdf11('0x3e')),'allowNull':!![],'defaultValue':'no'},'loginInPause':{'type':Sequelize[_0xdf11('0x10')],'defaultValue':![]},'resetPasswordToken':{'type':Sequelize[_0xdf11('0x2')]},'resetPasswordExpires':{'type':Sequelize[_0xdf11('0x12')]},'passwordResetAt':{'type':Sequelize[_0xdf11('0x12')],'defaultValue':null},'previousPasswords':{'type':Sequelize[_0xdf11('0x3f')]},'showWebBar':{'type':Sequelize[_0xdf11('0xe')],'defaultValue':0x0,'set':function(_0xe5b67d){this[_0xdf11('0x4')](_0xdf11('0x40'),_0xe5b67d);var _0x34a359=this['get']({'plain':!![]});switch(_0xe5b67d){case 0x0:case 0x1:var _0x70b8f5=_0x34a359[_0xdf11('0x1f')]?_[_0xdf11('0x41')](_0x34a359[_0xdf11('0x1f')])?_0x34a359[_0xdf11('0x1f')][_0xdf11('0x20')]():_0x34a359['transport']:_0xdf11('0x1e');if(_0x70b8f5==='wss'){_0x70b8f5=_0xdf11('0x1e');}this[_0xdf11('0x4')]('transport',_0x70b8f5);this[_0xdf11('0x4')](_0xdf11('0x42'),'no');this[_0xdf11('0x4')](_0xdf11('0x43'),null);this[_0xdf11('0x4')](_0xdf11('0x44'),null);this[_0xdf11('0x4')](_0xdf11('0x45'),null);this[_0xdf11('0x4')](_0xdf11('0x46'),null);this[_0xdf11('0x4')](_0xdf11('0x47'),null);this['setDataValue']('dtlssetup',null);this[_0xdf11('0x4')](_0xdf11('0x48'),null);this[_0xdf11('0x4')](_0xdf11('0x49'),null);this[_0xdf11('0x4')](_0xdf11('0x4a'),'no');break;case 0x2:this['setDataValue'](_0xdf11('0x1f'),_0xdf11('0x4b'));this[_0xdf11('0x4')](_0xdf11('0x42'),_0xdf11('0x29'));this[_0xdf11('0x4')](_0xdf11('0x43'),_0xdf11('0x29'));this[_0xdf11('0x4')]('force_avp','yes');this[_0xdf11('0x4')](_0xdf11('0x45'),'yes');this['setDataValue'](_0xdf11('0x46'),'yes');this[_0xdf11('0x4')](_0xdf11('0x47'),'no');this[_0xdf11('0x4')](_0xdf11('0x4c'),_0xdf11('0x3c'));this['setDataValue'](_0xdf11('0x48'),_0x34a359[_0xdf11('0x48')]||_0xdf11('0x4d'));this[_0xdf11('0x4')](_0xdf11('0x49'),_0x34a359[_0xdf11('0x49')]||_0xdf11('0x4e'));this[_0xdf11('0x4')]('rtcp_mux','yes');break;default:}}},'permissions':{'type':Sequelize['TEXT'],'set':function(_0x552b64){this[_0xdf11('0x4')](_0xdf11('0x4f'),_0x552b64?_0x552b64['join'](','):[]);},'get':function(){return this[_0xdf11('0x9')]('permissions')?_[_0xdf11('0x50')](this[_0xdf11('0x9')](_0xdf11('0x4f'))[_0xdf11('0x21')](','),function(_0x2ebe20){return parseInt(_0x2ebe20,0xa);}):[];}},'phoneBarUnconditionalNumber':{'type':Sequelize[_0xdf11('0x2')]},'phoneBarNoReplyNumber':{'type':Sequelize[_0xdf11('0x2')]},'phoneBarBusyNumber':{'type':Sequelize[_0xdf11('0x2')]},'phoneBarUnconditional':{'type':Sequelize[_0xdf11('0x10')],'defaultValue':![]},'phoneBarNoReply':{'type':Sequelize[_0xdf11('0x10')],'defaultValue':![]},'phoneBarBusy':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'phoneBarDnd':{'type':Sequelize[_0xdf11('0x10')],'defaultValue':!![]},'phoneBarUnansweredCallBadge':{'type':Sequelize[_0xdf11('0x10')],'defaultValue':!![]},'phoneBarEnableDtmfTone':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'phoneBarAutoAnswerDelay':{'type':Sequelize[_0xdf11('0xe')],'defaultValue':0x0},'extensionMonitor':{'type':Sequelize['STRING'],'defaultValue':''},'crudPermissions':{'type':Sequelize[_0xdf11('0xe')],'defaultValue':0x0},'rtcp_mux':{'type':Sequelize[_0xdf11('0x13')](_0xdf11('0x29'),'no'),'defaultValue':'no'},'allowmessenger':{'type':Sequelize[_0xdf11('0x10')],'defaultValue':!![]},'phoneBarOutboundProxy':{'type':Sequelize[_0xdf11('0x2')]},'phoneBarEnableJaws':{'type':Sequelize[_0xdf11('0x10')],'defaultValue':![]},'phoneBarEnableScreenRecordingByAgent':{'type':Sequelize[_0xdf11('0x10')],'defaultValue':![]},'phoneBarEnableVideoRecording':{'type':Sequelize[_0xdf11('0x51')],'get':function(){return this[_0xdf11('0x9')](_0xdf11('0x52'))?this[_0xdf11('0x9')](_0xdf11('0x52')):![];}},'phoneBarEnableAutomaticScreenRecording':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'phoneBarPrefixRequired':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'hotdesk':{'type':Sequelize[_0xdf11('0x10')],'defaultValue':![]},'interface':{'type':Sequelize[_0xdf11('0x2')],'defaultValue':null},'privacyEnabled':{'type':Sequelize[_0xdf11('0x10')],'defaultValue':![]},'apiKeyNonce':{'type':Sequelize['STRING'],'allowNull':!![]},'apiKeyIat':{'type':Sequelize[_0xdf11('0x2')],'allowNull':!![]},'screenrecording':{'type':Sequelize['BOOLEAN'],'defaultValue':![],'set':function(_0x66c53){if(typeof _0x66c53===_0xdf11('0x53')){var _0x197c15=_0x66c53==='1'?!![]:_0x66c53==='0'?![]:_0x66c53===_0xdf11('0x54')?!![]:_0x66c53===_0xdf11('0x55')?![]:![];this['setDataValue'](_0xdf11('0x56'),_0x197c15);}else{this['setDataValue'](_0xdf11('0x56'),_0x66c53);}}},'blocked':{'type':Sequelize['BOOLEAN'],'defaultValue':![],'set':function(_0x3ce590){this[_0xdf11('0x4')](_0xdf11('0x57'),_0x3ce590);if(_0x3ce590===!![]){this[_0xdf11('0x4')](_0xdf11('0x58'),moment());this[_0xdf11('0x4')]('loginAttempts',0x0);}else{this['setDataValue'](_0xdf11('0x58'),null);}}},'blockedAt':{'type':Sequelize[_0xdf11('0x12')],'defaultValue':null},'loginAttempts':{'type':Sequelize[_0xdf11('0xe')],'defaultValue':0x0},'disabled':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'settingsEnabled':{'type':Sequelize[_0xdf11('0x10')],'defaultValue':!![]},'wssPort':{'type':Sequelize[_0xdf11('0xe')](0x5)[_0xdf11('0x59')],'defaultValue':0x1f99},'downloadAttachments':{'type':Sequelize[_0xdf11('0x10')],'defaultValue':!![]},'downloadOmnichannelInteractions':{'type':Sequelize[_0xdf11('0x10')],'defaultValue':!![]},'downloadVoiceRecordings':{'type':Sequelize[_0xdf11('0x10')],'defaultValue':!![]},'ignorePauseForPreviewCalls':{'type':Sequelize[_0xdf11('0x10')],'defaultValue':![]},'selectRecallMeCampaign':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'adSsoEnabled':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'chatAutoanswer':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'chatAutoanswerDelay':{'type':Sequelize[_0xdf11('0xe')],'defaultValue':0x0},'emailAutoanswer':{'type':Sequelize[_0xdf11('0x10')],'defaultValue':![]},'emailAutoanswerDelay':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'smsAutoanswer':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'smsAutoanswerDelay':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'openchannelAutoanswer':{'type':Sequelize[_0xdf11('0x10')],'defaultValue':![]},'openchannelAutoanswerDelay':{'type':Sequelize[_0xdf11('0xe')],'defaultValue':0x0},'faxAutoanswer':{'type':Sequelize[_0xdf11('0x10')],'defaultValue':![]},'faxAutoanswerDelay':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'whatsappAutoanswer':{'type':Sequelize[_0xdf11('0x10')],'defaultValue':![]},'whatsappAutoanswerDelay':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'messengerSoundNotification':{'type':Sequelize[_0xdf11('0x10')],'defaultValue':![]}};
\ No newline at end of file
+var _0x2731=['PROHIB_FAILED_SCREEN','PROHIB','transport','join','split','String\x20is\x20deprecated.\x20Please\x20use\x20an\x20Array\x20as\x20[\x22udp\x22,\x20\x22tcp\x22]','info','shortinfo','inband','rfc2833','update','outgoing','yes','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','uac','uas','certificate','active','passive','actpass','nonat','update,nonat','TEXT','showWebBar','get','udp','wss','encryption','avpf','icesupport','dtlsenable','dtlsverify','dtlscertfile','dtlsprivatekey','force_avp','dtlssetup','/etc/pki/tls/certs/motion.crt','permissions','map','phoneBarEnableScreenRecordingByAgent','true','false','screenrecording','blocked','blockedAt','UNSIGNED','sequelize','moment','util','lodash','STRING','name','setDataValue','defaultuser','The\x20name\x20of\x20the\x20user','fullname','callerid','format','\x22%s\x22\x20<%s>','getDataValue','email','toLowerCase','ENUM','user','agent','local','INTEGER','internal','accountcode','BOOLEAN','DATE','DEFAULT\x20PAUSE','dynamic','friend','peer','ALLOWED_NOT_SCREENED','ALLOWED_PASSED_SCREEN','ALLOWED_FAILED_SCREEN','ALLOWED','PROHIB_NOT_SCREENED','PROHIB_PASSED_SCREEN'];(function(_0x39899c,_0x566d02){var _0x5e1fe4=function(_0x3bb39d){while(--_0x3bb39d){_0x39899c['push'](_0x39899c['shift']());}};_0x5e1fe4(++_0x566d02);}(_0x2731,0x1a9));var _0x1273=function(_0x20a584,_0xe384a5){_0x20a584=_0x20a584-0x0;var _0x4b41a8=_0x2731[_0x20a584];return _0x4b41a8;};'use strict';var Sequelize=require(_0x1273('0x0'));var moment=require(_0x1273('0x1'));var util=require(_0x1273('0x2'));var _=require(_0x1273('0x3'));module['exports']={'name':{'type':Sequelize[_0x1273('0x4')],'allowNull':![],'unique':_0x1273('0x5'),'validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i},'set':function(_0x32fe82){this[_0x1273('0x6')](_0x1273('0x5'),_0x32fe82);this[_0x1273('0x6')](_0x1273('0x7'),_0x32fe82);},'comment':_0x1273('0x8')},'fullname':{'type':Sequelize[_0x1273('0x4')],'allowNull':![],'set':function(_0x5180dc){this[_0x1273('0x6')](_0x1273('0x9'),_0x5180dc);this['setDataValue'](_0x1273('0xa'),util[_0x1273('0xb')](_0x1273('0xc'),_0x5180dc,this[_0x1273('0xd')]('internal')));}},'alias':{'type':Sequelize[_0x1273('0x4')]},'email':{'type':Sequelize[_0x1273('0x4')],'allowNull':![],'unique':_0x1273('0xe'),'validate':{'isEmail':!![]},'set':function(_0x202aac){if(_0x202aac){this[_0x1273('0x6')](_0x1273('0xe'),_0x202aac[_0x1273('0xf')]());}}},'role':{'type':Sequelize[_0x1273('0x10')]('admin',_0x1273('0x11'),_0x1273('0x12'),'telephone'),'allowNull':![]},'password':{'type':Sequelize[_0x1273('0x4')],'allowNull':![],'validate':{'notEmpty':!![]}},'provider':{'type':Sequelize['STRING'],'defaultValue':_0x1273('0x13')},'internal':{'type':Sequelize[_0x1273('0x14')](0xb),'allowNull':![],'unique':_0x1273('0x15'),'set':function(_0x19ce21){this['setDataValue']('internal',_0x19ce21);this['setDataValue'](_0x1273('0x16'),_0x19ce21);this[_0x1273('0x6')](_0x1273('0xa'),util[_0x1273('0xb')]('\x22%s\x22\x20<%s>',this['getDataValue'](_0x1273('0x9')),_0x19ce21));}},'salt':{'type':Sequelize[_0x1273('0x4')]},'phone':{'type':Sequelize['STRING']},'mobile':{'type':Sequelize[_0x1273('0x4')]},'address':{'type':Sequelize[_0x1273('0x4')]},'zipcode':{'type':Sequelize['STRING']},'userpic':{'type':Sequelize[_0x1273('0x4')]},'city':{'type':Sequelize[_0x1273('0x4')]},'country':{'type':Sequelize['STRING']},'online':{'type':Sequelize[_0x1273('0x17')],'defaultValue':![]},'lastLoginAt':{'type':Sequelize[_0x1273('0x18')]},'voicePause':{'type':Sequelize[_0x1273('0x17')],'defaultValue':![]},'chatPause':{'type':Sequelize[_0x1273('0x17')],'defaultValue':![]},'mailPause':{'type':Sequelize[_0x1273('0x17')],'defaultValue':![]},'faxPause':{'type':Sequelize[_0x1273('0x17')],'defaultValue':![]},'smsPause':{'type':Sequelize[_0x1273('0x17')],'defaultValue':![]},'whatsappPause':{'type':Sequelize[_0x1273('0x17')],'defaultValue':![]},'openchannelPause':{'type':Sequelize[_0x1273('0x17')],'defaultValue':![]},'pauseType':{'type':Sequelize['STRING'],'defaultValue':_0x1273('0x19')},'lastPauseAt':{'type':Sequelize[_0x1273('0x18')]},'chatCapacity':{'type':Sequelize[_0x1273('0x14')],'defaultValue':0x0},'mailCapacity':{'type':Sequelize[_0x1273('0x14')],'defaultValue':0x0},'faxCapacity':{'type':Sequelize[_0x1273('0x14')],'defaultValue':0x0},'smsCapacity':{'type':Sequelize[_0x1273('0x14')],'defaultValue':0x0},'whatsappCapacity':{'type':Sequelize[_0x1273('0x14')],'defaultValue':0x0},'openchannelCapacity':{'type':Sequelize[_0x1273('0x14')],'defaultValue':0x0},'phoneBarAutoAnswer':{'type':Sequelize[_0x1273('0x17')],'defaultValue':![]},'phoneBarEnableSettings':{'type':Sequelize[_0x1273('0x17')],'defaultValue':!![]},'phoneBarListenPort':{'type':Sequelize[_0x1273('0x14')](0x5),'defaultValue':0x1428},'phoneBarExpires':{'type':Sequelize[_0x1273('0x14')](0x5),'defaultValue':0x78},'phoneBarRemoteControl':{'type':Sequelize[_0x1273('0x17')],'defaultValue':![]},'phoneBarRemoteControlPort':{'type':Sequelize[_0x1273('0x14')],'defaultValue':0x26a0},'phoneBarEnableRecording':{'type':Sequelize[_0x1273('0x17')],'defaultValue':![]},'phoneBarRingInUse':{'type':Sequelize[_0x1273('0x17')],'defaultValue':![]},'chanspy':{'type':Sequelize[_0x1273('0x17')],'defaultValue':![]},'description':{'type':Sequelize[_0x1273('0x4')],'allowNull':!![]},'host':{'type':Sequelize[_0x1273('0x4')],'allowNull':!![],'defaultValue':_0x1273('0x1a')},'ipaddr':{'type':Sequelize[_0x1273('0x4')],'allowNull':!![]},'port':{'type':Sequelize[_0x1273('0x14')](0x5),'allowNull':!![]},'regseconds':{'type':Sequelize[_0x1273('0x14')](0xb),'allowNull':!![]},'fullcontact':{'type':Sequelize[_0x1273('0x4')],'allowNull':!![]},'regserver':{'type':Sequelize[_0x1273('0x4')],'allowNull':!![]},'useragent':{'type':Sequelize['STRING'],'allowNull':!![]},'lastms':{'type':Sequelize['INTEGER'](0xb),'allowNull':!![]},'type':{'type':Sequelize[_0x1273('0x10')](_0x1273('0x1b'),'user',_0x1273('0x1c')),'allowNull':!![],'defaultValue':_0x1273('0x1b')},'context':{'type':Sequelize['STRING'],'allowNull':!![],'defaultValue':'from-sip'},'callingpres':{'type':Sequelize[_0x1273('0x10')](_0x1273('0x1d'),_0x1273('0x1e'),_0x1273('0x1f'),_0x1273('0x20'),_0x1273('0x21'),_0x1273('0x22'),_0x1273('0x23'),_0x1273('0x24')),'allowNull':!![]},'deny':{'type':Sequelize[_0x1273('0x4')],'allowNull':!![]},'permit':{'type':Sequelize['STRING'],'allowNull':!![]},'secret':{'type':Sequelize[_0x1273('0x4')],'allowNull':!![]},'md5secret':{'type':Sequelize[_0x1273('0x4')],'allowNull':!![]},'remotesecret':{'type':Sequelize[_0x1273('0x4')],'allowNull':!![]},'transport':{'type':Sequelize[_0x1273('0x4')],'allowNull':!![],'defaultValue':'udp','set':function(_0x46dab4){this['setDataValue'](_0x1273('0x25'),_0x46dab4?_0x46dab4[_0x1273('0x26')](','):null);},'get':function(){return this[_0x1273('0xd')](_0x1273('0x25'))?this[_0x1273('0xd')](_0x1273('0x25'))[_0x1273('0x27')](','):null;},'comment':_0x1273('0x28')},'dtmfmode':{'type':Sequelize[_0x1273('0x10')]('rfc2833',_0x1273('0x29'),_0x1273('0x2a'),_0x1273('0x2b'),'auto'),'allowNull':!![],'defaultValue':_0x1273('0x2c')},'directmedia':{'type':Sequelize[_0x1273('0x10')]('yes','no','nonat',_0x1273('0x2d'),_0x1273('0x2e')),'allowNull':!![],'defaultValue':'no'},'directrtpsetup':{'type':Sequelize[_0x1273('0x10')](_0x1273('0x2f'),'no'),'allowNull':!![],'defaultValue':'no'},'directmediapermit':{'type':Sequelize[_0x1273('0x4')],'allowNull':!![]},'directmediadeny':{'type':Sequelize[_0x1273('0x4')],'allowNull':!![]},'nat':{'type':Sequelize[_0x1273('0x4')],'allowNull':!![],'defaultValue':_0x1273('0x30'),'set':function(_0x644712){this[_0x1273('0x6')](_0x1273('0x31'),_0x644712?_0x644712[_0x1273('0x26')](','):null);},'get':function(){return this['getDataValue'](_0x1273('0x31'))?this[_0x1273('0xd')](_0x1273('0x31'))[_0x1273('0x27')](','):null;},'comment':_0x1273('0x32')},'callgroup':{'type':Sequelize['STRING']},'namedcallgroup':{'type':Sequelize['STRING']},'pickupgroup':{'type':Sequelize[_0x1273('0x4')]},'namedpickupgroup':{'type':Sequelize['STRING']},'language':{'type':Sequelize[_0x1273('0x4')],'defaultValue':'en'},'tonezone':{'type':Sequelize[_0x1273('0x4')]},'disallow':{'type':Sequelize[_0x1273('0x4')],'allowNull':![],'defaultValue':_0x1273('0x33')},'allow':{'type':Sequelize[_0x1273('0x4')],'allowNull':![],'defaultValue':_0x1273('0x34'),'set':function(_0x209c67){this[_0x1273('0x6')](_0x1273('0x35'),_0x209c67?_0x209c67[_0x1273('0x26')](';'):'ulaw;alaw;gsm');},'get':function(){return this[_0x1273('0xd')]('allow')?this[_0x1273('0xd')]('allow')[_0x1273('0x27')](';'):null;},'comment':_0x1273('0x36')},'autoframing':{'type':Sequelize[_0x1273('0x10')]('yes','no'),'allowNull':!![]},'insecure':{'type':Sequelize[_0x1273('0x4')],'allowNull':!![],'set':function(_0x35d2fa){this[_0x1273('0x6')](_0x1273('0x37'),_0x35d2fa?_0x35d2fa['join'](','):null);},'get':function(){return this[_0x1273('0xd')](_0x1273('0x37'))?this[_0x1273('0xd')]('insecure')[_0x1273('0x27')](','):null;},'comment':'String\x20is\x20deprecated.\x20Please\x20use\x20an\x20Array\x20as\x20[\x22port\x22,\x20\x22invite\x22]'},'trustrpid':{'type':Sequelize[_0x1273('0x10')](_0x1273('0x2f'),'no'),'allowNull':!![],'defaultValue':'no'},'trust_id_outbound':{'type':Sequelize[_0x1273('0x10')](_0x1273('0x2f'),'no'),'allowNull':!![],'defaultValue':'no'},'progressinband':{'type':Sequelize[_0x1273('0x10')](_0x1273('0x2f'),'no',_0x1273('0x38')),'allowNull':!![]},'promiscredir':{'type':Sequelize['ENUM'](_0x1273('0x2f'),'no'),'allowNull':!![]},'useclientcode':{'type':Sequelize[_0x1273('0x10')](_0x1273('0x2f'),'no'),'allowNull':!![]},'accountcode':{'type':Sequelize[_0x1273('0x14')](0xb),'allowNull':!![]},'setvar':{'type':Sequelize['STRING'],'allowNull':!![]},'callerid':{'type':Sequelize[_0x1273('0x4')],'allowNull':!![],'defaultValue':_0x1273('0x39')},'amaflags':{'type':Sequelize['STRING'],'allowNull':!![]},'callcounter':{'type':Sequelize['ENUM']('yes','no'),'allowNull':!![],'defaultValue':_0x1273('0x2f')},'busylevel':{'type':Sequelize[_0x1273('0x14')](0xb),'allowNull':!![]},'allowoverlap':{'type':Sequelize[_0x1273('0x10')](_0x1273('0x2f'),'no'),'allowNull':!![]},'allowsubscribe':{'type':Sequelize[_0x1273('0x10')](_0x1273('0x2f'),'no'),'allowNull':!![]},'allowtransfer':{'type':Sequelize[_0x1273('0x10')](_0x1273('0x2f'),'no'),'allowNull':!![]},'ignoresdpversion':{'type':Sequelize[_0x1273('0x10')]('yes','no'),'allowNull':!![]},'subscribecontext':{'type':Sequelize['STRING'],'allowNull':!![]},'template':{'type':Sequelize[_0x1273('0x4')],'allowNull':!![]},'videosupport':{'type':Sequelize[_0x1273('0x10')](_0x1273('0x2f'),'no',_0x1273('0x3a')),'allowNull':!![],'defaultValue':'no'},'maxcallbitrate':{'type':Sequelize[_0x1273('0x14')](0xb),'allowNull':!![]},'rfc2833compensate':{'type':Sequelize[_0x1273('0x10')](_0x1273('0x2f'),'no'),'allowNull':!![]},'mailbox':{'type':Sequelize['STRING'],'allowNull':!![]},'session_timers':{'type':Sequelize['ENUM'](_0x1273('0x3b'),'refuse','originate'),'allowNull':!![]},'session_expires':{'type':Sequelize[_0x1273('0x14')](0xb),'allowNull':!![]},'session_minse':{'type':Sequelize['INTEGER'](0xb),'allowNull':!![]},'session_refresher':{'type':Sequelize[_0x1273('0x10')](_0x1273('0x3c'),_0x1273('0x3d')),'allowNull':!![],'defaultValue':_0x1273('0x3d')},'t38pt_usertpsource':{'type':Sequelize[_0x1273('0x4')],'allowNull':!![]},'regexten':{'type':Sequelize[_0x1273('0x4')],'allowNull':!![]},'fromdomain':{'type':Sequelize[_0x1273('0x4')],'allowNull':!![]},'fromuser':{'type':Sequelize['STRING'],'allowNull':!![]},'qualify':{'type':Sequelize['ENUM']('yes','no'),'allowNull':!![],'defaultValue':_0x1273('0x2f')},'keepalive':{'type':Sequelize[_0x1273('0x14')](0xb),'allowNull':!![]},'defaultip':{'type':Sequelize['STRING'],'allowNull':!![]},'defaultuser':{'type':Sequelize[_0x1273('0x4')],'allowNull':!![]},'rtptimeout':{'type':Sequelize['INTEGER'](0xb),'allowNull':!![]},'rtpholdtimeout':{'type':Sequelize[_0x1273('0x14')](0xb),'allowNull':!![]},'rtpkeepalive':{'type':Sequelize[_0x1273('0x14')](0xb),'allowNull':!![]},'sendrpid':{'type':Sequelize[_0x1273('0x10')](_0x1273('0x2f'),'no'),'allowNull':!![],'defaultValue':'no'},'outboundproxy':{'type':Sequelize[_0x1273('0x4')],'allowNull':!![]},'callbackextension':{'type':Sequelize[_0x1273('0x4')],'allowNull':!![]},'timert1':{'type':Sequelize['INTEGER'](0xb),'allowNull':!![]},'timerb':{'type':Sequelize[_0x1273('0x14')](0xb),'allowNull':!![]},'qualifyfreq':{'type':Sequelize['INTEGER'](0xb),'allowNull':!![]},'contactpermit':{'type':Sequelize['STRING'],'allowNull':!![]},'contactdeny':{'type':Sequelize[_0x1273('0x4')],'allowNull':!![]},'contactacl':{'type':Sequelize['STRING'],'allowNull':!![]},'unsolicited_mailbox':{'type':Sequelize[_0x1273('0x4')],'allowNull':!![]},'use_q850_reason':{'type':Sequelize[_0x1273('0x4')],'allowNull':!![]},'maxforwards':{'type':Sequelize['INTEGER'](0xb),'allowNull':!![]},'encryption':{'type':Sequelize['ENUM'](_0x1273('0x2f'),'no'),'allowNull':!![],'defaultValue':'no'},'avpf':{'type':Sequelize[_0x1273('0x10')](_0x1273('0x2f'),'no'),'allowNull':!![]},'force_avp':{'type':Sequelize[_0x1273('0x10')]('yes','no'),'allowNull':!![]},'icesupport':{'type':Sequelize[_0x1273('0x10')](_0x1273('0x2f'),'no'),'allowNull':!![]},'dtlsenable':{'type':Sequelize[_0x1273('0x10')](_0x1273('0x2f'),'no'),'allowNull':!![]},'dtlsverify':{'type':Sequelize[_0x1273('0x10')](_0x1273('0x2f'),'no','fingerprint',_0x1273('0x3e')),'allowNull':!![]},'dtlsrekey':{'type':Sequelize[_0x1273('0x14')](0xb),'allowNull':!![]},'dtlscertfile':{'type':Sequelize[_0x1273('0x4')],'allowNull':!![]},'dtlsprivatekey':{'type':Sequelize[_0x1273('0x4')],'allowNull':!![]},'dtlscipher':{'type':Sequelize['STRING'],'allowNull':!![]},'dtlscafile':{'type':Sequelize['STRING'],'allowNull':!![]},'dtlscapath':{'type':Sequelize[_0x1273('0x4')],'allowNull':!![]},'dtlssetup':{'type':Sequelize[_0x1273('0x10')](_0x1273('0x3f'),_0x1273('0x40'),_0x1273('0x41')),'allowNull':!![]},'dtlsfingerprint':{'type':Sequelize[_0x1273('0x4')],'allowNull':!![]},'usereqphone':{'type':Sequelize['ENUM'](_0x1273('0x2f'),'no'),'allowNull':!![],'defaultValue':'no'},'recordonfeature':{'type':Sequelize[_0x1273('0x4')],'allowNull':!![]},'recordofffeature':{'type':Sequelize['STRING'],'allowNull':!![]},'call_limit':{'type':Sequelize['INTEGER'](0xb),'allowNull':!![],'defaultValue':0xa},'registertrying':{'type':Sequelize[_0x1273('0x10')](_0x1273('0x2f'),'no'),'allowNull':!![]},'subscribemwi':{'type':Sequelize[_0x1273('0x10')](_0x1273('0x2f'),'no'),'allowNull':!![]},'vmexten':{'type':Sequelize[_0x1273('0x4')],'allowNull':!![]},'mohinterpret':{'type':Sequelize[_0x1273('0x4')],'allowNull':!![]},'mohsuggest':{'type':Sequelize['STRING'],'allowNull':!![]},'parkinglot':{'type':Sequelize[_0x1273('0x4')],'allowNull':!![]},'canreinvite':{'type':Sequelize[_0x1273('0x10')](_0x1273('0x2f'),'no',_0x1273('0x42'),_0x1273('0x2d'),_0x1273('0x43')),'allowNull':!![],'defaultValue':'no'},'loginInPause':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'resetPasswordToken':{'type':Sequelize[_0x1273('0x4')]},'resetPasswordExpires':{'type':Sequelize['DATE']},'passwordResetAt':{'type':Sequelize[_0x1273('0x18')],'defaultValue':null},'previousPasswords':{'type':Sequelize[_0x1273('0x44')]},'showWebBar':{'type':Sequelize[_0x1273('0x14')],'defaultValue':0x0,'set':function(_0x5ececb){this[_0x1273('0x6')](_0x1273('0x45'),_0x5ececb);var _0x4417e3=this[_0x1273('0x46')]({'plain':!![]});switch(_0x5ececb){case 0x0:case 0x1:var _0x1176cd=_0x4417e3[_0x1273('0x25')]?_['isArray'](_0x4417e3[_0x1273('0x25')])?_0x4417e3[_0x1273('0x25')]['join']():_0x4417e3['transport']:_0x1273('0x47');if(_0x1176cd===_0x1273('0x48')){_0x1176cd=_0x1273('0x47');}this['setDataValue'](_0x1273('0x25'),_0x1176cd);this['setDataValue'](_0x1273('0x49'),'no');this[_0x1273('0x6')](_0x1273('0x4a'),null);this[_0x1273('0x6')]('force_avp',null);this[_0x1273('0x6')](_0x1273('0x4b'),null);this['setDataValue'](_0x1273('0x4c'),null);this['setDataValue'](_0x1273('0x4d'),null);this[_0x1273('0x6')]('dtlssetup',null);this[_0x1273('0x6')](_0x1273('0x4e'),null);this['setDataValue'](_0x1273('0x4f'),null);this['setDataValue']('rtcp_mux','no');break;case 0x2:this[_0x1273('0x6')](_0x1273('0x25'),_0x1273('0x48'));this[_0x1273('0x6')](_0x1273('0x49'),_0x1273('0x2f'));this['setDataValue'](_0x1273('0x4a'),'yes');this['setDataValue'](_0x1273('0x50'),_0x1273('0x2f'));this[_0x1273('0x6')]('icesupport',_0x1273('0x2f'));this['setDataValue']('dtlsenable','yes');this[_0x1273('0x6')](_0x1273('0x4d'),'no');this[_0x1273('0x6')](_0x1273('0x51'),_0x1273('0x41'));this['setDataValue']('dtlscertfile',_0x4417e3['dtlscertfile']||_0x1273('0x52'));this[_0x1273('0x6')]('dtlsprivatekey',_0x4417e3[_0x1273('0x4f')]||'/etc/pki/tls/private/motion.key');this['setDataValue']('rtcp_mux',_0x1273('0x2f'));break;default:}}},'permissions':{'type':Sequelize[_0x1273('0x44')],'set':function(_0x2c298a){this['setDataValue'](_0x1273('0x53'),_0x2c298a?_0x2c298a[_0x1273('0x26')](','):[]);},'get':function(){return this[_0x1273('0xd')](_0x1273('0x53'))?_[_0x1273('0x54')](this['getDataValue'](_0x1273('0x53'))[_0x1273('0x27')](','),function(_0x4685b6){return parseInt(_0x4685b6,0xa);}):[];}},'phoneBarUnconditionalNumber':{'type':Sequelize['STRING']},'phoneBarNoReplyNumber':{'type':Sequelize['STRING']},'phoneBarBusyNumber':{'type':Sequelize[_0x1273('0x4')]},'phoneBarUnconditional':{'type':Sequelize[_0x1273('0x17')],'defaultValue':![]},'phoneBarNoReply':{'type':Sequelize[_0x1273('0x17')],'defaultValue':![]},'phoneBarBusy':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'phoneBarDnd':{'type':Sequelize[_0x1273('0x17')],'defaultValue':!![]},'phoneBarUnansweredCallBadge':{'type':Sequelize[_0x1273('0x17')],'defaultValue':!![]},'phoneBarEnableDtmfTone':{'type':Sequelize[_0x1273('0x17')],'defaultValue':![]},'phoneBarAutoAnswerDelay':{'type':Sequelize[_0x1273('0x14')],'defaultValue':0x0},'extensionMonitor':{'type':Sequelize['STRING'],'defaultValue':''},'crudPermissions':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'rtcp_mux':{'type':Sequelize[_0x1273('0x10')](_0x1273('0x2f'),'no'),'defaultValue':'no'},'allowmessenger':{'type':Sequelize[_0x1273('0x17')],'defaultValue':!![]},'phoneBarOutboundProxy':{'type':Sequelize[_0x1273('0x4')]},'phoneBarEnableJaws':{'type':Sequelize[_0x1273('0x17')],'defaultValue':![]},'phoneBarEnableScreenRecordingByAgent':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'phoneBarEnableVideoRecording':{'type':Sequelize['VIRTUAL'],'get':function(){return this['getDataValue'](_0x1273('0x55'))?this[_0x1273('0xd')](_0x1273('0x55')):![];}},'phoneBarEnableAutomaticScreenRecording':{'type':Sequelize[_0x1273('0x17')],'defaultValue':![]},'phoneBarPrefixRequired':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'hotdesk':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'interface':{'type':Sequelize[_0x1273('0x4')],'defaultValue':null},'privacyEnabled':{'type':Sequelize[_0x1273('0x17')],'defaultValue':![]},'apiKeyNonce':{'type':Sequelize[_0x1273('0x4')],'allowNull':!![]},'apiKeyIat':{'type':Sequelize['STRING'],'allowNull':!![]},'screenrecording':{'type':Sequelize['BOOLEAN'],'defaultValue':![],'set':function(_0x1cc4bd){if(typeof _0x1cc4bd==='string'){var _0x38f7bc=_0x1cc4bd==='1'?!![]:_0x1cc4bd==='0'?![]:_0x1cc4bd===_0x1273('0x56')?!![]:_0x1cc4bd===_0x1273('0x57')?![]:![];this['setDataValue'](_0x1273('0x58'),_0x38f7bc);}else{this[_0x1273('0x6')]('screenrecording',_0x1cc4bd);}}},'blocked':{'type':Sequelize[_0x1273('0x17')],'defaultValue':![],'set':function(_0x6c0974){this[_0x1273('0x6')](_0x1273('0x59'),_0x6c0974);if(_0x6c0974===!![]){this[_0x1273('0x6')](_0x1273('0x5a'),moment());this[_0x1273('0x6')]('loginAttempts',0x0);}else{this[_0x1273('0x6')](_0x1273('0x5a'),null);}}},'blockedAt':{'type':Sequelize[_0x1273('0x18')],'defaultValue':null},'loginAttempts':{'type':Sequelize[_0x1273('0x14')],'defaultValue':0x0},'disabled':{'type':Sequelize[_0x1273('0x17')],'defaultValue':![]},'settingsEnabled':{'type':Sequelize[_0x1273('0x17')],'defaultValue':!![]},'wssPort':{'type':Sequelize[_0x1273('0x14')](0x5)[_0x1273('0x5b')],'defaultValue':0x1f99},'downloadAttachments':{'type':Sequelize[_0x1273('0x17')],'defaultValue':!![]},'downloadOmnichannelInteractions':{'type':Sequelize[_0x1273('0x17')],'defaultValue':!![]},'downloadVoiceRecordings':{'type':Sequelize[_0x1273('0x17')],'defaultValue':!![]},'ignorePauseForPreviewCalls':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'selectRecallMeCampaign':{'type':Sequelize[_0x1273('0x17')],'defaultValue':![]},'adSsoEnabled':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'chatAutoanswer':{'type':Sequelize[_0x1273('0x17')],'defaultValue':![]},'chatAutoanswerDelay':{'type':Sequelize[_0x1273('0x14')],'defaultValue':0x0},'emailAutoanswer':{'type':Sequelize[_0x1273('0x17')],'defaultValue':![]},'emailAutoanswerDelay':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'smsAutoanswer':{'type':Sequelize[_0x1273('0x17')],'defaultValue':![]},'smsAutoanswerDelay':{'type':Sequelize[_0x1273('0x14')],'defaultValue':0x0},'openchannelAutoanswer':{'type':Sequelize[_0x1273('0x17')],'defaultValue':![]},'openchannelAutoanswerDelay':{'type':Sequelize[_0x1273('0x14')],'defaultValue':0x0},'faxAutoanswer':{'type':Sequelize[_0x1273('0x17')],'defaultValue':![]},'faxAutoanswerDelay':{'type':Sequelize[_0x1273('0x14')],'defaultValue':0x0},'whatsappAutoanswer':{'type':Sequelize[_0x1273('0x17')],'defaultValue':![]},'whatsappAutoanswerDelay':{'type':Sequelize[_0x1273('0x14')],'defaultValue':0x0},'messengerSoundNotification':{'type':Sequelize[_0x1273('0x17')],'defaultValue':![]}};
\ No newline at end of file