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 _0x7df1=['DATE','ENUM','out','moment','exports','STRING'];(function(_0x2e5521,_0x119b54){var _0x87a890=function(_0x288b67){while(--_0x288b67){_0x2e5521['push'](_0x2e5521['shift']());}};_0x87a890(++_0x119b54);}(_0x7df1,0x1bf));var _0x17df=function(_0x19f6cb,_0x5f1647){_0x19f6cb=_0x19f6cb-0x0;var _0x27e6a8=_0x7df1[_0x19f6cb];return _0x27e6a8;};'use strict';var Sequelize=require('sequelize');var moment=require(_0x17df('0x0'));module[_0x17df('0x1')]={'closed':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'closedAt':{'type':Sequelize['DATE']},'disposition':{'type':Sequelize[_0x17df('0x2')]},'secondDisposition':{'type':Sequelize[_0x17df('0x2')]},'thirdDisposition':{'type':Sequelize['STRING']},'note':{'type':Sequelize[_0x17df('0x2')]},'phone':{'type':Sequelize['STRING']},'read1stAt':{'type':Sequelize[_0x17df('0x3')]},'firstMsgDirection':{'type':Sequelize[_0x17df('0x4')]('in',_0x17df('0x5')),'defaultValue':'in','allowNull':![]},'lastMsgAt':{'type':Sequelize[_0x17df('0x3')]},'lastMsgDirection':{'type':Sequelize[_0x17df('0x4')]('in',_0x17df('0x5')),'defaultValue':'in','allowNull':![]}};