8e230046ff68704a106a7b2da42116353b8df090
[motion2.git] / server / api / analyticExtractedReport / analyticExtractedReport.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 _0xc9e3=['bluebird','request-promise','rimraf','define','AnalyticExtractedReport','analytics_extracted_reports','lodash','util','../../config/logger'];(function(_0x3c4f10,_0x5bb79e){var _0x20340a=function(_0x528350){while(--_0x528350){_0x3c4f10['push'](_0x3c4f10['shift']());}};_0x20340a(++_0x5bb79e);}(_0xc9e3,0xd5));var _0x3c9e=function(_0x5d3a88,_0x3be8d3){_0x5d3a88=_0x5d3a88-0x0;var _0x41a385=_0xc9e3[_0x5d3a88];return _0x41a385;};'use strict';var _=require(_0x3c9e('0x0'));var util=require(_0x3c9e('0x1'));var logger=require(_0x3c9e('0x2'))('api');var moment=require('moment');var BPromise=require(_0x3c9e('0x3'));var rp=require(_0x3c9e('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0x3c9e('0x5'));var config=require('../../config/environment');var attributes=require('./analyticExtractedReport.attributes');module['exports']=function(_0x317069,_0x1849c8){return _0x317069[_0x3c9e('0x6')](_0x3c9e('0x7'),attributes,{'tableName':_0x3c9e('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};