6f557a3ae367537dfc321d3c08c8b34c7ff69739
[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 _0xe074=['../../config/logger','api','bluebird','request-promise','path','../../config/environment','./analyticExtractedReport.attributes','exports','define','AnalyticExtractedReport','lodash'];(function(_0x501510,_0x61caa9){var _0x1e6ee5=function(_0x32845b){while(--_0x32845b){_0x501510['push'](_0x501510['shift']());}};_0x1e6ee5(++_0x61caa9);}(_0xe074,0xe6));var _0x4e07=function(_0x48364c,_0x3c4fb4){_0x48364c=_0x48364c-0x0;var _0x3372eb=_0xe074[_0x48364c];return _0x3372eb;};'use strict';var _=require(_0x4e07('0x0'));var util=require('util');var logger=require(_0x4e07('0x1'))(_0x4e07('0x2'));var moment=require('moment');var BPromise=require(_0x4e07('0x3'));var rp=require(_0x4e07('0x4'));var fs=require('fs');var path=require(_0x4e07('0x5'));var rimraf=require('rimraf');var config=require(_0x4e07('0x6'));var attributes=require(_0x4e07('0x7'));module[_0x4e07('0x8')]=function(_0x2e3cf4,_0x584661){return _0x2e3cf4[_0x4e07('0x9')](_0x4e07('0xa'),attributes,{'tableName':'analytics_extracted_reports','paranoid':![],'indexes':[],'timestamps':!![]});};