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 _0x4533=['out','DATE','exports','STRING','ENUM'];(function(_0x33a5ee,_0xcced58){var _0x4845f3=function(_0x67cc14){while(--_0x67cc14){_0x33a5ee['push'](_0x33a5ee['shift']());}};_0x4845f3(++_0xcced58);}(_0x4533,0x1b0));var _0x3453=function(_0x5afb2b,_0x2979d2){_0x5afb2b=_0x5afb2b-0x0;var _0x2ba68f=_0x4533[_0x5afb2b];return _0x2ba68f;};'use strict';var Sequelize=require('sequelize');var moment=require('moment');module[_0x3453('0x0')]={'closed':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'closedAt':{'type':Sequelize['DATE']},'disposition':{'type':Sequelize['STRING']},'note':{'type':Sequelize[_0x3453('0x1')]},'phone':{'type':Sequelize[_0x3453('0x1')]},'read1stAt':{'type':Sequelize['DATE']},'firstMsgDirection':{'type':Sequelize[_0x3453('0x2')]('in',_0x3453('0x3')),'defaultValue':'in','allowNull':![]},'lastMsgAt':{'type':Sequelize[_0x3453('0x4')]},'lastMsgDirection':{'type':Sequelize[_0x3453('0x2')]('in',_0x3453('0x3')),'defaultValue':'in','allowNull':![]}};