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 _0x720f=['DATE','STRING','TEXT','long','out','sequelize'];(function(_0x5dfd80,_0x1f30ac){var _0x45247d=function(_0x58f8f0){while(--_0x58f8f0){_0x5dfd80['push'](_0x5dfd80['shift']());}};_0x45247d(++_0x1f30ac);}(_0x720f,0x185));var _0xf720=function(_0x1ac120,_0x3e7e45){_0x1ac120=_0x1ac120-0x0;var _0x19b703=_0x720f[_0x1ac120];return _0x19b703;};'use strict';var Sequelize=require(_0xf720('0x0'));var iconv=require('iconv');module['exports']={'closed':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'closedAt':{'type':Sequelize[_0xf720('0x1')]},'disposition':{'type':Sequelize[_0xf720('0x2')]},'secondDisposition':{'type':Sequelize[_0xf720('0x2')]},'thirdDisposition':{'type':Sequelize[_0xf720('0x2')]},'note':{'type':Sequelize[_0xf720('0x2')]},'inReplyTo':{'type':Sequelize[_0xf720('0x2')](0x1fe)},'to':{'type':Sequelize[_0xf720('0x2')]},'cc':{'type':Sequelize[_0xf720('0x3')](_0xf720('0x4'))},'subject':{'type':Sequelize[_0xf720('0x3')]()},'attach':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'read1stAt':{'type':Sequelize[_0xf720('0x1')]},'substatus':{'type':Sequelize[_0xf720('0x2')](0x3c)},'substatusAt':{'type':Sequelize['DATE']},'firstMsgDirection':{'type':Sequelize['ENUM']('in',_0xf720('0x5')),'defaultValue':'in','allowNull':![]},'lastMsgAt':{'type':Sequelize[_0xf720('0x1')]},'lastMsgDirection':{'type':Sequelize['ENUM']('in',_0xf720('0x5')),'defaultValue':'in','allowNull':![]}};