01442a77a390e800e8c78f9f6caeaeff436d4084
[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 _0x5742=['lodash','util','../../config/logger','moment','bluebird','request-promise','path','../../config/environment','./analyticCustomReport.attributes','AnalyticCustomReport','analytics_custom_reports'];(function(_0x2d7766,_0x17b192){var _0x597efb=function(_0x224d6d){while(--_0x224d6d){_0x2d7766['push'](_0x2d7766['shift']());}};_0x597efb(++_0x17b192);}(_0x5742,0x160));var _0x2574=function(_0x49b207,_0x408ade){_0x49b207=_0x49b207-0x0;var _0x2dc8fa=_0x5742[_0x49b207];return _0x2dc8fa;};'use strict';var _=require(_0x2574('0x0'));var util=require(_0x2574('0x1'));var logger=require(_0x2574('0x2'))('api');var moment=require(_0x2574('0x3'));var BPromise=require(_0x2574('0x4'));var rp=require(_0x2574('0x5'));var fs=require('fs');var path=require(_0x2574('0x6'));var rimraf=require('rimraf');var config=require(_0x2574('0x7'));var attributes=require(_0x2574('0x8'));module['exports']=function(_0x1a95d2,_0xbed560){return _0x1a95d2['define'](_0x2574('0x9'),attributes,{'tableName':_0x2574('0xa'),'paranoid':!![],'indexes':[],'timestamps':!![]});};