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 _0x1965=['DATE','out','ENUM','sequelize','iconv','exports','BOOLEAN','STRING','TEXT','long'];(function(_0x54f0f7,_0x459b59){var _0x547aa9=function(_0x3b8299){while(--_0x3b8299){_0x54f0f7['push'](_0x54f0f7['shift']());}};_0x547aa9(++_0x459b59);}(_0x1965,0x7b));var _0x5196=function(_0x277689,_0x1cb9f9){_0x277689=_0x277689-0x0;var _0x5646b1=_0x1965[_0x277689];return _0x5646b1;};'use strict';var Sequelize=require(_0x5196('0x0'));var iconv=require(_0x5196('0x1'));module[_0x5196('0x2')]={'closed':{'type':Sequelize[_0x5196('0x3')],'defaultValue':![]},'closedAt':{'type':Sequelize['DATE']},'disposition':{'type':Sequelize[_0x5196('0x4')]},'note':{'type':Sequelize[_0x5196('0x4')]},'inReplyTo':{'type':Sequelize[_0x5196('0x4')](0x1fe)},'to':{'type':Sequelize[_0x5196('0x4')]},'cc':{'type':Sequelize[_0x5196('0x5')](_0x5196('0x6'))},'subject':{'type':Sequelize[_0x5196('0x5')]()},'attach':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'read1stAt':{'type':Sequelize[_0x5196('0x7')]},'substatus':{'type':Sequelize['STRING'](0x3c)},'substatusAt':{'type':Sequelize['DATE']},'firstMsgDirection':{'type':Sequelize['ENUM']('in',_0x5196('0x8')),'defaultValue':'in','allowNull':![]},'lastMsgAt':{'type':Sequelize[_0x5196('0x7')]},'lastMsgDirection':{'type':Sequelize[_0x5196('0x9')]('in',_0x5196('0x8')),'defaultValue':'in','allowNull':![]},'lastMsgBody':{'type':Sequelize['TEXT'](_0x5196('0x6'))},'lastMsgText':{'type':Sequelize[_0x5196('0x5')]('long')}};