a2bf05283420b0f0a4d5eeb9dc00bbd144f945f2
[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 _0x11be=['./analyticExtractedReport.attributes','exports','define','AnalyticExtractedReport','analytics_extracted_reports','util','../../config/logger','api','moment','request-promise','rimraf','../../config/environment'];(function(_0x2763f2,_0x416af8){var _0x3ef471=function(_0x288aa2){while(--_0x288aa2){_0x2763f2['push'](_0x2763f2['shift']());}};_0x3ef471(++_0x416af8);}(_0x11be,0x7d));var _0xe11b=function(_0x2d4661,_0x2da65c){_0x2d4661=_0x2d4661-0x0;var _0x42ed1e=_0x11be[_0x2d4661];return _0x42ed1e;};'use strict';var _=require('lodash');var util=require(_0xe11b('0x0'));var logger=require(_0xe11b('0x1'))(_0xe11b('0x2'));var moment=require(_0xe11b('0x3'));var BPromise=require('bluebird');var rp=require(_0xe11b('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0xe11b('0x5'));var config=require(_0xe11b('0x6'));var attributes=require(_0xe11b('0x7'));module[_0xe11b('0x8')]=function(_0x287a80,_0x3688a2){return _0x287a80[_0xe11b('0x9')](_0xe11b('0xa'),attributes,{'tableName':_0xe11b('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};