Built motion from commit (unavailable).|2.5.22
[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 _0x2564=['../../config/environment','./analyticExtractedReport.attributes','exports','define','AnalyticExtractedReport','analytics_extracted_reports','lodash','api','moment','bluebird','request-promise','path'];(function(_0x19facb,_0x127eb9){var _0x5dfaff=function(_0x4c2cfd){while(--_0x4c2cfd){_0x19facb['push'](_0x19facb['shift']());}};_0x5dfaff(++_0x127eb9);}(_0x2564,0x126));var _0x4256=function(_0x321bb2,_0x202794){_0x321bb2=_0x321bb2-0x0;var _0x9c12ed=_0x2564[_0x321bb2];return _0x9c12ed;};'use strict';var _=require(_0x4256('0x0'));var util=require('util');var logger=require('../../config/logger')(_0x4256('0x1'));var moment=require(_0x4256('0x2'));var BPromise=require(_0x4256('0x3'));var rp=require(_0x4256('0x4'));var fs=require('fs');var path=require(_0x4256('0x5'));var rimraf=require('rimraf');var config=require(_0x4256('0x6'));var attributes=require(_0x4256('0x7'));module[_0x4256('0x8')]=function(_0x49f2ae,_0x2598b3){return _0x49f2ae[_0x4256('0x9')](_0x4256('0xa'),attributes,{'tableName':_0x4256('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};