Built motion from commit 87cd5f02.|2.5.48
[motion2.git] / server / api / mailMessage / mailMessage.attributes.js
index c376c67..4da5aa0 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x6a66=['TEXT','long','medium','BOOLEAN','ENUM','out','STRING','DATE','INTEGER','Email','sequelize','lodash','exports'];(function(_0x4aba15,_0x4e90aa){var _0x1c8122=function(_0x568dba){while(--_0x568dba){_0x4aba15['push'](_0x4aba15['shift']());}};_0x1c8122(++_0x4e90aa);}(_0x6a66,0x7f));var _0x66a6=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x6a66[_0x3dd15e];return _0x231fd0;};'use strict';var Sequelize=require(_0x66a6('0x0'));var _=require(_0x66a6('0x1'));module[_0x66a6('0x2')]={'body':{'type':Sequelize[_0x66a6('0x3')](_0x66a6('0x4')),'allowNull':![]},'plainBody':{'type':Sequelize[_0x66a6('0x3')](_0x66a6('0x5'))},'read':{'type':Sequelize[_0x66a6('0x6')],'defaultValue':![]},'direction':{'type':Sequelize[_0x66a6('0x7')]('in',_0x66a6('0x8')),'defaultValue':_0x66a6('0x8'),'allowNull':![]},'messageId':{'type':Sequelize[_0x66a6('0x9')](0x1fe)},'from':{'type':Sequelize[_0x66a6('0x9')]},'to':{'type':Sequelize['TEXT'](_0x66a6('0x4'))},'cc':{'type':Sequelize['TEXT']('long')},'bcc':{'type':Sequelize[_0x66a6('0x3')](_0x66a6('0x4'))},'subject':{'type':Sequelize[_0x66a6('0x3')]},'sentAt':{'type':Sequelize[_0x66a6('0xa')]},'attach':{'type':Sequelize[_0x66a6('0xb')],'defaultValue':0x0},'secret':{'type':Sequelize[_0x66a6('0x6')],'defaultValue':![]},'readAt':{'type':Sequelize[_0x66a6('0xa')]},'originTo':{'type':Sequelize[_0x66a6('0x3')](_0x66a6('0x4'))},'originCc':{'type':Sequelize[_0x66a6('0x3')](_0x66a6('0x4'))},'originChannel':{'type':Sequelize['ENUM'](_0x66a6('0xc'),'Chat'),'defaultValue':_0x66a6('0xc'),'allowNull':![]}};
\ No newline at end of file
+var _0xc2f9=['STRING','DATE','INTEGER','Email','Chat','exports','TEXT','long','medium','BOOLEAN','ENUM','out'];(function(_0x1a88c2,_0x32f63f){var _0x1de68b=function(_0x3dbc47){while(--_0x3dbc47){_0x1a88c2['push'](_0x1a88c2['shift']());}};_0x1de68b(++_0x32f63f);}(_0xc2f9,0x155));var _0x9c2f=function(_0x22c42a,_0x508e1f){_0x22c42a=_0x22c42a-0x0;var _0x3eecf7=_0xc2f9[_0x22c42a];return _0x3eecf7;};'use strict';var Sequelize=require('sequelize');var _=require('lodash');module[_0x9c2f('0x0')]={'body':{'type':Sequelize[_0x9c2f('0x1')](_0x9c2f('0x2')),'allowNull':![]},'plainBody':{'type':Sequelize[_0x9c2f('0x1')](_0x9c2f('0x3'))},'read':{'type':Sequelize[_0x9c2f('0x4')],'defaultValue':![]},'direction':{'type':Sequelize[_0x9c2f('0x5')]('in','out'),'defaultValue':_0x9c2f('0x6'),'allowNull':![]},'messageId':{'type':Sequelize['STRING'](0x1fe)},'from':{'type':Sequelize[_0x9c2f('0x7')]},'to':{'type':Sequelize['TEXT']('long')},'cc':{'type':Sequelize[_0x9c2f('0x1')](_0x9c2f('0x2'))},'bcc':{'type':Sequelize[_0x9c2f('0x1')](_0x9c2f('0x2'))},'subject':{'type':Sequelize[_0x9c2f('0x1')]},'sentAt':{'type':Sequelize[_0x9c2f('0x8')]},'attach':{'type':Sequelize[_0x9c2f('0x9')],'defaultValue':0x0},'secret':{'type':Sequelize[_0x9c2f('0x4')],'defaultValue':![]},'readAt':{'type':Sequelize[_0x9c2f('0x8')]},'originTo':{'type':Sequelize['TEXT'](_0x9c2f('0x2'))},'originCc':{'type':Sequelize[_0x9c2f('0x1')](_0x9c2f('0x2'))},'originChannel':{'type':Sequelize[_0x9c2f('0x5')](_0x9c2f('0xa'),_0x9c2f('0xb')),'defaultValue':'Email','allowNull':![]}};
\ No newline at end of file