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 _0xd352=['api','bluebird','request-promise','rimraf','exports','define','ReportAgentPreview','report_agent_preview','lodash','util','../../config/logger'];(function(_0xe87fae,_0xfc50eb){var _0x34f158=function(_0x3352ec){while(--_0x3352ec){_0xe87fae['push'](_0xe87fae['shift']());}};_0x34f158(++_0xfc50eb);}(_0xd352,0x13c));var _0x2d35=function(_0x348055,_0x38e0f7){_0x348055=_0x348055-0x0;var _0x14a620=_0xd352[_0x348055];return _0x14a620;};'use strict';var _=require(_0x2d35('0x0'));var util=require(_0x2d35('0x1'));var logger=require(_0x2d35('0x2'))(_0x2d35('0x3'));var moment=require('moment');var BPromise=require(_0x2d35('0x4'));var rp=require(_0x2d35('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0x2d35('0x6'));var config=require('../../config/environment');var attributes=require('./reportAgentPreview.attributes');module[_0x2d35('0x7')]=function(_0x50ab82,_0x1e8f18){return _0x50ab82[_0x2d35('0x8')](_0x2d35('0x9'),attributes,{'tableName':_0x2d35('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};