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 _0x2122=['exports','define','ReportAgentPreview','report_agent_preview','util','../../config/logger','api','moment','bluebird','path','rimraf','../../config/environment','./reportAgentPreview.attributes'];(function(_0x4c500a,_0x95c313){var _0x129e7b=function(_0x10e25b){while(--_0x10e25b){_0x4c500a['push'](_0x4c500a['shift']());}};_0x129e7b(++_0x95c313);}(_0x2122,0x197));var _0x2212=function(_0x8531f8,_0xe334b3){_0x8531f8=_0x8531f8-0x0;var _0x1ffe1b=_0x2122[_0x8531f8];return _0x1ffe1b;};'use strict';var _=require('lodash');var util=require(_0x2212('0x0'));var logger=require(_0x2212('0x1'))(_0x2212('0x2'));var moment=require(_0x2212('0x3'));var BPromise=require(_0x2212('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x2212('0x5'));var rimraf=require(_0x2212('0x6'));var config=require(_0x2212('0x7'));var attributes=require(_0x2212('0x8'));module[_0x2212('0x9')]=function(_0x50a985,_0x30dd5a){return _0x50a985[_0x2212('0xa')](_0x2212('0xb'),attributes,{'tableName':_0x2212('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};