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