Built motion from commit 6a09e18b.|2.6.11
[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 _0x7f6c=['rimraf','./analyticCustomReport.attributes','exports','AnalyticCustomReport','analytics_custom_reports','lodash','util','../../config/logger','moment','bluebird','request-promise','path'];(function(_0x457d6e,_0x43301e){var _0x458c12=function(_0x4214ee){while(--_0x4214ee){_0x457d6e['push'](_0x457d6e['shift']());}};_0x458c12(++_0x43301e);}(_0x7f6c,0x19d));var _0xc7f6=function(_0x5c2fb5,_0x198761){_0x5c2fb5=_0x5c2fb5-0x0;var _0x307b61=_0x7f6c[_0x5c2fb5];return _0x307b61;};'use strict';var _=require(_0xc7f6('0x0'));var util=require(_0xc7f6('0x1'));var logger=require(_0xc7f6('0x2'))('api');var moment=require(_0xc7f6('0x3'));var BPromise=require(_0xc7f6('0x4'));var rp=require(_0xc7f6('0x5'));var fs=require('fs');var path=require(_0xc7f6('0x6'));var rimraf=require(_0xc7f6('0x7'));var config=require('../../config/environment');var attributes=require(_0xc7f6('0x8'));module[_0xc7f6('0x9')]=function(_0x1bb4fb,_0x31e753){return _0x1bb4fb['define'](_0xc7f6('0xa'),attributes,{'tableName':_0xc7f6('0xb'),'paranoid':!![],'indexes':[],'timestamps':!![]});};