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