158fb3dff398defc813fc2c395561a7a9e8ecf8b
[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 _0xf0e5=['DATE','STRING','TEXT','long','BOOLEAN','out','ENUM','sequelize','iconv','exports'];(function(_0x47d93e,_0x440eed){var _0xa468e7=function(_0x690781){while(--_0x690781){_0x47d93e['push'](_0x47d93e['shift']());}};_0xa468e7(++_0x440eed);}(_0xf0e5,0x133));var _0x5f0e=function(_0x3e5086,_0x48f4a2){_0x3e5086=_0x3e5086-0x0;var _0xfeb102=_0xf0e5[_0x3e5086];return _0xfeb102;};'use strict';var Sequelize=require(_0x5f0e('0x0'));var iconv=require(_0x5f0e('0x1'));module[_0x5f0e('0x2')]={'closed':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'closedAt':{'type':Sequelize[_0x5f0e('0x3')]},'disposition':{'type':Sequelize[_0x5f0e('0x4')]},'secondDisposition':{'type':Sequelize[_0x5f0e('0x4')]},'thirdDisposition':{'type':Sequelize[_0x5f0e('0x4')]},'note':{'type':Sequelize[_0x5f0e('0x4')]},'inReplyTo':{'type':Sequelize[_0x5f0e('0x4')](0x1fe)},'to':{'type':Sequelize['STRING']},'cc':{'type':Sequelize[_0x5f0e('0x5')](_0x5f0e('0x6'))},'subject':{'type':Sequelize['TEXT']()},'attach':{'type':Sequelize[_0x5f0e('0x7')],'defaultValue':![]},'read1stAt':{'type':Sequelize['DATE']},'substatus':{'type':Sequelize[_0x5f0e('0x4')](0x3c)},'substatusAt':{'type':Sequelize[_0x5f0e('0x3')]},'firstMsgDirection':{'type':Sequelize['ENUM']('in',_0x5f0e('0x8')),'defaultValue':'in','allowNull':![]},'lastMsgAt':{'type':Sequelize[_0x5f0e('0x3')]},'lastMsgDirection':{'type':Sequelize[_0x5f0e('0x9')]('in','out'),'defaultValue':'in','allowNull':![]},'autoreplyExecuted':{'type':Sequelize[_0x5f0e('0x7')],'defaultValue':![]}};