Built motion from commit d5e4af8c.|2.6.23
[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 _0x1be8=['../../config/logger','moment','rimraf','exports','define','AnalyticCustomReport','lodash','util'];(function(_0x2cd26d,_0x1b6142){var _0x113d9d=function(_0x44172d){while(--_0x44172d){_0x2cd26d['push'](_0x2cd26d['shift']());}};_0x113d9d(++_0x1b6142);}(_0x1be8,0x196));var _0x81be=function(_0x5bf7bd,_0x52d967){_0x5bf7bd=_0x5bf7bd-0x0;var _0x4d3227=_0x1be8[_0x5bf7bd];return _0x4d3227;};'use strict';var _=require(_0x81be('0x0'));var util=require(_0x81be('0x1'));var logger=require(_0x81be('0x2'))('api');var moment=require(_0x81be('0x3'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0x81be('0x4'));var config=require('../../config/environment');var attributes=require('./analyticCustomReport.attributes');module[_0x81be('0x5')]=function(_0x35579c,_0x218929){return _0x35579c[_0x81be('0x6')](_0x81be('0x7'),attributes,{'tableName':'analytics_custom_reports','paranoid':!![],'indexes':[],'timestamps':!![]});};