06c8eed58dbcc7daf0d3da7807b15d09d3da5daa
[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 _0x4ccd=['TEXT','BOOLEAN','ENUM','out','STRING','long','DATE','INTEGER','Email','lodash','exports'];(function(_0x220f3f,_0x11c540){var _0x1f170e=function(_0x2c0ec9){while(--_0x2c0ec9){_0x220f3f['push'](_0x220f3f['shift']());}};_0x1f170e(++_0x11c540);}(_0x4ccd,0x174));var _0xd4cc=function(_0x3f4315,_0xd6ec89){_0x3f4315=_0x3f4315-0x0;var _0x5842e3=_0x4ccd[_0x3f4315];return _0x5842e3;};'use strict';var Sequelize=require('sequelize');var _=require(_0xd4cc('0x0'));module[_0xd4cc('0x1')]={'body':{'type':Sequelize[_0xd4cc('0x2')]('long'),'allowNull':![]},'plainBody':{'type':Sequelize[_0xd4cc('0x2')]('medium')},'read':{'type':Sequelize[_0xd4cc('0x3')],'defaultValue':![]},'direction':{'type':Sequelize[_0xd4cc('0x4')]('in','out'),'defaultValue':_0xd4cc('0x5'),'allowNull':![]},'messageId':{'type':Sequelize[_0xd4cc('0x6')](0x1fe)},'from':{'type':Sequelize[_0xd4cc('0x6')]},'to':{'type':Sequelize[_0xd4cc('0x2')](_0xd4cc('0x7'))},'cc':{'type':Sequelize['TEXT'](_0xd4cc('0x7'))},'bcc':{'type':Sequelize['TEXT'](_0xd4cc('0x7'))},'subject':{'type':Sequelize[_0xd4cc('0x2')]},'sentAt':{'type':Sequelize[_0xd4cc('0x8')]},'attach':{'type':Sequelize[_0xd4cc('0x9')],'defaultValue':0x0},'secret':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'readAt':{'type':Sequelize[_0xd4cc('0x8')]},'originTo':{'type':Sequelize[_0xd4cc('0x2')]('long')},'originCc':{'type':Sequelize[_0xd4cc('0x2')](_0xd4cc('0x7'))},'originChannel':{'type':Sequelize['ENUM'](_0xd4cc('0xa'),'Chat'),'defaultValue':_0xd4cc('0xa'),'allowNull':![]}};