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 _0x6f33=['request-promise','../../config/environment','exports','define','dashboards','lodash','util','../../config/logger','bluebird'];(function(_0x401b1a,_0x24bddf){var _0x51e72f=function(_0x3cd0e9){while(--_0x3cd0e9){_0x401b1a['push'](_0x401b1a['shift']());}};_0x51e72f(++_0x24bddf);}(_0x6f33,0x7a));var _0x36f3=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x6f33[_0x3dd15e];return _0x231fd0;};'use strict';var _=require(_0x36f3('0x0'));var util=require(_0x36f3('0x1'));var logger=require(_0x36f3('0x2'))('api');var moment=require('moment');var BPromise=require(_0x36f3('0x3'));var rp=require(_0x36f3('0x4'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0x36f3('0x5'));var attributes=require('./dashboard.attributes');module[_0x36f3('0x6')]=function(_0x54b611,_0x5c12f6){return _0x54b611[_0x36f3('0x7')]('Dashboard',attributes,{'tableName':_0x36f3('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};