Built motion from commit 9d1906d1.|2.5.40
[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 _0x6a23=['request-promise','path','rimraf','../../config/environment','./analyticDefaultReport.attributes','exports','define','AnalyticDefaultReport','analytics_default_reports','util','../../config/logger','moment','bluebird'];(function(_0x5dd734,_0x4cd1c3){var _0x4f7298=function(_0x396a18){while(--_0x396a18){_0x5dd734['push'](_0x5dd734['shift']());}};_0x4f7298(++_0x4cd1c3);}(_0x6a23,0xd9));var _0x36a2=function(_0x3f88bc,_0xe38cf5){_0x3f88bc=_0x3f88bc-0x0;var _0x4df1c4=_0x6a23[_0x3f88bc];return _0x4df1c4;};'use strict';var _=require('lodash');var util=require(_0x36a2('0x0'));var logger=require(_0x36a2('0x1'))('api');var moment=require(_0x36a2('0x2'));var BPromise=require(_0x36a2('0x3'));var rp=require(_0x36a2('0x4'));var fs=require('fs');var path=require(_0x36a2('0x5'));var rimraf=require(_0x36a2('0x6'));var config=require(_0x36a2('0x7'));var attributes=require(_0x36a2('0x8'));module[_0x36a2('0x9')]=function(_0x1b22f9,_0x253bad){return _0x1b22f9[_0x36a2('0xa')](_0x36a2('0xb'),attributes,{'tableName':_0x36a2('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};