Built motion from commit (unavailable).|2.5.20
[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 _0xe11e=['moment','request-promise','rimraf','../../config/environment','./analyticMetric.attributes','AnalyticMetric','analytics_metrics','lodash','util','../../config/logger'];(function(_0x44cb92,_0x59afa3){var _0x56b9e6=function(_0x2841e0){while(--_0x2841e0){_0x44cb92['push'](_0x44cb92['shift']());}};_0x56b9e6(++_0x59afa3);}(_0xe11e,0x147));var _0xee11=function(_0x5371fe,_0x36ab48){_0x5371fe=_0x5371fe-0x0;var _0xb63245=_0xe11e[_0x5371fe];return _0xb63245;};'use strict';var _=require(_0xee11('0x0'));var util=require(_0xee11('0x1'));var logger=require(_0xee11('0x2'))('api');var moment=require(_0xee11('0x3'));var BPromise=require('bluebird');var rp=require(_0xee11('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0xee11('0x5'));var config=require(_0xee11('0x6'));var attributes=require(_0xee11('0x7'));module['exports']=function(_0x14eb88,_0xfb5eb8){return _0x14eb88['define'](_0xee11('0x8'),attributes,{'tableName':_0xee11('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};