Built motion from commit a61a4a20.|2.5.46
[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 _0x435e=['../../config/environment','./analyticDefaultReport.attributes','exports','AnalyticDefaultReport','analytics_default_reports','lodash','util','../../config/logger','moment','bluebird','request-promise','path'];(function(_0xd83ff8,_0x2cf4d0){var _0x140b58=function(_0x2dfee8){while(--_0x2dfee8){_0xd83ff8['push'](_0xd83ff8['shift']());}};_0x140b58(++_0x2cf4d0);}(_0x435e,0xad));var _0xe435=function(_0x58e469,_0x95ee3e){_0x58e469=_0x58e469-0x0;var _0x4c01c5=_0x435e[_0x58e469];return _0x4c01c5;};'use strict';var _=require(_0xe435('0x0'));var util=require(_0xe435('0x1'));var logger=require(_0xe435('0x2'))('api');var moment=require(_0xe435('0x3'));var BPromise=require(_0xe435('0x4'));var rp=require(_0xe435('0x5'));var fs=require('fs');var path=require(_0xe435('0x6'));var rimraf=require('rimraf');var config=require(_0xe435('0x7'));var attributes=require(_0xe435('0x8'));module[_0xe435('0x9')]=function(_0x8327b1,_0x1bb9fb){return _0x8327b1['define'](_0xe435('0xa'),attributes,{'tableName':_0xe435('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};