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 _0x2f3d=['api','moment','bluebird','request-promise','rimraf','../../config/environment','./reportAgentPreview.attributes','exports','define','ReportAgentPreview','report_agent_preview','lodash'];(function(_0x5711e7,_0x596e2f){var _0x56192e=function(_0x15419f){while(--_0x15419f){_0x5711e7['push'](_0x5711e7['shift']());}};_0x56192e(++_0x596e2f);}(_0x2f3d,0xa7));var _0xd2f3=function(_0x988b4,_0xd45e34){_0x988b4=_0x988b4-0x0;var _0x24e624=_0x2f3d[_0x988b4];return _0x24e624;};'use strict';var _=require(_0xd2f3('0x0'));var util=require('util');var logger=require('../../config/logger')(_0xd2f3('0x1'));var moment=require(_0xd2f3('0x2'));var BPromise=require(_0xd2f3('0x3'));var rp=require(_0xd2f3('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0xd2f3('0x5'));var config=require(_0xd2f3('0x6'));var attributes=require(_0xd2f3('0x7'));module[_0xd2f3('0x8')]=function(_0x57c093,_0x440cb7){return _0x57c093[_0xd2f3('0x9')](_0xd2f3('0xa'),attributes,{'tableName':_0xd2f3('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};