Built motion from commit ab870f9e.|2.5.44
[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 _0x7ddf=['AnalyticCustomReport','analytics_custom_reports','lodash','util','api','moment','bluebird','request-promise','../../config/environment','./analyticCustomReport.attributes','exports','define'];(function(_0x39ad4c,_0x2fa27e){var _0xf3314d=function(_0x4de109){while(--_0x4de109){_0x39ad4c['push'](_0x39ad4c['shift']());}};_0xf3314d(++_0x2fa27e);}(_0x7ddf,0x1a6));var _0xf7dd=function(_0x15bc81,_0x4d4f77){_0x15bc81=_0x15bc81-0x0;var _0x59440e=_0x7ddf[_0x15bc81];return _0x59440e;};'use strict';var _=require(_0xf7dd('0x0'));var util=require(_0xf7dd('0x1'));var logger=require('../../config/logger')(_0xf7dd('0x2'));var moment=require(_0xf7dd('0x3'));var BPromise=require(_0xf7dd('0x4'));var rp=require(_0xf7dd('0x5'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0xf7dd('0x6'));var attributes=require(_0xf7dd('0x7'));module[_0xf7dd('0x8')]=function(_0x1402ca,_0xff28e6){return _0x1402ca[_0xf7dd('0x9')](_0xf7dd('0xa'),attributes,{'tableName':_0xf7dd('0xb'),'paranoid':!![],'indexes':[],'timestamps':!![]});};