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 _0xef01=['BOOLEAN','ENUM','out','DATE','STRING','TEXT','long'];(function(_0x26846f,_0x8ef9f){var _0x2ecf33=function(_0x29a2cc){while(--_0x29a2cc){_0x26846f['push'](_0x26846f['shift']());}};_0x2ecf33(++_0x8ef9f);}(_0xef01,0x1d8));var _0x1ef0=function(_0x1ccdf7,_0x215d5a){_0x1ccdf7=_0x1ccdf7-0x0;var _0x52a0ae=_0xef01[_0x1ccdf7];return _0x52a0ae;};'use strict';var Sequelize=require('sequelize');var iconv=require('iconv');module['exports']={'closed':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'closedAt':{'type':Sequelize[_0x1ef0('0x0')]},'disposition':{'type':Sequelize[_0x1ef0('0x1')]},'secondDisposition':{'type':Sequelize['STRING']},'thirdDisposition':{'type':Sequelize[_0x1ef0('0x1')]},'note':{'type':Sequelize[_0x1ef0('0x1')]},'inReplyTo':{'type':Sequelize[_0x1ef0('0x1')](0x1fe)},'to':{'type':Sequelize[_0x1ef0('0x1')]},'cc':{'type':Sequelize[_0x1ef0('0x2')](_0x1ef0('0x3'))},'subject':{'type':Sequelize[_0x1ef0('0x2')]()},'attach':{'type':Sequelize[_0x1ef0('0x4')],'defaultValue':![]},'read1stAt':{'type':Sequelize[_0x1ef0('0x0')]},'substatus':{'type':Sequelize[_0x1ef0('0x1')](0x3c)},'substatusAt':{'type':Sequelize[_0x1ef0('0x0')]},'firstMsgDirection':{'type':Sequelize[_0x1ef0('0x5')]('in',_0x1ef0('0x6')),'defaultValue':'in','allowNull':![]},'lastMsgAt':{'type':Sequelize[_0x1ef0('0x0')]},'lastMsgDirection':{'type':Sequelize['ENUM']('in',_0x1ef0('0x6')),'defaultValue':'in','allowNull':![]},'autoreplyExecuted':{'type':Sequelize['BOOLEAN'],'defaultValue':![]}};