Built motion from commit e6806ed6.|2.6.0
[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 _0x793b=['util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./analyticCustomReport.attributes','exports','define','AnalyticCustomReport','analytics_custom_reports','lodash'];(function(_0x6596df,_0x542f1b){var _0x5a2f1b=function(_0x2a7913){while(--_0x2a7913){_0x6596df['push'](_0x6596df['shift']());}};_0x5a2f1b(++_0x542f1b);}(_0x793b,0x95));var _0xb793=function(_0x11689b,_0xc5d634){_0x11689b=_0x11689b-0x0;var _0xa71ae=_0x793b[_0x11689b];return _0xa71ae;};'use strict';var _=require(_0xb793('0x0'));var util=require(_0xb793('0x1'));var logger=require(_0xb793('0x2'))(_0xb793('0x3'));var moment=require(_0xb793('0x4'));var BPromise=require(_0xb793('0x5'));var rp=require(_0xb793('0x6'));var fs=require('fs');var path=require(_0xb793('0x7'));var rimraf=require(_0xb793('0x8'));var config=require(_0xb793('0x9'));var attributes=require(_0xb793('0xa'));module[_0xb793('0xb')]=function(_0x3d8a1a,_0x2c6ca4){return _0x3d8a1a[_0xb793('0xc')](_0xb793('0xd'),attributes,{'tableName':_0xb793('0xe'),'paranoid':!![],'indexes':[],'timestamps':!![]});};