11379ac6d0fb6723f1687136254d642d19bb6ccf
[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 _0xe4de=['DATE','Chat','sequelize','lodash','exports','TEXT','medium','BOOLEAN','ENUM','out','STRING','long','INTEGER'];(function(_0x484b24,_0x5f34ad){var _0x379fbb=function(_0x138c14){while(--_0x138c14){_0x484b24['push'](_0x484b24['shift']());}};_0x379fbb(++_0x5f34ad);}(_0xe4de,0x16e));var _0xee4d=function(_0x52a858,_0x1df8ea){_0x52a858=_0x52a858-0x0;var _0x247399=_0xe4de[_0x52a858];return _0x247399;};'use strict';var Sequelize=require(_0xee4d('0x0'));var _=require(_0xee4d('0x1'));module[_0xee4d('0x2')]={'body':{'type':Sequelize[_0xee4d('0x3')]('long'),'allowNull':![]},'plainBody':{'type':Sequelize[_0xee4d('0x3')](_0xee4d('0x4'))},'read':{'type':Sequelize[_0xee4d('0x5')],'defaultValue':![]},'direction':{'type':Sequelize[_0xee4d('0x6')]('in',_0xee4d('0x7')),'defaultValue':_0xee4d('0x7'),'allowNull':![]},'messageId':{'type':Sequelize['STRING'](0x1fe)},'from':{'type':Sequelize[_0xee4d('0x8')]},'to':{'type':Sequelize['TEXT'](_0xee4d('0x9'))},'cc':{'type':Sequelize[_0xee4d('0x3')](_0xee4d('0x9'))},'bcc':{'type':Sequelize[_0xee4d('0x3')](_0xee4d('0x9'))},'subject':{'type':Sequelize['TEXT']},'sentAt':{'type':Sequelize['DATE']},'attach':{'type':Sequelize[_0xee4d('0xa')],'defaultValue':0x0},'secret':{'type':Sequelize[_0xee4d('0x5')],'defaultValue':![]},'readAt':{'type':Sequelize[_0xee4d('0xb')]},'originTo':{'type':Sequelize[_0xee4d('0x3')](_0xee4d('0x9'))},'originCc':{'type':Sequelize[_0xee4d('0x3')]('long')},'originChannel':{'type':Sequelize[_0xee4d('0x6')]('Email',_0xee4d('0xc')),'defaultValue':'Email','allowNull':![]}};