ec4a6f518d9aa972a32c49722c3da4a0bd981a66
[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 _0xceed=['BOOLEAN','ENUM','out','STRING','long','DATE','INTEGER','Email','sequelize','lodash','exports','TEXT','medium'];(function(_0x333715,_0x15b4db){var _0x455850=function(_0x33cedb){while(--_0x33cedb){_0x333715['push'](_0x333715['shift']());}};_0x455850(++_0x15b4db);}(_0xceed,0x70));var _0xdcee=function(_0x17406e,_0x1049fd){_0x17406e=_0x17406e-0x0;var _0x2bfc5a=_0xceed[_0x17406e];return _0x2bfc5a;};'use strict';var Sequelize=require(_0xdcee('0x0'));var _=require(_0xdcee('0x1'));module[_0xdcee('0x2')]={'body':{'type':Sequelize['TEXT']('long'),'allowNull':![]},'plainBody':{'type':Sequelize[_0xdcee('0x3')](_0xdcee('0x4'))},'read':{'type':Sequelize[_0xdcee('0x5')],'defaultValue':![]},'direction':{'type':Sequelize[_0xdcee('0x6')]('in',_0xdcee('0x7')),'defaultValue':_0xdcee('0x7'),'allowNull':![]},'messageId':{'type':Sequelize[_0xdcee('0x8')](0x1fe)},'from':{'type':Sequelize[_0xdcee('0x8')]},'to':{'type':Sequelize[_0xdcee('0x3')]('long')},'cc':{'type':Sequelize[_0xdcee('0x3')](_0xdcee('0x9'))},'bcc':{'type':Sequelize[_0xdcee('0x3')](_0xdcee('0x9'))},'subject':{'type':Sequelize[_0xdcee('0x3')]},'sentAt':{'type':Sequelize[_0xdcee('0xa')]},'attach':{'type':Sequelize[_0xdcee('0xb')],'defaultValue':0x0},'secret':{'type':Sequelize[_0xdcee('0x5')],'defaultValue':![]},'readAt':{'type':Sequelize[_0xdcee('0xa')]},'originTo':{'type':Sequelize[_0xdcee('0x3')](_0xdcee('0x9'))},'originCc':{'type':Sequelize[_0xdcee('0x3')](_0xdcee('0x9'))},'originChannel':{'type':Sequelize['ENUM'](_0xdcee('0xc'),'Chat'),'defaultValue':'Email','allowNull':![]}};