Built motion from commit 9d7072cc.|2.5.39
[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 _0x1e46=['api','moment','path','rimraf','./analyticCustomReport.attributes','exports','lodash'];(function(_0x31df61,_0x2e88d5){var _0x364638=function(_0x418b78){while(--_0x418b78){_0x31df61['push'](_0x31df61['shift']());}};_0x364638(++_0x2e88d5);}(_0x1e46,0x14f));var _0x61e4=function(_0x18fbd4,_0x3c827c){_0x18fbd4=_0x18fbd4-0x0;var _0x194b53=_0x1e46[_0x18fbd4];return _0x194b53;};'use strict';var _=require(_0x61e4('0x0'));var util=require('util');var logger=require('../../config/logger')(_0x61e4('0x1'));var moment=require(_0x61e4('0x2'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0x61e4('0x3'));var rimraf=require(_0x61e4('0x4'));var config=require('../../config/environment');var attributes=require(_0x61e4('0x5'));module[_0x61e4('0x6')]=function(_0xdf1ba1,_0x45ac88){return _0xdf1ba1['define']('AnalyticCustomReport',attributes,{'tableName':'analytics_custom_reports','paranoid':!![],'indexes':[],'timestamps':!![]});};