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 _0x0474=['long','ENUM','out','iconv','exports','BOOLEAN','DATE','STRING','TEXT'];(function(_0x698207,_0x490d94){var _0x5bd1bc=function(_0x413640){while(--_0x413640){_0x698207['push'](_0x698207['shift']());}};_0x5bd1bc(++_0x490d94);}(_0x0474,0xa5));var _0x4047=function(_0x11c7fc,_0x517fef){_0x11c7fc=_0x11c7fc-0x0;var _0x4859bc=_0x0474[_0x11c7fc];return _0x4859bc;};'use strict';var Sequelize=require('sequelize');var iconv=require(_0x4047('0x0'));module[_0x4047('0x1')]={'closed':{'type':Sequelize[_0x4047('0x2')],'defaultValue':![]},'closedAt':{'type':Sequelize[_0x4047('0x3')]},'disposition':{'type':Sequelize[_0x4047('0x4')]},'secondDisposition':{'type':Sequelize[_0x4047('0x4')]},'thirdDisposition':{'type':Sequelize[_0x4047('0x4')]},'note':{'type':Sequelize[_0x4047('0x4')]},'inReplyTo':{'type':Sequelize[_0x4047('0x4')](0x1fe)},'to':{'type':Sequelize['STRING']},'cc':{'type':Sequelize[_0x4047('0x5')](_0x4047('0x6'))},'subject':{'type':Sequelize['TEXT']()},'attach':{'type':Sequelize[_0x4047('0x2')],'defaultValue':![]},'read1stAt':{'type':Sequelize[_0x4047('0x3')]},'substatus':{'type':Sequelize[_0x4047('0x4')](0x3c)},'substatusAt':{'type':Sequelize[_0x4047('0x3')]},'firstMsgDirection':{'type':Sequelize[_0x4047('0x7')]('in',_0x4047('0x8')),'defaultValue':'in','allowNull':![]},'lastMsgAt':{'type':Sequelize['DATE']},'lastMsgDirection':{'type':Sequelize[_0x4047('0x7')]('in',_0x4047('0x8')),'defaultValue':'in','allowNull':![]},'lastMsgBody':{'type':Sequelize[_0x4047('0x5')]('long')},'lastMsgText':{'type':Sequelize[_0x4047('0x5')](_0x4047('0x6'))}};