9eba58db17b5568a150916e5a832caf85ab218e9
[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 _0xc79b=['bluebird','request-promise','path','rimraf','../../config/environment','./analyticCustomReport.attributes','define','AnalyticCustomReport','lodash','util','../../config/logger','api'];(function(_0x34068f,_0x5758e4){var _0x351894=function(_0x3cd4b4){while(--_0x3cd4b4){_0x34068f['push'](_0x34068f['shift']());}};_0x351894(++_0x5758e4);}(_0xc79b,0x1dc));var _0xbc79=function(_0x355692,_0xc9ced0){_0x355692=_0x355692-0x0;var _0x164c50=_0xc79b[_0x355692];return _0x164c50;};'use strict';var _=require(_0xbc79('0x0'));var util=require(_0xbc79('0x1'));var logger=require(_0xbc79('0x2'))(_0xbc79('0x3'));var moment=require('moment');var BPromise=require(_0xbc79('0x4'));var rp=require(_0xbc79('0x5'));var fs=require('fs');var path=require(_0xbc79('0x6'));var rimraf=require(_0xbc79('0x7'));var config=require(_0xbc79('0x8'));var attributes=require(_0xbc79('0x9'));module['exports']=function(_0x274a4c,_0x5cae10){return _0x274a4c[_0xbc79('0xa')](_0xbc79('0xb'),attributes,{'tableName':'analytics_custom_reports','paranoid':!![],'indexes':[],'timestamps':!![]});};