Built motion from commit 47436d59.|2.6.7
[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 _0x178a=['util','../../config/logger','api','moment','bluebird','request-promise','path','exports','analytics_custom_reports','lodash'];(function(_0x5b16ee,_0x1c64bb){var _0x5e299c=function(_0x34ff4c){while(--_0x34ff4c){_0x5b16ee['push'](_0x5b16ee['shift']());}};_0x5e299c(++_0x1c64bb);}(_0x178a,0xe5));var _0xa178=function(_0x4a0d8d,_0x5ab52a){_0x4a0d8d=_0x4a0d8d-0x0;var _0x1cc6cb=_0x178a[_0x4a0d8d];return _0x1cc6cb;};'use strict';var _=require(_0xa178('0x0'));var util=require(_0xa178('0x1'));var logger=require(_0xa178('0x2'))(_0xa178('0x3'));var moment=require(_0xa178('0x4'));var BPromise=require(_0xa178('0x5'));var rp=require(_0xa178('0x6'));var fs=require('fs');var path=require(_0xa178('0x7'));var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require('./analyticCustomReport.attributes');module[_0xa178('0x8')]=function(_0x45c382,_0x4e888e){return _0x45c382['define']('AnalyticCustomReport',attributes,{'tableName':_0xa178('0x9'),'paranoid':!![],'indexes':[],'timestamps':!![]});};