4e79ceda5ab7f73cf9e89063eb81899231b947e6
[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 _0x9b73=['define','AnalyticExtractedReport','analytics_extracted_reports','lodash','util','api','moment','request-promise','rimraf','../../config/environment','./analyticExtractedReport.attributes','exports'];(function(_0x2b0960,_0x525d1c){var _0x140c06=function(_0x491281){while(--_0x491281){_0x2b0960['push'](_0x2b0960['shift']());}};_0x140c06(++_0x525d1c);}(_0x9b73,0xab));var _0x39b7=function(_0x501510,_0x61caa9){_0x501510=_0x501510-0x0;var _0x1e6ee5=_0x9b73[_0x501510];return _0x1e6ee5;};'use strict';var _=require(_0x39b7('0x0'));var util=require(_0x39b7('0x1'));var logger=require('../../config/logger')(_0x39b7('0x2'));var moment=require(_0x39b7('0x3'));var BPromise=require('bluebird');var rp=require(_0x39b7('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0x39b7('0x5'));var config=require(_0x39b7('0x6'));var attributes=require(_0x39b7('0x7'));module[_0x39b7('0x8')]=function(_0x515c6d,_0x5ee65b){return _0x515c6d[_0x39b7('0x9')](_0x39b7('0xa'),attributes,{'tableName':_0x39b7('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};