399f9b3817274d1fffa8aee8e07991140de1da3a
[motion-next.git] / server / api / mailAccount / mailAccount.attributes.js
1 const a393_0x213f=['Arial,Helvetica,sans-serif','BOOLEAN','setDataValue','TEXT','Account:\x20{{account.name}}<br/>{{#queue}}Queue:\x20{{queue.name}}<br/>{{/queue}}From\x20:\x20{{from}}<br/>Subject\x20:\x20{{message.subject}}','mandatoryDispositionPauseId','STRING','mandatoryDisposition','INTEGER','exports','Status\x20to\x20put\x20when\x20mandatory\x20disposition\x20is\x20enabled'];(function(_0x529364,_0x213ffc){const _0x49151b=function(_0x5a6fb7){while(--_0x5a6fb7){_0x529364['push'](_0x529364['shift']());}};_0x49151b(++_0x213ffc);}(a393_0x213f,0xd3));const a393_0x4915=function(_0x529364,_0x213ffc){_0x529364=_0x529364-0x0;let _0x49151b=a393_0x213f[_0x529364];return _0x49151b;};const _0x1d67ad=a393_0x4915;'use strict';const Sequelize=require('sequelize');module[_0x1d67ad('0x7')]={'description':{'type':Sequelize[_0x1d67ad('0x4')]},'name':{'type':Sequelize[_0x1d67ad('0x4')],'allowNull':![]},'service':{'type':Sequelize[_0x1d67ad('0xa')],'defaultValue':![]},'email':{'type':Sequelize[_0x1d67ad('0x4')],'validate':{'isEmail':!![]}},'active':{'type':Sequelize[_0x1d67ad('0xa')],'defaultValue':!![]},'key':{'type':Sequelize[_0x1d67ad('0x4')],'allowNull':![]},'template':{'type':Sequelize[_0x1d67ad('0x1')]},'markAsUnread':{'type':Sequelize[_0x1d67ad('0xa')],'defaultValue':![]},'fontFamily':{'type':Sequelize[_0x1d67ad('0x4')],'allowNull':![],'defaultValue':_0x1d67ad('0x9')},'fontSize':{'type':Sequelize[_0x1d67ad('0x6')](0x2)['UNSIGNED'],'defaultValue':0xd,'validate':{'min':0x8,'max':0x48}},'notificationTemplate':{'type':Sequelize['TEXT'],'defaultValue':function(){const _0x49fc17=_0x1d67ad;return _0x49fc17('0x2');}},'notificationSound':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'notificationShake':{'type':Sequelize[_0x1d67ad('0xa')],'defaultValue':![]},'waitForTheAssignedAgent':{'type':Sequelize[_0x1d67ad('0x6')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0xa},'queueTransfer':{'type':Sequelize[_0x1d67ad('0xa')],'defaultValue':![]},'queueTransferTimeout':{'type':Sequelize[_0x1d67ad('0x6')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c},'agentTransfer':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'agentTransferTimeout':{'type':Sequelize['INTEGER'],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c},'mandatoryDispositionPauseId':{'type':Sequelize['INTEGER'],'allowNull':!![],'defaultValue':null,'comment':_0x1d67ad('0x8')},'mandatoryDisposition':{'type':Sequelize['BOOLEAN'],'defaultValue':![],'comment':'Enabled/disables\x20mandatory\x20dispo\x20on\x20a\x20queue','set':function(_0x5a6fb7){const _0x596d27=_0x1d67ad;if(!_0x5a6fb7)this['setDataValue'](_0x596d27('0x3'),null);this[_0x596d27('0x0')](_0x596d27('0x5'),_0x5a6fb7);}}};