f43782cbb088cc1a86409507413a661c63b80b35
[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 _0x04ae=['request-promise','rimraf','../../config/environment','./analyticCustomReport.attributes','define','AnalyticCustomReport','util','../../config/logger','api','bluebird'];(function(_0x4f5133,_0xc1f0c6){var _0x433f83=function(_0x426624){while(--_0x426624){_0x4f5133['push'](_0x4f5133['shift']());}};_0x433f83(++_0xc1f0c6);}(_0x04ae,0x13c));var _0xe04a=function(_0x1eeaea,_0x2229c6){_0x1eeaea=_0x1eeaea-0x0;var _0x3bc340=_0x04ae[_0x1eeaea];return _0x3bc340;};'use strict';var _=require('lodash');var util=require(_0xe04a('0x0'));var logger=require(_0xe04a('0x1'))(_0xe04a('0x2'));var moment=require('moment');var BPromise=require(_0xe04a('0x3'));var rp=require(_0xe04a('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0xe04a('0x5'));var config=require(_0xe04a('0x6'));var attributes=require(_0xe04a('0x7'));module['exports']=function(_0x142476,_0x14f9e1){return _0x142476[_0xe04a('0x8')](_0xe04a('0x9'),attributes,{'tableName':'analytics_custom_reports','paranoid':!![],'indexes':[],'timestamps':!![]});};