Built motion from commit 43538d75.|2.5.35
[motion2.git] / server / api / mailMessage / mailMessage.attributes.js
index d04d97f..a303f69 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xd51b=['Chat','exports','long','TEXT','medium','BOOLEAN','ENUM','out','STRING','INTEGER','DATE','Email'];(function(_0x4cf98e,_0xba4b79){var _0x1623ac=function(_0x459bc0){while(--_0x459bc0){_0x4cf98e['push'](_0x4cf98e['shift']());}};_0x1623ac(++_0xba4b79);}(_0xd51b,0xb5));var _0xbd51=function(_0x5bfff2,_0x5a9215){_0x5bfff2=_0x5bfff2-0x0;var _0x7d09ba=_0xd51b[_0x5bfff2];return _0x7d09ba;};'use strict';var Sequelize=require('sequelize');var _=require('lodash');module[_0xbd51('0x0')]={'body':{'type':Sequelize['TEXT'](_0xbd51('0x1')),'allowNull':![]},'plainBody':{'type':Sequelize[_0xbd51('0x2')](_0xbd51('0x3'))},'read':{'type':Sequelize[_0xbd51('0x4')],'defaultValue':![]},'direction':{'type':Sequelize[_0xbd51('0x5')]('in',_0xbd51('0x6')),'defaultValue':_0xbd51('0x6'),'allowNull':![]},'messageId':{'type':Sequelize[_0xbd51('0x7')](0x1fe)},'from':{'type':Sequelize['STRING']},'to':{'type':Sequelize[_0xbd51('0x2')](_0xbd51('0x1'))},'cc':{'type':Sequelize[_0xbd51('0x2')](_0xbd51('0x1'))},'bcc':{'type':Sequelize[_0xbd51('0x2')](_0xbd51('0x1'))},'subject':{'type':Sequelize[_0xbd51('0x2')]},'sentAt':{'type':Sequelize['DATE']},'attach':{'type':Sequelize[_0xbd51('0x8')],'defaultValue':0x0},'secret':{'type':Sequelize[_0xbd51('0x4')],'defaultValue':![]},'readAt':{'type':Sequelize[_0xbd51('0x9')]},'originTo':{'type':Sequelize[_0xbd51('0x2')](_0xbd51('0x1'))},'originCc':{'type':Sequelize[_0xbd51('0x2')]('long')},'originChannel':{'type':Sequelize[_0xbd51('0x5')](_0xbd51('0xa'),_0xbd51('0xb')),'defaultValue':_0xbd51('0xa'),'allowNull':![]}};
\ No newline at end of file
+var _0x28fd=['long','medium','BOOLEAN','out','STRING','DATE','INTEGER','Email','Chat','sequelize','lodash','TEXT'];(function(_0x575787,_0x2a2321){var _0x40c4bf=function(_0x1af47c){while(--_0x1af47c){_0x575787['push'](_0x575787['shift']());}};_0x40c4bf(++_0x2a2321);}(_0x28fd,0xb1));var _0xd28f=function(_0x4b3d13,_0x1993d5){_0x4b3d13=_0x4b3d13-0x0;var _0xf64dd8=_0x28fd[_0x4b3d13];return _0xf64dd8;};'use strict';var Sequelize=require(_0xd28f('0x0'));var _=require(_0xd28f('0x1'));module['exports']={'body':{'type':Sequelize[_0xd28f('0x2')](_0xd28f('0x3')),'allowNull':![]},'plainBody':{'type':Sequelize['TEXT'](_0xd28f('0x4'))},'read':{'type':Sequelize[_0xd28f('0x5')],'defaultValue':![]},'direction':{'type':Sequelize['ENUM']('in',_0xd28f('0x6')),'defaultValue':'out','allowNull':![]},'messageId':{'type':Sequelize[_0xd28f('0x7')](0x1fe)},'from':{'type':Sequelize['STRING']},'to':{'type':Sequelize['TEXT'](_0xd28f('0x3'))},'cc':{'type':Sequelize[_0xd28f('0x2')](_0xd28f('0x3'))},'bcc':{'type':Sequelize[_0xd28f('0x2')](_0xd28f('0x3'))},'subject':{'type':Sequelize[_0xd28f('0x2')]},'sentAt':{'type':Sequelize[_0xd28f('0x8')]},'attach':{'type':Sequelize[_0xd28f('0x9')],'defaultValue':0x0},'secret':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'readAt':{'type':Sequelize['DATE']},'originTo':{'type':Sequelize[_0xd28f('0x2')](_0xd28f('0x3'))},'originCc':{'type':Sequelize[_0xd28f('0x2')](_0xd28f('0x3'))},'originChannel':{'type':Sequelize['ENUM'](_0xd28f('0xa'),_0xd28f('0xb')),'defaultValue':_0xd28f('0xa'),'allowNull':![]}};
\ No newline at end of file