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 _0x50a9=['util','../../config/logger','api','moment','bluebird','rimraf','./analyticFieldReport.attributes','exports','define','AnalyticFieldReport','analytics_report_fields','lodash'];(function(_0x5326b4,_0x35f070){var _0x2cb12e=function(_0x354d7c){while(--_0x354d7c){_0x5326b4['push'](_0x5326b4['shift']());}};_0x2cb12e(++_0x35f070);}(_0x50a9,0x17f));var _0x950a=function(_0x46368d,_0xe608d0){_0x46368d=_0x46368d-0x0;var _0x5efc16=_0x50a9[_0x46368d];return _0x5efc16;};'use strict';var _=require(_0x950a('0x0'));var util=require(_0x950a('0x1'));var logger=require(_0x950a('0x2'))(_0x950a('0x3'));var moment=require(_0x950a('0x4'));var BPromise=require(_0x950a('0x5'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0x950a('0x6'));var config=require('../../config/environment');var attributes=require(_0x950a('0x7'));module[_0x950a('0x8')]=function(_0x5aedfb,_0x446d8e){return _0x5aedfb[_0x950a('0x9')](_0x950a('0xa'),attributes,{'tableName':_0x950a('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};