Built motion from commit 43538d75.|2.5.35
[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 _0x7dd6=['../../config/environment','exports','define','analytics_custom_reports','lodash','../../config/logger','bluebird','request-promise','rimraf'];(function(_0x3d42d8,_0x4cffaa){var _0x27fc41=function(_0x3a363b){while(--_0x3a363b){_0x3d42d8['push'](_0x3d42d8['shift']());}};_0x27fc41(++_0x4cffaa);}(_0x7dd6,0x9d));var _0x67dd=function(_0x56a871,_0x18b7fe){_0x56a871=_0x56a871-0x0;var _0x124954=_0x7dd6[_0x56a871];return _0x124954;};'use strict';var _=require(_0x67dd('0x0'));var util=require('util');var logger=require(_0x67dd('0x1'))('api');var moment=require('moment');var BPromise=require(_0x67dd('0x2'));var rp=require(_0x67dd('0x3'));var fs=require('fs');var path=require('path');var rimraf=require(_0x67dd('0x4'));var config=require(_0x67dd('0x5'));var attributes=require('./analyticCustomReport.attributes');module[_0x67dd('0x6')]=function(_0x48a945,_0x7655f2){return _0x48a945[_0x67dd('0x7')]('AnalyticCustomReport',attributes,{'tableName':_0x67dd('0x8'),'paranoid':!![],'indexes':[],'timestamps':!![]});};