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 _0xd0eb=['rimraf','./dashboard.attributes','exports','dashboards','lodash','util','moment','bluebird','request-promise'];(function(_0x506858,_0x13b318){var _0x51304a=function(_0x224969){while(--_0x224969){_0x506858['push'](_0x506858['shift']());}};_0x51304a(++_0x13b318);}(_0xd0eb,0x11b));var _0xbd0e=function(_0xdbe2de,_0x3bdc5a){_0xdbe2de=_0xdbe2de-0x0;var _0x2facd7=_0xd0eb[_0xdbe2de];return _0x2facd7;};'use strict';var _=require(_0xbd0e('0x0'));var util=require(_0xbd0e('0x1'));var logger=require('../../config/logger')('api');var moment=require(_0xbd0e('0x2'));var BPromise=require(_0xbd0e('0x3'));var rp=require(_0xbd0e('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0xbd0e('0x5'));var config=require('../../config/environment');var attributes=require(_0xbd0e('0x6'));module[_0xbd0e('0x7')]=function(_0x3e7f75,_0x22a550){return _0x3e7f75['define']('Dashboard',attributes,{'tableName':_0xbd0e('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};