Built motion from commit (unavailable).|2.5.22
[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 _0xdf89=['path','rimraf','../../config/environment','./analyticCustomReport.attributes','define','AnalyticCustomReport','lodash','../../config/logger','api','moment','bluebird','request-promise'];(function(_0x384efd,_0x178668){var _0x1f41c4=function(_0x28fef2){while(--_0x28fef2){_0x384efd['push'](_0x384efd['shift']());}};_0x1f41c4(++_0x178668);}(_0xdf89,0x16e));var _0x9df8=function(_0x11b546,_0x4f5146){_0x11b546=_0x11b546-0x0;var _0x12082f=_0xdf89[_0x11b546];return _0x12082f;};'use strict';var _=require(_0x9df8('0x0'));var util=require('util');var logger=require(_0x9df8('0x1'))(_0x9df8('0x2'));var moment=require(_0x9df8('0x3'));var BPromise=require(_0x9df8('0x4'));var rp=require(_0x9df8('0x5'));var fs=require('fs');var path=require(_0x9df8('0x6'));var rimraf=require(_0x9df8('0x7'));var config=require(_0x9df8('0x8'));var attributes=require(_0x9df8('0x9'));module['exports']=function(_0x1ad4d3,_0x1be418){return _0x1ad4d3[_0x9df8('0xa')](_0x9df8('0xb'),attributes,{'tableName':'analytics_custom_reports','paranoid':!![],'indexes':[],'timestamps':!![]});};