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 _0x1ee3=['request-promise','path','rimraf','./jscriptySessionReport.attributes','exports','define','JscriptySessionReport','report_jscripty_sessions','lodash','util','../../config/logger','api','moment','bluebird'];(function(_0xc7b01f,_0x316398){var _0x1304bb=function(_0x2b44d5){while(--_0x2b44d5){_0xc7b01f['push'](_0xc7b01f['shift']());}};_0x1304bb(++_0x316398);}(_0x1ee3,0x14a));var _0x31ee=function(_0x4b97d7,_0x1c12e6){_0x4b97d7=_0x4b97d7-0x0;var _0x1543e4=_0x1ee3[_0x4b97d7];return _0x1543e4;};'use strict';var _=require(_0x31ee('0x0'));var util=require(_0x31ee('0x1'));var logger=require(_0x31ee('0x2'))(_0x31ee('0x3'));var moment=require(_0x31ee('0x4'));var BPromise=require(_0x31ee('0x5'));var rp=require(_0x31ee('0x6'));var fs=require('fs');var path=require(_0x31ee('0x7'));var rimraf=require(_0x31ee('0x8'));var config=require('../../config/environment');var attributes=require(_0x31ee('0x9'));module[_0x31ee('0xa')]=function(_0x346311,_0x26859b){return _0x346311[_0x31ee('0xb')](_0x31ee('0xc'),attributes,{'tableName':_0x31ee('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};