Built motion from commit d1eab355.|2.6.28
[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 _0x549a=['bluebird','request-promise','path','rimraf','../../config/environment','./analyticDefaultReport.attributes','exports','define','AnalyticDefaultReport','analytics_default_reports','lodash','util','../../config/logger'];(function(_0x12b98e,_0x1bb35c){var _0x1a9fb4=function(_0x28bac5){while(--_0x28bac5){_0x12b98e['push'](_0x12b98e['shift']());}};_0x1a9fb4(++_0x1bb35c);}(_0x549a,0x65));var _0xa549=function(_0x6aecbd,_0x1ca69c){_0x6aecbd=_0x6aecbd-0x0;var _0x1f71b3=_0x549a[_0x6aecbd];return _0x1f71b3;};'use strict';var _=require(_0xa549('0x0'));var util=require(_0xa549('0x1'));var logger=require(_0xa549('0x2'))('api');var moment=require('moment');var BPromise=require(_0xa549('0x3'));var rp=require(_0xa549('0x4'));var fs=require('fs');var path=require(_0xa549('0x5'));var rimraf=require(_0xa549('0x6'));var config=require(_0xa549('0x7'));var attributes=require(_0xa549('0x8'));module[_0xa549('0x9')]=function(_0x1781f3,_0x131bd5){return _0x1781f3[_0xa549('0xa')](_0xa549('0xb'),attributes,{'tableName':_0xa549('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};