dd43948623c7947a2f1d69c23c4f53e0646ebbec
[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 _0x60de=['analytics_custom_reports','lodash','util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./analyticCustomReport.attributes','exports','define','AnalyticCustomReport'];(function(_0x5b5795,_0x16cefb){var _0x552485=function(_0x234a02){while(--_0x234a02){_0x5b5795['push'](_0x5b5795['shift']());}};_0x552485(++_0x16cefb);}(_0x60de,0x12d));var _0xe60d=function(_0x57b54c,_0x54ce0d){_0x57b54c=_0x57b54c-0x0;var _0x59cc19=_0x60de[_0x57b54c];return _0x59cc19;};'use strict';var _=require(_0xe60d('0x0'));var util=require(_0xe60d('0x1'));var logger=require(_0xe60d('0x2'))(_0xe60d('0x3'));var moment=require(_0xe60d('0x4'));var BPromise=require(_0xe60d('0x5'));var rp=require(_0xe60d('0x6'));var fs=require('fs');var path=require(_0xe60d('0x7'));var rimraf=require(_0xe60d('0x8'));var config=require(_0xe60d('0x9'));var attributes=require(_0xe60d('0xa'));module[_0xe60d('0xb')]=function(_0x533f9e,_0x43385b){return _0x533f9e[_0xe60d('0xc')](_0xe60d('0xd'),attributes,{'tableName':_0xe60d('0xe'),'paranoid':!![],'indexes':[],'timestamps':!![]});};