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 _0x2d48=['BOOLEAN','STRING','ENUM','out','DATE','exports'];(function(_0x15a4dd,_0x187829){var _0x485988=function(_0x207dbb){while(--_0x207dbb){_0x15a4dd['push'](_0x15a4dd['shift']());}};_0x485988(++_0x187829);}(_0x2d48,0x137));var _0x82d4=function(_0x4bd82c,_0x1df689){_0x4bd82c=_0x4bd82c-0x0;var _0x224fd3=_0x2d48[_0x4bd82c];return _0x224fd3;};'use strict';var Sequelize=require('sequelize');var moment=require('moment');module[_0x82d4('0x0')]={'closed':{'type':Sequelize[_0x82d4('0x1')],'defaultValue':![]},'closedAt':{'type':Sequelize['DATE']},'disposition':{'type':Sequelize['STRING']},'secondDisposition':{'type':Sequelize[_0x82d4('0x2')]},'thirdDisposition':{'type':Sequelize[_0x82d4('0x2')]},'note':{'type':Sequelize[_0x82d4('0x2')]},'phone':{'type':Sequelize['STRING']},'read1stAt':{'type':Sequelize['DATE']},'firstMsgDirection':{'type':Sequelize[_0x82d4('0x3')]('in',_0x82d4('0x4')),'defaultValue':'in','allowNull':![]},'lastMsgAt':{'type':Sequelize[_0x82d4('0x5')]},'lastMsgDirection':{'type':Sequelize[_0x82d4('0x3')]('in','out'),'defaultValue':'in','allowNull':![]}};