Built motion from commit (unavailable).|2.4.18
[motion2.git] / server / api / analyticCustomReport / analyticCustomReport.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 _0x3a52=['../../config/environment','./analyticCustomReport.attributes','exports','define','analytics_custom_reports','lodash','api','moment','bluebird','request-promise','path'];(function(_0x2bebd9,_0x11df41){var _0x39f6d0=function(_0x3f6ac1){while(--_0x3f6ac1){_0x2bebd9['push'](_0x2bebd9['shift']());}};_0x39f6d0(++_0x11df41);}(_0x3a52,0xf7));var _0x23a5=function(_0x20a584,_0xe384a5){_0x20a584=_0x20a584-0x0;var _0x4b41a8=_0x3a52[_0x20a584];return _0x4b41a8;};'use strict';var _=require(_0x23a5('0x0'));var util=require('util');var logger=require('../../config/logger')(_0x23a5('0x1'));var moment=require(_0x23a5('0x2'));var BPromise=require(_0x23a5('0x3'));var rp=require(_0x23a5('0x4'));var fs=require('fs');var path=require(_0x23a5('0x5'));var rimraf=require('rimraf');var config=require(_0x23a5('0x6'));var attributes=require(_0x23a5('0x7'));module[_0x23a5('0x8')]=function(_0x2cf056,_0x4326ad){return _0x2cf056[_0x23a5('0x9')]('AnalyticCustomReport',attributes,{'tableName':_0x23a5('0xa'),'paranoid':!![],'indexes':[],'timestamps':!![]});};