2f9aabdd5d72bb64063db8e2b2b8bdea07953eb6
[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 _0x1435=['api','moment','bluebird','request-promise','path','../../config/environment','exports','define','AnalyticExtractedReport','analytics_extracted_reports','lodash','util','../../config/logger'];(function(_0x3e28f4,_0x3f1929){var _0x4f1ae3=function(_0x51a416){while(--_0x51a416){_0x3e28f4['push'](_0x3e28f4['shift']());}};_0x4f1ae3(++_0x3f1929);}(_0x1435,0x176));var _0x5143=function(_0x59de9c,_0x2ab615){_0x59de9c=_0x59de9c-0x0;var _0xd6079e=_0x1435[_0x59de9c];return _0xd6079e;};'use strict';var _=require(_0x5143('0x0'));var util=require(_0x5143('0x1'));var logger=require(_0x5143('0x2'))(_0x5143('0x3'));var moment=require(_0x5143('0x4'));var BPromise=require(_0x5143('0x5'));var rp=require(_0x5143('0x6'));var fs=require('fs');var path=require(_0x5143('0x7'));var rimraf=require('rimraf');var config=require(_0x5143('0x8'));var attributes=require('./analyticExtractedReport.attributes');module[_0x5143('0x9')]=function(_0x4c1546,_0x5100b6){return _0x4c1546[_0x5143('0xa')](_0x5143('0xb'),attributes,{'tableName':_0x5143('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};