2bcd3341c887304e47c1815e370f0e7dc6143cb1
[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 _0xa3cc=['BOOLEAN','DATE','Email','Chat','lodash','TEXT','ENUM','out','STRING','long','INTEGER'];(function(_0x13c565,_0x7ccc89){var _0xdb6c5f=function(_0x38c5ee){while(--_0x38c5ee){_0x13c565['push'](_0x13c565['shift']());}};_0xdb6c5f(++_0x7ccc89);}(_0xa3cc,0x1c7));var _0xca3c=function(_0x605bca,_0x14e79c){_0x605bca=_0x605bca-0x0;var _0x480845=_0xa3cc[_0x605bca];return _0x480845;};'use strict';var Sequelize=require('sequelize');var _=require(_0xca3c('0x0'));module['exports']={'body':{'type':Sequelize[_0xca3c('0x1')]('long'),'allowNull':![]},'plainBody':{'type':Sequelize[_0xca3c('0x1')]('medium')},'read':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'direction':{'type':Sequelize[_0xca3c('0x2')]('in','out'),'defaultValue':_0xca3c('0x3'),'allowNull':![]},'messageId':{'type':Sequelize[_0xca3c('0x4')](0x1fe)},'from':{'type':Sequelize[_0xca3c('0x4')]},'to':{'type':Sequelize[_0xca3c('0x1')](_0xca3c('0x5'))},'cc':{'type':Sequelize['TEXT'](_0xca3c('0x5'))},'bcc':{'type':Sequelize['TEXT'](_0xca3c('0x5'))},'subject':{'type':Sequelize[_0xca3c('0x1')]},'sentAt':{'type':Sequelize['DATE']},'attach':{'type':Sequelize[_0xca3c('0x6')],'defaultValue':0x0},'secret':{'type':Sequelize[_0xca3c('0x7')],'defaultValue':![]},'readAt':{'type':Sequelize[_0xca3c('0x8')]},'originTo':{'type':Sequelize[_0xca3c('0x1')](_0xca3c('0x5'))},'originCc':{'type':Sequelize[_0xca3c('0x1')]('long')},'originChannel':{'type':Sequelize[_0xca3c('0x2')](_0xca3c('0x9'),_0xca3c('0xa')),'defaultValue':_0xca3c('0x9'),'allowNull':![]}};