Built motion from commit (unavailable).|2.5.8
[motion2.git] / server / api / analyticMetric / analyticMetric.model.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
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.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0x06e2=['exports','define','lodash','util','bluebird','path','rimraf','../../config/environment','./analyticMetric.attributes'];(function(_0x2daab8,_0x4ffeff){var _0x2716f0=function(_0xf270db){while(--_0xf270db){_0x2daab8['push'](_0x2daab8['shift']());}};_0x2716f0(++_0x4ffeff);}(_0x06e2,0x173));var _0x206e=function(_0x59800d,_0x35e44d){_0x59800d=_0x59800d-0x0;var _0x5001ed=_0x06e2[_0x59800d];return _0x5001ed;};'use strict';var _=require(_0x206e('0x0'));var util=require(_0x206e('0x1'));var logger=require('../../config/logger')('api');var moment=require('moment');var BPromise=require(_0x206e('0x2'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x206e('0x3'));var rimraf=require(_0x206e('0x4'));var config=require(_0x206e('0x5'));var attributes=require(_0x206e('0x6'));module[_0x206e('0x7')]=function(_0x51da0a,_0xdf377a){return _0x51da0a[_0x206e('0x8')]('AnalyticMetric',attributes,{'tableName':'analytics_metrics','paranoid':![],'indexes':[],'timestamps':!![]});};