1 // *************************************************************************
3 // * xCALLY Motion - The Omnichannel Contact Center *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved *
6 // *************************************************************************
8 // * Email: info@xcally.com *
9 // * Website: https://www.xcally.com *
11 // *************************************************************************
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. *
17 // *************************************************************************
18 var _0xcc8d=['rimraf','../../config/environment','./dashboard.attributes','exports','define','Dashboard','dashboards','util','../../config/logger','bluebird','request-promise','path'];(function(_0x5c5dae,_0x5ed03e){var _0x4b87a1=function(_0x59a7de){while(--_0x59a7de){_0x5c5dae['push'](_0x5c5dae['shift']());}};_0x4b87a1(++_0x5ed03e);}(_0xcc8d,0xbb));var _0xdcc8=function(_0x310504,_0x26ad95){_0x310504=_0x310504-0x0;var _0x5b36d0=_0xcc8d[_0x310504];return _0x5b36d0;};'use strict';var _=require('lodash');var util=require(_0xdcc8('0x0'));var logger=require(_0xdcc8('0x1'))('api');var moment=require('moment');var BPromise=require(_0xdcc8('0x2'));var rp=require(_0xdcc8('0x3'));var fs=require('fs');var path=require(_0xdcc8('0x4'));var rimraf=require(_0xdcc8('0x5'));var config=require(_0xdcc8('0x6'));var attributes=require(_0xdcc8('0x7'));module[_0xdcc8('0x8')]=function(_0x47b30e,_0x44e0b0){return _0x47b30e[_0xdcc8('0x9')](_0xdcc8('0xa'),attributes,{'tableName':_0xdcc8('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};