X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FmailMessage%2FmailMessage.attributes.js;h=2805f840693dd003318b72480c32dc5ff9b2648b;hb=4baefdac9c37d4300115b8e539c5781a6d78e036;hp=a9d35fbca507a953070326fcfe8b7c70e733e319;hpb=8cdeeda1196ee7d2ad7723378ea9a4f6c5d1e83a;p=motion2.git diff --git a/server/api/mailMessage/mailMessage.attributes.js b/server/api/mailMessage/mailMessage.attributes.js index a9d35fb..2805f84 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 _0x3b9f=['Chat','sequelize','exports','TEXT','medium','BOOLEAN','ENUM','out','STRING','long','DATE','INTEGER','Email'];(function(_0x10d77c,_0x2f1d77){var _0x10f7cc=function(_0x1a593e){while(--_0x1a593e){_0x10d77c['push'](_0x10d77c['shift']());}};_0x10f7cc(++_0x2f1d77);}(_0x3b9f,0x83));var _0xf3b9=function(_0x40a045,_0x516f0e){_0x40a045=_0x40a045-0x0;var _0x1a687c=_0x3b9f[_0x40a045];return _0x1a687c;};'use strict';var Sequelize=require(_0xf3b9('0x0'));var _=require('lodash');module[_0xf3b9('0x1')]={'body':{'type':Sequelize[_0xf3b9('0x2')]('long'),'allowNull':![]},'plainBody':{'type':Sequelize[_0xf3b9('0x2')](_0xf3b9('0x3'))},'read':{'type':Sequelize[_0xf3b9('0x4')],'defaultValue':![]},'direction':{'type':Sequelize[_0xf3b9('0x5')]('in',_0xf3b9('0x6')),'defaultValue':_0xf3b9('0x6'),'allowNull':![]},'messageId':{'type':Sequelize[_0xf3b9('0x7')](0x1fe)},'from':{'type':Sequelize[_0xf3b9('0x7')]},'to':{'type':Sequelize[_0xf3b9('0x2')](_0xf3b9('0x8'))},'cc':{'type':Sequelize[_0xf3b9('0x2')]('long')},'bcc':{'type':Sequelize[_0xf3b9('0x2')]('long')},'subject':{'type':Sequelize[_0xf3b9('0x2')]},'sentAt':{'type':Sequelize[_0xf3b9('0x9')]},'attach':{'type':Sequelize[_0xf3b9('0xa')],'defaultValue':0x0},'secret':{'type':Sequelize[_0xf3b9('0x4')],'defaultValue':![]},'readAt':{'type':Sequelize[_0xf3b9('0x9')]},'originTo':{'type':Sequelize['TEXT'](_0xf3b9('0x8'))},'originCc':{'type':Sequelize['TEXT']('long')},'originChannel':{'type':Sequelize['ENUM'](_0xf3b9('0xb'),_0xf3b9('0xc')),'defaultValue':_0xf3b9('0xb'),'allowNull':![]}}; \ No newline at end of file +var _0xadfc=['out','STRING','INTEGER','DATE','Email','Chat','sequelize','lodash','exports','TEXT','long','medium','BOOLEAN','ENUM'];(function(_0x260860,_0x5e8661){var _0x1e01af=function(_0x2a7d40){while(--_0x2a7d40){_0x260860['push'](_0x260860['shift']());}};_0x1e01af(++_0x5e8661);}(_0xadfc,0x12c));var _0xcadf=function(_0x134c2e,_0x3573c4){_0x134c2e=_0x134c2e-0x0;var _0x2825db=_0xadfc[_0x134c2e];return _0x2825db;};'use strict';var Sequelize=require(_0xcadf('0x0'));var _=require(_0xcadf('0x1'));module[_0xcadf('0x2')]={'body':{'type':Sequelize[_0xcadf('0x3')](_0xcadf('0x4')),'allowNull':![]},'plainBody':{'type':Sequelize[_0xcadf('0x3')](_0xcadf('0x5'))},'read':{'type':Sequelize[_0xcadf('0x6')],'defaultValue':![]},'direction':{'type':Sequelize[_0xcadf('0x7')]('in',_0xcadf('0x8')),'defaultValue':_0xcadf('0x8'),'allowNull':![]},'messageId':{'type':Sequelize[_0xcadf('0x9')](0x1fe)},'from':{'type':Sequelize[_0xcadf('0x9')]},'to':{'type':Sequelize['TEXT'](_0xcadf('0x4'))},'cc':{'type':Sequelize[_0xcadf('0x3')](_0xcadf('0x4'))},'bcc':{'type':Sequelize[_0xcadf('0x3')](_0xcadf('0x4'))},'subject':{'type':Sequelize[_0xcadf('0x3')]},'sentAt':{'type':Sequelize['DATE']},'attach':{'type':Sequelize[_0xcadf('0xa')],'defaultValue':0x0},'secret':{'type':Sequelize[_0xcadf('0x6')],'defaultValue':![]},'readAt':{'type':Sequelize[_0xcadf('0xb')]},'originTo':{'type':Sequelize[_0xcadf('0x3')]('long')},'originCc':{'type':Sequelize[_0xcadf('0x3')](_0xcadf('0x4'))},'originChannel':{'type':Sequelize[_0xcadf('0x7')](_0xcadf('0xc'),_0xcadf('0xd')),'defaultValue':_0xcadf('0xc'),'allowNull':![]}}; \ No newline at end of file