Built motion from commit (unavailable).|2.3.1
[motion2.git] / server / api / mailInteraction / mailInteraction.attributes.js
index f8651c1..75defdc 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x6238=['ENUM','out','getDataValue','lastMsgBody','fromString','split','slice','join','sequelize','html-to-text','iconv','exports','DATE','STRING','TEXT','long'];(function(_0xb43e2c,_0x17baba){var _0x4940b5=function(_0x4d790d){while(--_0x4d790d){_0xb43e2c['push'](_0xb43e2c['shift']());}};_0x4940b5(++_0x17baba);}(_0x6238,0x98));var _0x8623=function(_0x2f5ac5,_0x1ee939){_0x2f5ac5=_0x2f5ac5-0x0;var _0x37c9a8=_0x6238[_0x2f5ac5];return _0x37c9a8;};'use strict';var Sequelize=require(_0x8623('0x0'));var htmlToText=require(_0x8623('0x1'));var iconv=require(_0x8623('0x2'));module[_0x8623('0x3')]={'closed':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'closedAt':{'type':Sequelize[_0x8623('0x4')]},'disposition':{'type':Sequelize[_0x8623('0x5')]},'note':{'type':Sequelize[_0x8623('0x5')]},'inReplyTo':{'type':Sequelize['STRING'](0x1fe)},'to':{'type':Sequelize[_0x8623('0x5')]},'cc':{'type':Sequelize[_0x8623('0x6')](_0x8623('0x7'))},'subject':{'type':Sequelize['TEXT']()},'attach':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'read1stAt':{'type':Sequelize[_0x8623('0x4')]},'substatus':{'type':Sequelize[_0x8623('0x5')](0x3c)},'substatusAt':{'type':Sequelize[_0x8623('0x4')]},'firstMsgDirection':{'type':Sequelize[_0x8623('0x8')]('in','out'),'defaultValue':'in','allowNull':![]},'lastMsgAt':{'type':Sequelize[_0x8623('0x4')]},'lastMsgDirection':{'type':Sequelize['ENUM']('in',_0x8623('0x9')),'defaultValue':'in','allowNull':![]},'lastMsgBody':{'type':Sequelize[_0x8623('0x6')]('long'),'get':function(){try{return this[_0x8623('0xa')](_0x8623('0xb'))?htmlToText[_0x8623('0xc')](this['getDataValue'](_0x8623('0xb')),{'preserveNewlines':!![],'singleNewLineParagraphs':!![],'ignoreImage':!![]})[_0x8623('0xd')]('\x0a')[_0x8623('0xe')](0x0,0x6)[_0x8623('0xf')]('\x0a'):null;}catch(_0xc1d05){return null;}}}};
\ No newline at end of file
+var _0x2f36=['join','sequelize','html-to-text','iconv','exports','BOOLEAN','DATE','STRING','TEXT','long','ENUM','out','getDataValue','lastMsgBody','fromString','split'];(function(_0xc54faf,_0x3ad988){var _0x88476f=function(_0x1a2d62){while(--_0x1a2d62){_0xc54faf['push'](_0xc54faf['shift']());}};_0x88476f(++_0x3ad988);}(_0x2f36,0x191));var _0x62f3=function(_0x134c2e,_0x3573c4){_0x134c2e=_0x134c2e-0x0;var _0x2825db=_0x2f36[_0x134c2e];return _0x2825db;};'use strict';var Sequelize=require(_0x62f3('0x0'));var htmlToText=require(_0x62f3('0x1'));var iconv=require(_0x62f3('0x2'));module[_0x62f3('0x3')]={'closed':{'type':Sequelize[_0x62f3('0x4')],'defaultValue':![]},'closedAt':{'type':Sequelize[_0x62f3('0x5')]},'disposition':{'type':Sequelize[_0x62f3('0x6')]},'note':{'type':Sequelize[_0x62f3('0x6')]},'inReplyTo':{'type':Sequelize[_0x62f3('0x6')](0x1fe)},'to':{'type':Sequelize[_0x62f3('0x6')]},'cc':{'type':Sequelize[_0x62f3('0x7')](_0x62f3('0x8'))},'subject':{'type':Sequelize[_0x62f3('0x7')]()},'attach':{'type':Sequelize[_0x62f3('0x4')],'defaultValue':![]},'read1stAt':{'type':Sequelize[_0x62f3('0x5')]},'substatus':{'type':Sequelize[_0x62f3('0x6')](0x3c)},'substatusAt':{'type':Sequelize[_0x62f3('0x5')]},'firstMsgDirection':{'type':Sequelize[_0x62f3('0x9')]('in',_0x62f3('0xa')),'defaultValue':'in','allowNull':![]},'lastMsgAt':{'type':Sequelize[_0x62f3('0x5')]},'lastMsgDirection':{'type':Sequelize[_0x62f3('0x9')]('in',_0x62f3('0xa')),'defaultValue':'in','allowNull':![]},'lastMsgBody':{'type':Sequelize[_0x62f3('0x7')](_0x62f3('0x8')),'get':function(){try{return this[_0x62f3('0xb')](_0x62f3('0xc'))?htmlToText[_0x62f3('0xd')](this[_0x62f3('0xb')](_0x62f3('0xc')),{'preserveNewlines':!![],'singleNewLineParagraphs':!![],'ignoreImage':!![]})[_0x62f3('0xe')]('\x0a')['slice'](0x0,0x6)[_0x62f3('0xf')]('\x0a'):null;}catch(_0x36122b){return null;}}}};
\ No newline at end of file