5fcc7ad4a39248c513d48cefad21f6476d77e64c
[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 _0x888e=['util','../../config/logger','moment','request-promise','rimraf','../../config/environment','./analyticDefaultReport.attributes','exports','define','AnalyticDefaultReport'];(function(_0x15083f,_0x5db0da){var _0x4e3d4f=function(_0x4d0feb){while(--_0x4d0feb){_0x15083f['push'](_0x15083f['shift']());}};_0x4e3d4f(++_0x5db0da);}(_0x888e,0x154));var _0xe888=function(_0x3c6c3a,_0x4834c8){_0x3c6c3a=_0x3c6c3a-0x0;var _0x2abc38=_0x888e[_0x3c6c3a];return _0x2abc38;};'use strict';var _=require('lodash');var util=require(_0xe888('0x0'));var logger=require(_0xe888('0x1'))('api');var moment=require(_0xe888('0x2'));var BPromise=require('bluebird');var rp=require(_0xe888('0x3'));var fs=require('fs');var path=require('path');var rimraf=require(_0xe888('0x4'));var config=require(_0xe888('0x5'));var attributes=require(_0xe888('0x6'));module[_0xe888('0x7')]=function(_0x5e1079,_0x4b0f5b){return _0x5e1079[_0xe888('0x8')](_0xe888('0x9'),attributes,{'tableName':'analytics_default_reports','paranoid':![],'indexes':[],'timestamps':!![]});};