Built motion from commit 775e2a94.|2.6.3
[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 _0xb3de=['path','rimraf','./analyticCustomReport.attributes','exports','AnalyticCustomReport','analytics_custom_reports','lodash','util','api','moment','request-promise'];(function(_0x47300d,_0x3d42d9){var _0x2a6e5e=function(_0x4770fd){while(--_0x4770fd){_0x47300d['push'](_0x47300d['shift']());}};_0x2a6e5e(++_0x3d42d9);}(_0xb3de,0x1c9));var _0xeb3d=function(_0x1c854d,_0x1b5d57){_0x1c854d=_0x1c854d-0x0;var _0x1f946a=_0xb3de[_0x1c854d];return _0x1f946a;};'use strict';var _=require(_0xeb3d('0x0'));var util=require(_0xeb3d('0x1'));var logger=require('../../config/logger')(_0xeb3d('0x2'));var moment=require(_0xeb3d('0x3'));var BPromise=require('bluebird');var rp=require(_0xeb3d('0x4'));var fs=require('fs');var path=require(_0xeb3d('0x5'));var rimraf=require(_0xeb3d('0x6'));var config=require('../../config/environment');var attributes=require(_0xeb3d('0x7'));module[_0xeb3d('0x8')]=function(_0x29e296,_0x1f8c6c){return _0x29e296['define'](_0xeb3d('0x9'),attributes,{'tableName':_0xeb3d('0xa'),'paranoid':!![],'indexes':[],'timestamps':!![]});};