d4dd5c75ecb9dbfc6455df84f6b91849c9f1d0ff
[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 _0x4c2e=['./analyticExtractedReport.attributes','exports','define','AnalyticExtractedReport','analytics_extracted_reports','lodash','../../config/logger','api','bluebird','request-promise','path','rimraf','../../config/environment'];(function(_0x4e5b0d,_0x2500ed){var _0xba6acc=function(_0x3ce916){while(--_0x3ce916){_0x4e5b0d['push'](_0x4e5b0d['shift']());}};_0xba6acc(++_0x2500ed);}(_0x4c2e,0x171));var _0xe4c2=function(_0x8c43de,_0x90ff31){_0x8c43de=_0x8c43de-0x0;var _0xa6591b=_0x4c2e[_0x8c43de];return _0xa6591b;};'use strict';var _=require(_0xe4c2('0x0'));var util=require('util');var logger=require(_0xe4c2('0x1'))(_0xe4c2('0x2'));var moment=require('moment');var BPromise=require(_0xe4c2('0x3'));var rp=require(_0xe4c2('0x4'));var fs=require('fs');var path=require(_0xe4c2('0x5'));var rimraf=require(_0xe4c2('0x6'));var config=require(_0xe4c2('0x7'));var attributes=require(_0xe4c2('0x8'));module[_0xe4c2('0x9')]=function(_0x1875a8,_0xf34d72){return _0x1875a8[_0xe4c2('0xa')](_0xe4c2('0xb'),attributes,{'tableName':_0xe4c2('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};