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 _0x6882=['ENUM','out','moment','exports','BOOLEAN','STRING'];(function(_0x37c30c,_0x2a193b){var _0x34576b=function(_0x60fb5f){while(--_0x60fb5f){_0x37c30c['push'](_0x37c30c['shift']());}};_0x34576b(++_0x2a193b);}(_0x6882,0xb6));var _0x2688=function(_0x4b5c4f,_0x27731d){_0x4b5c4f=_0x4b5c4f-0x0;var _0x30180b=_0x6882[_0x4b5c4f];return _0x30180b;};'use strict';var Sequelize=require('sequelize');var moment=require(_0x2688('0x0'));module[_0x2688('0x1')]={'closed':{'type':Sequelize[_0x2688('0x2')],'defaultValue':![]},'closedAt':{'type':Sequelize['DATE']},'disposition':{'type':Sequelize[_0x2688('0x3')]},'note':{'type':Sequelize[_0x2688('0x3')]},'phone':{'type':Sequelize[_0x2688('0x3')]},'read1stAt':{'type':Sequelize['DATE']},'firstMsgDirection':{'type':Sequelize[_0x2688('0x4')]('in',_0x2688('0x5')),'defaultValue':'in','allowNull':![]},'lastMsgAt':{'type':Sequelize['DATE']},'lastMsgDirection':{'type':Sequelize['ENUM']('in',_0x2688('0x5')),'defaultValue':'in','allowNull':![]}};