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 _0x76de=['../../config/environment','./analyticCustomReport.attributes','exports','define','analytics_custom_reports','lodash','../../config/logger','api','moment','path','rimraf'];(function(_0x485cba,_0x38a03a){var _0x5cdc63=function(_0x1abd9e){while(--_0x1abd9e){_0x485cba['push'](_0x485cba['shift']());}};_0x5cdc63(++_0x38a03a);}(_0x76de,0x1e9));var _0xe76d=function(_0x19afdd,_0x4f9937){_0x19afdd=_0x19afdd-0x0;var _0x1d44dc=_0x76de[_0x19afdd];return _0x1d44dc;};'use strict';var _=require(_0xe76d('0x0'));var util=require('util');var logger=require(_0xe76d('0x1'))(_0xe76d('0x2'));var moment=require(_0xe76d('0x3'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0xe76d('0x4'));var rimraf=require(_0xe76d('0x5'));var config=require(_0xe76d('0x6'));var attributes=require(_0xe76d('0x7'));module[_0xe76d('0x8')]=function(_0x4ed8ee,_0x1eb55b){return _0x4ed8ee[_0xe76d('0x9')]('AnalyticCustomReport',attributes,{'tableName':_0xe76d('0xa'),'paranoid':!![],'indexes':[],'timestamps':!![]});};