Built motion from commit (unavailable).|2.4.18
[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 _0xad9f=['request-promise','path','../../config/environment','./analyticCustomReport.attributes','exports','define','AnalyticCustomReport','analytics_custom_reports','util','../../config/logger','api','moment'];(function(_0x1d24eb,_0x12295b){var _0x1dc576=function(_0x4d5770){while(--_0x4d5770){_0x1d24eb['push'](_0x1d24eb['shift']());}};_0x1dc576(++_0x12295b);}(_0xad9f,0x98));var _0xfad9=function(_0x48832c,_0x278d06){_0x48832c=_0x48832c-0x0;var _0x41db6d=_0xad9f[_0x48832c];return _0x41db6d;};'use strict';var _=require('lodash');var util=require(_0xfad9('0x0'));var logger=require(_0xfad9('0x1'))(_0xfad9('0x2'));var moment=require(_0xfad9('0x3'));var BPromise=require('bluebird');var rp=require(_0xfad9('0x4'));var fs=require('fs');var path=require(_0xfad9('0x5'));var rimraf=require('rimraf');var config=require(_0xfad9('0x6'));var attributes=require(_0xfad9('0x7'));module[_0xfad9('0x8')]=function(_0x44e01b,_0x311929){return _0x44e01b[_0xfad9('0x9')](_0xfad9('0xa'),attributes,{'tableName':_0xfad9('0xb'),'paranoid':!![],'indexes':[],'timestamps':!![]});};