3679d138bd31ad0201fdb8170ceac70abbeb4a73
[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 _0x1f8e=['api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./analyticExtractedReport.attributes','exports','define','AnalyticExtractedReport','analytics_extracted_reports','lodash','util','../../config/logger'];(function(_0x2ef9bc,_0x25a6e7){var _0x5c8344=function(_0x5b9487){while(--_0x5b9487){_0x2ef9bc['push'](_0x2ef9bc['shift']());}};_0x5c8344(++_0x25a6e7);}(_0x1f8e,0x138));var _0xe1f8=function(_0x37756b,_0x24db76){_0x37756b=_0x37756b-0x0;var _0x46efec=_0x1f8e[_0x37756b];return _0x46efec;};'use strict';var _=require(_0xe1f8('0x0'));var util=require(_0xe1f8('0x1'));var logger=require(_0xe1f8('0x2'))(_0xe1f8('0x3'));var moment=require(_0xe1f8('0x4'));var BPromise=require(_0xe1f8('0x5'));var rp=require(_0xe1f8('0x6'));var fs=require('fs');var path=require(_0xe1f8('0x7'));var rimraf=require(_0xe1f8('0x8'));var config=require(_0xe1f8('0x9'));var attributes=require(_0xe1f8('0xa'));module[_0xe1f8('0xb')]=function(_0x5c20e7,_0x50c596){return _0x5c20e7[_0xe1f8('0xc')](_0xe1f8('0xd'),attributes,{'tableName':_0xe1f8('0xe'),'paranoid':![],'indexes':[],'timestamps':!![]});};