Built motion from commit (unavailable).|2.4.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 _0x2064=['DATE','sequelize','lodash','exports','TEXT','long','medium','ENUM','out','STRING','INTEGER','BOOLEAN'];(function(_0x9fc8a5,_0xd3d4c4){var _0x24c625=function(_0x16d2d1){while(--_0x16d2d1){_0x9fc8a5['push'](_0x9fc8a5['shift']());}};_0x24c625(++_0xd3d4c4);}(_0x2064,0x79));var _0x4206=function(_0x5b2e0d,_0x477978){_0x5b2e0d=_0x5b2e0d-0x0;var _0x34cc82=_0x2064[_0x5b2e0d];return _0x34cc82;};'use strict';var Sequelize=require(_0x4206('0x0'));var _=require(_0x4206('0x1'));module[_0x4206('0x2')]={'body':{'type':Sequelize[_0x4206('0x3')](_0x4206('0x4')),'allowNull':![]},'plainBody':{'type':Sequelize['TEXT'](_0x4206('0x5'))},'read':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'direction':{'type':Sequelize[_0x4206('0x6')]('in',_0x4206('0x7')),'defaultValue':_0x4206('0x7'),'allowNull':![]},'messageId':{'type':Sequelize[_0x4206('0x8')](0x1fe)},'from':{'type':Sequelize['STRING']},'to':{'type':Sequelize[_0x4206('0x3')](_0x4206('0x4'))},'cc':{'type':Sequelize[_0x4206('0x3')]('long')},'bcc':{'type':Sequelize[_0x4206('0x3')]('long')},'subject':{'type':Sequelize[_0x4206('0x3')]},'sentAt':{'type':Sequelize['DATE']},'attach':{'type':Sequelize[_0x4206('0x9')],'defaultValue':0x0},'secret':{'type':Sequelize[_0x4206('0xa')],'defaultValue':![]},'readAt':{'type':Sequelize[_0x4206('0xb')]},'originTo':{'type':Sequelize[_0x4206('0x3')]('long')},'originCc':{'type':Sequelize['TEXT']('long')}};