Built motion from commit bab6f49e.|2.6.17
[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 _0xab3f=['rimraf','../../config/environment','./analyticCustomReport.attributes','exports','AnalyticCustomReport','analytics_custom_reports','lodash','util','../../config/logger','moment','bluebird','request-promise','path'];(function(_0x4f0d8f,_0x1292ff){var _0x64c43d=function(_0x4a1f76){while(--_0x4a1f76){_0x4f0d8f['push'](_0x4f0d8f['shift']());}};_0x64c43d(++_0x1292ff);}(_0xab3f,0x7b));var _0xfab3=function(_0x3a878a,_0x296230){_0x3a878a=_0x3a878a-0x0;var _0x445629=_0xab3f[_0x3a878a];return _0x445629;};'use strict';var _=require(_0xfab3('0x0'));var util=require(_0xfab3('0x1'));var logger=require(_0xfab3('0x2'))('api');var moment=require(_0xfab3('0x3'));var BPromise=require(_0xfab3('0x4'));var rp=require(_0xfab3('0x5'));var fs=require('fs');var path=require(_0xfab3('0x6'));var rimraf=require(_0xfab3('0x7'));var config=require(_0xfab3('0x8'));var attributes=require(_0xfab3('0x9'));module[_0xfab3('0xa')]=function(_0x419ac8,_0x2ed3b6){return _0x419ac8['define'](_0xfab3('0xb'),attributes,{'tableName':_0xfab3('0xc'),'paranoid':!![],'indexes':[],'timestamps':!![]});};