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 _0x51f5=['ENUM','out','STRING','DATE'];(function(_0x3df96e,_0xb71559){var _0x24124c=function(_0x545447){while(--_0x545447){_0x3df96e['push'](_0x3df96e['shift']());}};_0x24124c(++_0xb71559);}(_0x51f5,0xea));var _0x551f=function(_0x1f330e,_0x57de07){_0x1f330e=_0x1f330e-0x0;var _0x936a9d=_0x51f5[_0x1f330e];return _0x936a9d;};'use strict';var Sequelize=require('sequelize');module['exports']={'closed':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'closedAt':{'type':Sequelize['DATE']},'disposition':{'type':Sequelize['STRING']},'note':{'type':Sequelize[_0x551f('0x0')]},'read1stAt':{'type':Sequelize[_0x551f('0x1')]},'threadId':{'type':Sequelize[_0x551f('0x0')]},'externalUrl':{'type':Sequelize[_0x551f('0x0')]},'lastMsgAt':{'type':Sequelize['DATE']},'lastMsgDirection':{'type':Sequelize[_0x551f('0x2')]('in',_0x551f('0x3')),'defaultValue':'in','allowNull':![]},'from':{'type':Sequelize[_0x551f('0x0')]}};