Built motion from commit 9d0783e6.|2.6.13
[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 _0xab02=['lodash','util','../../config/logger','api','bluebird','path','rimraf','../../config/environment','./analyticCustomReport.attributes','exports','define','analytics_custom_reports'];(function(_0x56497c,_0x2ad77f){var _0x18f66f=function(_0x460598){while(--_0x460598){_0x56497c['push'](_0x56497c['shift']());}};_0x18f66f(++_0x2ad77f);}(_0xab02,0x12c));var _0x2ab0=function(_0xeb450f,_0x483ac6){_0xeb450f=_0xeb450f-0x0;var _0xfad79f=_0xab02[_0xeb450f];return _0xfad79f;};'use strict';var _=require(_0x2ab0('0x0'));var util=require(_0x2ab0('0x1'));var logger=require(_0x2ab0('0x2'))(_0x2ab0('0x3'));var moment=require('moment');var BPromise=require(_0x2ab0('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x2ab0('0x5'));var rimraf=require(_0x2ab0('0x6'));var config=require(_0x2ab0('0x7'));var attributes=require(_0x2ab0('0x8'));module[_0x2ab0('0x9')]=function(_0xab9099,_0x3f6462){return _0xab9099[_0x2ab0('0xa')]('AnalyticCustomReport',attributes,{'tableName':_0x2ab0('0xb'),'paranoid':!![],'indexes':[],'timestamps':!![]});};