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 _0xf6c1=['STRING','ENUM','out','exports','BOOLEAN','DATE'];(function(_0xf7359d,_0x22411f){var _0x1e2429=function(_0x5cc9c5){while(--_0x5cc9c5){_0xf7359d['push'](_0xf7359d['shift']());}};_0x1e2429(++_0x22411f);}(_0xf6c1,0x99));var _0x1f6c=function(_0x29d4f5,_0x1d8d1b){_0x29d4f5=_0x29d4f5-0x0;var _0x343c1a=_0xf6c1[_0x29d4f5];return _0x343c1a;};'use strict';var Sequelize=require('sequelize');var moment=require('moment');module[_0x1f6c('0x0')]={'closed':{'type':Sequelize[_0x1f6c('0x1')],'defaultValue':![]},'closedAt':{'type':Sequelize[_0x1f6c('0x2')]},'disposition':{'type':Sequelize['STRING']},'secondDisposition':{'type':Sequelize[_0x1f6c('0x3')]},'thirdDisposition':{'type':Sequelize['STRING']},'note':{'type':Sequelize[_0x1f6c('0x3')]},'phone':{'type':Sequelize[_0x1f6c('0x3')]},'read1stAt':{'type':Sequelize[_0x1f6c('0x2')]},'firstMsgDirection':{'type':Sequelize[_0x1f6c('0x4')]('in',_0x1f6c('0x5')),'defaultValue':'in','allowNull':![]},'lastMsgAt':{'type':Sequelize[_0x1f6c('0x2')]},'lastMsgDirection':{'type':Sequelize['ENUM']('in',_0x1f6c('0x5')),'defaultValue':'in','allowNull':![]},'autoreplyExecuted':{'type':Sequelize[_0x1f6c('0x1')],'defaultValue':![]}};