Built motion from commit 953226e6.|2.6.32
[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 _0xa2d4=['medium','BOOLEAN','ENUM','out','STRING','INTEGER','DATE','Email','Chat','lodash','TEXT','long'];(function(_0x501510,_0x61caa9){var _0x1e6ee5=function(_0x32845b){while(--_0x32845b){_0x501510['push'](_0x501510['shift']());}};_0x1e6ee5(++_0x61caa9);}(_0xa2d4,0x159));var _0x4a2d=function(_0x8db008,_0x4ad8bd){_0x8db008=_0x8db008-0x0;var _0x2e6dba=_0xa2d4[_0x8db008];return _0x2e6dba;};'use strict';var Sequelize=require('sequelize');var _=require(_0x4a2d('0x0'));module['exports']={'body':{'type':Sequelize[_0x4a2d('0x1')](_0x4a2d('0x2')),'allowNull':![]},'plainBody':{'type':Sequelize[_0x4a2d('0x1')](_0x4a2d('0x3'))},'read':{'type':Sequelize[_0x4a2d('0x4')],'defaultValue':![]},'direction':{'type':Sequelize[_0x4a2d('0x5')]('in',_0x4a2d('0x6')),'defaultValue':_0x4a2d('0x6'),'allowNull':![]},'messageId':{'type':Sequelize[_0x4a2d('0x7')](0x1fe)},'from':{'type':Sequelize['STRING']},'to':{'type':Sequelize[_0x4a2d('0x1')](_0x4a2d('0x2'))},'cc':{'type':Sequelize[_0x4a2d('0x1')](_0x4a2d('0x2'))},'bcc':{'type':Sequelize[_0x4a2d('0x1')](_0x4a2d('0x2'))},'subject':{'type':Sequelize[_0x4a2d('0x1')]},'sentAt':{'type':Sequelize['DATE']},'attach':{'type':Sequelize[_0x4a2d('0x8')],'defaultValue':0x0},'secret':{'type':Sequelize[_0x4a2d('0x4')],'defaultValue':![]},'readAt':{'type':Sequelize[_0x4a2d('0x9')]},'originTo':{'type':Sequelize[_0x4a2d('0x1')](_0x4a2d('0x2'))},'originCc':{'type':Sequelize['TEXT'](_0x4a2d('0x2'))},'originChannel':{'type':Sequelize['ENUM'](_0x4a2d('0xa'),_0x4a2d('0xb')),'defaultValue':_0x4a2d('0xa'),'allowNull':![]}};