Built motion from commit (unavailable).|2.5.4
[motion2.git] / server / api / user / user.attributes.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
13 // * The SOFTWARE PRODUCT is protected by copyright laws and international *
14 // * copyright treaties, as well as other intellectual property laws and   *
15 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0x0978=['always','refuse','originate','uac','uas','certificate','active','passive','actpass','showWebBar','get','wss','force_avp','dtlsenable','dtlsverify','dtlssetup','dtlsprivatekey','rtcp_mux','encryption','avpf','icesupport','dtlscertfile','/etc/pki/tls/certs/motion.crt','/etc/pki/tls/private/motion.key','permissions','map','VIRTUAL','string','screenrecording','blocked','loginAttempts','blockedAt','sequelize','util','lodash','exports','STRING','name','setDataValue','defaultuser','The\x20name\x20of\x20the\x20user','format','\x22%s\x22\x20<%s>','getDataValue','email','toLowerCase','ENUM','user','agent','telephone','INTEGER','internal','accountcode','fullname','BOOLEAN','DATE','dynamic','friend','from-sip','ALLOWED_NOT_SCREENED','ALLOWED_PASSED_SCREEN','ALLOWED','PROHIB_NOT_SCREENED','PROHIB_PASSED_SCREEN','PROHIB_FAILED_SCREEN','udp','join','transport','split','String\x20is\x20deprecated.\x20Please\x20use\x20an\x20Array\x20as\x20[\x22udp\x22,\x20\x22tcp\x22]','rfc2833','info','yes','nonat','update','outgoing','nat','String\x20is\x20deprecated.\x20Please\x20use\x20an\x20Array\x20as\x20[\x22force_rport\x22,\x20\x22comedia\x22]','all','ulaw;alaw;gsm','allow','insecure','never','\x22\x22\x20<>'];(function(_0x4c6120,_0x2bad41){var _0x2d8329=function(_0x188111){while(--_0x188111){_0x4c6120['push'](_0x4c6120['shift']());}};_0x2d8329(++_0x2bad41);}(_0x0978,0x170));var _0x8097=function(_0x1d8744,_0x366ebf){_0x1d8744=_0x1d8744-0x0;var _0x4c5770=_0x0978[_0x1d8744];return _0x4c5770;};'use strict';var Sequelize=require(_0x8097('0x0'));var moment=require('moment');var util=require(_0x8097('0x1'));var _=require(_0x8097('0x2'));module[_0x8097('0x3')]={'name':{'type':Sequelize[_0x8097('0x4')],'allowNull':![],'unique':_0x8097('0x5'),'validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i},'set':function(_0x429fe8){this[_0x8097('0x6')]('name',_0x429fe8);this[_0x8097('0x6')](_0x8097('0x7'),_0x429fe8);},'comment':_0x8097('0x8')},'fullname':{'type':Sequelize[_0x8097('0x4')],'allowNull':![],'set':function(_0x149b0f){this['setDataValue']('fullname',_0x149b0f);this[_0x8097('0x6')]('callerid',util[_0x8097('0x9')](_0x8097('0xa'),_0x149b0f,this[_0x8097('0xb')]('internal')));}},'alias':{'type':Sequelize[_0x8097('0x4')]},'email':{'type':Sequelize[_0x8097('0x4')],'allowNull':![],'unique':_0x8097('0xc'),'validate':{'isEmail':!![]},'set':function(_0x65dfb9){if(_0x65dfb9){this['setDataValue']('email',_0x65dfb9[_0x8097('0xd')]());}}},'role':{'type':Sequelize[_0x8097('0xe')]('admin',_0x8097('0xf'),_0x8097('0x10'),_0x8097('0x11')),'allowNull':![]},'password':{'type':Sequelize[_0x8097('0x4')],'allowNull':![],'validate':{'notEmpty':!![]}},'provider':{'type':Sequelize['STRING'],'defaultValue':'local'},'internal':{'type':Sequelize[_0x8097('0x12')](0xb),'allowNull':![],'unique':_0x8097('0x13'),'set':function(_0x3f97df){this['setDataValue']('internal',_0x3f97df);this[_0x8097('0x6')](_0x8097('0x14'),_0x3f97df);this['setDataValue']('callerid',util[_0x8097('0x9')](_0x8097('0xa'),this[_0x8097('0xb')](_0x8097('0x15')),_0x3f97df));}},'salt':{'type':Sequelize[_0x8097('0x4')]},'phone':{'type':Sequelize[_0x8097('0x4')]},'mobile':{'type':Sequelize[_0x8097('0x4')]},'address':{'type':Sequelize[_0x8097('0x4')]},'zipcode':{'type':Sequelize['STRING']},'userpic':{'type':Sequelize['STRING']},'city':{'type':Sequelize[_0x8097('0x4')]},'country':{'type':Sequelize[_0x8097('0x4')]},'online':{'type':Sequelize[_0x8097('0x16')],'defaultValue':![]},'lastLoginAt':{'type':Sequelize[_0x8097('0x17')]},'voicePause':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'chatPause':{'type':Sequelize[_0x8097('0x16')],'defaultValue':![]},'mailPause':{'type':Sequelize[_0x8097('0x16')],'defaultValue':![]},'faxPause':{'type':Sequelize[_0x8097('0x16')],'defaultValue':![]},'smsPause':{'type':Sequelize[_0x8097('0x16')],'defaultValue':![]},'whatsappPause':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'openchannelPause':{'type':Sequelize[_0x8097('0x16')],'defaultValue':![]},'pauseType':{'type':Sequelize['STRING'],'defaultValue':'DEFAULT\x20PAUSE'},'lastPauseAt':{'type':Sequelize[_0x8097('0x17')]},'chatCapacity':{'type':Sequelize[_0x8097('0x12')],'defaultValue':0x0},'mailCapacity':{'type':Sequelize[_0x8097('0x12')],'defaultValue':0x0},'faxCapacity':{'type':Sequelize[_0x8097('0x12')],'defaultValue':0x0},'smsCapacity':{'type':Sequelize[_0x8097('0x12')],'defaultValue':0x0},'whatsappCapacity':{'type':Sequelize[_0x8097('0x12')],'defaultValue':0x0},'openchannelCapacity':{'type':Sequelize[_0x8097('0x12')],'defaultValue':0x0},'phoneBarAutoAnswer':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'phoneBarEnableSettings':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'phoneBarListenPort':{'type':Sequelize[_0x8097('0x12')](0x5),'defaultValue':0x1428},'phoneBarExpires':{'type':Sequelize['INTEGER'](0x5),'defaultValue':0x78},'phoneBarRemoteControl':{'type':Sequelize[_0x8097('0x16')],'defaultValue':![]},'phoneBarRemoteControlPort':{'type':Sequelize[_0x8097('0x12')],'defaultValue':0x26a0},'phoneBarEnableRecording':{'type':Sequelize[_0x8097('0x16')],'defaultValue':![]},'phoneBarRingInUse':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'chanspy':{'type':Sequelize[_0x8097('0x16')],'defaultValue':![]},'description':{'type':Sequelize['STRING'],'allowNull':!![]},'host':{'type':Sequelize[_0x8097('0x4')],'allowNull':!![],'defaultValue':_0x8097('0x18')},'ipaddr':{'type':Sequelize[_0x8097('0x4')],'allowNull':!![]},'port':{'type':Sequelize[_0x8097('0x12')](0x5),'allowNull':!![]},'regseconds':{'type':Sequelize[_0x8097('0x12')](0xb),'allowNull':!![]},'fullcontact':{'type':Sequelize[_0x8097('0x4')],'allowNull':!![]},'regserver':{'type':Sequelize[_0x8097('0x4')],'allowNull':!![]},'useragent':{'type':Sequelize['STRING'],'allowNull':!![]},'lastms':{'type':Sequelize[_0x8097('0x12')](0xb),'allowNull':!![]},'type':{'type':Sequelize[_0x8097('0xe')](_0x8097('0x19'),_0x8097('0xf'),'peer'),'allowNull':!![],'defaultValue':'friend'},'context':{'type':Sequelize[_0x8097('0x4')],'allowNull':!![],'defaultValue':_0x8097('0x1a')},'callingpres':{'type':Sequelize[_0x8097('0xe')](_0x8097('0x1b'),_0x8097('0x1c'),'ALLOWED_FAILED_SCREEN',_0x8097('0x1d'),_0x8097('0x1e'),_0x8097('0x1f'),_0x8097('0x20'),'PROHIB'),'allowNull':!![]},'deny':{'type':Sequelize['STRING'],'allowNull':!![]},'permit':{'type':Sequelize['STRING'],'allowNull':!![]},'secret':{'type':Sequelize[_0x8097('0x4')],'allowNull':!![]},'md5secret':{'type':Sequelize[_0x8097('0x4')],'allowNull':!![]},'remotesecret':{'type':Sequelize['STRING'],'allowNull':!![]},'transport':{'type':Sequelize['STRING'],'allowNull':!![],'defaultValue':_0x8097('0x21'),'set':function(_0x578c21){this[_0x8097('0x6')]('transport',_0x578c21?_0x578c21[_0x8097('0x22')](','):null);},'get':function(){return this[_0x8097('0xb')](_0x8097('0x23'))?this[_0x8097('0xb')](_0x8097('0x23'))[_0x8097('0x24')](','):null;},'comment':_0x8097('0x25')},'dtmfmode':{'type':Sequelize[_0x8097('0xe')](_0x8097('0x26'),_0x8097('0x27'),'shortinfo','inband','auto'),'allowNull':!![],'defaultValue':_0x8097('0x26')},'directmedia':{'type':Sequelize[_0x8097('0xe')](_0x8097('0x28'),'no',_0x8097('0x29'),_0x8097('0x2a'),_0x8097('0x2b')),'allowNull':!![],'defaultValue':'no'},'directrtpsetup':{'type':Sequelize['ENUM']('yes','no'),'allowNull':!![],'defaultValue':'no'},'directmediapermit':{'type':Sequelize[_0x8097('0x4')],'allowNull':!![]},'directmediadeny':{'type':Sequelize[_0x8097('0x4')],'allowNull':!![]},'nat':{'type':Sequelize[_0x8097('0x4')],'allowNull':!![],'defaultValue':'force_rport,comedia','set':function(_0x2d1265){this[_0x8097('0x6')](_0x8097('0x2c'),_0x2d1265?_0x2d1265['join'](','):null);},'get':function(){return this[_0x8097('0xb')]('nat')?this[_0x8097('0xb')](_0x8097('0x2c'))[_0x8097('0x24')](','):null;},'comment':_0x8097('0x2d')},'callgroup':{'type':Sequelize['STRING']},'namedcallgroup':{'type':Sequelize['STRING']},'pickupgroup':{'type':Sequelize[_0x8097('0x4')]},'namedpickupgroup':{'type':Sequelize[_0x8097('0x4')]},'language':{'type':Sequelize[_0x8097('0x4')],'defaultValue':'en'},'tonezone':{'type':Sequelize[_0x8097('0x4')]},'disallow':{'type':Sequelize[_0x8097('0x4')],'allowNull':![],'defaultValue':_0x8097('0x2e')},'allow':{'type':Sequelize[_0x8097('0x4')],'allowNull':![],'defaultValue':_0x8097('0x2f'),'set':function(_0x15f3e3){this[_0x8097('0x6')](_0x8097('0x30'),_0x15f3e3?_0x15f3e3[_0x8097('0x22')](';'):_0x8097('0x2f'));},'get':function(){return this[_0x8097('0xb')](_0x8097('0x30'))?this[_0x8097('0xb')](_0x8097('0x30'))[_0x8097('0x24')](';'):null;},'comment':'String\x20is\x20deprecated.\x20Please\x20use\x20an\x20Array\x20as\x20[\x22ulaw\x22,\x20\x22alaw\x22,\x20\x22gsm\x22]'},'autoframing':{'type':Sequelize[_0x8097('0xe')](_0x8097('0x28'),'no'),'allowNull':!![]},'insecure':{'type':Sequelize[_0x8097('0x4')],'allowNull':!![],'set':function(_0x2e962c){this[_0x8097('0x6')]('insecure',_0x2e962c?_0x2e962c[_0x8097('0x22')](','):null);},'get':function(){return this[_0x8097('0xb')](_0x8097('0x31'))?this[_0x8097('0xb')](_0x8097('0x31'))[_0x8097('0x24')](','):null;},'comment':'String\x20is\x20deprecated.\x20Please\x20use\x20an\x20Array\x20as\x20[\x22port\x22,\x20\x22invite\x22]'},'trustrpid':{'type':Sequelize['ENUM']('yes','no'),'allowNull':!![],'defaultValue':'no'},'trust_id_outbound':{'type':Sequelize[_0x8097('0xe')](_0x8097('0x28'),'no'),'allowNull':!![],'defaultValue':'no'},'progressinband':{'type':Sequelize['ENUM'](_0x8097('0x28'),'no',_0x8097('0x32')),'allowNull':!![]},'promiscredir':{'type':Sequelize['ENUM'](_0x8097('0x28'),'no'),'allowNull':!![]},'useclientcode':{'type':Sequelize[_0x8097('0xe')](_0x8097('0x28'),'no'),'allowNull':!![]},'accountcode':{'type':Sequelize[_0x8097('0x12')](0xb),'allowNull':!![]},'setvar':{'type':Sequelize['STRING'],'allowNull':!![]},'callerid':{'type':Sequelize['STRING'],'allowNull':!![],'defaultValue':_0x8097('0x33')},'amaflags':{'type':Sequelize['STRING'],'allowNull':!![]},'callcounter':{'type':Sequelize[_0x8097('0xe')](_0x8097('0x28'),'no'),'allowNull':!![],'defaultValue':_0x8097('0x28')},'busylevel':{'type':Sequelize[_0x8097('0x12')](0xb),'allowNull':!![]},'allowoverlap':{'type':Sequelize[_0x8097('0xe')](_0x8097('0x28'),'no'),'allowNull':!![]},'allowsubscribe':{'type':Sequelize[_0x8097('0xe')](_0x8097('0x28'),'no'),'allowNull':!![]},'allowtransfer':{'type':Sequelize[_0x8097('0xe')](_0x8097('0x28'),'no'),'allowNull':!![]},'ignoresdpversion':{'type':Sequelize[_0x8097('0xe')](_0x8097('0x28'),'no'),'allowNull':!![]},'subscribecontext':{'type':Sequelize[_0x8097('0x4')],'allowNull':!![]},'template':{'type':Sequelize['STRING'],'allowNull':!![]},'videosupport':{'type':Sequelize[_0x8097('0xe')](_0x8097('0x28'),'no',_0x8097('0x34')),'allowNull':!![],'defaultValue':'no'},'maxcallbitrate':{'type':Sequelize['INTEGER'](0xb),'allowNull':!![]},'rfc2833compensate':{'type':Sequelize['ENUM']('yes','no'),'allowNull':!![]},'mailbox':{'type':Sequelize[_0x8097('0x4')],'allowNull':!![]},'session_timers':{'type':Sequelize[_0x8097('0xe')]('accept',_0x8097('0x35'),_0x8097('0x36')),'allowNull':!![]},'session_expires':{'type':Sequelize[_0x8097('0x12')](0xb),'allowNull':!![]},'session_minse':{'type':Sequelize[_0x8097('0x12')](0xb),'allowNull':!![]},'session_refresher':{'type':Sequelize['ENUM'](_0x8097('0x37'),_0x8097('0x38')),'allowNull':!![],'defaultValue':_0x8097('0x38')},'t38pt_usertpsource':{'type':Sequelize[_0x8097('0x4')],'allowNull':!![]},'regexten':{'type':Sequelize['STRING'],'allowNull':!![]},'fromdomain':{'type':Sequelize['STRING'],'allowNull':!![]},'fromuser':{'type':Sequelize['STRING'],'allowNull':!![]},'qualify':{'type':Sequelize[_0x8097('0xe')](_0x8097('0x28'),'no'),'allowNull':!![],'defaultValue':_0x8097('0x28')},'keepalive':{'type':Sequelize[_0x8097('0x12')](0xb),'allowNull':!![]},'defaultip':{'type':Sequelize[_0x8097('0x4')],'allowNull':!![]},'defaultuser':{'type':Sequelize['STRING'],'allowNull':!![]},'rtptimeout':{'type':Sequelize[_0x8097('0x12')](0xb),'allowNull':!![]},'rtpholdtimeout':{'type':Sequelize[_0x8097('0x12')](0xb),'allowNull':!![]},'rtpkeepalive':{'type':Sequelize[_0x8097('0x12')](0xb),'allowNull':!![]},'sendrpid':{'type':Sequelize[_0x8097('0xe')](_0x8097('0x28'),'no'),'allowNull':!![],'defaultValue':'no'},'outboundproxy':{'type':Sequelize[_0x8097('0x4')],'allowNull':!![]},'callbackextension':{'type':Sequelize[_0x8097('0x4')],'allowNull':!![]},'timert1':{'type':Sequelize[_0x8097('0x12')](0xb),'allowNull':!![]},'timerb':{'type':Sequelize[_0x8097('0x12')](0xb),'allowNull':!![]},'qualifyfreq':{'type':Sequelize[_0x8097('0x12')](0xb),'allowNull':!![]},'contactpermit':{'type':Sequelize[_0x8097('0x4')],'allowNull':!![]},'contactdeny':{'type':Sequelize[_0x8097('0x4')],'allowNull':!![]},'contactacl':{'type':Sequelize[_0x8097('0x4')],'allowNull':!![]},'unsolicited_mailbox':{'type':Sequelize[_0x8097('0x4')],'allowNull':!![]},'use_q850_reason':{'type':Sequelize[_0x8097('0x4')],'allowNull':!![]},'maxforwards':{'type':Sequelize[_0x8097('0x12')](0xb),'allowNull':!![]},'encryption':{'type':Sequelize[_0x8097('0xe')](_0x8097('0x28'),'no'),'allowNull':!![],'defaultValue':'no'},'avpf':{'type':Sequelize['ENUM'](_0x8097('0x28'),'no'),'allowNull':!![]},'force_avp':{'type':Sequelize[_0x8097('0xe')](_0x8097('0x28'),'no'),'allowNull':!![]},'icesupport':{'type':Sequelize[_0x8097('0xe')](_0x8097('0x28'),'no'),'allowNull':!![]},'dtlsenable':{'type':Sequelize[_0x8097('0xe')](_0x8097('0x28'),'no'),'allowNull':!![]},'dtlsverify':{'type':Sequelize['ENUM'](_0x8097('0x28'),'no','fingerprint',_0x8097('0x39')),'allowNull':!![]},'dtlsrekey':{'type':Sequelize[_0x8097('0x12')](0xb),'allowNull':!![]},'dtlscertfile':{'type':Sequelize[_0x8097('0x4')],'allowNull':!![]},'dtlsprivatekey':{'type':Sequelize[_0x8097('0x4')],'allowNull':!![]},'dtlscipher':{'type':Sequelize[_0x8097('0x4')],'allowNull':!![]},'dtlscafile':{'type':Sequelize['STRING'],'allowNull':!![]},'dtlscapath':{'type':Sequelize[_0x8097('0x4')],'allowNull':!![]},'dtlssetup':{'type':Sequelize['ENUM'](_0x8097('0x3a'),_0x8097('0x3b'),_0x8097('0x3c')),'allowNull':!![]},'dtlsfingerprint':{'type':Sequelize[_0x8097('0x4')],'allowNull':!![]},'usereqphone':{'type':Sequelize['ENUM'](_0x8097('0x28'),'no'),'allowNull':!![],'defaultValue':'no'},'recordonfeature':{'type':Sequelize['STRING'],'allowNull':!![]},'recordofffeature':{'type':Sequelize[_0x8097('0x4')],'allowNull':!![]},'call_limit':{'type':Sequelize[_0x8097('0x12')](0xb),'allowNull':!![],'defaultValue':0xa},'registertrying':{'type':Sequelize[_0x8097('0xe')](_0x8097('0x28'),'no'),'allowNull':!![]},'subscribemwi':{'type':Sequelize[_0x8097('0xe')]('yes','no'),'allowNull':!![]},'vmexten':{'type':Sequelize['STRING'],'allowNull':!![]},'mohinterpret':{'type':Sequelize[_0x8097('0x4')],'allowNull':!![]},'mohsuggest':{'type':Sequelize[_0x8097('0x4')],'allowNull':!![]},'parkinglot':{'type':Sequelize['STRING'],'allowNull':!![]},'canreinvite':{'type':Sequelize[_0x8097('0xe')](_0x8097('0x28'),'no','nonat',_0x8097('0x2a'),'update,nonat'),'allowNull':!![],'defaultValue':'no'},'loginInPause':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'resetPasswordToken':{'type':Sequelize['STRING']},'resetPasswordExpires':{'type':Sequelize[_0x8097('0x17')]},'showWebBar':{'type':Sequelize[_0x8097('0x12')],'defaultValue':0x0,'set':function(_0x571484){this['setDataValue'](_0x8097('0x3d'),_0x571484);var _0x42a4b2=this[_0x8097('0x3e')]({'plain':!![]});switch(_0x571484){case 0x0:case 0x1:var _0x266f77=_0x42a4b2[_0x8097('0x23')]?_['isArray'](_0x42a4b2[_0x8097('0x23')])?_0x42a4b2[_0x8097('0x23')]['join']():_0x42a4b2[_0x8097('0x23')]:_0x8097('0x21');if(_0x266f77===_0x8097('0x3f')){_0x266f77=_0x8097('0x21');}this[_0x8097('0x6')]('transport',_0x266f77);this[_0x8097('0x6')]('encryption','no');this[_0x8097('0x6')]('avpf',null);this[_0x8097('0x6')](_0x8097('0x40'),null);this[_0x8097('0x6')]('icesupport',null);this[_0x8097('0x6')](_0x8097('0x41'),null);this[_0x8097('0x6')](_0x8097('0x42'),null);this['setDataValue'](_0x8097('0x43'),null);this[_0x8097('0x6')]('dtlscertfile',null);this['setDataValue'](_0x8097('0x44'),null);this[_0x8097('0x6')](_0x8097('0x45'),'no');break;case 0x2:this[_0x8097('0x6')](_0x8097('0x23'),_0x8097('0x3f'));this[_0x8097('0x6')](_0x8097('0x46'),_0x8097('0x28'));this[_0x8097('0x6')](_0x8097('0x47'),_0x8097('0x28'));this[_0x8097('0x6')]('force_avp',_0x8097('0x28'));this[_0x8097('0x6')](_0x8097('0x48'),_0x8097('0x28'));this[_0x8097('0x6')](_0x8097('0x41'),_0x8097('0x28'));this[_0x8097('0x6')]('dtlsverify','no');this[_0x8097('0x6')](_0x8097('0x43'),'actpass');this[_0x8097('0x6')](_0x8097('0x49'),_0x42a4b2['dtlscertfile']||_0x8097('0x4a'));this['setDataValue'](_0x8097('0x44'),_0x42a4b2[_0x8097('0x44')]||_0x8097('0x4b'));this[_0x8097('0x6')](_0x8097('0x45'),'yes');break;default:}}},'permissions':{'type':Sequelize['TEXT'],'set':function(_0x5ef32a){this[_0x8097('0x6')](_0x8097('0x4c'),_0x5ef32a?_0x5ef32a[_0x8097('0x22')](','):[]);},'get':function(){return this[_0x8097('0xb')](_0x8097('0x4c'))?_[_0x8097('0x4d')](this[_0x8097('0xb')](_0x8097('0x4c'))[_0x8097('0x24')](','),function(_0x43096e){return parseInt(_0x43096e,0xa);}):[];}},'phoneBarUnconditionalNumber':{'type':Sequelize['STRING']},'phoneBarNoReplyNumber':{'type':Sequelize[_0x8097('0x4')]},'phoneBarBusyNumber':{'type':Sequelize[_0x8097('0x4')]},'phoneBarUnconditional':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'phoneBarNoReply':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'phoneBarBusy':{'type':Sequelize[_0x8097('0x16')],'defaultValue':![]},'phoneBarDnd':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'phoneBarUnansweredCallBadge':{'type':Sequelize[_0x8097('0x16')],'defaultValue':!![]},'phoneBarEnableDtmfTone':{'type':Sequelize[_0x8097('0x16')],'defaultValue':![]},'phoneBarAutoAnswerDelay':{'type':Sequelize[_0x8097('0x12')],'defaultValue':0x0},'extensionMonitor':{'type':Sequelize[_0x8097('0x4')],'defaultValue':''},'crudPermissions':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'rtcp_mux':{'type':Sequelize[_0x8097('0xe')](_0x8097('0x28'),'no'),'defaultValue':'no'},'allowmessenger':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'phoneBarOutboundProxy':{'type':Sequelize[_0x8097('0x4')]},'passwordResetAt':{'type':Sequelize['DATE'],'defaultValue':null},'phoneBarEnableJaws':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'phoneBarEnableScreenRecordingByAgent':{'type':Sequelize[_0x8097('0x16')],'defaultValue':![]},'phoneBarEnableVideoRecording':{'type':Sequelize[_0x8097('0x4e')],'get':function(){return this[_0x8097('0xb')]('phoneBarEnableScreenRecordingByAgent')?this[_0x8097('0xb')]('phoneBarEnableScreenRecordingByAgent'):![];}},'phoneBarEnableAutomaticScreenRecording':{'type':Sequelize[_0x8097('0x16')],'defaultValue':![]},'phoneBarPrefixRequired':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'hotdesk':{'type':Sequelize[_0x8097('0x16')],'defaultValue':![]},'interface':{'type':Sequelize['STRING'],'defaultValue':null},'privacyEnabled':{'type':Sequelize[_0x8097('0x16')],'defaultValue':![]},'apiKeyNonce':{'type':Sequelize[_0x8097('0x4')],'allowNull':!![]},'apiKeyIat':{'type':Sequelize[_0x8097('0x4')],'allowNull':!![]},'screenrecording':{'type':Sequelize[_0x8097('0x16')],'defaultValue':![],'set':function(_0x469b58){if(typeof _0x469b58===_0x8097('0x4f')){var _0x2c417a=_0x469b58==='1'?!![]:_0x469b58==='0'?![]:_0x469b58==='true'?!![]:_0x469b58==='false'?![]:![];this['setDataValue'](_0x8097('0x50'),_0x2c417a);}else{this['setDataValue'](_0x8097('0x50'),_0x469b58);}}},'blocked':{'type':Sequelize[_0x8097('0x16')],'defaultValue':![],'set':function(_0x1aaaa8){this[_0x8097('0x6')](_0x8097('0x51'),_0x1aaaa8);if(_0x1aaaa8===!![]){this[_0x8097('0x6')]('blockedAt',moment());this[_0x8097('0x6')](_0x8097('0x52'),0x0);}else{this[_0x8097('0x6')](_0x8097('0x53'),null);}}},'blockedAt':{'type':Sequelize[_0x8097('0x17')],'defaultValue':null},'loginAttempts':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'disabled':{'type':Sequelize[_0x8097('0x16')],'defaultValue':![]}};