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 _0xf380=['BOOLEAN','STRING','TEXT','long','DATE','ENUM','out','iconv'];(function(_0x54cd0b,_0x182ab9){var _0x2dbfb7=function(_0x41d47e){while(--_0x41d47e){_0x54cd0b['push'](_0x54cd0b['shift']());}};_0x2dbfb7(++_0x182ab9);}(_0xf380,0x1bf));var _0x0f38=function(_0x1f0e34,_0x5acea9){_0x1f0e34=_0x1f0e34-0x0;var _0x392e0a=_0xf380[_0x1f0e34];return _0x392e0a;};'use strict';var Sequelize=require('sequelize');var iconv=require(_0x0f38('0x0'));module['exports']={'closed':{'type':Sequelize[_0x0f38('0x1')],'defaultValue':![]},'closedAt':{'type':Sequelize['DATE']},'disposition':{'type':Sequelize[_0x0f38('0x2')]},'secondDisposition':{'type':Sequelize[_0x0f38('0x2')]},'thirdDisposition':{'type':Sequelize[_0x0f38('0x2')]},'note':{'type':Sequelize[_0x0f38('0x2')]},'inReplyTo':{'type':Sequelize[_0x0f38('0x2')](0x1fe)},'to':{'type':Sequelize[_0x0f38('0x2')]},'cc':{'type':Sequelize[_0x0f38('0x3')](_0x0f38('0x4'))},'subject':{'type':Sequelize['TEXT']()},'attach':{'type':Sequelize[_0x0f38('0x1')],'defaultValue':![]},'read1stAt':{'type':Sequelize[_0x0f38('0x5')]},'substatus':{'type':Sequelize['STRING'](0x3c)},'substatusAt':{'type':Sequelize[_0x0f38('0x5')]},'firstMsgDirection':{'type':Sequelize[_0x0f38('0x6')]('in',_0x0f38('0x7')),'defaultValue':'in','allowNull':![]},'lastMsgAt':{'type':Sequelize[_0x0f38('0x5')]},'lastMsgDirection':{'type':Sequelize[_0x0f38('0x6')]('in',_0x0f38('0x7')),'defaultValue':'in','allowNull':![]}};