519cc9f2aba43b9abfee8ca1f4e91181f9dd6f52
[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 _0xb76e=['lodash','util','../../config/logger','moment','bluebird','request-promise','rimraf','../../config/environment','./analyticExtractedReport.attributes','exports','define','AnalyticExtractedReport','analytics_extracted_reports'];(function(_0xeb21,_0x16dd4b){var _0x27283a=function(_0x45c6a6){while(--_0x45c6a6){_0xeb21['push'](_0xeb21['shift']());}};_0x27283a(++_0x16dd4b);}(_0xb76e,0x15f));var _0xeb76=function(_0x47bb60,_0xe256f8){_0x47bb60=_0x47bb60-0x0;var _0x155c9b=_0xb76e[_0x47bb60];return _0x155c9b;};'use strict';var _=require(_0xeb76('0x0'));var util=require(_0xeb76('0x1'));var logger=require(_0xeb76('0x2'))('api');var moment=require(_0xeb76('0x3'));var BPromise=require(_0xeb76('0x4'));var rp=require(_0xeb76('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0xeb76('0x6'));var config=require(_0xeb76('0x7'));var attributes=require(_0xeb76('0x8'));module[_0xeb76('0x9')]=function(_0xe76663,_0x381b1f){return _0xe76663[_0xeb76('0xa')](_0xeb76('0xb'),attributes,{'tableName':_0xeb76('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};