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 _0x8a85=['exports','define','ReportAgentPreview','lodash','util','../../config/logger','api','bluebird','path','rimraf'];(function(_0x2ec461,_0x5f588a){var _0x28603d=function(_0x21114b){while(--_0x21114b){_0x2ec461['push'](_0x2ec461['shift']());}};_0x28603d(++_0x5f588a);}(_0x8a85,0xfd));var _0x58a8=function(_0x22f061,_0x21e349){_0x22f061=_0x22f061-0x0;var _0x4438a6=_0x8a85[_0x22f061];return _0x4438a6;};'use strict';var _=require(_0x58a8('0x0'));var util=require(_0x58a8('0x1'));var logger=require(_0x58a8('0x2'))(_0x58a8('0x3'));var moment=require('moment');var BPromise=require(_0x58a8('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x58a8('0x5'));var rimraf=require(_0x58a8('0x6'));var config=require('../../config/environment');var attributes=require('./reportAgentPreview.attributes');module[_0x58a8('0x7')]=function(_0x2d248d,_0x3be16b){return _0x2d248d[_0x58a8('0x8')](_0x58a8('0x9'),attributes,{'tableName':'report_agent_preview','paranoid':![],'indexes':[],'timestamps':!![]});};