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 _0x4ee7=['report_agent_preview','lodash','util','bluebird','../../config/environment','./reportAgentPreview.attributes','exports','define','ReportAgentPreview'];(function(_0x4cde9e,_0x57150a){var _0x38df0c=function(_0x50cdb6){while(--_0x50cdb6){_0x4cde9e['push'](_0x4cde9e['shift']());}};_0x38df0c(++_0x57150a);}(_0x4ee7,0x184));var _0x74ee=function(_0x578ba3,_0x5f3e45){_0x578ba3=_0x578ba3-0x0;var _0x3c3094=_0x4ee7[_0x578ba3];return _0x3c3094;};'use strict';var _=require(_0x74ee('0x0'));var util=require(_0x74ee('0x1'));var logger=require('../../config/logger')('api');var moment=require('moment');var BPromise=require(_0x74ee('0x2'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0x74ee('0x3'));var attributes=require(_0x74ee('0x4'));module[_0x74ee('0x5')]=function(_0x150304,_0x116db1){return _0x150304[_0x74ee('0x6')](_0x74ee('0x7'),attributes,{'tableName':_0x74ee('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};