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 _0x6c7b=['path','rimraf','./analyticMetric.attributes','exports','define','analytics_metrics','lodash','moment','request-promise'];(function(_0x40d46b,_0x452f8d){var _0x587c38=function(_0x3c0d56){while(--_0x3c0d56){_0x40d46b['push'](_0x40d46b['shift']());}};_0x587c38(++_0x452f8d);}(_0x6c7b,0x10b));var _0xb6c7=function(_0x1b616b,_0x17f31e){_0x1b616b=_0x1b616b-0x0;var _0x1624e3=_0x6c7b[_0x1b616b];return _0x1624e3;};'use strict';var _=require(_0xb6c7('0x0'));var util=require('util');var logger=require('../../config/logger')('api');var moment=require(_0xb6c7('0x1'));var BPromise=require('bluebird');var rp=require(_0xb6c7('0x2'));var fs=require('fs');var path=require(_0xb6c7('0x3'));var rimraf=require(_0xb6c7('0x4'));var config=require('../../config/environment');var attributes=require(_0xb6c7('0x5'));module[_0xb6c7('0x6')]=function(_0xfe3eb9,_0x219abc){return _0xfe3eb9[_0xb6c7('0x7')]('AnalyticMetric',attributes,{'tableName':_0xb6c7('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};