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 _0x3837=['out','DATE','ENUM','moment','BOOLEAN','STRING'];(function(_0x11d447,_0x11ea19){var _0x4513e6=function(_0x18ad02){while(--_0x18ad02){_0x11d447['push'](_0x11d447['shift']());}};_0x4513e6(++_0x11ea19);}(_0x3837,0x1d1));var _0x7383=function(_0x1b3f01,_0x1999c4){_0x1b3f01=_0x1b3f01-0x0;var _0x3af08e=_0x3837[_0x1b3f01];return _0x3af08e;};'use strict';var Sequelize=require('sequelize');var moment=require(_0x7383('0x0'));module['exports']={'closed':{'type':Sequelize[_0x7383('0x1')],'defaultValue':![]},'closedAt':{'type':Sequelize['DATE']},'disposition':{'type':Sequelize[_0x7383('0x2')]},'secondDisposition':{'type':Sequelize[_0x7383('0x2')]},'thirdDisposition':{'type':Sequelize[_0x7383('0x2')]},'note':{'type':Sequelize[_0x7383('0x2')]},'phone':{'type':Sequelize[_0x7383('0x2')]},'read1stAt':{'type':Sequelize['DATE']},'firstMsgDirection':{'type':Sequelize['ENUM']('in',_0x7383('0x3')),'defaultValue':'in','allowNull':![]},'lastMsgAt':{'type':Sequelize[_0x7383('0x4')]},'lastMsgDirection':{'type':Sequelize[_0x7383('0x5')]('in',_0x7383('0x3')),'defaultValue':'in','allowNull':![]},'autoreplyExecuted':{'type':Sequelize[_0x7383('0x1')],'defaultValue':![]}};