797f941f0a373bfc3fd93fbd8522f33854285693
[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 _0xb213=['lodash','exports','TEXT','BOOLEAN','ENUM','out','STRING','long','DATE','INTEGER','Chat','Email','sequelize'];(function(_0x1a1a0b,_0x5df1e1){var _0x74dc5a=function(_0x2a07d2){while(--_0x2a07d2){_0x1a1a0b['push'](_0x1a1a0b['shift']());}};_0x74dc5a(++_0x5df1e1);}(_0xb213,0x11d));var _0x3b21=function(_0x23f8d2,_0x301fec){_0x23f8d2=_0x23f8d2-0x0;var _0x5d174b=_0xb213[_0x23f8d2];return _0x5d174b;};'use strict';var Sequelize=require(_0x3b21('0x0'));var _=require(_0x3b21('0x1'));module[_0x3b21('0x2')]={'body':{'type':Sequelize[_0x3b21('0x3')]('long'),'allowNull':![]},'plainBody':{'type':Sequelize['TEXT']('medium')},'read':{'type':Sequelize[_0x3b21('0x4')],'defaultValue':![]},'direction':{'type':Sequelize[_0x3b21('0x5')]('in',_0x3b21('0x6')),'defaultValue':_0x3b21('0x6'),'allowNull':![]},'messageId':{'type':Sequelize[_0x3b21('0x7')](0x1fe)},'from':{'type':Sequelize['STRING']},'to':{'type':Sequelize[_0x3b21('0x3')](_0x3b21('0x8'))},'cc':{'type':Sequelize['TEXT'](_0x3b21('0x8'))},'bcc':{'type':Sequelize[_0x3b21('0x3')](_0x3b21('0x8'))},'subject':{'type':Sequelize[_0x3b21('0x3')]},'sentAt':{'type':Sequelize[_0x3b21('0x9')]},'attach':{'type':Sequelize[_0x3b21('0xa')],'defaultValue':0x0},'secret':{'type':Sequelize[_0x3b21('0x4')],'defaultValue':![]},'readAt':{'type':Sequelize[_0x3b21('0x9')]},'originTo':{'type':Sequelize[_0x3b21('0x3')](_0x3b21('0x8'))},'originCc':{'type':Sequelize[_0x3b21('0x3')](_0x3b21('0x8'))},'originChannel':{'type':Sequelize[_0x3b21('0x5')]('Email',_0x3b21('0xb')),'defaultValue':_0x3b21('0xc'),'allowNull':![]}};