5a55de04302593a11930490aee2142774894b591
[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 _0x5c96=['BOOLEAN','ENUM','out','STRING','long','DATE','INTEGER','sequelize','lodash','exports','TEXT','medium'];(function(_0xbfe450,_0x32c49b){var _0x16aa8=function(_0x5a4f69){while(--_0x5a4f69){_0xbfe450['push'](_0xbfe450['shift']());}};_0x16aa8(++_0x32c49b);}(_0x5c96,0x133));var _0x65c9=function(_0x299ba9,_0x28eb5f){_0x299ba9=_0x299ba9-0x0;var _0x50b8eb=_0x5c96[_0x299ba9];return _0x50b8eb;};'use strict';var Sequelize=require(_0x65c9('0x0'));var _=require(_0x65c9('0x1'));module[_0x65c9('0x2')]={'body':{'type':Sequelize[_0x65c9('0x3')]('long'),'allowNull':![]},'plainBody':{'type':Sequelize[_0x65c9('0x3')](_0x65c9('0x4'))},'read':{'type':Sequelize[_0x65c9('0x5')],'defaultValue':![]},'direction':{'type':Sequelize[_0x65c9('0x6')]('in',_0x65c9('0x7')),'defaultValue':_0x65c9('0x7'),'allowNull':![]},'messageId':{'type':Sequelize[_0x65c9('0x8')](0x1fe)},'from':{'type':Sequelize['STRING']},'to':{'type':Sequelize['TEXT']('long')},'cc':{'type':Sequelize['TEXT'](_0x65c9('0x9'))},'bcc':{'type':Sequelize[_0x65c9('0x3')](_0x65c9('0x9'))},'subject':{'type':Sequelize['TEXT']},'sentAt':{'type':Sequelize[_0x65c9('0xa')]},'attach':{'type':Sequelize[_0x65c9('0xb')],'defaultValue':0x0},'secret':{'type':Sequelize[_0x65c9('0x5')],'defaultValue':![]},'readAt':{'type':Sequelize[_0x65c9('0xa')]},'originTo':{'type':Sequelize[_0x65c9('0x3')](_0x65c9('0x9'))},'originCc':{'type':Sequelize[_0x65c9('0x3')]('long')}};