Built motion from commit 449495f6.|2.6.27
[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 _0x3398=['bluebird','path','./analyticCustomReport.attributes','exports','define','lodash','util','../../config/logger'];(function(_0x422905,_0x3bce3a){var _0x33dc6c=function(_0x4852c9){while(--_0x4852c9){_0x422905['push'](_0x422905['shift']());}};_0x33dc6c(++_0x3bce3a);}(_0x3398,0xcd));var _0x8339=function(_0xb49d07,_0x3a7261){_0xb49d07=_0xb49d07-0x0;var _0x1da626=_0x3398[_0xb49d07];return _0x1da626;};'use strict';var _=require(_0x8339('0x0'));var util=require(_0x8339('0x1'));var logger=require(_0x8339('0x2'))('api');var moment=require('moment');var BPromise=require(_0x8339('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x8339('0x4'));var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0x8339('0x5'));module[_0x8339('0x6')]=function(_0x11439e,_0x2390a9){return _0x11439e[_0x8339('0x7')]('AnalyticCustomReport',attributes,{'tableName':'analytics_custom_reports','paranoid':!![],'indexes':[],'timestamps':!![]});};