dcdfa1057bcabc34d87c5f374adfaea1f72efd88
[motion2.git] / server / api / mailAccount / mailAccount.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 _0x549f=['Arial,Helvetica,sans-serif','UNSIGNED','Account:\x20{{account.name}}<br/>{{#queue}}Queue:\x20{{queue.name}}<br/>{{/queue}}From\x20:\x20{{from}}<br/>Subject\x20:\x20{{message.subject}}','INTEGER','Status\x20to\x20put\x20when\x20mandatory\x20disposition\x20is\x20enabled','Enabled/disables\x20mandatory\x20dispo\x20on\x20a\x20queue','setDataValue','mandatoryDispositionPauseId','sequelize','exports','STRING','BOOLEAN','TEXT'];(function(_0x47e212,_0x4269fa){var _0x1e6768=function(_0x162b70){while(--_0x162b70){_0x47e212['push'](_0x47e212['shift']());}};_0x1e6768(++_0x4269fa);}(_0x549f,0x1dc));var _0xf549=function(_0x5e75f4,_0x1dd040){_0x5e75f4=_0x5e75f4-0x0;var _0x28e5bd=_0x549f[_0x5e75f4];return _0x28e5bd;};'use strict';var Sequelize=require(_0xf549('0x0'));module[_0xf549('0x1')]={'description':{'type':Sequelize[_0xf549('0x2')]},'name':{'type':Sequelize[_0xf549('0x2')],'allowNull':![]},'service':{'type':Sequelize[_0xf549('0x3')],'defaultValue':![]},'email':{'type':Sequelize[_0xf549('0x2')],'validate':{'isEmail':!![]}},'active':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'key':{'type':Sequelize[_0xf549('0x2')],'allowNull':![]},'template':{'type':Sequelize[_0xf549('0x4')]},'markAsUnread':{'type':Sequelize[_0xf549('0x3')],'defaultValue':![]},'fontFamily':{'type':Sequelize[_0xf549('0x2')],'allowNull':![],'defaultValue':_0xf549('0x5')},'fontSize':{'type':Sequelize['INTEGER'](0x2)[_0xf549('0x6')],'defaultValue':0xd,'validate':{'min':0x8,'max':0x48}},'notificationTemplate':{'type':Sequelize['TEXT'],'defaultValue':function(){return _0xf549('0x7');}},'notificationSound':{'type':Sequelize[_0xf549('0x3')],'defaultValue':!![]},'notificationShake':{'type':Sequelize[_0xf549('0x3')],'defaultValue':![]},'waitForTheAssignedAgent':{'type':Sequelize[_0xf549('0x8')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0xa},'queueTransfer':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'queueTransferTimeout':{'type':Sequelize['INTEGER'],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c},'agentTransfer':{'type':Sequelize[_0xf549('0x3')],'defaultValue':![]},'agentTransferTimeout':{'type':Sequelize['INTEGER'],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c},'mandatoryDispositionPauseId':{'type':Sequelize[_0xf549('0x8')],'allowNull':!![],'defaultValue':null,'comment':_0xf549('0x9')},'mandatoryDisposition':{'type':Sequelize[_0xf549('0x3')],'defaultValue':![],'comment':_0xf549('0xa'),'set':function(_0x1fd5d9){if(!_0x1fd5d9)this[_0xf549('0xb')](_0xf549('0xc'),null);this[_0xf549('0xb')]('mandatoryDisposition',_0x1fd5d9);}}};