436047abda099109891cb69cdcf1bcbe566e339d
[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 _0xd29f=['lodash','util','moment','bluebird','request-promise','path','rimraf','../../config/environment','./analyticCustomReport.attributes','define','AnalyticCustomReport'];(function(_0x311c35,_0x534915){var _0x5cc50c=function(_0x3ad680){while(--_0x3ad680){_0x311c35['push'](_0x311c35['shift']());}};_0x5cc50c(++_0x534915);}(_0xd29f,0xc6));var _0xfd29=function(_0x40a0a4,_0x4269e1){_0x40a0a4=_0x40a0a4-0x0;var _0x115c37=_0xd29f[_0x40a0a4];return _0x115c37;};'use strict';var _=require(_0xfd29('0x0'));var util=require(_0xfd29('0x1'));var logger=require('../../config/logger')('api');var moment=require(_0xfd29('0x2'));var BPromise=require(_0xfd29('0x3'));var rp=require(_0xfd29('0x4'));var fs=require('fs');var path=require(_0xfd29('0x5'));var rimraf=require(_0xfd29('0x6'));var config=require(_0xfd29('0x7'));var attributes=require(_0xfd29('0x8'));module['exports']=function(_0x5aba23,_0x144ee3){return _0x5aba23[_0xfd29('0x9')](_0xfd29('0xa'),attributes,{'tableName':'analytics_custom_reports','paranoid':!![],'indexes':[],'timestamps':!![]});};