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 _0x9b03=['path','../../config/environment','exports','define','Dashboard','dashboards','lodash','util','api','moment','bluebird','request-promise'];(function(_0x4de1e1,_0x25211c){var _0x456e48=function(_0x1cb4ca){while(--_0x1cb4ca){_0x4de1e1['push'](_0x4de1e1['shift']());}};_0x456e48(++_0x25211c);}(_0x9b03,0x102));var _0x39b0=function(_0x1beef3,_0x57c4b8){_0x1beef3=_0x1beef3-0x0;var _0x5af964=_0x9b03[_0x1beef3];return _0x5af964;};'use strict';var _=require(_0x39b0('0x0'));var util=require(_0x39b0('0x1'));var logger=require('../../config/logger')(_0x39b0('0x2'));var moment=require(_0x39b0('0x3'));var BPromise=require(_0x39b0('0x4'));var rp=require(_0x39b0('0x5'));var fs=require('fs');var path=require(_0x39b0('0x6'));var rimraf=require('rimraf');var config=require(_0x39b0('0x7'));var attributes=require('./dashboard.attributes');module[_0x39b0('0x8')]=function(_0x2e29de,_0x279f78){return _0x2e29de[_0x39b0('0x9')](_0x39b0('0xa'),attributes,{'tableName':_0x39b0('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};