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 _0xd26a=['analytics_metrics','util','../../config/logger','moment','bluebird','path','./analyticMetric.attributes','exports'];(function(_0x14add3,_0x13ce8d){var _0x4a174f=function(_0x2b3ed7){while(--_0x2b3ed7){_0x14add3['push'](_0x14add3['shift']());}};_0x4a174f(++_0x13ce8d);}(_0xd26a,0x151));var _0xad26=function(_0x3042b0,_0x5117f7){_0x3042b0=_0x3042b0-0x0;var _0x5166d2=_0xd26a[_0x3042b0];return _0x5166d2;};'use strict';var _=require('lodash');var util=require(_0xad26('0x0'));var logger=require(_0xad26('0x1'))('api');var moment=require(_0xad26('0x2'));var BPromise=require(_0xad26('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xad26('0x4'));var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0xad26('0x5'));module[_0xad26('0x6')]=function(_0xb1e28b,_0x4ca738){return _0xb1e28b['define']('AnalyticMetric',attributes,{'tableName':_0xad26('0x7'),'paranoid':![],'indexes':[],'timestamps':!![]});};