Built motion from commit a61a4a20.|2.5.46
[motion2.git] / server / api / mailAccount / mailAccount.attributes.js
index f234891..b1c40fe 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xa093=['STRING','BOOLEAN','INTEGER','UNSIGNED','TEXT','Account:\x20{{account.name}}<br/>{{#queue}}Queue:\x20{{queue.name}}<br/>{{/queue}}From\x20:\x20{{from}}<br/>Subject\x20:\x20{{message.subject}}','Status\x20to\x20put\x20when\x20mandatory\x20disposition\x20is\x20enabled','setDataValue','mandatoryDisposition','sequelize','exports'];(function(_0x3da07c,_0x31ac07){var _0x47765b=function(_0x148075){while(--_0x148075){_0x3da07c['push'](_0x3da07c['shift']());}};_0x47765b(++_0x31ac07);}(_0xa093,0x11c));var _0x3a09=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0xa093[_0x3dd15e];return _0x231fd0;};'use strict';var Sequelize=require(_0x3a09('0x0'));module[_0x3a09('0x1')]={'description':{'type':Sequelize[_0x3a09('0x2')]},'name':{'type':Sequelize[_0x3a09('0x2')],'allowNull':![]},'service':{'type':Sequelize[_0x3a09('0x3')],'defaultValue':![]},'email':{'type':Sequelize['STRING'],'validate':{'isEmail':!![]}},'active':{'type':Sequelize[_0x3a09('0x3')],'defaultValue':!![]},'key':{'type':Sequelize[_0x3a09('0x2')],'allowNull':![]},'template':{'type':Sequelize['TEXT']},'markAsUnread':{'type':Sequelize[_0x3a09('0x3')],'defaultValue':![]},'fontFamily':{'type':Sequelize['STRING'],'allowNull':![],'defaultValue':'Arial,Helvetica,sans-serif'},'fontSize':{'type':Sequelize[_0x3a09('0x4')](0x2)[_0x3a09('0x5')],'defaultValue':0xd,'validate':{'min':0x8,'max':0x48}},'notificationTemplate':{'type':Sequelize[_0x3a09('0x6')],'defaultValue':function(){return _0x3a09('0x7');}},'notificationSound':{'type':Sequelize[_0x3a09('0x3')],'defaultValue':!![]},'notificationShake':{'type':Sequelize[_0x3a09('0x3')],'defaultValue':![]},'waitForTheAssignedAgent':{'type':Sequelize[_0x3a09('0x4')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0xa},'queueTransfer':{'type':Sequelize[_0x3a09('0x3')],'defaultValue':![]},'queueTransferTimeout':{'type':Sequelize[_0x3a09('0x4')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c},'agentTransfer':{'type':Sequelize[_0x3a09('0x3')],'defaultValue':![]},'agentTransferTimeout':{'type':Sequelize[_0x3a09('0x4')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c},'mandatoryDispositionPauseId':{'type':Sequelize[_0x3a09('0x4')],'allowNull':!![],'defaultValue':null,'comment':_0x3a09('0x8')},'mandatoryDisposition':{'type':Sequelize[_0x3a09('0x3')],'defaultValue':![],'comment':'Enabled/disables\x20mandatory\x20dispo\x20on\x20a\x20queue','set':function(_0x1d6185){if(!_0x1d6185)this['setDataValue']('mandatoryDispositionPauseId',null);this[_0x3a09('0x9')](_0x3a09('0xa'),_0x1d6185);}}};
\ No newline at end of file
+var _0x7917=['sequelize','STRING','BOOLEAN','TEXT','INTEGER','Account:\x20{{account.name}}<br/>{{#queue}}Queue:\x20{{queue.name}}<br/>{{/queue}}From\x20:\x20{{from}}<br/>Subject\x20:\x20{{message.subject}}','setDataValue','mandatoryDispositionPauseId','mandatoryDisposition','ENUM','gmail','hotmail','yahoo','outlook365','provider','custom','getDataValue'];(function(_0x309b5b,_0x525ab9){var _0x20e669=function(_0x1a7d32){while(--_0x1a7d32){_0x309b5b['push'](_0x309b5b['shift']());}};_0x20e669(++_0x525ab9);}(_0x7917,0xaa));var _0x7791=function(_0x10985b,_0x411e21){_0x10985b=_0x10985b-0x0;var _0x146ef8=_0x7917[_0x10985b];return _0x146ef8;};'use strict';var Sequelize=require(_0x7791('0x0'));module['exports']={'description':{'type':Sequelize[_0x7791('0x1')]},'name':{'type':Sequelize[_0x7791('0x1')],'allowNull':![]},'service':{'type':Sequelize[_0x7791('0x2')],'defaultValue':![]},'email':{'type':Sequelize[_0x7791('0x1')],'validate':{'isEmail':!![]}},'active':{'type':Sequelize[_0x7791('0x2')],'defaultValue':!![]},'key':{'type':Sequelize['STRING'],'allowNull':![]},'template':{'type':Sequelize[_0x7791('0x3')]},'markAsUnread':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'fontFamily':{'type':Sequelize[_0x7791('0x1')],'allowNull':![],'defaultValue':'Arial,Helvetica,sans-serif'},'fontSize':{'type':Sequelize[_0x7791('0x4')](0x2)['UNSIGNED'],'defaultValue':0xd,'validate':{'min':0x8,'max':0x48}},'notificationTemplate':{'type':Sequelize[_0x7791('0x3')],'defaultValue':function(){return _0x7791('0x5');}},'notificationSound':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'notificationShake':{'type':Sequelize[_0x7791('0x2')],'defaultValue':![]},'waitForTheAssignedAgent':{'type':Sequelize[_0x7791('0x4')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0xa},'queueTransfer':{'type':Sequelize[_0x7791('0x2')],'defaultValue':![]},'queueTransferTimeout':{'type':Sequelize[_0x7791('0x4')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c},'agentTransfer':{'type':Sequelize[_0x7791('0x2')],'defaultValue':![]},'agentTransferTimeout':{'type':Sequelize[_0x7791('0x4')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c},'mandatoryDispositionPauseId':{'type':Sequelize[_0x7791('0x4')],'allowNull':!![],'defaultValue':null,'comment':'Status\x20to\x20put\x20when\x20mandatory\x20disposition\x20is\x20enabled'},'mandatoryDisposition':{'type':Sequelize['BOOLEAN'],'defaultValue':![],'comment':'Enabled/disables\x20mandatory\x20dispo\x20on\x20a\x20queue','set':function(_0x4c381b){if(!_0x4c381b)this[_0x7791('0x6')](_0x7791('0x7'),null);this[_0x7791('0x6')](_0x7791('0x8'),_0x4c381b);}},'provider':{'type':Sequelize[_0x7791('0x9')](_0x7791('0xa'),_0x7791('0xb'),_0x7791('0xc'),_0x7791('0xd')),'defaultValue':null,'get':function(){if(!this['getDataValue'](_0x7791('0xe')))return _0x7791('0xf');return this[_0x7791('0x10')](_0x7791('0xe'));},'set':function(_0x3c5aec){if(_0x3c5aec===_0x7791('0xf'))_0x3c5aec=null;return this[_0x7791('0x6')](_0x7791('0xe'),_0x3c5aec);}}};
\ No newline at end of file