Built motion from commit 449495f6.|2.6.27
[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 _0x02ca=['BOOLEAN','out','STRING','long','DATE','ENUM','Email','sequelize','lodash','exports','TEXT','medium'];(function(_0x5756f8,_0x22b6d5){var _0x3bb749=function(_0x332204){while(--_0x332204){_0x5756f8['push'](_0x5756f8['shift']());}};_0x3bb749(++_0x22b6d5);}(_0x02ca,0x13f));var _0xa02c=function(_0x590e43,_0x3bd0de){_0x590e43=_0x590e43-0x0;var _0x418510=_0x02ca[_0x590e43];return _0x418510;};'use strict';var Sequelize=require(_0xa02c('0x0'));var _=require(_0xa02c('0x1'));module[_0xa02c('0x2')]={'body':{'type':Sequelize[_0xa02c('0x3')]('long'),'allowNull':![]},'plainBody':{'type':Sequelize[_0xa02c('0x3')](_0xa02c('0x4'))},'read':{'type':Sequelize[_0xa02c('0x5')],'defaultValue':![]},'direction':{'type':Sequelize['ENUM']('in',_0xa02c('0x6')),'defaultValue':_0xa02c('0x6'),'allowNull':![]},'messageId':{'type':Sequelize['STRING'](0x1fe)},'from':{'type':Sequelize[_0xa02c('0x7')]},'to':{'type':Sequelize[_0xa02c('0x3')]('long')},'cc':{'type':Sequelize[_0xa02c('0x3')](_0xa02c('0x8'))},'bcc':{'type':Sequelize[_0xa02c('0x3')](_0xa02c('0x8'))},'subject':{'type':Sequelize[_0xa02c('0x3')]},'sentAt':{'type':Sequelize['DATE']},'attach':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'secret':{'type':Sequelize[_0xa02c('0x5')],'defaultValue':![]},'readAt':{'type':Sequelize[_0xa02c('0x9')]},'originTo':{'type':Sequelize[_0xa02c('0x3')]('long')},'originCc':{'type':Sequelize['TEXT']('long')},'originChannel':{'type':Sequelize[_0xa02c('0xa')](_0xa02c('0xb'),'Chat'),'defaultValue':'Email','allowNull':![]}};