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 _0xc13e=['../../config/environment','exports','define','JscriptySessionReport','lodash','util','api','moment','bluebird','path'];(function(_0x4c95cc,_0x58b755){var _0x254f7f=function(_0x34a550){while(--_0x34a550){_0x4c95cc['push'](_0x4c95cc['shift']());}};_0x254f7f(++_0x58b755);}(_0xc13e,0x19e));var _0xec13=function(_0x33cfff,_0x1cf8bd){_0x33cfff=_0x33cfff-0x0;var _0x462ae3=_0xc13e[_0x33cfff];return _0x462ae3;};'use strict';var _=require(_0xec13('0x0'));var util=require(_0xec13('0x1'));var logger=require('../../config/logger')(_0xec13('0x2'));var moment=require(_0xec13('0x3'));var BPromise=require(_0xec13('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xec13('0x5'));var rimraf=require('rimraf');var config=require(_0xec13('0x6'));var attributes=require('./jscriptySessionReport.attributes');module[_0xec13('0x7')]=function(_0xc03187,_0x406bbd){return _0xc03187[_0xec13('0x8')](_0xec13('0x9'),attributes,{'tableName':'report_jscripty_sessions','paranoid':![],'indexes':[],'timestamps':!![]});};