Built motion from commit (unavailable).|2.4.14
[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 _0x6a95=['BOOLEAN','DATE','sequelize','lodash','exports','TEXT','long','medium','out','STRING','INTEGER'];(function(_0x4735cf,_0x12eb2c){var _0x5d30a8=function(_0x31e05a){while(--_0x31e05a){_0x4735cf['push'](_0x4735cf['shift']());}};_0x5d30a8(++_0x12eb2c);}(_0x6a95,0x1db));var _0x56a9=function(_0x4fc9e6,_0xc51915){_0x4fc9e6=_0x4fc9e6-0x0;var _0x551d28=_0x6a95[_0x4fc9e6];return _0x551d28;};'use strict';var Sequelize=require(_0x56a9('0x0'));var _=require(_0x56a9('0x1'));module[_0x56a9('0x2')]={'body':{'type':Sequelize[_0x56a9('0x3')](_0x56a9('0x4')),'allowNull':![]},'plainBody':{'type':Sequelize[_0x56a9('0x3')](_0x56a9('0x5'))},'read':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'direction':{'type':Sequelize['ENUM']('in',_0x56a9('0x6')),'defaultValue':_0x56a9('0x6'),'allowNull':![]},'messageId':{'type':Sequelize[_0x56a9('0x7')](0x1fe)},'from':{'type':Sequelize[_0x56a9('0x7')]},'to':{'type':Sequelize[_0x56a9('0x3')](_0x56a9('0x4'))},'cc':{'type':Sequelize[_0x56a9('0x3')]('long')},'bcc':{'type':Sequelize['TEXT'](_0x56a9('0x4'))},'subject':{'type':Sequelize[_0x56a9('0x3')]},'sentAt':{'type':Sequelize['DATE']},'attach':{'type':Sequelize[_0x56a9('0x8')],'defaultValue':0x0},'secret':{'type':Sequelize[_0x56a9('0x9')],'defaultValue':![]},'readAt':{'type':Sequelize[_0x56a9('0xa')]},'originTo':{'type':Sequelize[_0x56a9('0x3')](_0x56a9('0x4'))},'originCc':{'type':Sequelize[_0x56a9('0x3')](_0x56a9('0x4'))}};