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 _0xbb35=['BOOLEAN','DATE','STRING','ENUM','out','moment','exports'];(function(_0xd62d2a,_0x27ca09){var _0x591018=function(_0x4bf81c){while(--_0x4bf81c){_0xd62d2a['push'](_0xd62d2a['shift']());}};_0x591018(++_0x27ca09);}(_0xbb35,0x1d3));var _0x5bb3=function(_0x57c794,_0x43e2f0){_0x57c794=_0x57c794-0x0;var _0x44cd23=_0xbb35[_0x57c794];return _0x44cd23;};'use strict';var Sequelize=require('sequelize');var moment=require(_0x5bb3('0x0'));module[_0x5bb3('0x1')]={'closed':{'type':Sequelize[_0x5bb3('0x2')],'defaultValue':![]},'closedAt':{'type':Sequelize[_0x5bb3('0x3')]},'disposition':{'type':Sequelize[_0x5bb3('0x4')]},'secondDisposition':{'type':Sequelize['STRING']},'thirdDisposition':{'type':Sequelize[_0x5bb3('0x4')]},'note':{'type':Sequelize[_0x5bb3('0x4')]},'phone':{'type':Sequelize[_0x5bb3('0x4')]},'read1stAt':{'type':Sequelize[_0x5bb3('0x3')]},'firstMsgDirection':{'type':Sequelize[_0x5bb3('0x5')]('in',_0x5bb3('0x6')),'defaultValue':'in','allowNull':![]},'lastMsgAt':{'type':Sequelize[_0x5bb3('0x3')]},'lastMsgDirection':{'type':Sequelize[_0x5bb3('0x5')]('in',_0x5bb3('0x6')),'defaultValue':'in','allowNull':![]}};