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 _0x250e=['util','../../config/logger','api','moment','bluebird','request-promise','path','./reportAgentPreview.attributes','define','ReportAgentPreview','report_agent_preview'];(function(_0x88fa0c,_0x4b6bae){var _0x94ad1c=function(_0x88cc54){while(--_0x88cc54){_0x88fa0c['push'](_0x88fa0c['shift']());}};_0x94ad1c(++_0x4b6bae);}(_0x250e,0x1b8));var _0xe250=function(_0x550419,_0x621497){_0x550419=_0x550419-0x0;var _0x15c0fd=_0x250e[_0x550419];return _0x15c0fd;};'use strict';var _=require('lodash');var util=require(_0xe250('0x0'));var logger=require(_0xe250('0x1'))(_0xe250('0x2'));var moment=require(_0xe250('0x3'));var BPromise=require(_0xe250('0x4'));var rp=require(_0xe250('0x5'));var fs=require('fs');var path=require(_0xe250('0x6'));var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0xe250('0x7'));module['exports']=function(_0x2eec2a,_0x3ef767){return _0x2eec2a[_0xe250('0x8')](_0xe250('0x9'),attributes,{'tableName':_0xe250('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};