Built motion from commit (unavailable).|2.5.8
[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 _0xa321=['TEXT','medium','ENUM','out','long','INTEGER','BOOLEAN','sequelize','lodash','exports'];(function(_0x209941,_0x5c9988){var _0x1e8729=function(_0x51a9b8){while(--_0x51a9b8){_0x209941['push'](_0x209941['shift']());}};_0x1e8729(++_0x5c9988);}(_0xa321,0x9d));var _0x1a32=function(_0x3c3e72,_0x3e1858){_0x3c3e72=_0x3c3e72-0x0;var _0x48a7e5=_0xa321[_0x3c3e72];return _0x48a7e5;};'use strict';var Sequelize=require(_0x1a32('0x0'));var _=require(_0x1a32('0x1'));module[_0x1a32('0x2')]={'body':{'type':Sequelize[_0x1a32('0x3')]('long'),'allowNull':![]},'plainBody':{'type':Sequelize[_0x1a32('0x3')](_0x1a32('0x4'))},'read':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'direction':{'type':Sequelize[_0x1a32('0x5')]('in',_0x1a32('0x6')),'defaultValue':'out','allowNull':![]},'messageId':{'type':Sequelize['STRING'](0x1fe)},'from':{'type':Sequelize['STRING']},'to':{'type':Sequelize[_0x1a32('0x3')]('long')},'cc':{'type':Sequelize[_0x1a32('0x3')](_0x1a32('0x7'))},'bcc':{'type':Sequelize[_0x1a32('0x3')](_0x1a32('0x7'))},'subject':{'type':Sequelize[_0x1a32('0x3')]},'sentAt':{'type':Sequelize['DATE']},'attach':{'type':Sequelize[_0x1a32('0x8')],'defaultValue':0x0},'secret':{'type':Sequelize[_0x1a32('0x9')],'defaultValue':![]},'readAt':{'type':Sequelize['DATE']},'originTo':{'type':Sequelize[_0x1a32('0x3')](_0x1a32('0x7'))},'originCc':{'type':Sequelize[_0x1a32('0x3')](_0x1a32('0x7'))}};