Built motion from commit efa66e19.|2.6.22
[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 _0xa681=['sequelize','BOOLEAN','DATE','STRING','TEXT','long','ENUM','out','INTEGER'];(function(_0x3bcb39,_0x2e1bd0){var _0x158bc4=function(_0x5570d3){while(--_0x5570d3){_0x3bcb39['push'](_0x3bcb39['shift']());}};_0x158bc4(++_0x2e1bd0);}(_0xa681,0x75));var _0x1a68=function(_0xd9d868,_0x441fe1){_0xd9d868=_0xd9d868-0x0;var _0x3e9b89=_0xa681[_0xd9d868];return _0x3e9b89;};'use strict';var Sequelize=require(_0x1a68('0x0'));var iconv=require('iconv');module['exports']={'closed':{'type':Sequelize[_0x1a68('0x1')],'defaultValue':![]},'closedAt':{'type':Sequelize[_0x1a68('0x2')]},'disposition':{'type':Sequelize[_0x1a68('0x3')]},'secondDisposition':{'type':Sequelize['STRING']},'thirdDisposition':{'type':Sequelize[_0x1a68('0x3')]},'note':{'type':Sequelize['STRING']},'inReplyTo':{'type':Sequelize[_0x1a68('0x3')](0x1fe)},'to':{'type':Sequelize[_0x1a68('0x3')]},'cc':{'type':Sequelize[_0x1a68('0x4')](_0x1a68('0x5'))},'subject':{'type':Sequelize[_0x1a68('0x4')]()},'attach':{'type':Sequelize[_0x1a68('0x1')],'defaultValue':![]},'read1stAt':{'type':Sequelize[_0x1a68('0x2')]},'substatus':{'type':Sequelize[_0x1a68('0x3')](0x3c)},'substatusAt':{'type':Sequelize[_0x1a68('0x2')]},'firstMsgDirection':{'type':Sequelize[_0x1a68('0x6')]('in',_0x1a68('0x7')),'defaultValue':'in','allowNull':![]},'lastMsgAt':{'type':Sequelize['DATE']},'lastMsgDirection':{'type':Sequelize[_0x1a68('0x6')]('in','out'),'defaultValue':'in','allowNull':![]},'autoreplyExecuted':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'queueId':{'type':Sequelize[_0x1a68('0x8')]}};