6731a2916d6dccb30fd1ec5dda90834cf5abe1c4
[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 _0x5593=['ENUM','out','INTEGER','sequelize','exports','BOOLEAN','STRING','TEXT','DATE'];(function(_0x2e3174,_0x55ea82){var _0x174039=function(_0x279fef){while(--_0x279fef){_0x2e3174['push'](_0x2e3174['shift']());}};_0x174039(++_0x55ea82);}(_0x5593,0x1d7));var _0x3559=function(_0x30aadd,_0x20a265){_0x30aadd=_0x30aadd-0x0;var _0x428865=_0x5593[_0x30aadd];return _0x428865;};'use strict';var Sequelize=require(_0x3559('0x0'));var iconv=require('iconv');module[_0x3559('0x1')]={'closed':{'type':Sequelize[_0x3559('0x2')],'defaultValue':![]},'closedAt':{'type':Sequelize['DATE']},'disposition':{'type':Sequelize['STRING']},'secondDisposition':{'type':Sequelize[_0x3559('0x3')]},'thirdDisposition':{'type':Sequelize[_0x3559('0x3')]},'note':{'type':Sequelize[_0x3559('0x3')]},'inReplyTo':{'type':Sequelize['STRING'](0x1fe)},'to':{'type':Sequelize[_0x3559('0x3')]},'cc':{'type':Sequelize['TEXT']('long')},'subject':{'type':Sequelize[_0x3559('0x4')]()},'attach':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'read1stAt':{'type':Sequelize[_0x3559('0x5')]},'substatus':{'type':Sequelize[_0x3559('0x3')](0x3c)},'substatusAt':{'type':Sequelize[_0x3559('0x5')]},'firstMsgDirection':{'type':Sequelize[_0x3559('0x6')]('in',_0x3559('0x7')),'defaultValue':'in','allowNull':![]},'lastMsgAt':{'type':Sequelize[_0x3559('0x5')]},'lastMsgDirection':{'type':Sequelize[_0x3559('0x6')]('in','out'),'defaultValue':'in','allowNull':![]},'autoreplyExecuted':{'type':Sequelize[_0x3559('0x2')],'defaultValue':![]},'queueId':{'type':Sequelize[_0x3559('0x8')]}};