d0894e290fd7ec002217c5a76640a53b734a80f4
[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 _0x8c79=['bluebird','request-promise','path','rimraf','../../config/environment','./analyticExtractedReport.attributes','define','AnalyticExtractedReport','analytics_extracted_reports','lodash','util','../../config/logger','api'];(function(_0x9da67f,_0x442ec0){var _0x49de40=function(_0x50ebb1){while(--_0x50ebb1){_0x9da67f['push'](_0x9da67f['shift']());}};_0x49de40(++_0x442ec0);}(_0x8c79,0x1c3));var _0x98c7=function(_0xdb95a0,_0x28c797){_0xdb95a0=_0xdb95a0-0x0;var _0x2a0665=_0x8c79[_0xdb95a0];return _0x2a0665;};'use strict';var _=require(_0x98c7('0x0'));var util=require(_0x98c7('0x1'));var logger=require(_0x98c7('0x2'))(_0x98c7('0x3'));var moment=require('moment');var BPromise=require(_0x98c7('0x4'));var rp=require(_0x98c7('0x5'));var fs=require('fs');var path=require(_0x98c7('0x6'));var rimraf=require(_0x98c7('0x7'));var config=require(_0x98c7('0x8'));var attributes=require(_0x98c7('0x9'));module['exports']=function(_0x1988f6,_0x4fc3ea){return _0x1988f6[_0x98c7('0xa')](_0x98c7('0xb'),attributes,{'tableName':_0x98c7('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};