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 _0xfbcb=['api','bluebird','request-promise','rimraf','../../config/environment','./analyticTreeReport.attributes','exports','define','AnalyticTreeReport','analytics_report_trees','util'];(function(_0x263965,_0x1167b8){var _0x50ecac=function(_0x4ff360){while(--_0x4ff360){_0x263965['push'](_0x263965['shift']());}};_0x50ecac(++_0x1167b8);}(_0xfbcb,0xf1));var _0xbfbc=function(_0xa14da4,_0x5344a0){_0xa14da4=_0xa14da4-0x0;var _0x4dc5f1=_0xfbcb[_0xa14da4];return _0x4dc5f1;};'use strict';var _=require('lodash');var util=require(_0xbfbc('0x0'));var logger=require('../../config/logger')(_0xbfbc('0x1'));var moment=require('moment');var BPromise=require(_0xbfbc('0x2'));var rp=require(_0xbfbc('0x3'));var fs=require('fs');var path=require('path');var rimraf=require(_0xbfbc('0x4'));var config=require(_0xbfbc('0x5'));var attributes=require(_0xbfbc('0x6'));module[_0xbfbc('0x7')]=function(_0x504fdb,_0x208850){return _0x504fdb[_0xbfbc('0x8')](_0xbfbc('0x9'),attributes,{'tableName':_0xbfbc('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};