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 _0x9f78=['request-promise','rimraf','../../config/environment','./analyticCustomReport.attributes','exports','define','AnalyticCustomReport','analytics_custom_reports','lodash','../../config/logger','api','moment','bluebird'];(function(_0x4c028a,_0x374103){var _0xf118a7=function(_0x3ab377){while(--_0x3ab377){_0x4c028a['push'](_0x4c028a['shift']());}};_0xf118a7(++_0x374103);}(_0x9f78,0x97));var _0x89f7=function(_0x3a7634,_0x2db384){_0x3a7634=_0x3a7634-0x0;var _0x23bbe9=_0x9f78[_0x3a7634];return _0x23bbe9;};'use strict';var _=require(_0x89f7('0x0'));var util=require('util');var logger=require(_0x89f7('0x1'))(_0x89f7('0x2'));var moment=require(_0x89f7('0x3'));var BPromise=require(_0x89f7('0x4'));var rp=require(_0x89f7('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0x89f7('0x6'));var config=require(_0x89f7('0x7'));var attributes=require(_0x89f7('0x8'));module[_0x89f7('0x9')]=function(_0x13bdbf,_0x33c68e){return _0x13bdbf[_0x89f7('0xa')](_0x89f7('0xb'),attributes,{'tableName':_0x89f7('0xc'),'paranoid':!![],'indexes':[],'timestamps':!![]});};