Built motion from commit d5e4af8c.|2.6.23
[motion2.git] / server / api / analyticDefaultReport / analyticDefaultReport.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 _0xecbf=['request-promise','path','../../config/environment','./analyticDefaultReport.attributes','define','AnalyticDefaultReport','analytics_default_reports','lodash','../../config/logger','api','moment','bluebird'];(function(_0x24cf2e,_0x141f1d){var _0xb81932=function(_0x10fa0e){while(--_0x10fa0e){_0x24cf2e['push'](_0x24cf2e['shift']());}};_0xb81932(++_0x141f1d);}(_0xecbf,0xa3));var _0xfecb=function(_0x47bea2,_0x5e25db){_0x47bea2=_0x47bea2-0x0;var _0x7e1b08=_0xecbf[_0x47bea2];return _0x7e1b08;};'use strict';var _=require(_0xfecb('0x0'));var util=require('util');var logger=require(_0xfecb('0x1'))(_0xfecb('0x2'));var moment=require(_0xfecb('0x3'));var BPromise=require(_0xfecb('0x4'));var rp=require(_0xfecb('0x5'));var fs=require('fs');var path=require(_0xfecb('0x6'));var rimraf=require('rimraf');var config=require(_0xfecb('0x7'));var attributes=require(_0xfecb('0x8'));module['exports']=function(_0x468755,_0x2bdcaf){return _0x468755[_0xfecb('0x9')](_0xfecb('0xa'),attributes,{'tableName':_0xfecb('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};