Built motion from commit (unavailable).|2.5.27
[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 _0xb612=['BOOLEAN','ENUM','out','STRING','DATE','Email','Chat','lodash','exports','TEXT','long','medium'];(function(_0x297b8b,_0x10031d){var _0x4566e9=function(_0x45062b){while(--_0x45062b){_0x297b8b['push'](_0x297b8b['shift']());}};_0x4566e9(++_0x10031d);}(_0xb612,0x13f));var _0x2b61=function(_0x256575,_0x4246f6){_0x256575=_0x256575-0x0;var _0x20f83b=_0xb612[_0x256575];return _0x20f83b;};'use strict';var Sequelize=require('sequelize');var _=require(_0x2b61('0x0'));module[_0x2b61('0x1')]={'body':{'type':Sequelize[_0x2b61('0x2')](_0x2b61('0x3')),'allowNull':![]},'plainBody':{'type':Sequelize[_0x2b61('0x2')](_0x2b61('0x4'))},'read':{'type':Sequelize[_0x2b61('0x5')],'defaultValue':![]},'direction':{'type':Sequelize[_0x2b61('0x6')]('in',_0x2b61('0x7')),'defaultValue':_0x2b61('0x7'),'allowNull':![]},'messageId':{'type':Sequelize['STRING'](0x1fe)},'from':{'type':Sequelize[_0x2b61('0x8')]},'to':{'type':Sequelize['TEXT'](_0x2b61('0x3'))},'cc':{'type':Sequelize[_0x2b61('0x2')](_0x2b61('0x3'))},'bcc':{'type':Sequelize['TEXT']('long')},'subject':{'type':Sequelize[_0x2b61('0x2')]},'sentAt':{'type':Sequelize[_0x2b61('0x9')]},'attach':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'secret':{'type':Sequelize[_0x2b61('0x5')],'defaultValue':![]},'readAt':{'type':Sequelize['DATE']},'originTo':{'type':Sequelize['TEXT']('long')},'originCc':{'type':Sequelize[_0x2b61('0x2')](_0x2b61('0x3'))},'originChannel':{'type':Sequelize[_0x2b61('0x6')](_0x2b61('0xa'),_0x2b61('0xb')),'defaultValue':'Email','allowNull':![]}};