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 _0x72d3=['define','dashboards','lodash','util','../../config/logger','bluebird','path','rimraf','../../config/environment','exports'];(function(_0x4e676e,_0x2a7c6d){var _0x336a3c=function(_0x4767c4){while(--_0x4767c4){_0x4e676e['push'](_0x4e676e['shift']());}};_0x336a3c(++_0x2a7c6d);}(_0x72d3,0x124));var _0x372d=function(_0x2ec477,_0x1e155a){_0x2ec477=_0x2ec477-0x0;var _0x23f196=_0x72d3[_0x2ec477];return _0x23f196;};'use strict';var _=require(_0x372d('0x0'));var util=require(_0x372d('0x1'));var logger=require(_0x372d('0x2'))('api');var moment=require('moment');var BPromise=require(_0x372d('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x372d('0x4'));var rimraf=require(_0x372d('0x5'));var config=require(_0x372d('0x6'));var attributes=require('./dashboard.attributes');module[_0x372d('0x7')]=function(_0x2df7db,_0x48e5c8){return _0x2df7db[_0x372d('0x8')]('Dashboard',attributes,{'tableName':_0x372d('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};