df4ab82107cec5b4d09bd93b0be343c4ad6558bd
[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 _0xecdd=['rimraf','../../config/environment','./analyticCustomReport.attributes','define','analytics_custom_reports','lodash','../../config/logger','api','moment','bluebird','request-promise','path'];(function(_0x3d4b5f,_0x4921be){var _0x5129e2=function(_0x3fbec6){while(--_0x3fbec6){_0x3d4b5f['push'](_0x3d4b5f['shift']());}};_0x5129e2(++_0x4921be);}(_0xecdd,0x1c1));var _0xdecd=function(_0x3ea913,_0x255df2){_0x3ea913=_0x3ea913-0x0;var _0x2b4f28=_0xecdd[_0x3ea913];return _0x2b4f28;};'use strict';var _=require(_0xdecd('0x0'));var util=require('util');var logger=require(_0xdecd('0x1'))(_0xdecd('0x2'));var moment=require(_0xdecd('0x3'));var BPromise=require(_0xdecd('0x4'));var rp=require(_0xdecd('0x5'));var fs=require('fs');var path=require(_0xdecd('0x6'));var rimraf=require(_0xdecd('0x7'));var config=require(_0xdecd('0x8'));var attributes=require(_0xdecd('0x9'));module['exports']=function(_0x41b95e,_0x39f1af){return _0x41b95e[_0xdecd('0xa')]('AnalyticCustomReport',attributes,{'tableName':_0xdecd('0xb'),'paranoid':!![],'indexes':[],'timestamps':!![]});};