095160da1bb4c17b5996084b61996a6a9465a72e
[motion2.git] / server / api / analyticDefaultReport / analyticDefaultReport.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 _0x0810=['./analyticDefaultReport.attributes','AnalyticDefaultReport','analytics_default_reports','lodash','util','../../config/logger','api','moment','request-promise','path','../../config/environment'];(function(_0x331a73,_0x5a5941){var _0x267f02=function(_0x2c74f6){while(--_0x2c74f6){_0x331a73['push'](_0x331a73['shift']());}};_0x267f02(++_0x5a5941);}(_0x0810,0x66));var _0x0081=function(_0x4f30c0,_0x56511a){_0x4f30c0=_0x4f30c0-0x0;var _0x43a9bd=_0x0810[_0x4f30c0];return _0x43a9bd;};'use strict';var _=require(_0x0081('0x0'));var util=require(_0x0081('0x1'));var logger=require(_0x0081('0x2'))(_0x0081('0x3'));var moment=require(_0x0081('0x4'));var BPromise=require('bluebird');var rp=require(_0x0081('0x5'));var fs=require('fs');var path=require(_0x0081('0x6'));var rimraf=require('rimraf');var config=require(_0x0081('0x7'));var attributes=require(_0x0081('0x8'));module['exports']=function(_0x1d8f57,_0x10c050){return _0x1d8f57['define'](_0x0081('0x9'),attributes,{'tableName':_0x0081('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};