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