Built motion from commit (unavailable).|2.5.11
[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 _0xa79d=['lodash','util','moment','request-promise','rimraf','../../config/environment','./analyticCustomReport.attributes','AnalyticCustomReport','analytics_custom_reports'];(function(_0x4de948,_0x452a8c){var _0x48fc2c=function(_0x343a9d){while(--_0x343a9d){_0x4de948['push'](_0x4de948['shift']());}};_0x48fc2c(++_0x452a8c);}(_0xa79d,0x144));var _0xda79=function(_0x233b3a,_0x32b752){_0x233b3a=_0x233b3a-0x0;var _0x7dcdc6=_0xa79d[_0x233b3a];return _0x7dcdc6;};'use strict';var _=require(_0xda79('0x0'));var util=require(_0xda79('0x1'));var logger=require('../../config/logger')('api');var moment=require(_0xda79('0x2'));var BPromise=require('bluebird');var rp=require(_0xda79('0x3'));var fs=require('fs');var path=require('path');var rimraf=require(_0xda79('0x4'));var config=require(_0xda79('0x5'));var attributes=require(_0xda79('0x6'));module['exports']=function(_0x967d2,_0x322683){return _0x967d2['define'](_0xda79('0x7'),attributes,{'tableName':_0xda79('0x8'),'paranoid':!![],'indexes':[],'timestamps':!![]});};