Built motion from commit 9d1906d1.|2.5.40
[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 _0xac69=['path','../../config/environment','./analyticExtractedReport.attributes','exports','define','AnalyticExtractedReport','analytics_extracted_reports','lodash','../../config/logger','api','moment','bluebird','request-promise'];(function(_0x3237fc,_0x3f4b81){var _0x1bda7c=function(_0x23403c){while(--_0x23403c){_0x3237fc['push'](_0x3237fc['shift']());}};_0x1bda7c(++_0x3f4b81);}(_0xac69,0x125));var _0x9ac6=function(_0x18a79d,_0x57bd2c){_0x18a79d=_0x18a79d-0x0;var _0x4f8848=_0xac69[_0x18a79d];return _0x4f8848;};'use strict';var _=require(_0x9ac6('0x0'));var util=require('util');var logger=require(_0x9ac6('0x1'))(_0x9ac6('0x2'));var moment=require(_0x9ac6('0x3'));var BPromise=require(_0x9ac6('0x4'));var rp=require(_0x9ac6('0x5'));var fs=require('fs');var path=require(_0x9ac6('0x6'));var rimraf=require('rimraf');var config=require(_0x9ac6('0x7'));var attributes=require(_0x9ac6('0x8'));module[_0x9ac6('0x9')]=function(_0x2ee2da,_0x507636){return _0x2ee2da[_0x9ac6('0xa')](_0x9ac6('0xb'),attributes,{'tableName':_0x9ac6('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};