Built motion from commit (unavailable).|2.5.30
[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 _0x09d8=['../../config/environment','define','AnalyticCustomReport','util','../../config/logger','api','moment','bluebird'];(function(_0x302dbc,_0x5dd8f5){var _0x18597a=function(_0x1ff6cb){while(--_0x1ff6cb){_0x302dbc['push'](_0x302dbc['shift']());}};_0x18597a(++_0x5dd8f5);}(_0x09d8,0xa3));var _0x809d=function(_0x5cdf7f,_0x1f682c){_0x5cdf7f=_0x5cdf7f-0x0;var _0x26609a=_0x09d8[_0x5cdf7f];return _0x26609a;};'use strict';var _=require('lodash');var util=require(_0x809d('0x0'));var logger=require(_0x809d('0x1'))(_0x809d('0x2'));var moment=require(_0x809d('0x3'));var BPromise=require(_0x809d('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0x809d('0x5'));var attributes=require('./analyticCustomReport.attributes');module['exports']=function(_0x2a8dc8,_0x483944){return _0x2a8dc8[_0x809d('0x6')](_0x809d('0x7'),attributes,{'tableName':'analytics_custom_reports','paranoid':!![],'indexes':[],'timestamps':!![]});};