Built motion from commit f7863d46.|2.5.41
[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 _0xe469=['request-promise','path','rimraf','../../config/environment','./analyticCustomReport.attributes','exports','define','AnalyticCustomReport','analytics_custom_reports','lodash','util','api','moment'];(function(_0x476b00,_0x250877){var _0x44ec8e=function(_0xec6b23){while(--_0xec6b23){_0x476b00['push'](_0x476b00['shift']());}};_0x44ec8e(++_0x250877);}(_0xe469,0x141));var _0x9e46=function(_0x5d8631,_0x44944b){_0x5d8631=_0x5d8631-0x0;var _0x34c15e=_0xe469[_0x5d8631];return _0x34c15e;};'use strict';var _=require(_0x9e46('0x0'));var util=require(_0x9e46('0x1'));var logger=require('../../config/logger')(_0x9e46('0x2'));var moment=require(_0x9e46('0x3'));var BPromise=require('bluebird');var rp=require(_0x9e46('0x4'));var fs=require('fs');var path=require(_0x9e46('0x5'));var rimraf=require(_0x9e46('0x6'));var config=require(_0x9e46('0x7'));var attributes=require(_0x9e46('0x8'));module[_0x9e46('0x9')]=function(_0xfd9230,_0xc27302){return _0xfd9230[_0x9e46('0xa')](_0x9e46('0xb'),attributes,{'tableName':_0x9e46('0xc'),'paranoid':!![],'indexes':[],'timestamps':!![]});};