Built motion from commit ffdca78c.|2.6.24
[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 _0xa8f4=['path','../../config/environment','exports','define','lodash','util','../../config/logger','moment','bluebird','request-promise'];(function(_0x4e5439,_0x179239){var _0x5b84b4=function(_0x1f8134){while(--_0x1f8134){_0x4e5439['push'](_0x4e5439['shift']());}};_0x5b84b4(++_0x179239);}(_0xa8f4,0xcc));var _0x4a8f=function(_0x205e00,_0x5045dc){_0x205e00=_0x205e00-0x0;var _0x31a3fb=_0xa8f4[_0x205e00];return _0x31a3fb;};'use strict';var _=require(_0x4a8f('0x0'));var util=require(_0x4a8f('0x1'));var logger=require(_0x4a8f('0x2'))('api');var moment=require(_0x4a8f('0x3'));var BPromise=require(_0x4a8f('0x4'));var rp=require(_0x4a8f('0x5'));var fs=require('fs');var path=require(_0x4a8f('0x6'));var rimraf=require('rimraf');var config=require(_0x4a8f('0x7'));var attributes=require('./analyticDefaultReport.attributes');module[_0x4a8f('0x8')]=function(_0x413ed6,_0x192056){return _0x413ed6[_0x4a8f('0x9')]('AnalyticDefaultReport',attributes,{'tableName':'analytics_default_reports','paranoid':![],'indexes':[],'timestamps':!![]});};