7a12faa9652901cb139e9247a08222b44b2258ed
[motion2.git] / server / api / mailMessage / mailMessage.attributes.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
13 // * The SOFTWARE PRODUCT is protected by copyright laws and international *
14 // * copyright treaties, as well as other intellectual property laws and   *
15 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0xb3e3=['Email','sequelize','lodash','exports','TEXT','long','medium','BOOLEAN','ENUM','out','STRING','DATE','INTEGER'];(function(_0x5de214,_0x107e9d){var _0x4df627=function(_0x4199e1){while(--_0x4199e1){_0x5de214['push'](_0x5de214['shift']());}};_0x4df627(++_0x107e9d);}(_0xb3e3,0x194));var _0x3b3e=function(_0x1a0c0b,_0x2884c2){_0x1a0c0b=_0x1a0c0b-0x0;var _0x26bb83=_0xb3e3[_0x1a0c0b];return _0x26bb83;};'use strict';var Sequelize=require(_0x3b3e('0x0'));var _=require(_0x3b3e('0x1'));module[_0x3b3e('0x2')]={'body':{'type':Sequelize[_0x3b3e('0x3')](_0x3b3e('0x4')),'allowNull':![]},'plainBody':{'type':Sequelize[_0x3b3e('0x3')](_0x3b3e('0x5'))},'read':{'type':Sequelize[_0x3b3e('0x6')],'defaultValue':![]},'direction':{'type':Sequelize[_0x3b3e('0x7')]('in',_0x3b3e('0x8')),'defaultValue':_0x3b3e('0x8'),'allowNull':![]},'messageId':{'type':Sequelize[_0x3b3e('0x9')](0x1fe)},'from':{'type':Sequelize['STRING']},'to':{'type':Sequelize[_0x3b3e('0x3')]('long')},'cc':{'type':Sequelize[_0x3b3e('0x3')](_0x3b3e('0x4'))},'bcc':{'type':Sequelize[_0x3b3e('0x3')](_0x3b3e('0x4'))},'subject':{'type':Sequelize[_0x3b3e('0x3')]},'sentAt':{'type':Sequelize[_0x3b3e('0xa')]},'attach':{'type':Sequelize[_0x3b3e('0xb')],'defaultValue':0x0},'secret':{'type':Sequelize[_0x3b3e('0x6')],'defaultValue':![]},'readAt':{'type':Sequelize[_0x3b3e('0xa')]},'originTo':{'type':Sequelize[_0x3b3e('0x3')](_0x3b3e('0x4'))},'originCc':{'type':Sequelize[_0x3b3e('0x3')]('long')},'originChannel':{'type':Sequelize[_0x3b3e('0x7')](_0x3b3e('0xc'),'Chat'),'defaultValue':_0x3b3e('0xc'),'allowNull':![]}};