Built motion from commit e0fa946e.|2.6.5
[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 _0x0650=['../../config/environment','./analyticMetric.attributes','lodash','util','../../config/logger','api','bluebird','rimraf'];(function(_0x361d3f,_0x3be2aa){var _0x320229=function(_0x138319){while(--_0x138319){_0x361d3f['push'](_0x361d3f['shift']());}};_0x320229(++_0x3be2aa);}(_0x0650,0x1aa));var _0x0065=function(_0x1770dc,_0x4aa2cf){_0x1770dc=_0x1770dc-0x0;var _0x166cba=_0x0650[_0x1770dc];return _0x166cba;};'use strict';var _=require(_0x0065('0x0'));var util=require(_0x0065('0x1'));var logger=require(_0x0065('0x2'))(_0x0065('0x3'));var moment=require('moment');var BPromise=require(_0x0065('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0x0065('0x5'));var config=require(_0x0065('0x6'));var attributes=require(_0x0065('0x7'));module['exports']=function(_0x4aab3a,_0x456a74){return _0x4aab3a['define']('AnalyticMetric',attributes,{'tableName':'analytics_metrics','paranoid':![],'indexes':[],'timestamps':!![]});};