Built motion from commit da617fac.|2.6.6
[motion2.git] / server / api / mailMessage / mailMessage.attributes.js
index 678c4d7..01df7f8 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x6dfd=['Email','exports','long','TEXT','BOOLEAN','ENUM','STRING','INTEGER','Chat'];(function(_0x8c0385,_0x465f02){var _0x1301ba=function(_0x435cd3){while(--_0x435cd3){_0x8c0385['push'](_0x8c0385['shift']());}};_0x1301ba(++_0x465f02);}(_0x6dfd,0x88));var _0xd6df=function(_0x436b41,_0x26e3d3){_0x436b41=_0x436b41-0x0;var _0xfaa7d0=_0x6dfd[_0x436b41];return _0xfaa7d0;};'use strict';var Sequelize=require('sequelize');var _=require('lodash');module[_0xd6df('0x0')]={'body':{'type':Sequelize['TEXT'](_0xd6df('0x1')),'allowNull':![]},'plainBody':{'type':Sequelize[_0xd6df('0x2')]('medium')},'read':{'type':Sequelize[_0xd6df('0x3')],'defaultValue':![]},'direction':{'type':Sequelize[_0xd6df('0x4')]('in','out'),'defaultValue':'out','allowNull':![]},'messageId':{'type':Sequelize[_0xd6df('0x5')](0x1fe)},'from':{'type':Sequelize[_0xd6df('0x5')]},'to':{'type':Sequelize[_0xd6df('0x2')](_0xd6df('0x1'))},'cc':{'type':Sequelize['TEXT']('long')},'bcc':{'type':Sequelize[_0xd6df('0x2')](_0xd6df('0x1'))},'subject':{'type':Sequelize[_0xd6df('0x2')]},'sentAt':{'type':Sequelize['DATE']},'attach':{'type':Sequelize[_0xd6df('0x6')],'defaultValue':0x0},'secret':{'type':Sequelize[_0xd6df('0x3')],'defaultValue':![]},'readAt':{'type':Sequelize['DATE']},'originTo':{'type':Sequelize[_0xd6df('0x2')]('long')},'originCc':{'type':Sequelize[_0xd6df('0x2')]('long')},'originChannel':{'type':Sequelize[_0xd6df('0x4')]('Email',_0xd6df('0x7')),'defaultValue':_0xd6df('0x8'),'allowNull':![]}};
\ No newline at end of file
+var _0x32b1=['sequelize','lodash','TEXT','medium','BOOLEAN','ENUM','out','STRING','long','DATE','INTEGER','Email'];(function(_0x255c48,_0x2a4449){var _0xaebda3=function(_0x12a04e){while(--_0x12a04e){_0x255c48['push'](_0x255c48['shift']());}};_0xaebda3(++_0x2a4449);}(_0x32b1,0x84));var _0x132b=function(_0x38323b,_0x5f79df){_0x38323b=_0x38323b-0x0;var _0x2b9af5=_0x32b1[_0x38323b];return _0x2b9af5;};'use strict';var Sequelize=require(_0x132b('0x0'));var _=require(_0x132b('0x1'));module['exports']={'body':{'type':Sequelize[_0x132b('0x2')]('long'),'allowNull':![]},'plainBody':{'type':Sequelize[_0x132b('0x2')](_0x132b('0x3'))},'read':{'type':Sequelize[_0x132b('0x4')],'defaultValue':![]},'direction':{'type':Sequelize[_0x132b('0x5')]('in','out'),'defaultValue':_0x132b('0x6'),'allowNull':![]},'messageId':{'type':Sequelize[_0x132b('0x7')](0x1fe)},'from':{'type':Sequelize[_0x132b('0x7')]},'to':{'type':Sequelize[_0x132b('0x2')](_0x132b('0x8'))},'cc':{'type':Sequelize[_0x132b('0x2')](_0x132b('0x8'))},'bcc':{'type':Sequelize[_0x132b('0x2')](_0x132b('0x8'))},'subject':{'type':Sequelize[_0x132b('0x2')]},'sentAt':{'type':Sequelize[_0x132b('0x9')]},'attach':{'type':Sequelize[_0x132b('0xa')],'defaultValue':0x0},'secret':{'type':Sequelize[_0x132b('0x4')],'defaultValue':![]},'readAt':{'type':Sequelize[_0x132b('0x9')]},'originTo':{'type':Sequelize[_0x132b('0x2')](_0x132b('0x8'))},'originCc':{'type':Sequelize[_0x132b('0x2')]('long')},'originChannel':{'type':Sequelize[_0x132b('0x5')](_0x132b('0xb'),'Chat'),'defaultValue':'Email','allowNull':![]}};
\ No newline at end of file