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 _0xcaad=['moment','path','rimraf','../../config/environment','./jscriptySessionReport.attributes','exports','define','JscriptySessionReport','report_jscripty_sessions','lodash','api'];(function(_0x5bda8f,_0x375070){var _0xb1474d=function(_0x58acaf){while(--_0x58acaf){_0x5bda8f['push'](_0x5bda8f['shift']());}};_0xb1474d(++_0x375070);}(_0xcaad,0x15e));var _0xdcaa=function(_0x8ad610,_0x18a204){_0x8ad610=_0x8ad610-0x0;var _0x1fc342=_0xcaad[_0x8ad610];return _0x1fc342;};'use strict';var _=require(_0xdcaa('0x0'));var util=require('util');var logger=require('../../config/logger')(_0xdcaa('0x1'));var moment=require(_0xdcaa('0x2'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0xdcaa('0x3'));var rimraf=require(_0xdcaa('0x4'));var config=require(_0xdcaa('0x5'));var attributes=require(_0xdcaa('0x6'));module[_0xdcaa('0x7')]=function(_0x214d14,_0x490a6a){return _0x214d14[_0xdcaa('0x8')](_0xdcaa('0x9'),attributes,{'tableName':_0xdcaa('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};