1 // *************************************************************************
3 // * xCALLY Motion - The Omnichannel Contact Center *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved *
6 // *************************************************************************
8 // * Email: info@xcally.com *
9 // * Website: https://www.xcally.com *
11 // *************************************************************************
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. *
17 // *************************************************************************
18 var _0xe8a1=['exports','BOOLEAN','DATE','STRING','TEXT','ENUM','out','iconv'];(function(_0x4ba271,_0xaa00c5){var _0x45a20=function(_0x3dd4c5){while(--_0x3dd4c5){_0x4ba271['push'](_0x4ba271['shift']());}};_0x45a20(++_0xaa00c5);}(_0xe8a1,0x1b7));var _0x1e8a=function(_0x5a8c89,_0x45029d){_0x5a8c89=_0x5a8c89-0x0;var _0x4466a6=_0xe8a1[_0x5a8c89];return _0x4466a6;};'use strict';var Sequelize=require('sequelize');var iconv=require(_0x1e8a('0x0'));module[_0x1e8a('0x1')]={'closed':{'type':Sequelize[_0x1e8a('0x2')],'defaultValue':![]},'closedAt':{'type':Sequelize[_0x1e8a('0x3')]},'disposition':{'type':Sequelize[_0x1e8a('0x4')]},'secondDisposition':{'type':Sequelize['STRING']},'thirdDisposition':{'type':Sequelize[_0x1e8a('0x4')]},'note':{'type':Sequelize['STRING']},'inReplyTo':{'type':Sequelize[_0x1e8a('0x4')](0x1fe)},'to':{'type':Sequelize['STRING']},'cc':{'type':Sequelize[_0x1e8a('0x5')]('long')},'subject':{'type':Sequelize[_0x1e8a('0x5')]()},'attach':{'type':Sequelize[_0x1e8a('0x2')],'defaultValue':![]},'read1stAt':{'type':Sequelize['DATE']},'substatus':{'type':Sequelize[_0x1e8a('0x4')](0x3c)},'substatusAt':{'type':Sequelize[_0x1e8a('0x3')]},'firstMsgDirection':{'type':Sequelize[_0x1e8a('0x6')]('in','out'),'defaultValue':'in','allowNull':![]},'lastMsgAt':{'type':Sequelize[_0x1e8a('0x3')]},'lastMsgDirection':{'type':Sequelize[_0x1e8a('0x6')]('in',_0x1e8a('0x7')),'defaultValue':'in','allowNull':![]},'autoreplyExecuted':{'type':Sequelize['BOOLEAN'],'defaultValue':![]}};