287513e3af06f5867e3ef03d24a8b93c05202c3f
[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 _0x8579=['STRING','DATE','INTEGER','BOOLEAN','sequelize','lodash','TEXT','long','medium'];(function(_0x51a110,_0x2cdf63){var _0x529a2e=function(_0x44cf07){while(--_0x44cf07){_0x51a110['push'](_0x51a110['shift']());}};_0x529a2e(++_0x2cdf63);}(_0x8579,0x16c));var _0x9857=function(_0x304026,_0x5dd818){_0x304026=_0x304026-0x0;var _0x9bb49f=_0x8579[_0x304026];return _0x9bb49f;};'use strict';var Sequelize=require(_0x9857('0x0'));var _=require(_0x9857('0x1'));module['exports']={'body':{'type':Sequelize[_0x9857('0x2')](_0x9857('0x3')),'allowNull':![]},'plainBody':{'type':Sequelize[_0x9857('0x2')](_0x9857('0x4'))},'read':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'direction':{'type':Sequelize['ENUM']('in','out'),'defaultValue':'out','allowNull':![]},'messageId':{'type':Sequelize[_0x9857('0x5')](0x1fe)},'from':{'type':Sequelize[_0x9857('0x5')]},'to':{'type':Sequelize[_0x9857('0x2')](_0x9857('0x3'))},'cc':{'type':Sequelize[_0x9857('0x2')](_0x9857('0x3'))},'bcc':{'type':Sequelize['TEXT'](_0x9857('0x3'))},'subject':{'type':Sequelize[_0x9857('0x2')]},'sentAt':{'type':Sequelize[_0x9857('0x6')]},'attach':{'type':Sequelize[_0x9857('0x7')],'defaultValue':0x0},'secret':{'type':Sequelize[_0x9857('0x8')],'defaultValue':![]},'readAt':{'type':Sequelize[_0x9857('0x6')]},'originTo':{'type':Sequelize['TEXT']('long')},'originCc':{'type':Sequelize['TEXT'](_0x9857('0x3'))}};