Built motion from commit (unavailable).|2.5.19
[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 _0x5da1=['define','AnalyticMetric','analytics_metrics','lodash','../../config/logger','api','bluebird','request-promise','path','rimraf','../../config/environment','./analyticMetric.attributes'];(function(_0x1f264f,_0x4ef8fa){var _0x30e493=function(_0x3e65ef){while(--_0x3e65ef){_0x1f264f['push'](_0x1f264f['shift']());}};_0x30e493(++_0x4ef8fa);}(_0x5da1,0x117));var _0x15da=function(_0x105cdc,_0xc87605){_0x105cdc=_0x105cdc-0x0;var _0x98a985=_0x5da1[_0x105cdc];return _0x98a985;};'use strict';var _=require(_0x15da('0x0'));var util=require('util');var logger=require(_0x15da('0x1'))(_0x15da('0x2'));var moment=require('moment');var BPromise=require(_0x15da('0x3'));var rp=require(_0x15da('0x4'));var fs=require('fs');var path=require(_0x15da('0x5'));var rimraf=require(_0x15da('0x6'));var config=require(_0x15da('0x7'));var attributes=require(_0x15da('0x8'));module['exports']=function(_0x8ad8ff,_0x83686e){return _0x8ad8ff[_0x15da('0x9')](_0x15da('0xa'),attributes,{'tableName':_0x15da('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};