Built motion from commit ede67897.|2.6.29
[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 _0xe1ef=['../../config/environment','./analyticDefaultReport.attributes','AnalyticDefaultReport','analytics_default_reports','lodash','../../config/logger','api','moment','bluebird','request-promise','path','rimraf'];(function(_0x233923,_0x2494a3){var _0x4b53d9=function(_0x2998f3){while(--_0x2998f3){_0x233923['push'](_0x233923['shift']());}};_0x4b53d9(++_0x2494a3);}(_0xe1ef,0x178));var _0xfe1e=function(_0x36e9fc,_0x5b8f92){_0x36e9fc=_0x36e9fc-0x0;var _0x5bb728=_0xe1ef[_0x36e9fc];return _0x5bb728;};'use strict';var _=require(_0xfe1e('0x0'));var util=require('util');var logger=require(_0xfe1e('0x1'))(_0xfe1e('0x2'));var moment=require(_0xfe1e('0x3'));var BPromise=require(_0xfe1e('0x4'));var rp=require(_0xfe1e('0x5'));var fs=require('fs');var path=require(_0xfe1e('0x6'));var rimraf=require(_0xfe1e('0x7'));var config=require(_0xfe1e('0x8'));var attributes=require(_0xfe1e('0x9'));module['exports']=function(_0x238e86,_0x29cdbb){return _0x238e86['define'](_0xfe1e('0xa'),attributes,{'tableName':_0xfe1e('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};