b8c2dde8e19ae910ba52cbc3cd6d6b9c4b3e0316
[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 _0x7f5e=['define','analytics_custom_reports','lodash','util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./analyticCustomReport.attributes','exports'];(function(_0x237418,_0x56e144){var _0x22393e=function(_0x53ae0e){while(--_0x53ae0e){_0x237418['push'](_0x237418['shift']());}};_0x22393e(++_0x56e144);}(_0x7f5e,0x160));var _0xe7f5=function(_0x20a584,_0xe384a5){_0x20a584=_0x20a584-0x0;var _0x4b41a8=_0x7f5e[_0x20a584];return _0x4b41a8;};'use strict';var _=require(_0xe7f5('0x0'));var util=require(_0xe7f5('0x1'));var logger=require(_0xe7f5('0x2'))(_0xe7f5('0x3'));var moment=require(_0xe7f5('0x4'));var BPromise=require(_0xe7f5('0x5'));var rp=require(_0xe7f5('0x6'));var fs=require('fs');var path=require(_0xe7f5('0x7'));var rimraf=require(_0xe7f5('0x8'));var config=require(_0xe7f5('0x9'));var attributes=require(_0xe7f5('0xa'));module[_0xe7f5('0xb')]=function(_0x2dca85,_0x4ce158){return _0x2dca85[_0xe7f5('0xc')]('AnalyticCustomReport',attributes,{'tableName':_0xe7f5('0xd'),'paranoid':!![],'indexes':[],'timestamps':!![]});};