Built motion from commit (unavailable).|2.0.83
[motion2.git] / server / api / mailInteraction / mailInteraction.attributes.js
index a8f292d..5ec787b 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xe7a3=['ENUM','\x20CHARSET\x20utf8mb4\x20COLLATE\x20utf8mb4_unicode_ci','getDataValue','lastMsgBody','split','join','sequelize','html-to-text','iconv','BOOLEAN','DATE','STRING','TEXT','long','out'];(function(_0x40d98b,_0x24ee0e){var _0x18ba7c=function(_0x8cf675){while(--_0x8cf675){_0x40d98b['push'](_0x40d98b['shift']());}};_0x18ba7c(++_0x24ee0e);}(_0xe7a3,0x1d7));var _0x3e7a=function(_0x1584b7,_0x2fcf54){_0x1584b7=_0x1584b7-0x0;var _0x4c4522=_0xe7a3[_0x1584b7];return _0x4c4522;};'use strict';var Sequelize=require(_0x3e7a('0x0'));var htmlToText=require(_0x3e7a('0x1'));var iconv=require(_0x3e7a('0x2'));module['exports']={'closed':{'type':Sequelize[_0x3e7a('0x3')],'defaultValue':![]},'closedAt':{'type':Sequelize[_0x3e7a('0x4')]},'disposition':{'type':Sequelize[_0x3e7a('0x5')]},'note':{'type':Sequelize[_0x3e7a('0x5')]},'inReplyTo':{'type':Sequelize[_0x3e7a('0x5')](0xbe)},'to':{'type':Sequelize[_0x3e7a('0x5')]},'cc':{'type':Sequelize[_0x3e7a('0x6')](_0x3e7a('0x7'))},'subject':{'type':Sequelize[_0x3e7a('0x6')]('')+'\x20CHARSET\x20utf8mb4\x20COLLATE\x20utf8mb4_unicode_ci'},'attach':{'type':Sequelize[_0x3e7a('0x3')],'defaultValue':![]},'read1stAt':{'type':Sequelize[_0x3e7a('0x4')]},'substatus':{'type':Sequelize['STRING'](0x3c)},'substatusAt':{'type':Sequelize[_0x3e7a('0x4')]},'firstMsgDirection':{'type':Sequelize['ENUM']('in',_0x3e7a('0x8')),'defaultValue':'in','allowNull':![]},'lastMsgAt':{'type':Sequelize[_0x3e7a('0x4')]},'lastMsgDirection':{'type':Sequelize[_0x3e7a('0x9')]('in',_0x3e7a('0x8')),'defaultValue':'in','allowNull':![]},'lastMsgBody':{'type':Sequelize[_0x3e7a('0x6')]('long')+_0x3e7a('0xa'),'get':function(){try{return this[_0x3e7a('0xb')](_0x3e7a('0xc'))?htmlToText['fromString'](this[_0x3e7a('0xb')](_0x3e7a('0xc')),{'preserveNewlines':!![],'singleNewLineParagraphs':!![],'ignoreImage':!![]})[_0x3e7a('0xd')]('\x0a')['slice'](0x0,0x6)[_0x3e7a('0xe')]('\x0a'):null;}catch(_0x5adc32){return null;}}}};
\ No newline at end of file
+var _0x7f04=['sequelize','html-to-text','iconv','exports','BOOLEAN','STRING','TEXT','long','\x20CHARSET\x20utf8mb4\x20COLLATE\x20utf8mb4_unicode_ci','ENUM','out','DATE','getDataValue','fromString','lastMsgBody','slice'];(function(_0x518ce7,_0x12ad83){var _0x4288ff=function(_0x42384f){while(--_0x42384f){_0x518ce7['push'](_0x518ce7['shift']());}};_0x4288ff(++_0x12ad83);}(_0x7f04,0x130));var _0x47f0=function(_0x5e2f7b,_0x226498){_0x5e2f7b=_0x5e2f7b-0x0;var _0x3c386e=_0x7f04[_0x5e2f7b];return _0x3c386e;};'use strict';var Sequelize=require(_0x47f0('0x0'));var htmlToText=require(_0x47f0('0x1'));var iconv=require(_0x47f0('0x2'));module[_0x47f0('0x3')]={'closed':{'type':Sequelize[_0x47f0('0x4')],'defaultValue':![]},'closedAt':{'type':Sequelize['DATE']},'disposition':{'type':Sequelize['STRING']},'note':{'type':Sequelize[_0x47f0('0x5')]},'inReplyTo':{'type':Sequelize[_0x47f0('0x5')](0xbe)},'to':{'type':Sequelize[_0x47f0('0x5')]},'cc':{'type':Sequelize[_0x47f0('0x6')](_0x47f0('0x7'))},'subject':{'type':Sequelize['TEXT']('')+_0x47f0('0x8')},'attach':{'type':Sequelize[_0x47f0('0x4')],'defaultValue':![]},'read1stAt':{'type':Sequelize['DATE']},'substatus':{'type':Sequelize[_0x47f0('0x5')](0x3c)},'substatusAt':{'type':Sequelize['DATE']},'firstMsgDirection':{'type':Sequelize[_0x47f0('0x9')]('in',_0x47f0('0xa')),'defaultValue':'in','allowNull':![]},'lastMsgAt':{'type':Sequelize[_0x47f0('0xb')]},'lastMsgDirection':{'type':Sequelize['ENUM']('in','out'),'defaultValue':'in','allowNull':![]},'lastMsgBody':{'type':Sequelize[_0x47f0('0x6')](_0x47f0('0x7'))+_0x47f0('0x8'),'get':function(){try{return this[_0x47f0('0xc')]('lastMsgBody')?htmlToText[_0x47f0('0xd')](this[_0x47f0('0xc')](_0x47f0('0xe')),{'preserveNewlines':!![],'singleNewLineParagraphs':!![],'ignoreImage':!![]})['split']('\x0a')[_0x47f0('0xf')](0x0,0x6)['join']('\x0a'):null;}catch(_0x459e74){return null;}}}};
\ No newline at end of file