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 _0xfb65=['STRING','ENUM','out','BOOLEAN','moment','exports','DATE'];(function(_0x41cd5a,_0x30f8d1){var _0x40d4b3=function(_0x4d969c){while(--_0x4d969c){_0x41cd5a['push'](_0x41cd5a['shift']());}};_0x40d4b3(++_0x30f8d1);}(_0xfb65,0x82));var _0x5fb6=function(_0x19f322,_0x5ec05f){_0x19f322=_0x19f322-0x0;var _0x54fbff=_0xfb65[_0x19f322];return _0x54fbff;};'use strict';var Sequelize=require('sequelize');var moment=require(_0x5fb6('0x0'));module[_0x5fb6('0x1')]={'closed':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'closedAt':{'type':Sequelize[_0x5fb6('0x2')]},'disposition':{'type':Sequelize['STRING']},'secondDisposition':{'type':Sequelize[_0x5fb6('0x3')]},'thirdDisposition':{'type':Sequelize[_0x5fb6('0x3')]},'note':{'type':Sequelize[_0x5fb6('0x3')]},'phone':{'type':Sequelize[_0x5fb6('0x3')]},'read1stAt':{'type':Sequelize[_0x5fb6('0x2')]},'firstMsgDirection':{'type':Sequelize[_0x5fb6('0x4')]('in','out'),'defaultValue':'in','allowNull':![]},'lastMsgAt':{'type':Sequelize['DATE']},'lastMsgDirection':{'type':Sequelize[_0x5fb6('0x4')]('in',_0x5fb6('0x5')),'defaultValue':'in','allowNull':![]},'autoreplyExecuted':{'type':Sequelize[_0x5fb6('0x6')],'defaultValue':![]}};