Built motion from commit (unavailable).|2.5.1
[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 _0x503f=['moment','bluebird','request-promise','rimraf','../../config/environment','./analyticMetric.attributes','define','AnalyticMetric','analytics_metrics','util','../../config/logger','api'];(function(_0x5661d9,_0x410683){var _0x221bde=function(_0x3d8714){while(--_0x3d8714){_0x5661d9['push'](_0x5661d9['shift']());}};_0x221bde(++_0x410683);}(_0x503f,0x189));var _0xf503=function(_0x42306d,_0x195e0a){_0x42306d=_0x42306d-0x0;var _0x474231=_0x503f[_0x42306d];return _0x474231;};'use strict';var _=require('lodash');var util=require(_0xf503('0x0'));var logger=require(_0xf503('0x1'))(_0xf503('0x2'));var moment=require(_0xf503('0x3'));var BPromise=require(_0xf503('0x4'));var rp=require(_0xf503('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0xf503('0x6'));var config=require(_0xf503('0x7'));var attributes=require(_0xf503('0x8'));module['exports']=function(_0x3c5ff0,_0x4d3f06){return _0x3c5ff0[_0xf503('0x9')](_0xf503('0xa'),attributes,{'tableName':_0xf503('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};