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 _0x9f57=['define','report_jscripty_sessions','lodash','util','api','moment','bluebird','path','rimraf','./jscriptySessionReport.attributes','exports'];(function(_0x437c43,_0x478fa4){var _0x41133c=function(_0x2e85f6){while(--_0x2e85f6){_0x437c43['push'](_0x437c43['shift']());}};_0x41133c(++_0x478fa4);}(_0x9f57,0x199));var _0x79f5=function(_0x42c0f5,_0x4766ba){_0x42c0f5=_0x42c0f5-0x0;var _0x3d9b71=_0x9f57[_0x42c0f5];return _0x3d9b71;};'use strict';var _=require(_0x79f5('0x0'));var util=require(_0x79f5('0x1'));var logger=require('../../config/logger')(_0x79f5('0x2'));var moment=require(_0x79f5('0x3'));var BPromise=require(_0x79f5('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x79f5('0x5'));var rimraf=require(_0x79f5('0x6'));var config=require('../../config/environment');var attributes=require(_0x79f5('0x7'));module[_0x79f5('0x8')]=function(_0x37bcfc,_0x4aea75){return _0x37bcfc[_0x79f5('0x9')]('JscriptySessionReport',attributes,{'tableName':_0x79f5('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};