Built motion from commit (unavailable).|2.5.28
[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 _0xc9cc=['AnalyticCustomReport','analytics_custom_reports','lodash','util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','exports'];(function(_0x472c3f,_0x352c83){var _0x5e6a79=function(_0x3be62b){while(--_0x3be62b){_0x472c3f['push'](_0x472c3f['shift']());}};_0x5e6a79(++_0x352c83);}(_0xc9cc,0x91));var _0xcc9c=function(_0x2d7a4b,_0xa36b04){_0x2d7a4b=_0x2d7a4b-0x0;var _0x603707=_0xc9cc[_0x2d7a4b];return _0x603707;};'use strict';var _=require(_0xcc9c('0x0'));var util=require(_0xcc9c('0x1'));var logger=require(_0xcc9c('0x2'))(_0xcc9c('0x3'));var moment=require(_0xcc9c('0x4'));var BPromise=require(_0xcc9c('0x5'));var rp=require(_0xcc9c('0x6'));var fs=require('fs');var path=require(_0xcc9c('0x7'));var rimraf=require(_0xcc9c('0x8'));var config=require(_0xcc9c('0x9'));var attributes=require('./analyticCustomReport.attributes');module[_0xcc9c('0xa')]=function(_0x946852,_0x444fd1){return _0x946852['define'](_0xcc9c('0xb'),attributes,{'tableName':_0xcc9c('0xc'),'paranoid':!![],'indexes':[],'timestamps':!![]});};