0bd64b647e870a00e76fd320efeeef4068632cef
[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 _0x9ecd=['./analyticExtractedReport.attributes','exports','define','AnalyticExtractedReport','analytics_extracted_reports','lodash','util','../../config/logger','api','moment','request-promise','../../config/environment'];(function(_0x2abc3d,_0x48edca){var _0x252745=function(_0x32bb6f){while(--_0x32bb6f){_0x2abc3d['push'](_0x2abc3d['shift']());}};_0x252745(++_0x48edca);}(_0x9ecd,0x1e5));var _0xd9ec=function(_0x558998,_0x3845b5){_0x558998=_0x558998-0x0;var _0x45ff24=_0x9ecd[_0x558998];return _0x45ff24;};'use strict';var _=require(_0xd9ec('0x0'));var util=require(_0xd9ec('0x1'));var logger=require(_0xd9ec('0x2'))(_0xd9ec('0x3'));var moment=require(_0xd9ec('0x4'));var BPromise=require('bluebird');var rp=require(_0xd9ec('0x5'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0xd9ec('0x6'));var attributes=require(_0xd9ec('0x7'));module[_0xd9ec('0x8')]=function(_0xe8f8b9,_0x859e98){return _0xe8f8b9[_0xd9ec('0x9')](_0xd9ec('0xa'),attributes,{'tableName':_0xd9ec('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};