Built motion from commit (unavailable).|2.5.7
[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 _0x1ade=['moment','bluebird','request-promise','path','rimraf','../../config/environment','./analyticMetric.attributes','exports','AnalyticMetric','analytics_metrics','lodash','util','../../config/logger'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0x1ade,0xa6));var _0xe1ad=function(_0xd6504e,_0x549f21){_0xd6504e=_0xd6504e-0x0;var _0x425340=_0x1ade[_0xd6504e];return _0x425340;};'use strict';var _=require(_0xe1ad('0x0'));var util=require(_0xe1ad('0x1'));var logger=require(_0xe1ad('0x2'))('api');var moment=require(_0xe1ad('0x3'));var BPromise=require(_0xe1ad('0x4'));var rp=require(_0xe1ad('0x5'));var fs=require('fs');var path=require(_0xe1ad('0x6'));var rimraf=require(_0xe1ad('0x7'));var config=require(_0xe1ad('0x8'));var attributes=require(_0xe1ad('0x9'));module[_0xe1ad('0xa')]=function(_0x3cef73,_0x25bca8){return _0x3cef73['define'](_0xe1ad('0xb'),attributes,{'tableName':_0xe1ad('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};