Built motion from commit 43538d75.|2.5.35
[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 _0x28fd=['long','medium','BOOLEAN','out','STRING','DATE','INTEGER','Email','Chat','sequelize','lodash','TEXT'];(function(_0x575787,_0x2a2321){var _0x40c4bf=function(_0x1af47c){while(--_0x1af47c){_0x575787['push'](_0x575787['shift']());}};_0x40c4bf(++_0x2a2321);}(_0x28fd,0xb1));var _0xd28f=function(_0x4b3d13,_0x1993d5){_0x4b3d13=_0x4b3d13-0x0;var _0xf64dd8=_0x28fd[_0x4b3d13];return _0xf64dd8;};'use strict';var Sequelize=require(_0xd28f('0x0'));var _=require(_0xd28f('0x1'));module['exports']={'body':{'type':Sequelize[_0xd28f('0x2')](_0xd28f('0x3')),'allowNull':![]},'plainBody':{'type':Sequelize['TEXT'](_0xd28f('0x4'))},'read':{'type':Sequelize[_0xd28f('0x5')],'defaultValue':![]},'direction':{'type':Sequelize['ENUM']('in',_0xd28f('0x6')),'defaultValue':'out','allowNull':![]},'messageId':{'type':Sequelize[_0xd28f('0x7')](0x1fe)},'from':{'type':Sequelize['STRING']},'to':{'type':Sequelize['TEXT'](_0xd28f('0x3'))},'cc':{'type':Sequelize[_0xd28f('0x2')](_0xd28f('0x3'))},'bcc':{'type':Sequelize[_0xd28f('0x2')](_0xd28f('0x3'))},'subject':{'type':Sequelize[_0xd28f('0x2')]},'sentAt':{'type':Sequelize[_0xd28f('0x8')]},'attach':{'type':Sequelize[_0xd28f('0x9')],'defaultValue':0x0},'secret':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'readAt':{'type':Sequelize['DATE']},'originTo':{'type':Sequelize[_0xd28f('0x2')](_0xd28f('0x3'))},'originCc':{'type':Sequelize[_0xd28f('0x2')](_0xd28f('0x3'))},'originChannel':{'type':Sequelize['ENUM'](_0xd28f('0xa'),_0xd28f('0xb')),'defaultValue':_0xd28f('0xa'),'allowNull':![]}};