Built motion from commit 3e059bc2.|2.5.32
[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 _0xf56e=['../../config/environment','./analyticDefaultReport.attributes','define','AnalyticDefaultReport','analytics_default_reports','util','../../config/logger','api','moment','bluebird','request-promise','rimraf'];(function(_0x18cf20,_0xf30f84){var _0x36ceb2=function(_0x4d401d){while(--_0x4d401d){_0x18cf20['push'](_0x18cf20['shift']());}};_0x36ceb2(++_0xf30f84);}(_0xf56e,0xc5));var _0xef56=function(_0x28894c,_0x5a428c){_0x28894c=_0x28894c-0x0;var _0x3e108c=_0xf56e[_0x28894c];return _0x3e108c;};'use strict';var _=require('lodash');var util=require(_0xef56('0x0'));var logger=require(_0xef56('0x1'))(_0xef56('0x2'));var moment=require(_0xef56('0x3'));var BPromise=require(_0xef56('0x4'));var rp=require(_0xef56('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0xef56('0x6'));var config=require(_0xef56('0x7'));var attributes=require(_0xef56('0x8'));module['exports']=function(_0x5323d2,_0x51bb){return _0x5323d2[_0xef56('0x9')](_0xef56('0xa'),attributes,{'tableName':_0xef56('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};