Built motion from commit 74d9782e.|2.6.30
[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 _0xf0ba=['long','medium','ENUM','out','STRING','DATE','INTEGER','BOOLEAN','Chat','Email','sequelize','lodash','exports','TEXT'];(function(_0x1af1dc,_0x1ee272){var _0x218c76=function(_0x514dc4){while(--_0x514dc4){_0x1af1dc['push'](_0x1af1dc['shift']());}};_0x218c76(++_0x1ee272);}(_0xf0ba,0x7a));var _0xaf0b=function(_0x20a584,_0xe384a5){_0x20a584=_0x20a584-0x0;var _0x4b41a8=_0xf0ba[_0x20a584];return _0x4b41a8;};'use strict';var Sequelize=require(_0xaf0b('0x0'));var _=require(_0xaf0b('0x1'));module[_0xaf0b('0x2')]={'body':{'type':Sequelize[_0xaf0b('0x3')](_0xaf0b('0x4')),'allowNull':![]},'plainBody':{'type':Sequelize['TEXT'](_0xaf0b('0x5'))},'read':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'direction':{'type':Sequelize[_0xaf0b('0x6')]('in',_0xaf0b('0x7')),'defaultValue':_0xaf0b('0x7'),'allowNull':![]},'messageId':{'type':Sequelize[_0xaf0b('0x8')](0x1fe)},'from':{'type':Sequelize[_0xaf0b('0x8')]},'to':{'type':Sequelize[_0xaf0b('0x3')](_0xaf0b('0x4'))},'cc':{'type':Sequelize[_0xaf0b('0x3')](_0xaf0b('0x4'))},'bcc':{'type':Sequelize[_0xaf0b('0x3')](_0xaf0b('0x4'))},'subject':{'type':Sequelize[_0xaf0b('0x3')]},'sentAt':{'type':Sequelize[_0xaf0b('0x9')]},'attach':{'type':Sequelize[_0xaf0b('0xa')],'defaultValue':0x0},'secret':{'type':Sequelize[_0xaf0b('0xb')],'defaultValue':![]},'readAt':{'type':Sequelize[_0xaf0b('0x9')]},'originTo':{'type':Sequelize[_0xaf0b('0x3')](_0xaf0b('0x4'))},'originCc':{'type':Sequelize[_0xaf0b('0x3')]('long')},'originChannel':{'type':Sequelize[_0xaf0b('0x6')]('Email',_0xaf0b('0xc')),'defaultValue':_0xaf0b('0xd'),'allowNull':![]}};