Built motion from commit (unavailable).|2.5.4
[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 _0x750d=['request-promise','path','../../config/environment','./analyticMetric.attributes','exports','define','AnalyticMetric','lodash','util','../../config/logger','moment','bluebird'];(function(_0xf3b76c,_0x17f16e){var _0x1f3e57=function(_0x5584e1){while(--_0x5584e1){_0xf3b76c['push'](_0xf3b76c['shift']());}};_0x1f3e57(++_0x17f16e);}(_0x750d,0x1c3));var _0xd750=function(_0x17dc0d,_0x45a499){_0x17dc0d=_0x17dc0d-0x0;var _0x32e5b7=_0x750d[_0x17dc0d];return _0x32e5b7;};'use strict';var _=require(_0xd750('0x0'));var util=require(_0xd750('0x1'));var logger=require(_0xd750('0x2'))('api');var moment=require(_0xd750('0x3'));var BPromise=require(_0xd750('0x4'));var rp=require(_0xd750('0x5'));var fs=require('fs');var path=require(_0xd750('0x6'));var rimraf=require('rimraf');var config=require(_0xd750('0x7'));var attributes=require(_0xd750('0x8'));module[_0xd750('0x9')]=function(_0x3fdc3b,_0x18d24a){return _0x3fdc3b[_0xd750('0xa')](_0xd750('0xb'),attributes,{'tableName':'analytics_metrics','paranoid':![],'indexes':[],'timestamps':!![]});};