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