Built motion from commit 449495f6.|2.6.27
[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 _0xfe0d=['out','ENUM','INTEGER','iconv','exports','BOOLEAN','DATE','STRING','long','TEXT'];(function(_0x17fdde,_0x4b3717){var _0x4fd885=function(_0x4a9793){while(--_0x4a9793){_0x17fdde['push'](_0x17fdde['shift']());}};_0x4fd885(++_0x4b3717);}(_0xfe0d,0x189));var _0xdfe0=function(_0x19e35c,_0x29cd1e){_0x19e35c=_0x19e35c-0x0;var _0x3e1fe8=_0xfe0d[_0x19e35c];return _0x3e1fe8;};'use strict';var Sequelize=require('sequelize');var iconv=require(_0xdfe0('0x0'));module[_0xdfe0('0x1')]={'closed':{'type':Sequelize[_0xdfe0('0x2')],'defaultValue':![]},'closedAt':{'type':Sequelize[_0xdfe0('0x3')]},'disposition':{'type':Sequelize[_0xdfe0('0x4')]},'secondDisposition':{'type':Sequelize[_0xdfe0('0x4')]},'thirdDisposition':{'type':Sequelize[_0xdfe0('0x4')]},'note':{'type':Sequelize['STRING']},'inReplyTo':{'type':Sequelize[_0xdfe0('0x4')](0x1fe)},'to':{'type':Sequelize['STRING']},'cc':{'type':Sequelize['TEXT'](_0xdfe0('0x5'))},'subject':{'type':Sequelize[_0xdfe0('0x6')]()},'attach':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'read1stAt':{'type':Sequelize[_0xdfe0('0x3')]},'substatus':{'type':Sequelize[_0xdfe0('0x4')](0x3c)},'substatusAt':{'type':Sequelize[_0xdfe0('0x3')]},'firstMsgDirection':{'type':Sequelize['ENUM']('in',_0xdfe0('0x7')),'defaultValue':'in','allowNull':![]},'lastMsgAt':{'type':Sequelize[_0xdfe0('0x3')]},'lastMsgDirection':{'type':Sequelize[_0xdfe0('0x8')]('in','out'),'defaultValue':'in','allowNull':![]},'autoreplyExecuted':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'queueId':{'type':Sequelize[_0xdfe0('0x9')]}};