X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FmailMessage%2FmailMessage.attributes.js;h=4da5aa02920a08a1921e5dc39dc7decac18d8dd3;hb=fef0b697be1412fa067cb7edc64691337a3866f3;hp=bfe79f2e75433e9e8c7d4c30c86d4e6862a9ad98;hpb=676e0a00dac18511f03a9406d0d87e461770e967;p=motion2.git diff --git a/server/api/mailMessage/mailMessage.attributes.js b/server/api/mailMessage/mailMessage.attributes.js index bfe79f2..4da5aa0 100644 --- a/server/api/mailMessage/mailMessage.attributes.js +++ b/server/api/mailMessage/mailMessage.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x1685=['DATE','INTEGER','Email','exports','TEXT','long','medium','BOOLEAN','ENUM','out','STRING'];(function(_0x24f31b,_0x44b8f3){var _0x488401=function(_0x204caf){while(--_0x204caf){_0x24f31b['push'](_0x24f31b['shift']());}};_0x488401(++_0x44b8f3);}(_0x1685,0x66));var _0x5168=function(_0x40a825,_0x3bac79){_0x40a825=_0x40a825-0x0;var _0x273a54=_0x1685[_0x40a825];return _0x273a54;};'use strict';var Sequelize=require('sequelize');var _=require('lodash');module[_0x5168('0x0')]={'body':{'type':Sequelize[_0x5168('0x1')](_0x5168('0x2')),'allowNull':![]},'plainBody':{'type':Sequelize[_0x5168('0x1')](_0x5168('0x3'))},'read':{'type':Sequelize[_0x5168('0x4')],'defaultValue':![]},'direction':{'type':Sequelize[_0x5168('0x5')]('in',_0x5168('0x6')),'defaultValue':_0x5168('0x6'),'allowNull':![]},'messageId':{'type':Sequelize[_0x5168('0x7')](0x1fe)},'from':{'type':Sequelize[_0x5168('0x7')]},'to':{'type':Sequelize[_0x5168('0x1')]('long')},'cc':{'type':Sequelize['TEXT'](_0x5168('0x2'))},'bcc':{'type':Sequelize[_0x5168('0x1')]('long')},'subject':{'type':Sequelize[_0x5168('0x1')]},'sentAt':{'type':Sequelize[_0x5168('0x8')]},'attach':{'type':Sequelize[_0x5168('0x9')],'defaultValue':0x0},'secret':{'type':Sequelize[_0x5168('0x4')],'defaultValue':![]},'readAt':{'type':Sequelize[_0x5168('0x8')]},'originTo':{'type':Sequelize[_0x5168('0x1')](_0x5168('0x2'))},'originCc':{'type':Sequelize[_0x5168('0x1')](_0x5168('0x2'))},'originChannel':{'type':Sequelize[_0x5168('0x5')]('Email','Chat'),'defaultValue':_0x5168('0xa'),'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