b042ba932b6432fe95054a51026d4cac247ccc44
[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 _0x9a02=['sequelize','exports','STRING','BOOLEAN','DATE','ENUM','out'];(function(_0x7ae0d1,_0x5ce7d8){var _0x5427f4=function(_0x570b4e){while(--_0x570b4e){_0x7ae0d1['push'](_0x7ae0d1['shift']());}};_0x5427f4(++_0x5ce7d8);}(_0x9a02,0x1a4));var _0x29a0=function(_0x22a6d3,_0x64b4){_0x22a6d3=_0x22a6d3-0x0;var _0x586afe=_0x9a02[_0x22a6d3];return _0x586afe;};'use strict';var Sequelize=require(_0x29a0('0x0'));var iconv=require('iconv');module[_0x29a0('0x1')]={'closed':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'closedAt':{'type':Sequelize['DATE']},'disposition':{'type':Sequelize[_0x29a0('0x2')]},'secondDisposition':{'type':Sequelize['STRING']},'thirdDisposition':{'type':Sequelize[_0x29a0('0x2')]},'note':{'type':Sequelize[_0x29a0('0x2')]},'inReplyTo':{'type':Sequelize['STRING'](0x1fe)},'to':{'type':Sequelize[_0x29a0('0x2')]},'cc':{'type':Sequelize['TEXT']('long')},'subject':{'type':Sequelize['TEXT']()},'attach':{'type':Sequelize[_0x29a0('0x3')],'defaultValue':![]},'read1stAt':{'type':Sequelize[_0x29a0('0x4')]},'substatus':{'type':Sequelize[_0x29a0('0x2')](0x3c)},'substatusAt':{'type':Sequelize[_0x29a0('0x4')]},'firstMsgDirection':{'type':Sequelize[_0x29a0('0x5')]('in',_0x29a0('0x6')),'defaultValue':'in','allowNull':![]},'lastMsgAt':{'type':Sequelize[_0x29a0('0x4')]},'lastMsgDirection':{'type':Sequelize[_0x29a0('0x5')]('in',_0x29a0('0x6')),'defaultValue':'in','allowNull':![]},'autoreplyExecuted':{'type':Sequelize[_0x29a0('0x3')],'defaultValue':![]}};