Built motion from commit da617fac.|2.6.6
[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 _0xf4bf=['./analyticCustomReport.attributes','exports','define','AnalyticCustomReport','analytics_custom_reports','lodash','util','../../config/logger','moment','bluebird','request-promise','path','../../config/environment'];(function(_0x483d8b,_0x526c52){var _0x6500f1=function(_0x372797){while(--_0x372797){_0x483d8b['push'](_0x483d8b['shift']());}};_0x6500f1(++_0x526c52);}(_0xf4bf,0x6d));var _0xff4b=function(_0x45ae0d,_0x1ea3b9){_0x45ae0d=_0x45ae0d-0x0;var _0x371826=_0xf4bf[_0x45ae0d];return _0x371826;};'use strict';var _=require(_0xff4b('0x0'));var util=require(_0xff4b('0x1'));var logger=require(_0xff4b('0x2'))('api');var moment=require(_0xff4b('0x3'));var BPromise=require(_0xff4b('0x4'));var rp=require(_0xff4b('0x5'));var fs=require('fs');var path=require(_0xff4b('0x6'));var rimraf=require('rimraf');var config=require(_0xff4b('0x7'));var attributes=require(_0xff4b('0x8'));module[_0xff4b('0x9')]=function(_0x5f41e5,_0x1c75d9){return _0x5f41e5[_0xff4b('0xa')](_0xff4b('0xb'),attributes,{'tableName':_0xff4b('0xc'),'paranoid':!![],'indexes':[],'timestamps':!![]});};