Built motion from commit (unavailable).|2.5.31
[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 _0x28c2=['moment','bluebird','request-promise','path','rimraf','./analyticCustomReport.attributes','exports','AnalyticCustomReport','analytics_custom_reports','lodash','util','../../config/logger'];(function(_0x421530,_0x1f0c44){var _0x10641b=function(_0x5f270c){while(--_0x5f270c){_0x421530['push'](_0x421530['shift']());}};_0x10641b(++_0x1f0c44);}(_0x28c2,0x111));var _0x228c=function(_0x46f9de,_0x5e6fec){_0x46f9de=_0x46f9de-0x0;var _0xea9e78=_0x28c2[_0x46f9de];return _0xea9e78;};'use strict';var _=require(_0x228c('0x0'));var util=require(_0x228c('0x1'));var logger=require(_0x228c('0x2'))('api');var moment=require(_0x228c('0x3'));var BPromise=require(_0x228c('0x4'));var rp=require(_0x228c('0x5'));var fs=require('fs');var path=require(_0x228c('0x6'));var rimraf=require(_0x228c('0x7'));var config=require('../../config/environment');var attributes=require(_0x228c('0x8'));module[_0x228c('0x9')]=function(_0x2e9d1f,_0x478dbc){return _0x2e9d1f['define'](_0x228c('0xa'),attributes,{'tableName':_0x228c('0xb'),'paranoid':!![],'indexes':[],'timestamps':!![]});};