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 _0x192f=['bluebird','request-promise','path','rimraf','./dashboard.attributes','exports','Dashboard','dashboards','util','../../config/logger','api','moment'];(function(_0x138adb,_0x193fee){var _0x1b27f2=function(_0x5e97a2){while(--_0x5e97a2){_0x138adb['push'](_0x138adb['shift']());}};_0x1b27f2(++_0x193fee);}(_0x192f,0x1a0));var _0xf192=function(_0x38ff5d,_0x1d13f3){_0x38ff5d=_0x38ff5d-0x0;var _0x4ddbf1=_0x192f[_0x38ff5d];return _0x4ddbf1;};'use strict';var _=require('lodash');var util=require(_0xf192('0x0'));var logger=require(_0xf192('0x1'))(_0xf192('0x2'));var moment=require(_0xf192('0x3'));var BPromise=require(_0xf192('0x4'));var rp=require(_0xf192('0x5'));var fs=require('fs');var path=require(_0xf192('0x6'));var rimraf=require(_0xf192('0x7'));var config=require('../../config/environment');var attributes=require(_0xf192('0x8'));module[_0xf192('0x9')]=function(_0x203e5f,_0x98b77e){return _0x203e5f['define'](_0xf192('0xa'),attributes,{'tableName':_0xf192('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};