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 _0xbb12=['../../config/logger','api','moment','bluebird','rimraf','../../config/environment','exports','define','ReportAgentPreview','report_agent_preview','util'];(function(_0x38c1a2,_0x35185a){var _0x5ad451=function(_0x56dc63){while(--_0x56dc63){_0x38c1a2['push'](_0x38c1a2['shift']());}};_0x5ad451(++_0x35185a);}(_0xbb12,0x8e));var _0x2bb1=function(_0x4b897e,_0x135f9c){_0x4b897e=_0x4b897e-0x0;var _0x36b75d=_0xbb12[_0x4b897e];return _0x36b75d;};'use strict';var _=require('lodash');var util=require(_0x2bb1('0x0'));var logger=require(_0x2bb1('0x1'))(_0x2bb1('0x2'));var moment=require(_0x2bb1('0x3'));var BPromise=require(_0x2bb1('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0x2bb1('0x5'));var config=require(_0x2bb1('0x6'));var attributes=require('./reportAgentPreview.attributes');module[_0x2bb1('0x7')]=function(_0xd07cbf,_0x562538){return _0xd07cbf[_0x2bb1('0x8')](_0x2bb1('0x9'),attributes,{'tableName':_0x2bb1('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};