Built motion from commit (unavailable).|2.5.13
[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 _0xa809=['TEXT','DATE','INTEGER','lodash','long','ENUM','out','STRING'];(function(_0x3c71e0,_0x1c69e6){var _0x1b1b6b=function(_0x19f8c5){while(--_0x19f8c5){_0x3c71e0['push'](_0x3c71e0['shift']());}};_0x1b1b6b(++_0x1c69e6);}(_0xa809,0x1f3));var _0x9a80=function(_0x29b836,_0x9c75ce){_0x29b836=_0x29b836-0x0;var _0xb8012c=_0xa809[_0x29b836];return _0xb8012c;};'use strict';var Sequelize=require('sequelize');var _=require(_0x9a80('0x0'));module['exports']={'body':{'type':Sequelize['TEXT'](_0x9a80('0x1')),'allowNull':![]},'plainBody':{'type':Sequelize['TEXT']('medium')},'read':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'direction':{'type':Sequelize[_0x9a80('0x2')]('in',_0x9a80('0x3')),'defaultValue':_0x9a80('0x3'),'allowNull':![]},'messageId':{'type':Sequelize[_0x9a80('0x4')](0x1fe)},'from':{'type':Sequelize['STRING']},'to':{'type':Sequelize[_0x9a80('0x5')]('long')},'cc':{'type':Sequelize[_0x9a80('0x5')](_0x9a80('0x1'))},'bcc':{'type':Sequelize['TEXT'](_0x9a80('0x1'))},'subject':{'type':Sequelize[_0x9a80('0x5')]},'sentAt':{'type':Sequelize[_0x9a80('0x6')]},'attach':{'type':Sequelize[_0x9a80('0x7')],'defaultValue':0x0},'secret':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'readAt':{'type':Sequelize[_0x9a80('0x6')]},'originTo':{'type':Sequelize[_0x9a80('0x5')](_0x9a80('0x1'))},'originCc':{'type':Sequelize[_0x9a80('0x5')](_0x9a80('0x1'))}};