Built motion from commit 85328c08.|2.5.50
[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 _0xdc1b=['DATE','INTEGER','ENUM','Email','sequelize','lodash','long','TEXT','medium','BOOLEAN','out','STRING'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0xdc1b,0x1f0));var _0xbdc1=function(_0x1f36bb,_0x8af718){_0x1f36bb=_0x1f36bb-0x0;var _0xaf97fa=_0xdc1b[_0x1f36bb];return _0xaf97fa;};'use strict';var Sequelize=require(_0xbdc1('0x0'));var _=require(_0xbdc1('0x1'));module['exports']={'body':{'type':Sequelize['TEXT'](_0xbdc1('0x2')),'allowNull':![]},'plainBody':{'type':Sequelize[_0xbdc1('0x3')](_0xbdc1('0x4'))},'read':{'type':Sequelize[_0xbdc1('0x5')],'defaultValue':![]},'direction':{'type':Sequelize['ENUM']('in',_0xbdc1('0x6')),'defaultValue':'out','allowNull':![]},'messageId':{'type':Sequelize[_0xbdc1('0x7')](0x1fe)},'from':{'type':Sequelize['STRING']},'to':{'type':Sequelize[_0xbdc1('0x3')]('long')},'cc':{'type':Sequelize[_0xbdc1('0x3')](_0xbdc1('0x2'))},'bcc':{'type':Sequelize[_0xbdc1('0x3')](_0xbdc1('0x2'))},'subject':{'type':Sequelize[_0xbdc1('0x3')]},'sentAt':{'type':Sequelize[_0xbdc1('0x8')]},'attach':{'type':Sequelize[_0xbdc1('0x9')],'defaultValue':0x0},'secret':{'type':Sequelize[_0xbdc1('0x5')],'defaultValue':![]},'readAt':{'type':Sequelize['DATE']},'originTo':{'type':Sequelize[_0xbdc1('0x3')](_0xbdc1('0x2'))},'originCc':{'type':Sequelize[_0xbdc1('0x3')](_0xbdc1('0x2'))},'originChannel':{'type':Sequelize[_0xbdc1('0xa')](_0xbdc1('0xb'),'Chat'),'defaultValue':'Email','allowNull':![]}};