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 _0x57db=['request-promise','path','../../config/environment','./analyticFieldReport.attributes','exports','define','AnalyticFieldReport','analytics_report_fields','lodash','../../config/logger','moment','bluebird'];(function(_0x3d73ba,_0x356e23){var _0x47e406=function(_0x90df31){while(--_0x90df31){_0x3d73ba['push'](_0x3d73ba['shift']());}};_0x47e406(++_0x356e23);}(_0x57db,0x110));var _0xb57d=function(_0x1f5510,_0x2688b5){_0x1f5510=_0x1f5510-0x0;var _0x3d486e=_0x57db[_0x1f5510];return _0x3d486e;};'use strict';var _=require(_0xb57d('0x0'));var util=require('util');var logger=require(_0xb57d('0x1'))('api');var moment=require(_0xb57d('0x2'));var BPromise=require(_0xb57d('0x3'));var rp=require(_0xb57d('0x4'));var fs=require('fs');var path=require(_0xb57d('0x5'));var rimraf=require('rimraf');var config=require(_0xb57d('0x6'));var attributes=require(_0xb57d('0x7'));module[_0xb57d('0x8')]=function(_0xa06f30,_0x445c4d){return _0xa06f30[_0xb57d('0x9')](_0xb57d('0xa'),attributes,{'tableName':_0xb57d('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};