843602074a56c9d803139805dbfcdd72f4549049
[motion2.git] / server / api / analyticCustomReport / analyticCustomReport.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 _0xeca9=['lodash','util','api','moment','path','rimraf','../../config/environment','./analyticCustomReport.attributes','define','AnalyticCustomReport','analytics_custom_reports'];(function(_0x5dbd62,_0x2579b0){var _0x4bfd3e=function(_0x252d45){while(--_0x252d45){_0x5dbd62['push'](_0x5dbd62['shift']());}};_0x4bfd3e(++_0x2579b0);}(_0xeca9,0x79));var _0x9eca=function(_0x59c69b,_0x5be2c4){_0x59c69b=_0x59c69b-0x0;var _0x12cbe6=_0xeca9[_0x59c69b];return _0x12cbe6;};'use strict';var _=require(_0x9eca('0x0'));var util=require(_0x9eca('0x1'));var logger=require('../../config/logger')(_0x9eca('0x2'));var moment=require(_0x9eca('0x3'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0x9eca('0x4'));var rimraf=require(_0x9eca('0x5'));var config=require(_0x9eca('0x6'));var attributes=require(_0x9eca('0x7'));module['exports']=function(_0x2de5e9,_0x191881){return _0x2de5e9[_0x9eca('0x8')](_0x9eca('0x9'),attributes,{'tableName':_0x9eca('0xa'),'paranoid':!![],'indexes':[],'timestamps':!![]});};