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 _0xf34d=['lodash','util','api','moment','bluebird','request-promise','rimraf','exports','define','JscriptySessionReport','report_jscripty_sessions'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0xf34d,0x1b8));var _0xdf34=function(_0x4c7cc0,_0x3e66de){_0x4c7cc0=_0x4c7cc0-0x0;var _0x568f69=_0xf34d[_0x4c7cc0];return _0x568f69;};'use strict';var _=require(_0xdf34('0x0'));var util=require(_0xdf34('0x1'));var logger=require('../../config/logger')(_0xdf34('0x2'));var moment=require(_0xdf34('0x3'));var BPromise=require(_0xdf34('0x4'));var rp=require(_0xdf34('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0xdf34('0x6'));var config=require('../../config/environment');var attributes=require('./jscriptySessionReport.attributes');module[_0xdf34('0x7')]=function(_0xf9da93,_0x20d95a){return _0xf9da93[_0xdf34('0x8')](_0xdf34('0x9'),attributes,{'tableName':_0xdf34('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};