0745fc707a984eae70e597a1353e671e984c2600
[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 _0x92f3=['path','rimraf','../../config/environment','./analyticExtractedReport.attributes','define','AnalyticExtractedReport','util','../../config/logger','api','bluebird','request-promise'];(function(_0x272d84,_0x38e0e4){var _0x5d7548=function(_0xca3cfc){while(--_0xca3cfc){_0x272d84['push'](_0x272d84['shift']());}};_0x5d7548(++_0x38e0e4);}(_0x92f3,0x7f));var _0x392f=function(_0x3b83c2,_0x2e9891){_0x3b83c2=_0x3b83c2-0x0;var _0x29dde9=_0x92f3[_0x3b83c2];return _0x29dde9;};'use strict';var _=require('lodash');var util=require(_0x392f('0x0'));var logger=require(_0x392f('0x1'))(_0x392f('0x2'));var moment=require('moment');var BPromise=require(_0x392f('0x3'));var rp=require(_0x392f('0x4'));var fs=require('fs');var path=require(_0x392f('0x5'));var rimraf=require(_0x392f('0x6'));var config=require(_0x392f('0x7'));var attributes=require(_0x392f('0x8'));module['exports']=function(_0x3d9379,_0x2773c0){return _0x3d9379[_0x392f('0x9')](_0x392f('0xa'),attributes,{'tableName':'analytics_extracted_reports','paranoid':![],'indexes':[],'timestamps':!![]});};