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