132b359970a9e8f42d157583fad0bfd9060b8ed5
[motion2.git] / server / api / mailInteraction / mailInteraction.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 _0x6aa3=['BOOLEAN','DATE','STRING','TEXT','ENUM','out','sequelize','iconv','exports'];(function(_0x96ec62,_0x175244){var _0x12d78b=function(_0x2bbbe4){while(--_0x2bbbe4){_0x96ec62['push'](_0x96ec62['shift']());}};_0x12d78b(++_0x175244);}(_0x6aa3,0x165));var _0x36aa=function(_0x1bb58c,_0x2c8a4d){_0x1bb58c=_0x1bb58c-0x0;var _0x277586=_0x6aa3[_0x1bb58c];return _0x277586;};'use strict';var Sequelize=require(_0x36aa('0x0'));var iconv=require(_0x36aa('0x1'));module[_0x36aa('0x2')]={'closed':{'type':Sequelize[_0x36aa('0x3')],'defaultValue':![]},'closedAt':{'type':Sequelize[_0x36aa('0x4')]},'disposition':{'type':Sequelize[_0x36aa('0x5')]},'secondDisposition':{'type':Sequelize[_0x36aa('0x5')]},'thirdDisposition':{'type':Sequelize['STRING']},'note':{'type':Sequelize[_0x36aa('0x5')]},'inReplyTo':{'type':Sequelize[_0x36aa('0x5')](0x1fe)},'to':{'type':Sequelize[_0x36aa('0x5')]},'cc':{'type':Sequelize['TEXT']('long')},'subject':{'type':Sequelize[_0x36aa('0x6')]()},'attach':{'type':Sequelize[_0x36aa('0x3')],'defaultValue':![]},'read1stAt':{'type':Sequelize[_0x36aa('0x4')]},'substatus':{'type':Sequelize[_0x36aa('0x5')](0x3c)},'substatusAt':{'type':Sequelize[_0x36aa('0x4')]},'firstMsgDirection':{'type':Sequelize[_0x36aa('0x7')]('in',_0x36aa('0x8')),'defaultValue':'in','allowNull':![]},'lastMsgAt':{'type':Sequelize[_0x36aa('0x4')]},'lastMsgDirection':{'type':Sequelize['ENUM']('in','out'),'defaultValue':'in','allowNull':![]},'lastMsgBody':{'type':Sequelize['TEXT']('long')},'lastMsgText':{'type':Sequelize[_0x36aa('0x6')]('long')}};