Built motion from commit (unavailable).|2.5.4
[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 _0xd448=['medium','BOOLEAN','ENUM','out','STRING','DATE','INTEGER','lodash','exports','TEXT','long'];(function(_0x5ec1c2,_0xb71a59){var _0x1fda63=function(_0x2026de){while(--_0x2026de){_0x5ec1c2['push'](_0x5ec1c2['shift']());}};_0x1fda63(++_0xb71a59);}(_0xd448,0x172));var _0x8d44=function(_0x9bd251,_0x315b63){_0x9bd251=_0x9bd251-0x0;var _0x7abc5b=_0xd448[_0x9bd251];return _0x7abc5b;};'use strict';var Sequelize=require('sequelize');var _=require(_0x8d44('0x0'));module[_0x8d44('0x1')]={'body':{'type':Sequelize[_0x8d44('0x2')](_0x8d44('0x3')),'allowNull':![]},'plainBody':{'type':Sequelize[_0x8d44('0x2')](_0x8d44('0x4'))},'read':{'type':Sequelize[_0x8d44('0x5')],'defaultValue':![]},'direction':{'type':Sequelize[_0x8d44('0x6')]('in',_0x8d44('0x7')),'defaultValue':_0x8d44('0x7'),'allowNull':![]},'messageId':{'type':Sequelize['STRING'](0x1fe)},'from':{'type':Sequelize[_0x8d44('0x8')]},'to':{'type':Sequelize['TEXT']('long')},'cc':{'type':Sequelize[_0x8d44('0x2')](_0x8d44('0x3'))},'bcc':{'type':Sequelize[_0x8d44('0x2')](_0x8d44('0x3'))},'subject':{'type':Sequelize['TEXT']},'sentAt':{'type':Sequelize[_0x8d44('0x9')]},'attach':{'type':Sequelize[_0x8d44('0xa')],'defaultValue':0x0},'secret':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'readAt':{'type':Sequelize['DATE']},'originTo':{'type':Sequelize[_0x8d44('0x2')](_0x8d44('0x3'))},'originCc':{'type':Sequelize[_0x8d44('0x2')]('long')}};