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 _0x27a3=['../../config/environment','exports','ReportAgentPreview','report_agent_preview','lodash','util','../../config/logger','moment','bluebird','path','rimraf'];(function(_0x5e99ae,_0x37d21f){var _0x286019=function(_0x38b46c){while(--_0x38b46c){_0x5e99ae['push'](_0x5e99ae['shift']());}};_0x286019(++_0x37d21f);}(_0x27a3,0xd5));var _0x327a=function(_0x2ad783,_0x299d49){_0x2ad783=_0x2ad783-0x0;var _0x8b0826=_0x27a3[_0x2ad783];return _0x8b0826;};'use strict';var _=require(_0x327a('0x0'));var util=require(_0x327a('0x1'));var logger=require(_0x327a('0x2'))('api');var moment=require(_0x327a('0x3'));var BPromise=require(_0x327a('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x327a('0x5'));var rimraf=require(_0x327a('0x6'));var config=require(_0x327a('0x7'));var attributes=require('./reportAgentPreview.attributes');module[_0x327a('0x8')]=function(_0x2ba3b7,_0x2b0ec6){return _0x2ba3b7['define'](_0x327a('0x9'),attributes,{'tableName':_0x327a('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};