008e86b7aa1eb0976ff7a54fe07cf8e3f2a1b5fc
[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 _0x188e=['path','rimraf','../../config/environment','./analyticDefaultReport.attributes','define','AnalyticDefaultReport','analytics_default_reports','util','../../config/logger','moment','bluebird','request-promise'];(function(_0x2e0cf7,_0x4c9423){var _0x37ef4c=function(_0x40950a){while(--_0x40950a){_0x2e0cf7['push'](_0x2e0cf7['shift']());}};_0x37ef4c(++_0x4c9423);}(_0x188e,0x1cf));var _0xe188=function(_0x4caff1,_0x48c11e){_0x4caff1=_0x4caff1-0x0;var _0x201eee=_0x188e[_0x4caff1];return _0x201eee;};'use strict';var _=require('lodash');var util=require(_0xe188('0x0'));var logger=require(_0xe188('0x1'))('api');var moment=require(_0xe188('0x2'));var BPromise=require(_0xe188('0x3'));var rp=require(_0xe188('0x4'));var fs=require('fs');var path=require(_0xe188('0x5'));var rimraf=require(_0xe188('0x6'));var config=require(_0xe188('0x7'));var attributes=require(_0xe188('0x8'));module['exports']=function(_0xe15d9c,_0x34f667){return _0xe15d9c[_0xe188('0x9')](_0xe188('0xa'),attributes,{'tableName':_0xe188('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};