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 _0x0a88=['report_jscripty_sessions','../../config/logger','moment','bluebird','request-promise','../../config/environment','./jscriptySessionReport.attributes','exports','define','JscriptySessionReport'];(function(_0x31323c,_0x4fd982){var _0x3a806b=function(_0x199328){while(--_0x199328){_0x31323c['push'](_0x31323c['shift']());}};_0x3a806b(++_0x4fd982);}(_0x0a88,0xfb));var _0x80a8=function(_0xfbdff6,_0x2af690){_0xfbdff6=_0xfbdff6-0x0;var _0x4cb9be=_0x0a88[_0xfbdff6];return _0x4cb9be;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0x80a8('0x0'))('api');var moment=require(_0x80a8('0x1'));var BPromise=require(_0x80a8('0x2'));var rp=require(_0x80a8('0x3'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0x80a8('0x4'));var attributes=require(_0x80a8('0x5'));module[_0x80a8('0x6')]=function(_0x3a0dc1,_0x4999a0){return _0x3a0dc1[_0x80a8('0x7')](_0x80a8('0x8'),attributes,{'tableName':_0x80a8('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};