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 _0x7b56=['nonat','update,nonat','showWebBar','get','transport','isArray','wss','encryption','force_avp','dtlsenable','dtlscertfile','dtlsprivatekey','rtcp_mux','avpf','icesupport','dtlsverify','dtlssetup','actpass','/etc/pki/tls/certs/motion.crt','/etc/pki/tls/private/motion.key','TEXT','permissions','phoneBarEnableScreenRecordingByAgent','string','true','false','screenrecording','blockedAt','sequelize','moment','util','lodash','STRING','name','setDataValue','defaultuser','The\x20name\x20of\x20the\x20user','callerid','format','getDataValue','internal','email','toLowerCase','ENUM','admin','user','agent','telephone','local','INTEGER','fullname','BOOLEAN','DATE','DEFAULT\x20PAUSE','dynamic','friend','peer','ALLOWED_FAILED_SCREEN','PROHIB_NOT_SCREENED','PROHIB_FAILED_SCREEN','udp','join','split','rfc2833','info','shortinfo','inband','auto','yes','update','outgoing','force_rport,comedia','nat','all','allow','ulaw;alaw;gsm','insecure','String\x20is\x20deprecated.\x20Please\x20use\x20an\x20Array\x20as\x20[\x22port\x22,\x20\x22invite\x22]','never','accept','refuse','originate','uac','uas','fingerprint','passive'];(function(_0x52fcbb,_0x374e6b){var _0x2cd70c=function(_0x10f787){while(--_0x10f787){_0x52fcbb['push'](_0x52fcbb['shift']());}};_0x2cd70c(++_0x374e6b);}(_0x7b56,0xc8));var _0x67b5=function(_0x4db3ce,_0x4a722e){_0x4db3ce=_0x4db3ce-0x0;var _0x293191=_0x7b56[_0x4db3ce];return _0x293191;};'use strict';var Sequelize=require(_0x67b5('0x0'));var moment=require(_0x67b5('0x1'));var util=require(_0x67b5('0x2'));var _=require(_0x67b5('0x3'));module['exports']={'name':{'type':Sequelize[_0x67b5('0x4')],'allowNull':![],'unique':_0x67b5('0x5'),'validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i},'set':function(_0x3f0307){this[_0x67b5('0x6')]('name',_0x3f0307);this['setDataValue'](_0x67b5('0x7'),_0x3f0307);},'comment':_0x67b5('0x8')},'fullname':{'type':Sequelize['STRING'],'allowNull':![],'set':function(_0x534f0a){this['setDataValue']('fullname',_0x534f0a);this['setDataValue'](_0x67b5('0x9'),util[_0x67b5('0xa')]('\x22%s\x22\x20<%s>',_0x534f0a,this[_0x67b5('0xb')](_0x67b5('0xc'))));}},'alias':{'type':Sequelize['STRING']},'email':{'type':Sequelize[_0x67b5('0x4')],'allowNull':![],'unique':_0x67b5('0xd'),'validate':{'isEmail':!![]},'set':function(_0x2bad09){if(_0x2bad09){this[_0x67b5('0x6')](_0x67b5('0xd'),_0x2bad09[_0x67b5('0xe')]());}}},'role':{'type':Sequelize[_0x67b5('0xf')](_0x67b5('0x10'),_0x67b5('0x11'),_0x67b5('0x12'),_0x67b5('0x13')),'allowNull':![]},'password':{'type':Sequelize[_0x67b5('0x4')],'allowNull':![],'validate':{'notEmpty':!![]}},'provider':{'type':Sequelize['STRING'],'defaultValue':_0x67b5('0x14')},'internal':{'type':Sequelize[_0x67b5('0x15')](0xb),'allowNull':![],'unique':_0x67b5('0xc'),'set':function(_0x394a6e){this[_0x67b5('0x6')](_0x67b5('0xc'),_0x394a6e);this[_0x67b5('0x6')]('accountcode',_0x394a6e);this[_0x67b5('0x6')](_0x67b5('0x9'),util[_0x67b5('0xa')]('\x22%s\x22\x20<%s>',this[_0x67b5('0xb')](_0x67b5('0x16')),_0x394a6e));}},'salt':{'type':Sequelize[_0x67b5('0x4')]},'phone':{'type':Sequelize[_0x67b5('0x4')]},'mobile':{'type':Sequelize['STRING']},'address':{'type':Sequelize[_0x67b5('0x4')]},'zipcode':{'type':Sequelize[_0x67b5('0x4')]},'userpic':{'type':Sequelize[_0x67b5('0x4')]},'city':{'type':Sequelize['STRING']},'country':{'type':Sequelize['STRING']},'online':{'type':Sequelize[_0x67b5('0x17')],'defaultValue':![]},'lastLoginAt':{'type':Sequelize[_0x67b5('0x18')]},'voicePause':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'chatPause':{'type':Sequelize[_0x67b5('0x17')],'defaultValue':![]},'mailPause':{'type':Sequelize[_0x67b5('0x17')],'defaultValue':![]},'faxPause':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'smsPause':{'type':Sequelize[_0x67b5('0x17')],'defaultValue':![]},'whatsappPause':{'type':Sequelize[_0x67b5('0x17')],'defaultValue':![]},'openchannelPause':{'type':Sequelize[_0x67b5('0x17')],'defaultValue':![]},'pauseType':{'type':Sequelize[_0x67b5('0x4')],'defaultValue':_0x67b5('0x19')},'lastPauseAt':{'type':Sequelize['DATE']},'chatCapacity':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'mailCapacity':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'faxCapacity':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'smsCapacity':{'type':Sequelize[_0x67b5('0x15')],'defaultValue':0x0},'whatsappCapacity':{'type':Sequelize[_0x67b5('0x15')],'defaultValue':0x0},'openchannelCapacity':{'type':Sequelize[_0x67b5('0x15')],'defaultValue':0x0},'phoneBarAutoAnswer':{'type':Sequelize[_0x67b5('0x17')],'defaultValue':![]},'phoneBarEnableSettings':{'type':Sequelize[_0x67b5('0x17')],'defaultValue':!![]},'phoneBarListenPort':{'type':Sequelize[_0x67b5('0x15')](0x5),'defaultValue':0x1428},'phoneBarExpires':{'type':Sequelize[_0x67b5('0x15')](0x5),'defaultValue':0x78},'phoneBarRemoteControl':{'type':Sequelize[_0x67b5('0x17')],'defaultValue':![]},'phoneBarRemoteControlPort':{'type':Sequelize[_0x67b5('0x15')],'defaultValue':0x26a0},'phoneBarEnableRecording':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'phoneBarRingInUse':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'chanspy':{'type':Sequelize[_0x67b5('0x17')],'defaultValue':![]},'description':{'type':Sequelize[_0x67b5('0x4')],'allowNull':!![]},'host':{'type':Sequelize[_0x67b5('0x4')],'allowNull':!![],'defaultValue':_0x67b5('0x1a')},'ipaddr':{'type':Sequelize[_0x67b5('0x4')],'allowNull':!![]},'port':{'type':Sequelize['INTEGER'](0x5),'allowNull':!![]},'regseconds':{'type':Sequelize[_0x67b5('0x15')](0xb),'allowNull':!![]},'fullcontact':{'type':Sequelize['STRING'],'allowNull':!![]},'regserver':{'type':Sequelize[_0x67b5('0x4')],'allowNull':!![]},'useragent':{'type':Sequelize['STRING'],'allowNull':!![]},'lastms':{'type':Sequelize[_0x67b5('0x15')](0xb),'allowNull':!![]},'type':{'type':Sequelize[_0x67b5('0xf')](_0x67b5('0x1b'),_0x67b5('0x11'),_0x67b5('0x1c')),'allowNull':!![],'defaultValue':_0x67b5('0x1b')},'context':{'type':Sequelize[_0x67b5('0x4')],'allowNull':!![],'defaultValue':'from-sip'},'callingpres':{'type':Sequelize[_0x67b5('0xf')]('ALLOWED_NOT_SCREENED','ALLOWED_PASSED_SCREEN',_0x67b5('0x1d'),'ALLOWED',_0x67b5('0x1e'),'PROHIB_PASSED_SCREEN',_0x67b5('0x1f'),'PROHIB'),'allowNull':!![]},'deny':{'type':Sequelize[_0x67b5('0x4')],'allowNull':!![]},'permit':{'type':Sequelize['STRING'],'allowNull':!![]},'secret':{'type':Sequelize['STRING'],'allowNull':!![]},'md5secret':{'type':Sequelize[_0x67b5('0x4')],'allowNull':!![]},'remotesecret':{'type':Sequelize[_0x67b5('0x4')],'allowNull':!![]},'transport':{'type':Sequelize[_0x67b5('0x4')],'allowNull':!![],'defaultValue':_0x67b5('0x20'),'set':function(_0x122b53){this[_0x67b5('0x6')]('transport',_0x122b53?_0x122b53[_0x67b5('0x21')](','):null);},'get':function(){return this[_0x67b5('0xb')]('transport')?this[_0x67b5('0xb')]('transport')[_0x67b5('0x22')](','):null;},'comment':'String\x20is\x20deprecated.\x20Please\x20use\x20an\x20Array\x20as\x20[\x22udp\x22,\x20\x22tcp\x22]'},'dtmfmode':{'type':Sequelize[_0x67b5('0xf')](_0x67b5('0x23'),_0x67b5('0x24'),_0x67b5('0x25'),_0x67b5('0x26'),_0x67b5('0x27')),'allowNull':!![],'defaultValue':_0x67b5('0x23')},'directmedia':{'type':Sequelize[_0x67b5('0xf')](_0x67b5('0x28'),'no','nonat',_0x67b5('0x29'),_0x67b5('0x2a')),'allowNull':!![],'defaultValue':'no'},'directrtpsetup':{'type':Sequelize[_0x67b5('0xf')]('yes','no'),'allowNull':!![],'defaultValue':'no'},'directmediapermit':{'type':Sequelize[_0x67b5('0x4')],'allowNull':!![]},'directmediadeny':{'type':Sequelize[_0x67b5('0x4')],'allowNull':!![]},'nat':{'type':Sequelize[_0x67b5('0x4')],'allowNull':!![],'defaultValue':_0x67b5('0x2b'),'set':function(_0x46fd75){this[_0x67b5('0x6')]('nat',_0x46fd75?_0x46fd75[_0x67b5('0x21')](','):null);},'get':function(){return this[_0x67b5('0xb')](_0x67b5('0x2c'))?this[_0x67b5('0xb')]('nat')[_0x67b5('0x22')](','):null;},'comment':'String\x20is\x20deprecated.\x20Please\x20use\x20an\x20Array\x20as\x20[\x22force_rport\x22,\x20\x22comedia\x22]'},'callgroup':{'type':Sequelize['STRING']},'namedcallgroup':{'type':Sequelize[_0x67b5('0x4')]},'pickupgroup':{'type':Sequelize[_0x67b5('0x4')]},'namedpickupgroup':{'type':Sequelize[_0x67b5('0x4')]},'language':{'type':Sequelize['STRING'],'defaultValue':'en'},'tonezone':{'type':Sequelize[_0x67b5('0x4')]},'disallow':{'type':Sequelize[_0x67b5('0x4')],'allowNull':![],'defaultValue':_0x67b5('0x2d')},'allow':{'type':Sequelize['STRING'],'allowNull':![],'defaultValue':'ulaw;alaw;gsm','set':function(_0x172028){this['setDataValue'](_0x67b5('0x2e'),_0x172028?_0x172028['join'](';'):_0x67b5('0x2f'));},'get':function(){return this[_0x67b5('0xb')](_0x67b5('0x2e'))?this[_0x67b5('0xb')]('allow')[_0x67b5('0x22')](';'):null;},'comment':'String\x20is\x20deprecated.\x20Please\x20use\x20an\x20Array\x20as\x20[\x22ulaw\x22,\x20\x22alaw\x22,\x20\x22gsm\x22]'},'autoframing':{'type':Sequelize[_0x67b5('0xf')](_0x67b5('0x28'),'no'),'allowNull':!![]},'insecure':{'type':Sequelize[_0x67b5('0x4')],'allowNull':!![],'set':function(_0x29ef59){this['setDataValue'](_0x67b5('0x30'),_0x29ef59?_0x29ef59[_0x67b5('0x21')](','):null);},'get':function(){return this['getDataValue']('insecure')?this[_0x67b5('0xb')](_0x67b5('0x30'))[_0x67b5('0x22')](','):null;},'comment':_0x67b5('0x31')},'trustrpid':{'type':Sequelize[_0x67b5('0xf')]('yes','no'),'allowNull':!![],'defaultValue':'no'},'trust_id_outbound':{'type':Sequelize[_0x67b5('0xf')](_0x67b5('0x28'),'no'),'allowNull':!![],'defaultValue':'no'},'progressinband':{'type':Sequelize['ENUM'](_0x67b5('0x28'),'no',_0x67b5('0x32')),'allowNull':!![]},'promiscredir':{'type':Sequelize[_0x67b5('0xf')](_0x67b5('0x28'),'no'),'allowNull':!![]},'useclientcode':{'type':Sequelize[_0x67b5('0xf')](_0x67b5('0x28'),'no'),'allowNull':!![]},'accountcode':{'type':Sequelize[_0x67b5('0x15')](0xb),'allowNull':!![]},'setvar':{'type':Sequelize[_0x67b5('0x4')],'allowNull':!![]},'callerid':{'type':Sequelize[_0x67b5('0x4')],'allowNull':!![],'defaultValue':'\x22\x22\x20<>'},'amaflags':{'type':Sequelize[_0x67b5('0x4')],'allowNull':!![]},'callcounter':{'type':Sequelize[_0x67b5('0xf')]('yes','no'),'allowNull':!![],'defaultValue':_0x67b5('0x28')},'busylevel':{'type':Sequelize[_0x67b5('0x15')](0xb),'allowNull':!![]},'allowoverlap':{'type':Sequelize[_0x67b5('0xf')](_0x67b5('0x28'),'no'),'allowNull':!![]},'allowsubscribe':{'type':Sequelize[_0x67b5('0xf')]('yes','no'),'allowNull':!![]},'allowtransfer':{'type':Sequelize[_0x67b5('0xf')](_0x67b5('0x28'),'no'),'allowNull':!![]},'ignoresdpversion':{'type':Sequelize[_0x67b5('0xf')]('yes','no'),'allowNull':!![]},'subscribecontext':{'type':Sequelize['STRING'],'allowNull':!![]},'template':{'type':Sequelize['STRING'],'allowNull':!![]},'videosupport':{'type':Sequelize['ENUM'](_0x67b5('0x28'),'no','always'),'allowNull':!![],'defaultValue':'no'},'maxcallbitrate':{'type':Sequelize[_0x67b5('0x15')](0xb),'allowNull':!![]},'rfc2833compensate':{'type':Sequelize[_0x67b5('0xf')](_0x67b5('0x28'),'no'),'allowNull':!![]},'mailbox':{'type':Sequelize[_0x67b5('0x4')],'allowNull':!![]},'session_timers':{'type':Sequelize['ENUM'](_0x67b5('0x33'),_0x67b5('0x34'),_0x67b5('0x35')),'allowNull':!![]},'session_expires':{'type':Sequelize[_0x67b5('0x15')](0xb),'allowNull':!![]},'session_minse':{'type':Sequelize[_0x67b5('0x15')](0xb),'allowNull':!![]},'session_refresher':{'type':Sequelize['ENUM'](_0x67b5('0x36'),_0x67b5('0x37')),'allowNull':!![],'defaultValue':'uas'},'t38pt_usertpsource':{'type':Sequelize[_0x67b5('0x4')],'allowNull':!![]},'regexten':{'type':Sequelize[_0x67b5('0x4')],'allowNull':!![]},'fromdomain':{'type':Sequelize[_0x67b5('0x4')],'allowNull':!![]},'fromuser':{'type':Sequelize[_0x67b5('0x4')],'allowNull':!![]},'qualify':{'type':Sequelize[_0x67b5('0xf')](_0x67b5('0x28'),'no'),'allowNull':!![],'defaultValue':_0x67b5('0x28')},'keepalive':{'type':Sequelize['INTEGER'](0xb),'allowNull':!![]},'defaultip':{'type':Sequelize[_0x67b5('0x4')],'allowNull':!![]},'defaultuser':{'type':Sequelize[_0x67b5('0x4')],'allowNull':!![]},'rtptimeout':{'type':Sequelize[_0x67b5('0x15')](0xb),'allowNull':!![]},'rtpholdtimeout':{'type':Sequelize[_0x67b5('0x15')](0xb),'allowNull':!![]},'rtpkeepalive':{'type':Sequelize[_0x67b5('0x15')](0xb),'allowNull':!![]},'sendrpid':{'type':Sequelize[_0x67b5('0xf')]('yes','no'),'allowNull':!![],'defaultValue':'no'},'outboundproxy':{'type':Sequelize[_0x67b5('0x4')],'allowNull':!![]},'callbackextension':{'type':Sequelize[_0x67b5('0x4')],'allowNull':!![]},'timert1':{'type':Sequelize[_0x67b5('0x15')](0xb),'allowNull':!![]},'timerb':{'type':Sequelize[_0x67b5('0x15')](0xb),'allowNull':!![]},'qualifyfreq':{'type':Sequelize[_0x67b5('0x15')](0xb),'allowNull':!![]},'contactpermit':{'type':Sequelize[_0x67b5('0x4')],'allowNull':!![]},'contactdeny':{'type':Sequelize[_0x67b5('0x4')],'allowNull':!![]},'contactacl':{'type':Sequelize[_0x67b5('0x4')],'allowNull':!![]},'unsolicited_mailbox':{'type':Sequelize[_0x67b5('0x4')],'allowNull':!![]},'use_q850_reason':{'type':Sequelize[_0x67b5('0x4')],'allowNull':!![]},'maxforwards':{'type':Sequelize[_0x67b5('0x15')](0xb),'allowNull':!![]},'encryption':{'type':Sequelize[_0x67b5('0xf')](_0x67b5('0x28'),'no'),'allowNull':!![],'defaultValue':'no'},'avpf':{'type':Sequelize[_0x67b5('0xf')]('yes','no'),'allowNull':!![]},'force_avp':{'type':Sequelize[_0x67b5('0xf')]('yes','no'),'allowNull':!![]},'icesupport':{'type':Sequelize[_0x67b5('0xf')](_0x67b5('0x28'),'no'),'allowNull':!![]},'dtlsenable':{'type':Sequelize[_0x67b5('0xf')](_0x67b5('0x28'),'no'),'allowNull':!![]},'dtlsverify':{'type':Sequelize[_0x67b5('0xf')](_0x67b5('0x28'),'no',_0x67b5('0x38'),'certificate'),'allowNull':!![]},'dtlsrekey':{'type':Sequelize[_0x67b5('0x15')](0xb),'allowNull':!![]},'dtlscertfile':{'type':Sequelize[_0x67b5('0x4')],'allowNull':!![]},'dtlsprivatekey':{'type':Sequelize['STRING'],'allowNull':!![]},'dtlscipher':{'type':Sequelize[_0x67b5('0x4')],'allowNull':!![]},'dtlscafile':{'type':Sequelize[_0x67b5('0x4')],'allowNull':!![]},'dtlscapath':{'type':Sequelize[_0x67b5('0x4')],'allowNull':!![]},'dtlssetup':{'type':Sequelize['ENUM']('active',_0x67b5('0x39'),'actpass'),'allowNull':!![]},'dtlsfingerprint':{'type':Sequelize[_0x67b5('0x4')],'allowNull':!![]},'usereqphone':{'type':Sequelize[_0x67b5('0xf')](_0x67b5('0x28'),'no'),'allowNull':!![],'defaultValue':'no'},'recordonfeature':{'type':Sequelize[_0x67b5('0x4')],'allowNull':!![]},'recordofffeature':{'type':Sequelize[_0x67b5('0x4')],'allowNull':!![]},'call_limit':{'type':Sequelize[_0x67b5('0x15')](0xb),'allowNull':!![],'defaultValue':0xa},'registertrying':{'type':Sequelize[_0x67b5('0xf')]('yes','no'),'allowNull':!![]},'subscribemwi':{'type':Sequelize[_0x67b5('0xf')]('yes','no'),'allowNull':!![]},'vmexten':{'type':Sequelize['STRING'],'allowNull':!![]},'mohinterpret':{'type':Sequelize[_0x67b5('0x4')],'allowNull':!![]},'mohsuggest':{'type':Sequelize[_0x67b5('0x4')],'allowNull':!![]},'parkinglot':{'type':Sequelize['STRING'],'allowNull':!![]},'canreinvite':{'type':Sequelize[_0x67b5('0xf')](_0x67b5('0x28'),'no',_0x67b5('0x3a'),_0x67b5('0x29'),_0x67b5('0x3b')),'allowNull':!![],'defaultValue':'no'},'loginInPause':{'type':Sequelize[_0x67b5('0x17')],'defaultValue':![]},'resetPasswordToken':{'type':Sequelize[_0x67b5('0x4')]},'resetPasswordExpires':{'type':Sequelize['DATE']},'showWebBar':{'type':Sequelize['INTEGER'],'defaultValue':0x0,'set':function(_0x4963e5){this[_0x67b5('0x6')](_0x67b5('0x3c'),_0x4963e5);var _0x312b05=this[_0x67b5('0x3d')]({'plain':!![]});switch(_0x4963e5){case 0x0:case 0x1:var _0x30c7f2=_0x312b05[_0x67b5('0x3e')]?_[_0x67b5('0x3f')](_0x312b05[_0x67b5('0x3e')])?_0x312b05[_0x67b5('0x3e')]['join']():_0x312b05[_0x67b5('0x3e')]:_0x67b5('0x20');if(_0x30c7f2===_0x67b5('0x40')){_0x30c7f2=_0x67b5('0x20');}this[_0x67b5('0x6')](_0x67b5('0x3e'),_0x30c7f2);this[_0x67b5('0x6')](_0x67b5('0x41'),'no');this[_0x67b5('0x6')]('avpf',null);this['setDataValue'](_0x67b5('0x42'),null);this[_0x67b5('0x6')]('icesupport',null);this['setDataValue'](_0x67b5('0x43'),null);this[_0x67b5('0x6')]('dtlsverify',null);this['setDataValue']('dtlssetup',null);this['setDataValue'](_0x67b5('0x44'),null);this[_0x67b5('0x6')](_0x67b5('0x45'),null);this[_0x67b5('0x6')](_0x67b5('0x46'),'no');break;case 0x2:this[_0x67b5('0x6')]('transport',_0x67b5('0x40'));this[_0x67b5('0x6')](_0x67b5('0x41'),_0x67b5('0x28'));this[_0x67b5('0x6')](_0x67b5('0x47'),'yes');this[_0x67b5('0x6')](_0x67b5('0x42'),'yes');this[_0x67b5('0x6')](_0x67b5('0x48'),_0x67b5('0x28'));this['setDataValue'](_0x67b5('0x43'),_0x67b5('0x28'));this[_0x67b5('0x6')](_0x67b5('0x49'),'no');this[_0x67b5('0x6')](_0x67b5('0x4a'),_0x67b5('0x4b'));this[_0x67b5('0x6')](_0x67b5('0x44'),_0x312b05[_0x67b5('0x44')]||_0x67b5('0x4c'));this[_0x67b5('0x6')](_0x67b5('0x45'),_0x312b05['dtlsprivatekey']||_0x67b5('0x4d'));this[_0x67b5('0x6')]('rtcp_mux',_0x67b5('0x28'));break;default:}}},'permissions':{'type':Sequelize[_0x67b5('0x4e')],'set':function(_0x30c5dd){this[_0x67b5('0x6')](_0x67b5('0x4f'),_0x30c5dd?_0x30c5dd[_0x67b5('0x21')](','):[]);},'get':function(){return this[_0x67b5('0xb')]('permissions')?_['map'](this[_0x67b5('0xb')](_0x67b5('0x4f'))['split'](','),function(_0x27d741){return parseInt(_0x27d741,0xa);}):[];}},'phoneBarUnconditionalNumber':{'type':Sequelize[_0x67b5('0x4')]},'phoneBarNoReplyNumber':{'type':Sequelize['STRING']},'phoneBarBusyNumber':{'type':Sequelize[_0x67b5('0x4')]},'phoneBarUnconditional':{'type':Sequelize[_0x67b5('0x17')],'defaultValue':![]},'phoneBarNoReply':{'type':Sequelize[_0x67b5('0x17')],'defaultValue':![]},'phoneBarBusy':{'type':Sequelize[_0x67b5('0x17')],'defaultValue':![]},'phoneBarDnd':{'type':Sequelize[_0x67b5('0x17')],'defaultValue':!![]},'phoneBarUnansweredCallBadge':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'phoneBarEnableDtmfTone':{'type':Sequelize[_0x67b5('0x17')],'defaultValue':![]},'phoneBarAutoAnswerDelay':{'type':Sequelize[_0x67b5('0x15')],'defaultValue':0x0},'extensionMonitor':{'type':Sequelize[_0x67b5('0x4')],'defaultValue':''},'crudPermissions':{'type':Sequelize[_0x67b5('0x15')],'defaultValue':0x0},'rtcp_mux':{'type':Sequelize[_0x67b5('0xf')](_0x67b5('0x28'),'no'),'defaultValue':'no'},'allowmessenger':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'phoneBarOutboundProxy':{'type':Sequelize[_0x67b5('0x4')]},'passwordResetAt':{'type':Sequelize[_0x67b5('0x18')],'defaultValue':null},'phoneBarEnableJaws':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'phoneBarEnableScreenRecordingByAgent':{'type':Sequelize[_0x67b5('0x17')],'defaultValue':![]},'phoneBarEnableVideoRecording':{'type':Sequelize['VIRTUAL'],'get':function(){return this[_0x67b5('0xb')](_0x67b5('0x50'))?this['getDataValue'](_0x67b5('0x50')):![];}},'phoneBarEnableAutomaticScreenRecording':{'type':Sequelize[_0x67b5('0x17')],'defaultValue':![]},'phoneBarPrefixRequired':{'type':Sequelize[_0x67b5('0x17')],'defaultValue':![]},'hotdesk':{'type':Sequelize[_0x67b5('0x17')],'defaultValue':![]},'interface':{'type':Sequelize[_0x67b5('0x4')],'defaultValue':null},'privacyEnabled':{'type':Sequelize[_0x67b5('0x17')],'defaultValue':![]},'apiKeyNonce':{'type':Sequelize['STRING'],'allowNull':!![]},'apiKeyIat':{'type':Sequelize[_0x67b5('0x4')],'allowNull':!![]},'screenrecording':{'type':Sequelize['BOOLEAN'],'defaultValue':![],'set':function(_0x572b68){if(typeof _0x572b68===_0x67b5('0x51')){var _0x540dc5=_0x572b68==='1'?!![]:_0x572b68==='0'?![]:_0x572b68===_0x67b5('0x52')?!![]:_0x572b68===_0x67b5('0x53')?![]:![];this['setDataValue'](_0x67b5('0x54'),_0x540dc5);}else{this[_0x67b5('0x6')](_0x67b5('0x54'),_0x572b68);}}},'blocked':{'type':Sequelize['BOOLEAN'],'defaultValue':![],'set':function(_0x31a068){this['setDataValue']('blocked',_0x31a068);if(_0x31a068===!![]){this[_0x67b5('0x6')](_0x67b5('0x55'),moment());this['setDataValue']('loginAttempts',0x0);}else{this[_0x67b5('0x6')](_0x67b5('0x55'),null);}}},'blockedAt':{'type':Sequelize[_0x67b5('0x18')],'defaultValue':null},'loginAttempts':{'type':Sequelize[_0x67b5('0x15')],'defaultValue':0x0},'disabled':{'type':Sequelize[_0x67b5('0x17')],'defaultValue':![]}};