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 _0x5d58=['BOOLEAN','STRING','ENUM','out','DATE'];(function(_0x1e6e4e,_0x2b1b09){var _0x3d746b=function(_0x4483dd){while(--_0x4483dd){_0x1e6e4e['push'](_0x1e6e4e['shift']());}};_0x3d746b(++_0x2b1b09);}(_0x5d58,0x187));var _0x85d5=function(_0x1ac2a1,_0x577dc2){_0x1ac2a1=_0x1ac2a1-0x0;var _0x245116=_0x5d58[_0x1ac2a1];return _0x245116;};'use strict';var Sequelize=require('sequelize');var moment=require('moment');module['exports']={'closed':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'closedAt':{'type':Sequelize['DATE']},'disposition':{'type':Sequelize[_0x85d5('0x0')]},'secondDisposition':{'type':Sequelize[_0x85d5('0x0')]},'thirdDisposition':{'type':Sequelize['STRING']},'note':{'type':Sequelize[_0x85d5('0x0')]},'phone':{'type':Sequelize[_0x85d5('0x0')]},'read1stAt':{'type':Sequelize['DATE']},'firstMsgDirection':{'type':Sequelize[_0x85d5('0x1')]('in',_0x85d5('0x2')),'defaultValue':'in','allowNull':![]},'lastMsgAt':{'type':Sequelize[_0x85d5('0x3')]},'lastMsgDirection':{'type':Sequelize[_0x85d5('0x1')]('in','out'),'defaultValue':'in','allowNull':![]},'autoreplyExecuted':{'type':Sequelize[_0x85d5('0x4')],'defaultValue':![]}};