Built motion from commit (unavailable).|2.3.7
[motion2.git] / server / api / mailInteraction / mailInteraction.attributes.js
index 93915f4..6320254 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xf218=['BOOLEAN','ENUM','long','getDataValue','lastMsgBody','fromString','split','join','sequelize','html-to-text','iconv','exports','DATE','STRING','TEXT'];(function(_0x5d16ed,_0x211a45){var _0x107f5d=function(_0x34130a){while(--_0x34130a){_0x5d16ed['push'](_0x5d16ed['shift']());}};_0x107f5d(++_0x211a45);}(_0xf218,0xbc));var _0x8f21=function(_0x3b83c1,_0x3365fe){_0x3b83c1=_0x3b83c1-0x0;var _0x111cea=_0xf218[_0x3b83c1];return _0x111cea;};'use strict';var Sequelize=require(_0x8f21('0x0'));var htmlToText=require(_0x8f21('0x1'));var iconv=require(_0x8f21('0x2'));module[_0x8f21('0x3')]={'closed':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'closedAt':{'type':Sequelize[_0x8f21('0x4')]},'disposition':{'type':Sequelize[_0x8f21('0x5')]},'note':{'type':Sequelize[_0x8f21('0x5')]},'inReplyTo':{'type':Sequelize[_0x8f21('0x5')](0x1fe)},'to':{'type':Sequelize['STRING']},'cc':{'type':Sequelize[_0x8f21('0x6')]('long')},'subject':{'type':Sequelize[_0x8f21('0x6')]()},'attach':{'type':Sequelize[_0x8f21('0x7')],'defaultValue':![]},'read1stAt':{'type':Sequelize['DATE']},'substatus':{'type':Sequelize[_0x8f21('0x5')](0x3c)},'substatusAt':{'type':Sequelize[_0x8f21('0x4')]},'firstMsgDirection':{'type':Sequelize[_0x8f21('0x8')]('in','out'),'defaultValue':'in','allowNull':![]},'lastMsgAt':{'type':Sequelize[_0x8f21('0x4')]},'lastMsgDirection':{'type':Sequelize[_0x8f21('0x8')]('in','out'),'defaultValue':'in','allowNull':![]},'lastMsgBody':{'type':Sequelize[_0x8f21('0x6')](_0x8f21('0x9')),'get':function(){try{return this[_0x8f21('0xa')](_0x8f21('0xb'))?htmlToText[_0x8f21('0xc')](this[_0x8f21('0xa')](_0x8f21('0xb')),{'preserveNewlines':!![],'singleNewLineParagraphs':!![],'ignoreImage':!![]})[_0x8f21('0xd')]('\x0a')['slice'](0x0,0x6)[_0x8f21('0xe')]('\x0a'):null;}catch(_0xe5f2e4){return null;}}}};
\ No newline at end of file
+var _0xec42=['out','getDataValue','lastMsgBody','fromString','split','join','sequelize','html-to-text','iconv','BOOLEAN','DATE','STRING','TEXT','ENUM'];(function(_0x344533,_0x4e545c){var _0x37b542=function(_0xeaa9ec){while(--_0xeaa9ec){_0x344533['push'](_0x344533['shift']());}};_0x37b542(++_0x4e545c);}(_0xec42,0x68));var _0x2ec4=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0xec42[_0x3dd15e];return _0x231fd0;};'use strict';var Sequelize=require(_0x2ec4('0x0'));var htmlToText=require(_0x2ec4('0x1'));var iconv=require(_0x2ec4('0x2'));module['exports']={'closed':{'type':Sequelize[_0x2ec4('0x3')],'defaultValue':![]},'closedAt':{'type':Sequelize[_0x2ec4('0x4')]},'disposition':{'type':Sequelize[_0x2ec4('0x5')]},'note':{'type':Sequelize['STRING']},'inReplyTo':{'type':Sequelize[_0x2ec4('0x5')](0x1fe)},'to':{'type':Sequelize[_0x2ec4('0x5')]},'cc':{'type':Sequelize[_0x2ec4('0x6')]('long')},'subject':{'type':Sequelize[_0x2ec4('0x6')]()},'attach':{'type':Sequelize[_0x2ec4('0x3')],'defaultValue':![]},'read1stAt':{'type':Sequelize[_0x2ec4('0x4')]},'substatus':{'type':Sequelize[_0x2ec4('0x5')](0x3c)},'substatusAt':{'type':Sequelize[_0x2ec4('0x4')]},'firstMsgDirection':{'type':Sequelize[_0x2ec4('0x7')]('in',_0x2ec4('0x8')),'defaultValue':'in','allowNull':![]},'lastMsgAt':{'type':Sequelize[_0x2ec4('0x4')]},'lastMsgDirection':{'type':Sequelize[_0x2ec4('0x7')]('in',_0x2ec4('0x8')),'defaultValue':'in','allowNull':![]},'lastMsgBody':{'type':Sequelize[_0x2ec4('0x6')]('long'),'get':function(){try{return this[_0x2ec4('0x9')](_0x2ec4('0xa'))?htmlToText[_0x2ec4('0xb')](this[_0x2ec4('0x9')](_0x2ec4('0xa')),{'preserveNewlines':!![],'singleNewLineParagraphs':!![],'ignoreImage':!![]})[_0x2ec4('0xc')]('\x0a')['slice'](0x0,0x6)[_0x2ec4('0xd')]('\x0a'):null;}catch(_0x5cf776){return null;}}}};
\ No newline at end of file