Built motion from commit ffdca78c.|2.6.24
[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 _0x3691=['ENUM','out','STRING','DATE','INTEGER','BOOLEAN','Email','Chat','lodash','exports','TEXT','long','medium'];(function(_0x531e48,_0x4bb96b){var _0x202971=function(_0x403bf5){while(--_0x403bf5){_0x531e48['push'](_0x531e48['shift']());}};_0x202971(++_0x4bb96b);}(_0x3691,0x167));var _0x1369=function(_0x51e664,_0x4def32){_0x51e664=_0x51e664-0x0;var _0x2cc05=_0x3691[_0x51e664];return _0x2cc05;};'use strict';var Sequelize=require('sequelize');var _=require(_0x1369('0x0'));module[_0x1369('0x1')]={'body':{'type':Sequelize[_0x1369('0x2')](_0x1369('0x3')),'allowNull':![]},'plainBody':{'type':Sequelize[_0x1369('0x2')](_0x1369('0x4'))},'read':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'direction':{'type':Sequelize[_0x1369('0x5')]('in',_0x1369('0x6')),'defaultValue':'out','allowNull':![]},'messageId':{'type':Sequelize[_0x1369('0x7')](0x1fe)},'from':{'type':Sequelize[_0x1369('0x7')]},'to':{'type':Sequelize[_0x1369('0x2')](_0x1369('0x3'))},'cc':{'type':Sequelize[_0x1369('0x2')]('long')},'bcc':{'type':Sequelize['TEXT'](_0x1369('0x3'))},'subject':{'type':Sequelize[_0x1369('0x2')]},'sentAt':{'type':Sequelize[_0x1369('0x8')]},'attach':{'type':Sequelize[_0x1369('0x9')],'defaultValue':0x0},'secret':{'type':Sequelize[_0x1369('0xa')],'defaultValue':![]},'readAt':{'type':Sequelize[_0x1369('0x8')]},'originTo':{'type':Sequelize['TEXT'](_0x1369('0x3'))},'originCc':{'type':Sequelize[_0x1369('0x2')](_0x1369('0x3'))},'originChannel':{'type':Sequelize[_0x1369('0x5')](_0x1369('0xb'),_0x1369('0xc')),'defaultValue':_0x1369('0xb'),'allowNull':![]}};