Built motion from commit 2b9af5da.|2.6.26
[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 _0x95a2=['lodash','util','../../config/logger','api','moment','request-promise','path','rimraf','../../config/environment','./analyticCustomReport.attributes','exports','AnalyticCustomReport','analytics_custom_reports'];(function(_0xbbbeae,_0x4a414a){var _0x1cb9c9=function(_0x4db7d0){while(--_0x4db7d0){_0xbbbeae['push'](_0xbbbeae['shift']());}};_0x1cb9c9(++_0x4a414a);}(_0x95a2,0x1ba));var _0x295a=function(_0x271060,_0x3f86b1){_0x271060=_0x271060-0x0;var _0x40540b=_0x95a2[_0x271060];return _0x40540b;};'use strict';var _=require(_0x295a('0x0'));var util=require(_0x295a('0x1'));var logger=require(_0x295a('0x2'))(_0x295a('0x3'));var moment=require(_0x295a('0x4'));var BPromise=require('bluebird');var rp=require(_0x295a('0x5'));var fs=require('fs');var path=require(_0x295a('0x6'));var rimraf=require(_0x295a('0x7'));var config=require(_0x295a('0x8'));var attributes=require(_0x295a('0x9'));module[_0x295a('0xa')]=function(_0x4530ae,_0x1c58e4){return _0x4530ae['define'](_0x295a('0xb'),attributes,{'tableName':_0x295a('0xc'),'paranoid':!![],'indexes':[],'timestamps':!![]});};