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 _0x1df7=['BOOLEAN','DATE','STRING','ENUM','out','INTEGER','moment','exports'];(function(_0x35e75a,_0x5ed225){var _0xb23c7f=function(_0x2fa40c){while(--_0x2fa40c){_0x35e75a['push'](_0x35e75a['shift']());}};_0xb23c7f(++_0x5ed225);}(_0x1df7,0x6e));var _0x71df=function(_0xfc0976,_0x33776f){_0xfc0976=_0xfc0976-0x0;var _0x23579f=_0x1df7[_0xfc0976];return _0x23579f;};'use strict';var Sequelize=require('sequelize');var moment=require(_0x71df('0x0'));module[_0x71df('0x1')]={'closed':{'type':Sequelize[_0x71df('0x2')],'defaultValue':![]},'closedAt':{'type':Sequelize[_0x71df('0x3')]},'disposition':{'type':Sequelize[_0x71df('0x4')]},'secondDisposition':{'type':Sequelize[_0x71df('0x4')]},'thirdDisposition':{'type':Sequelize[_0x71df('0x4')]},'note':{'type':Sequelize[_0x71df('0x4')]},'phone':{'type':Sequelize[_0x71df('0x4')]},'read1stAt':{'type':Sequelize[_0x71df('0x3')]},'firstMsgDirection':{'type':Sequelize[_0x71df('0x5')]('in',_0x71df('0x6')),'defaultValue':'in','allowNull':![]},'lastMsgAt':{'type':Sequelize['DATE']},'lastMsgDirection':{'type':Sequelize[_0x71df('0x5')]('in','out'),'defaultValue':'in','allowNull':![]},'autoreplyExecuted':{'type':Sequelize[_0x71df('0x2')],'defaultValue':![]},'queueId':{'type':Sequelize[_0x71df('0x7')]}};