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 _0xa545=['moment','request-promise','rimraf','exports','define','dashboards','lodash','../../config/logger','api'];(function(_0x4baae2,_0x487ab6){var _0x1a2285=function(_0x1cea47){while(--_0x1cea47){_0x4baae2['push'](_0x4baae2['shift']());}};_0x1a2285(++_0x487ab6);}(_0xa545,0xe7));var _0x5a54=function(_0x1c36b3,_0x26d4cd){_0x1c36b3=_0x1c36b3-0x0;var _0x329667=_0xa545[_0x1c36b3];return _0x329667;};'use strict';var _=require(_0x5a54('0x0'));var util=require('util');var logger=require(_0x5a54('0x1'))(_0x5a54('0x2'));var moment=require(_0x5a54('0x3'));var BPromise=require('bluebird');var rp=require(_0x5a54('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0x5a54('0x5'));var config=require('../../config/environment');var attributes=require('./dashboard.attributes');module[_0x5a54('0x6')]=function(_0x23ee9f,_0x6af00b){return _0x23ee9f[_0x5a54('0x7')]('Dashboard',attributes,{'tableName':_0x5a54('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};