Built motion from commit (unavailable).|2.5.24
[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 _0x6ec5=['out','STRING','long','INTEGER','BOOLEAN','DATE','Email','lodash','exports','TEXT','ENUM'];(function(_0x5a0586,_0x556595){var _0x59568b=function(_0x5118cb){while(--_0x5118cb){_0x5a0586['push'](_0x5a0586['shift']());}};_0x59568b(++_0x556595);}(_0x6ec5,0xc2));var _0x56ec=function(_0x2dafbe,_0x5d04de){_0x2dafbe=_0x2dafbe-0x0;var _0x58a45a=_0x6ec5[_0x2dafbe];return _0x58a45a;};'use strict';var Sequelize=require('sequelize');var _=require(_0x56ec('0x0'));module[_0x56ec('0x1')]={'body':{'type':Sequelize['TEXT']('long'),'allowNull':![]},'plainBody':{'type':Sequelize[_0x56ec('0x2')]('medium')},'read':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'direction':{'type':Sequelize[_0x56ec('0x3')]('in',_0x56ec('0x4')),'defaultValue':_0x56ec('0x4'),'allowNull':![]},'messageId':{'type':Sequelize[_0x56ec('0x5')](0x1fe)},'from':{'type':Sequelize[_0x56ec('0x5')]},'to':{'type':Sequelize[_0x56ec('0x2')](_0x56ec('0x6'))},'cc':{'type':Sequelize[_0x56ec('0x2')]('long')},'bcc':{'type':Sequelize[_0x56ec('0x2')](_0x56ec('0x6'))},'subject':{'type':Sequelize[_0x56ec('0x2')]},'sentAt':{'type':Sequelize['DATE']},'attach':{'type':Sequelize[_0x56ec('0x7')],'defaultValue':0x0},'secret':{'type':Sequelize[_0x56ec('0x8')],'defaultValue':![]},'readAt':{'type':Sequelize[_0x56ec('0x9')]},'originTo':{'type':Sequelize[_0x56ec('0x2')](_0x56ec('0x6'))},'originCc':{'type':Sequelize[_0x56ec('0x2')](_0x56ec('0x6'))},'originChannel':{'type':Sequelize[_0x56ec('0x3')](_0x56ec('0xa'),'Chat'),'defaultValue':_0x56ec('0xa'),'allowNull':![]}};