68f7525e9821677da6ee58161f3387d4f9057ffe
[motion2.git] / server / api / analyticDefaultReport / analyticDefaultReport.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 _0x21bd=['AnalyticDefaultReport','analytics_default_reports','lodash','util','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./analyticDefaultReport.attributes','exports','define'];(function(_0xf50820,_0x56f041){var _0x2a9b10=function(_0x33f0f4){while(--_0x33f0f4){_0xf50820['push'](_0xf50820['shift']());}};_0x2a9b10(++_0x56f041);}(_0x21bd,0x1a6));var _0xd21b=function(_0x5b9f58,_0x4fc62d){_0x5b9f58=_0x5b9f58-0x0;var _0xb4365d=_0x21bd[_0x5b9f58];return _0xb4365d;};'use strict';var _=require(_0xd21b('0x0'));var util=require(_0xd21b('0x1'));var logger=require('../../config/logger')(_0xd21b('0x2'));var moment=require(_0xd21b('0x3'));var BPromise=require(_0xd21b('0x4'));var rp=require(_0xd21b('0x5'));var fs=require('fs');var path=require(_0xd21b('0x6'));var rimraf=require(_0xd21b('0x7'));var config=require(_0xd21b('0x8'));var attributes=require(_0xd21b('0x9'));module[_0xd21b('0xa')]=function(_0x35aa12,_0x9c62bb){return _0x35aa12[_0xd21b('0xb')](_0xd21b('0xc'),attributes,{'tableName':_0xd21b('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};