Built motion from commit (unavailable).|2.5.11
[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 _0xb467=['define','AnalyticMetric','util','../../config/logger','api','bluebird','request-promise','path','../../config/environment','./analyticMetric.attributes'];(function(_0x1be48a,_0x3a8218){var _0x31151d=function(_0x5caf01){while(--_0x5caf01){_0x1be48a['push'](_0x1be48a['shift']());}};_0x31151d(++_0x3a8218);}(_0xb467,0x66));var _0x7b46=function(_0x1ebe90,_0x5d29fc){_0x1ebe90=_0x1ebe90-0x0;var _0x447c82=_0xb467[_0x1ebe90];return _0x447c82;};'use strict';var _=require('lodash');var util=require(_0x7b46('0x0'));var logger=require(_0x7b46('0x1'))(_0x7b46('0x2'));var moment=require('moment');var BPromise=require(_0x7b46('0x3'));var rp=require(_0x7b46('0x4'));var fs=require('fs');var path=require(_0x7b46('0x5'));var rimraf=require('rimraf');var config=require(_0x7b46('0x6'));var attributes=require(_0x7b46('0x7'));module['exports']=function(_0x1933f1,_0x577d70){return _0x1933f1[_0x7b46('0x8')](_0x7b46('0x9'),attributes,{'tableName':'analytics_metrics','paranoid':![],'indexes':[],'timestamps':!![]});};