Built motion from commit (unavailable).|2.4.21
[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 _0x99b8=['./analyticMetric.attributes','exports','AnalyticMetric','analytics_metrics','lodash','api','moment','bluebird','request-promise','path','rimraf','../../config/environment'];(function(_0x2711b2,_0x5e1da1){var _0x4dcd17=function(_0x39b5c0){while(--_0x39b5c0){_0x2711b2['push'](_0x2711b2['shift']());}};_0x4dcd17(++_0x5e1da1);}(_0x99b8,0x10c));var _0x899b=function(_0x5f2cc9,_0x584fa2){_0x5f2cc9=_0x5f2cc9-0x0;var _0x496145=_0x99b8[_0x5f2cc9];return _0x496145;};'use strict';var _=require(_0x899b('0x0'));var util=require('util');var logger=require('../../config/logger')(_0x899b('0x1'));var moment=require(_0x899b('0x2'));var BPromise=require(_0x899b('0x3'));var rp=require(_0x899b('0x4'));var fs=require('fs');var path=require(_0x899b('0x5'));var rimraf=require(_0x899b('0x6'));var config=require(_0x899b('0x7'));var attributes=require(_0x899b('0x8'));module[_0x899b('0x9')]=function(_0x38bf72,_0x11785e){return _0x38bf72['define'](_0x899b('0xa'),attributes,{'tableName':_0x899b('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};