f33e46f7613a9a0af425851aff1823b5ad680aa4
[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 _0xd415=['./analyticCustomReport.attributes','exports','define','lodash','util','../../config/logger','request-promise','path','rimraf','../../config/environment'];(function(_0x499bd9,_0x51a209){var _0x5eb275=function(_0x4ce722){while(--_0x4ce722){_0x499bd9['push'](_0x499bd9['shift']());}};_0x5eb275(++_0x51a209);}(_0xd415,0x99));var _0x5d41=function(_0x44512b,_0x199f03){_0x44512b=_0x44512b-0x0;var _0x30e108=_0xd415[_0x44512b];return _0x30e108;};'use strict';var _=require(_0x5d41('0x0'));var util=require(_0x5d41('0x1'));var logger=require(_0x5d41('0x2'))('api');var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0x5d41('0x3'));var fs=require('fs');var path=require(_0x5d41('0x4'));var rimraf=require(_0x5d41('0x5'));var config=require(_0x5d41('0x6'));var attributes=require(_0x5d41('0x7'));module[_0x5d41('0x8')]=function(_0x482cb0,_0x39da73){return _0x482cb0[_0x5d41('0x9')]('AnalyticCustomReport',attributes,{'tableName':'analytics_custom_reports','paranoid':!![],'indexes':[],'timestamps':!![]});};