Built motion from commit (unavailable).|2.5.26
[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 _0x8cc3=['rimraf','../../config/environment','./analyticCustomReport.attributes','exports','define','AnalyticCustomReport','analytics_custom_reports','lodash','util','../../config/logger','api','moment','bluebird','request-promise'];(function(_0x224f65,_0x4750bf){var _0x3f921c=function(_0x1b5f64){while(--_0x1b5f64){_0x224f65['push'](_0x224f65['shift']());}};_0x3f921c(++_0x4750bf);}(_0x8cc3,0x103));var _0x38cc=function(_0x5dccf9,_0x52dafd){_0x5dccf9=_0x5dccf9-0x0;var _0x62860e=_0x8cc3[_0x5dccf9];return _0x62860e;};'use strict';var _=require(_0x38cc('0x0'));var util=require(_0x38cc('0x1'));var logger=require(_0x38cc('0x2'))(_0x38cc('0x3'));var moment=require(_0x38cc('0x4'));var BPromise=require(_0x38cc('0x5'));var rp=require(_0x38cc('0x6'));var fs=require('fs');var path=require('path');var rimraf=require(_0x38cc('0x7'));var config=require(_0x38cc('0x8'));var attributes=require(_0x38cc('0x9'));module[_0x38cc('0xa')]=function(_0x874da5,_0x55810a){return _0x874da5[_0x38cc('0xb')](_0x38cc('0xc'),attributes,{'tableName':_0x38cc('0xd'),'paranoid':!![],'indexes':[],'timestamps':!![]});};