8b9a2588648f9d3a6b3cc410fe77516367a3a0c7
[motion-next.git] / server / api / mailAccount / mailAccount.attributes.js
1 const a474_0x5db4=['UNSIGNED','INTEGER','mandatoryDispositionPauseId','BOOLEAN','sequelize','Status\x20to\x20put\x20when\x20mandatory\x20disposition\x20is\x20enabled','Account:\x20{{account.name}}<br/>{{#queue}}Queue:\x20{{queue.name}}<br/>{{/queue}}From\x20:\x20{{from}}<br/>Subject\x20:\x20{{message.subject}}','attributes','setDataValue','STRING','Enabled/disables\x20mandatory\x20dispo\x20on\x20a\x20queue'];(function(_0x5d371c,_0x4ffb2e){const _0x5db433=function(_0x16fd7a){while(--_0x16fd7a){_0x5d371c['push'](_0x5d371c['shift']());}};_0x5db433(++_0x4ffb2e);}(a474_0x5db4,0x1ac));const a474_0x16fd=function(_0x5d371c,_0x4ffb2e){_0x5d371c=_0x5d371c-0x195;let _0x5db433=a474_0x5db4[_0x5d371c];return _0x5db433;};const a474_0x3ecf1c=a474_0x16fd;'use strict';const {DataTypes}=require(a474_0x3ecf1c(0x19a)),attributes={'description':{'type':DataTypes['STRING']},'name':{'type':DataTypes[a474_0x3ecf1c(0x19f)],'allowNull':![]},'service':{'type':DataTypes[a474_0x3ecf1c(0x199)],'defaultValue':![]},'email':{'type':DataTypes[a474_0x3ecf1c(0x19f)],'validate':{'isEmail':!![]}},'active':{'type':DataTypes[a474_0x3ecf1c(0x199)],'defaultValue':!![]},'key':{'type':DataTypes[a474_0x3ecf1c(0x19f)],'allowNull':![]},'template':{'type':DataTypes['TEXT']},'markAsUnread':{'type':DataTypes[a474_0x3ecf1c(0x199)],'defaultValue':![]},'fontFamily':{'type':DataTypes[a474_0x3ecf1c(0x19f)],'allowNull':![],'defaultValue':'Arial,Helvetica,sans-serif'},'fontSize':{'type':DataTypes[a474_0x3ecf1c(0x197)]({'length':0x2})[a474_0x3ecf1c(0x196)],'defaultValue':0xd,'validate':{'min':0x8,'max':0x48}},'notificationTemplate':{'type':DataTypes['TEXT'],'defaultValue':function(){const _0xedfaa=a474_0x3ecf1c;return _0xedfaa(0x19c);}},'notificationSound':{'type':DataTypes['BOOLEAN'],'defaultValue':!![]},'notificationShake':{'type':DataTypes[a474_0x3ecf1c(0x199)],'defaultValue':![]},'waitForTheAssignedAgent':{'type':DataTypes[a474_0x3ecf1c(0x197)],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0xa},'queueTransfer':{'type':DataTypes[a474_0x3ecf1c(0x199)],'defaultValue':![]},'queueTransferTimeout':{'type':DataTypes[a474_0x3ecf1c(0x197)],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c},'agentTransfer':{'type':DataTypes[a474_0x3ecf1c(0x199)],'defaultValue':![]},'agentTransferTimeout':{'type':DataTypes[a474_0x3ecf1c(0x197)],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c},'mandatoryDispositionPauseId':{'type':DataTypes['INTEGER'],'allowNull':!![],'defaultValue':null,'comment':a474_0x3ecf1c(0x19b)},'mandatoryDisposition':{'type':DataTypes['BOOLEAN'],'defaultValue':![],'comment':a474_0x3ecf1c(0x195),'set':function(_0x493b41){const _0x306520=a474_0x3ecf1c;if(!_0x493b41)this[_0x306520(0x19e)](_0x306520(0x198),null);this['setDataValue']('mandatoryDisposition',_0x493b41);}}};module['exports'][a474_0x3ecf1c(0x19d)]=attributes;