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 _0x586a=['bluebird','request-promise','rimraf','./analyticFieldReport.attributes','exports','define','AnalyticFieldReport','analytics_report_fields','util','../../config/logger','moment'];(function(_0x18b2c3,_0x5250b1){var _0x13817a=function(_0x48eb3d){while(--_0x48eb3d){_0x18b2c3['push'](_0x18b2c3['shift']());}};_0x13817a(++_0x5250b1);}(_0x586a,0x15d));var _0xa586=function(_0x24eb70,_0x132b3b){_0x24eb70=_0x24eb70-0x0;var _0x28371c=_0x586a[_0x24eb70];return _0x28371c;};'use strict';var _=require('lodash');var util=require(_0xa586('0x0'));var logger=require(_0xa586('0x1'))('api');var moment=require(_0xa586('0x2'));var BPromise=require(_0xa586('0x3'));var rp=require(_0xa586('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0xa586('0x5'));var config=require('../../config/environment');var attributes=require(_0xa586('0x6'));module[_0xa586('0x7')]=function(_0x58b222,_0x59aa8f){return _0x58b222[_0xa586('0x8')](_0xa586('0x9'),attributes,{'tableName':_0xa586('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};