Built motion from commit 511216ff.|2.6.34
[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 _0x8f52=['analytics_custom_reports','util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./analyticCustomReport.attributes','exports','AnalyticCustomReport'];(function(_0x499be0,_0x44d273){var _0x212ec6=function(_0x44397a){while(--_0x44397a){_0x499be0['push'](_0x499be0['shift']());}};_0x212ec6(++_0x44d273);}(_0x8f52,0x76));var _0x28f5=function(_0x11dc39,_0x491115){_0x11dc39=_0x11dc39-0x0;var _0x457277=_0x8f52[_0x11dc39];return _0x457277;};'use strict';var _=require('lodash');var util=require(_0x28f5('0x0'));var logger=require(_0x28f5('0x1'))(_0x28f5('0x2'));var moment=require(_0x28f5('0x3'));var BPromise=require(_0x28f5('0x4'));var rp=require(_0x28f5('0x5'));var fs=require('fs');var path=require(_0x28f5('0x6'));var rimraf=require(_0x28f5('0x7'));var config=require(_0x28f5('0x8'));var attributes=require(_0x28f5('0x9'));module[_0x28f5('0xa')]=function(_0x504845,_0x123931){return _0x504845['define'](_0x28f5('0xb'),attributes,{'tableName':_0x28f5('0xc'),'paranoid':!![],'indexes':[],'timestamps':!![]});};