Built motion from commit (unavailable).|2.3.97
[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 _0x9b1e=['exports','AnalyticMetric','lodash','util','../../config/logger','moment','bluebird','./analyticMetric.attributes'];(function(_0x31e29a,_0x349c9b){var _0x32d892=function(_0x41cc86){while(--_0x41cc86){_0x31e29a['push'](_0x31e29a['shift']());}};_0x32d892(++_0x349c9b);}(_0x9b1e,0x92));var _0xe9b1=function(_0x22fbb5,_0x4767e2){_0x22fbb5=_0x22fbb5-0x0;var _0x31d425=_0x9b1e[_0x22fbb5];return _0x31d425;};'use strict';var _=require(_0xe9b1('0x0'));var util=require(_0xe9b1('0x1'));var logger=require(_0xe9b1('0x2'))('api');var moment=require(_0xe9b1('0x3'));var BPromise=require(_0xe9b1('0x4'));var rp=require('request-promise');var attributes=require(_0xe9b1('0x5'));module[_0xe9b1('0x6')]=function(_0x47da78,_0x3f7f30){return _0x47da78['define'](_0xe9b1('0x7'),attributes,{'tableName':'analytics_metrics','paranoid':![],'indexes':[],'timestamps':!![]});};