Built motion from commit (unavailable).|2.5.6
[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 _0xed9d=['analytics_metrics','lodash','util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','exports','define'];(function(_0x8a73a4,_0x58511d){var _0x2b1c80=function(_0x2b8af5){while(--_0x2b8af5){_0x8a73a4['push'](_0x8a73a4['shift']());}};_0x2b1c80(++_0x58511d);}(_0xed9d,0xeb));var _0xded9=function(_0x6131cd,_0x4c26a1){_0x6131cd=_0x6131cd-0x0;var _0x47e916=_0xed9d[_0x6131cd];return _0x47e916;};'use strict';var _=require(_0xded9('0x0'));var util=require(_0xded9('0x1'));var logger=require(_0xded9('0x2'))(_0xded9('0x3'));var moment=require(_0xded9('0x4'));var BPromise=require(_0xded9('0x5'));var rp=require(_0xded9('0x6'));var fs=require('fs');var path=require(_0xded9('0x7'));var rimraf=require(_0xded9('0x8'));var config=require(_0xded9('0x9'));var attributes=require('./analyticMetric.attributes');module[_0xded9('0xa')]=function(_0x5c7a82,_0x3c08da){return _0x5c7a82[_0xded9('0xb')]('AnalyticMetric',attributes,{'tableName':_0xded9('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};