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 _0xec1c=['define','report_jscripty_sessions','util','../../config/logger','moment','bluebird','request-promise','path','exports'];(function(_0x44d9ab,_0x76bc69){var _0x31485e=function(_0x1e44ce){while(--_0x1e44ce){_0x44d9ab['push'](_0x44d9ab['shift']());}};_0x31485e(++_0x76bc69);}(_0xec1c,0x197));var _0xcec1=function(_0x2385fc,_0x4c17b4){_0x2385fc=_0x2385fc-0x0;var _0x5e7e2e=_0xec1c[_0x2385fc];return _0x5e7e2e;};'use strict';var _=require('lodash');var util=require(_0xcec1('0x0'));var logger=require(_0xcec1('0x1'))('api');var moment=require(_0xcec1('0x2'));var BPromise=require(_0xcec1('0x3'));var rp=require(_0xcec1('0x4'));var fs=require('fs');var path=require(_0xcec1('0x5'));var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require('./jscriptySessionReport.attributes');module[_0xcec1('0x6')]=function(_0x30c614,_0x2a8d72){return _0x30c614[_0xcec1('0x7')]('JscriptySessionReport',attributes,{'tableName':_0xcec1('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};