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 _0x95fc=['path','rimraf','./jscriptySessionReport.attributes','exports','define','JscriptySessionReport','lodash','util','../../config/logger','api','bluebird','request-promise'];(function(_0x334603,_0x44f4ca){var _0xf2530c=function(_0x365137){while(--_0x365137){_0x334603['push'](_0x334603['shift']());}};_0xf2530c(++_0x44f4ca);}(_0x95fc,0x96));var _0xc95f=function(_0x1801f5,_0x3ba9a5){_0x1801f5=_0x1801f5-0x0;var _0x480316=_0x95fc[_0x1801f5];return _0x480316;};'use strict';var _=require(_0xc95f('0x0'));var util=require(_0xc95f('0x1'));var logger=require(_0xc95f('0x2'))(_0xc95f('0x3'));var moment=require('moment');var BPromise=require(_0xc95f('0x4'));var rp=require(_0xc95f('0x5'));var fs=require('fs');var path=require(_0xc95f('0x6'));var rimraf=require(_0xc95f('0x7'));var config=require('../../config/environment');var attributes=require(_0xc95f('0x8'));module[_0xc95f('0x9')]=function(_0x2a887b,_0x512bd3){return _0x2a887b[_0xc95f('0xa')](_0xc95f('0xb'),attributes,{'tableName':'report_jscripty_sessions','paranoid':![],'indexes':[],'timestamps':!![]});};