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 _0xc590=['../../config/environment','exports','define','ReportAgentPreview','report_agent_preview','lodash','util','bluebird','request-promise','path','rimraf'];(function(_0x30be39,_0xfb49ad){var _0x4d99d6=function(_0x1e7665){while(--_0x1e7665){_0x30be39['push'](_0x30be39['shift']());}};_0x4d99d6(++_0xfb49ad);}(_0xc590,0x144));var _0x0c59=function(_0x48e90b,_0x533fd5){_0x48e90b=_0x48e90b-0x0;var _0x3b4ae5=_0xc590[_0x48e90b];return _0x3b4ae5;};'use strict';var _=require(_0x0c59('0x0'));var util=require(_0x0c59('0x1'));var logger=require('../../config/logger')('api');var moment=require('moment');var BPromise=require(_0x0c59('0x2'));var rp=require(_0x0c59('0x3'));var fs=require('fs');var path=require(_0x0c59('0x4'));var rimraf=require(_0x0c59('0x5'));var config=require(_0x0c59('0x6'));var attributes=require('./reportAgentPreview.attributes');module[_0x0c59('0x7')]=function(_0x9b8a1,_0x43b1ea){return _0x9b8a1[_0x0c59('0x8')](_0x0c59('0x9'),attributes,{'tableName':_0x0c59('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};