Built motion from commit (unavailable).|2.5.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 _0x7cdc=['STRING','INTEGER','BOOLEAN','DATE','lodash','exports','long','TEXT','medium','ENUM','out'];(function(_0x39c281,_0x28dc4d){var _0x41bd06=function(_0x209f94){while(--_0x209f94){_0x39c281['push'](_0x39c281['shift']());}};_0x41bd06(++_0x28dc4d);}(_0x7cdc,0x190));var _0xc7cd=function(_0x507c46,_0x2589a4){_0x507c46=_0x507c46-0x0;var _0x53ac33=_0x7cdc[_0x507c46];return _0x53ac33;};'use strict';var Sequelize=require('sequelize');var _=require(_0xc7cd('0x0'));module[_0xc7cd('0x1')]={'body':{'type':Sequelize['TEXT'](_0xc7cd('0x2')),'allowNull':![]},'plainBody':{'type':Sequelize[_0xc7cd('0x3')](_0xc7cd('0x4'))},'read':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'direction':{'type':Sequelize[_0xc7cd('0x5')]('in',_0xc7cd('0x6')),'defaultValue':'out','allowNull':![]},'messageId':{'type':Sequelize[_0xc7cd('0x7')](0x1fe)},'from':{'type':Sequelize[_0xc7cd('0x7')]},'to':{'type':Sequelize[_0xc7cd('0x3')](_0xc7cd('0x2'))},'cc':{'type':Sequelize[_0xc7cd('0x3')](_0xc7cd('0x2'))},'bcc':{'type':Sequelize[_0xc7cd('0x3')]('long')},'subject':{'type':Sequelize[_0xc7cd('0x3')]},'sentAt':{'type':Sequelize['DATE']},'attach':{'type':Sequelize[_0xc7cd('0x8')],'defaultValue':0x0},'secret':{'type':Sequelize[_0xc7cd('0x9')],'defaultValue':![]},'readAt':{'type':Sequelize[_0xc7cd('0xa')]},'originTo':{'type':Sequelize[_0xc7cd('0x3')]('long')},'originCc':{'type':Sequelize[_0xc7cd('0x3')](_0xc7cd('0x2'))}};