Built motion from commit 10af8726.|2.6.34
[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 _0x78e2=['INTEGER','BOOLEAN','Email','Chat','sequelize','lodash','exports','TEXT','long','medium','ENUM','out','STRING','DATE'];(function(_0x56ea44,_0x368863){var _0xabc9b=function(_0x3b3c6a){while(--_0x3b3c6a){_0x56ea44['push'](_0x56ea44['shift']());}};_0xabc9b(++_0x368863);}(_0x78e2,0x1a8));var _0x278e=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x78e2[_0x3dd15e];return _0x231fd0;};'use strict';var Sequelize=require(_0x278e('0x0'));var _=require(_0x278e('0x1'));module[_0x278e('0x2')]={'body':{'type':Sequelize[_0x278e('0x3')](_0x278e('0x4')),'allowNull':![]},'plainBody':{'type':Sequelize['TEXT'](_0x278e('0x5'))},'read':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'direction':{'type':Sequelize[_0x278e('0x6')]('in',_0x278e('0x7')),'defaultValue':_0x278e('0x7'),'allowNull':![]},'messageId':{'type':Sequelize[_0x278e('0x8')](0x1fe)},'from':{'type':Sequelize[_0x278e('0x8')]},'to':{'type':Sequelize[_0x278e('0x3')](_0x278e('0x4'))},'cc':{'type':Sequelize[_0x278e('0x3')](_0x278e('0x4'))},'bcc':{'type':Sequelize[_0x278e('0x3')](_0x278e('0x4'))},'subject':{'type':Sequelize[_0x278e('0x3')]},'sentAt':{'type':Sequelize[_0x278e('0x9')]},'attach':{'type':Sequelize[_0x278e('0xa')],'defaultValue':0x0},'secret':{'type':Sequelize[_0x278e('0xb')],'defaultValue':![]},'readAt':{'type':Sequelize['DATE']},'originTo':{'type':Sequelize[_0x278e('0x3')](_0x278e('0x4'))},'originCc':{'type':Sequelize[_0x278e('0x3')](_0x278e('0x4'))},'originChannel':{'type':Sequelize[_0x278e('0x6')](_0x278e('0xc'),_0x278e('0xd')),'defaultValue':'Email','allowNull':![]}};