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 _0x877f=['out','sequelize','iconv','exports','BOOLEAN','DATE','STRING','TEXT','long','ENUM'];(function(_0x30ac1b,_0x159ed5){var _0x1ffc7d=function(_0x874e20){while(--_0x874e20){_0x30ac1b['push'](_0x30ac1b['shift']());}};_0x1ffc7d(++_0x159ed5);}(_0x877f,0x12d));var _0xf877=function(_0x5cd4a0,_0x5698f5){_0x5cd4a0=_0x5cd4a0-0x0;var _0x47cb0d=_0x877f[_0x5cd4a0];return _0x47cb0d;};'use strict';var Sequelize=require(_0xf877('0x0'));var iconv=require(_0xf877('0x1'));module[_0xf877('0x2')]={'closed':{'type':Sequelize[_0xf877('0x3')],'defaultValue':![]},'closedAt':{'type':Sequelize[_0xf877('0x4')]},'disposition':{'type':Sequelize[_0xf877('0x5')]},'secondDisposition':{'type':Sequelize[_0xf877('0x5')]},'thirdDisposition':{'type':Sequelize['STRING']},'note':{'type':Sequelize['STRING']},'inReplyTo':{'type':Sequelize[_0xf877('0x5')](0x1fe)},'to':{'type':Sequelize[_0xf877('0x5')]},'cc':{'type':Sequelize[_0xf877('0x6')](_0xf877('0x7'))},'subject':{'type':Sequelize[_0xf877('0x6')]()},'attach':{'type':Sequelize[_0xf877('0x3')],'defaultValue':![]},'read1stAt':{'type':Sequelize[_0xf877('0x4')]},'substatus':{'type':Sequelize['STRING'](0x3c)},'substatusAt':{'type':Sequelize['DATE']},'firstMsgDirection':{'type':Sequelize[_0xf877('0x8')]('in','out'),'defaultValue':'in','allowNull':![]},'lastMsgAt':{'type':Sequelize[_0xf877('0x4')]},'lastMsgDirection':{'type':Sequelize[_0xf877('0x8')]('in',_0xf877('0x9')),'defaultValue':'in','allowNull':![]},'autoreplyExecuted':{'type':Sequelize[_0xf877('0x3')],'defaultValue':![]}};