de24515f10c27d6ceb3187f366c44ab25330dc65
[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 _0x8ff4=['long','ENUM','out','sequelize','exports','BOOLEAN','DATE','STRING','TEXT'];(function(_0x370510,_0x409c36){var _0x30e7d3=function(_0x35c19a){while(--_0x35c19a){_0x370510['push'](_0x370510['shift']());}};_0x30e7d3(++_0x409c36);}(_0x8ff4,0x1b3));var _0x48ff=function(_0x525513,_0x44220c){_0x525513=_0x525513-0x0;var _0x17f77f=_0x8ff4[_0x525513];return _0x17f77f;};'use strict';var Sequelize=require(_0x48ff('0x0'));var iconv=require('iconv');module[_0x48ff('0x1')]={'closed':{'type':Sequelize[_0x48ff('0x2')],'defaultValue':![]},'closedAt':{'type':Sequelize[_0x48ff('0x3')]},'disposition':{'type':Sequelize[_0x48ff('0x4')]},'secondDisposition':{'type':Sequelize['STRING']},'thirdDisposition':{'type':Sequelize['STRING']},'note':{'type':Sequelize[_0x48ff('0x4')]},'inReplyTo':{'type':Sequelize[_0x48ff('0x4')](0x1fe)},'to':{'type':Sequelize['STRING']},'cc':{'type':Sequelize[_0x48ff('0x5')](_0x48ff('0x6'))},'subject':{'type':Sequelize[_0x48ff('0x5')]()},'attach':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'read1stAt':{'type':Sequelize[_0x48ff('0x3')]},'substatus':{'type':Sequelize[_0x48ff('0x4')](0x3c)},'substatusAt':{'type':Sequelize[_0x48ff('0x3')]},'firstMsgDirection':{'type':Sequelize[_0x48ff('0x7')]('in',_0x48ff('0x8')),'defaultValue':'in','allowNull':![]},'lastMsgAt':{'type':Sequelize[_0x48ff('0x3')]},'lastMsgDirection':{'type':Sequelize['ENUM']('in',_0x48ff('0x8')),'defaultValue':'in','allowNull':![]},'autoreplyExecuted':{'type':Sequelize[_0x48ff('0x2')],'defaultValue':![]}};