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 _0x7f4c=['./analyticMetric.attributes','exports','define','AnalyticMetric','analytics_metrics','lodash','util','../../config/logger','api','path','../../config/environment'];(function(_0x3a3bb6,_0x1938db){var _0x1e3028=function(_0x80d42b){while(--_0x80d42b){_0x3a3bb6['push'](_0x3a3bb6['shift']());}};_0x1e3028(++_0x1938db);}(_0x7f4c,0x7e));var _0xc7f4=function(_0x292d8c,_0x364af8){_0x292d8c=_0x292d8c-0x0;var _0xe65fe3=_0x7f4c[_0x292d8c];return _0xe65fe3;};'use strict';var _=require(_0xc7f4('0x0'));var util=require(_0xc7f4('0x1'));var logger=require(_0xc7f4('0x2'))(_0xc7f4('0x3'));var moment=require('moment');var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0xc7f4('0x4'));var rimraf=require('rimraf');var config=require(_0xc7f4('0x5'));var attributes=require(_0xc7f4('0x6'));module[_0xc7f4('0x7')]=function(_0x39ec81,_0x2d049d){return _0x39ec81[_0xc7f4('0x8')](_0xc7f4('0x9'),attributes,{'tableName':_0xc7f4('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};