Built motion from commit e6806ed6.|2.6.0
[motion2.git] / server / api / mailMessage / mailMessage.attributes.js
index 961f6c3..4e3712c 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x708d=['BOOLEAN','ENUM','out','STRING','long','DATE','Email','exports','TEXT','medium'];(function(_0xe22435,_0x27157f){var _0x4fa237=function(_0x3ae432){while(--_0x3ae432){_0xe22435['push'](_0xe22435['shift']());}};_0x4fa237(++_0x27157f);}(_0x708d,0x151));var _0xd708=function(_0x10a6c5,_0x3b8168){_0x10a6c5=_0x10a6c5-0x0;var _0x79e4b8=_0x708d[_0x10a6c5];return _0x79e4b8;};'use strict';var Sequelize=require('sequelize');var _=require('lodash');module[_0xd708('0x0')]={'body':{'type':Sequelize['TEXT']('long'),'allowNull':![]},'plainBody':{'type':Sequelize[_0xd708('0x1')](_0xd708('0x2'))},'read':{'type':Sequelize[_0xd708('0x3')],'defaultValue':![]},'direction':{'type':Sequelize[_0xd708('0x4')]('in',_0xd708('0x5')),'defaultValue':_0xd708('0x5'),'allowNull':![]},'messageId':{'type':Sequelize[_0xd708('0x6')](0x1fe)},'from':{'type':Sequelize[_0xd708('0x6')]},'to':{'type':Sequelize[_0xd708('0x1')](_0xd708('0x7'))},'cc':{'type':Sequelize[_0xd708('0x1')](_0xd708('0x7'))},'bcc':{'type':Sequelize[_0xd708('0x1')](_0xd708('0x7'))},'subject':{'type':Sequelize[_0xd708('0x1')]},'sentAt':{'type':Sequelize[_0xd708('0x8')]},'attach':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'secret':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'readAt':{'type':Sequelize[_0xd708('0x8')]},'originTo':{'type':Sequelize[_0xd708('0x1')](_0xd708('0x7'))},'originCc':{'type':Sequelize[_0xd708('0x1')](_0xd708('0x7'))},'originChannel':{'type':Sequelize[_0xd708('0x4')]('Email','Chat'),'defaultValue':_0xd708('0x9'),'allowNull':![]}};
\ No newline at end of file
+var _0x6800=['Email','sequelize','exports','TEXT','long','medium','BOOLEAN','ENUM','out','STRING','INTEGER','DATE'];(function(_0x5e55bf,_0x5de586){var _0x4b2191=function(_0x1d348b){while(--_0x1d348b){_0x5e55bf['push'](_0x5e55bf['shift']());}};_0x4b2191(++_0x5de586);}(_0x6800,0xb5));var _0x0680=function(_0x1a4bfb,_0x4862c9){_0x1a4bfb=_0x1a4bfb-0x0;var _0x5aca7a=_0x6800[_0x1a4bfb];return _0x5aca7a;};'use strict';var Sequelize=require(_0x0680('0x0'));var _=require('lodash');module[_0x0680('0x1')]={'body':{'type':Sequelize[_0x0680('0x2')](_0x0680('0x3')),'allowNull':![]},'plainBody':{'type':Sequelize[_0x0680('0x2')](_0x0680('0x4'))},'read':{'type':Sequelize[_0x0680('0x5')],'defaultValue':![]},'direction':{'type':Sequelize[_0x0680('0x6')]('in',_0x0680('0x7')),'defaultValue':'out','allowNull':![]},'messageId':{'type':Sequelize['STRING'](0x1fe)},'from':{'type':Sequelize[_0x0680('0x8')]},'to':{'type':Sequelize[_0x0680('0x2')](_0x0680('0x3'))},'cc':{'type':Sequelize[_0x0680('0x2')]('long')},'bcc':{'type':Sequelize['TEXT']('long')},'subject':{'type':Sequelize['TEXT']},'sentAt':{'type':Sequelize['DATE']},'attach':{'type':Sequelize[_0x0680('0x9')],'defaultValue':0x0},'secret':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'readAt':{'type':Sequelize[_0x0680('0xa')]},'originTo':{'type':Sequelize[_0x0680('0x2')](_0x0680('0x3'))},'originCc':{'type':Sequelize[_0x0680('0x2')](_0x0680('0x3'))},'originChannel':{'type':Sequelize[_0x0680('0x6')]('Email','Chat'),'defaultValue':_0x0680('0xb'),'allowNull':![]}};
\ No newline at end of file