e4c3257b83a47be53118c8262f19a19134b54db7
[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 _0x55c3=['long','medium','BOOLEAN','ENUM','out','STRING','DATE','INTEGER','lodash','exports','TEXT'];(function(_0x29a021,_0x369d4c){var _0x39fec1=function(_0x3db30c){while(--_0x3db30c){_0x29a021['push'](_0x29a021['shift']());}};_0x39fec1(++_0x369d4c);}(_0x55c3,0x189));var _0x355c=function(_0x3a4ef8,_0x340016){_0x3a4ef8=_0x3a4ef8-0x0;var _0x2553bb=_0x55c3[_0x3a4ef8];return _0x2553bb;};'use strict';var Sequelize=require('sequelize');var _=require(_0x355c('0x0'));module[_0x355c('0x1')]={'body':{'type':Sequelize[_0x355c('0x2')](_0x355c('0x3')),'allowNull':![]},'plainBody':{'type':Sequelize[_0x355c('0x2')](_0x355c('0x4'))},'read':{'type':Sequelize[_0x355c('0x5')],'defaultValue':![]},'direction':{'type':Sequelize[_0x355c('0x6')]('in',_0x355c('0x7')),'defaultValue':_0x355c('0x7'),'allowNull':![]},'messageId':{'type':Sequelize[_0x355c('0x8')](0x1fe)},'from':{'type':Sequelize[_0x355c('0x8')]},'to':{'type':Sequelize[_0x355c('0x2')](_0x355c('0x3'))},'cc':{'type':Sequelize['TEXT']('long')},'bcc':{'type':Sequelize[_0x355c('0x2')](_0x355c('0x3'))},'subject':{'type':Sequelize[_0x355c('0x2')]},'sentAt':{'type':Sequelize[_0x355c('0x9')]},'attach':{'type':Sequelize[_0x355c('0xa')],'defaultValue':0x0},'secret':{'type':Sequelize[_0x355c('0x5')],'defaultValue':![]},'readAt':{'type':Sequelize[_0x355c('0x9')]},'originTo':{'type':Sequelize[_0x355c('0x2')](_0x355c('0x3'))},'originCc':{'type':Sequelize[_0x355c('0x2')](_0x355c('0x3'))}};