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 _0x3ac2=['moment','BOOLEAN','DATE','STRING','ENUM','out'];(function(_0x52598d,_0x355f3d){var _0x471bfe=function(_0x47b62b){while(--_0x47b62b){_0x52598d['push'](_0x52598d['shift']());}};_0x471bfe(++_0x355f3d);}(_0x3ac2,0x198));var _0x23ac=function(_0x410202,_0x5533ff){_0x410202=_0x410202-0x0;var _0xa6ee57=_0x3ac2[_0x410202];return _0xa6ee57;};'use strict';var Sequelize=require('sequelize');var moment=require(_0x23ac('0x0'));module['exports']={'closed':{'type':Sequelize[_0x23ac('0x1')],'defaultValue':![]},'closedAt':{'type':Sequelize[_0x23ac('0x2')]},'disposition':{'type':Sequelize[_0x23ac('0x3')]},'secondDisposition':{'type':Sequelize[_0x23ac('0x3')]},'thirdDisposition':{'type':Sequelize[_0x23ac('0x3')]},'note':{'type':Sequelize[_0x23ac('0x3')]},'phone':{'type':Sequelize['STRING']},'read1stAt':{'type':Sequelize[_0x23ac('0x2')]},'firstMsgDirection':{'type':Sequelize[_0x23ac('0x4')]('in','out'),'defaultValue':'in','allowNull':![]},'lastMsgAt':{'type':Sequelize[_0x23ac('0x2')]},'lastMsgDirection':{'type':Sequelize['ENUM']('in',_0x23ac('0x5')),'defaultValue':'in','allowNull':![]}};