21ea3b5b7099cc5960f33d8b8471e5869fa74e06
[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 _0x2abe=['request-promise','path','rimraf','../../config/environment','exports','define','AnalyticExtractedReport','analytics_extracted_reports','../../config/logger','moment'];(function(_0x4b64fe,_0x71b2a4){var _0x288459=function(_0x3674ed){while(--_0x3674ed){_0x4b64fe['push'](_0x4b64fe['shift']());}};_0x288459(++_0x71b2a4);}(_0x2abe,0x1de));var _0xe2ab=function(_0x8c43de,_0x90ff31){_0x8c43de=_0x8c43de-0x0;var _0xa6591b=_0x2abe[_0x8c43de];return _0xa6591b;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0xe2ab('0x0'))('api');var moment=require(_0xe2ab('0x1'));var BPromise=require('bluebird');var rp=require(_0xe2ab('0x2'));var fs=require('fs');var path=require(_0xe2ab('0x3'));var rimraf=require(_0xe2ab('0x4'));var config=require(_0xe2ab('0x5'));var attributes=require('./analyticExtractedReport.attributes');module[_0xe2ab('0x6')]=function(_0x51213c,_0x50a737){return _0x51213c[_0xe2ab('0x7')](_0xe2ab('0x8'),attributes,{'tableName':_0xe2ab('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};