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 _0xfcbe=['BOOLEAN','DATE','STRING','moment','exports'];(function(_0x57180,_0x11f5b5){var _0x537eed=function(_0x430dad){while(--_0x430dad){_0x57180['push'](_0x57180['shift']());}};_0x537eed(++_0x11f5b5);}(_0xfcbe,0x1b1));var _0xefcb=function(_0x4fc896,_0x46d23f){_0x4fc896=_0x4fc896-0x0;var _0x573fbf=_0xfcbe[_0x4fc896];return _0x573fbf;};'use strict';var Sequelize=require('sequelize');var moment=require(_0xefcb('0x0'));module[_0xefcb('0x1')]={'closed':{'type':Sequelize[_0xefcb('0x2')],'defaultValue':![]},'closedAt':{'type':Sequelize[_0xefcb('0x3')]},'disposition':{'type':Sequelize[_0xefcb('0x4')]},'secondDisposition':{'type':Sequelize[_0xefcb('0x4')]},'thirdDisposition':{'type':Sequelize['STRING']},'note':{'type':Sequelize[_0xefcb('0x4')]},'phone':{'type':Sequelize[_0xefcb('0x4')]},'read1stAt':{'type':Sequelize['DATE']},'firstMsgDirection':{'type':Sequelize['ENUM']('in','out'),'defaultValue':'in','allowNull':![]},'lastMsgAt':{'type':Sequelize[_0xefcb('0x3')]},'lastMsgDirection':{'type':Sequelize['ENUM']('in','out'),'defaultValue':'in','allowNull':![]},'autoreplyExecuted':{'type':Sequelize[_0xefcb('0x2')],'defaultValue':![]}};