Built motion from commit 753c950e.|2.5.42
[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 _0x0eef=['analytics_custom_reports','lodash','util','../../config/logger','api','path','../../config/environment','./analyticCustomReport.attributes','exports','define','AnalyticCustomReport'];(function(_0x98d782,_0x11d9e0){var _0x3bcbb4=function(_0x312960){while(--_0x312960){_0x98d782['push'](_0x98d782['shift']());}};_0x3bcbb4(++_0x11d9e0);}(_0x0eef,0xa6));var _0xf0ee=function(_0x3bf83f,_0x181cac){_0x3bf83f=_0x3bf83f-0x0;var _0x22c4a9=_0x0eef[_0x3bf83f];return _0x22c4a9;};'use strict';var _=require(_0xf0ee('0x0'));var util=require(_0xf0ee('0x1'));var logger=require(_0xf0ee('0x2'))(_0xf0ee('0x3'));var moment=require('moment');var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0xf0ee('0x4'));var rimraf=require('rimraf');var config=require(_0xf0ee('0x5'));var attributes=require(_0xf0ee('0x6'));module[_0xf0ee('0x7')]=function(_0x535ba4,_0x34320b){return _0x535ba4[_0xf0ee('0x8')](_0xf0ee('0x9'),attributes,{'tableName':_0xf0ee('0xa'),'paranoid':!![],'indexes':[],'timestamps':!![]});};