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 _0xa983=['request-promise','exports','JscriptySessionReport','lodash','util','api','moment','bluebird'];(function(_0x30bd92,_0x1a41bc){var _0x226586=function(_0x2e05f5){while(--_0x2e05f5){_0x30bd92['push'](_0x30bd92['shift']());}};_0x226586(++_0x1a41bc);}(_0xa983,0x17b));var _0x3a98=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0xa983[_0x3dd15e];return _0x231fd0;};'use strict';var _=require(_0x3a98('0x0'));var util=require(_0x3a98('0x1'));var logger=require('../../config/logger')(_0x3a98('0x2'));var moment=require(_0x3a98('0x3'));var BPromise=require(_0x3a98('0x4'));var rp=require(_0x3a98('0x5'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require('./jscriptySessionReport.attributes');module[_0x3a98('0x6')]=function(_0x551ca1,_0x57cb51){return _0x551ca1['define'](_0x3a98('0x7'),attributes,{'tableName':'report_jscripty_sessions','paranoid':![],'indexes':[],'timestamps':!![]});};