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 _0xd670=['rimraf','../../config/environment','exports','DashboardItem','lodash','util','api','moment','bluebird','request-promise','path'];(function(_0x4931c7,_0x14b5e3){var _0x1681f8=function(_0x5a10b6){while(--_0x5a10b6){_0x4931c7['push'](_0x4931c7['shift']());}};_0x1681f8(++_0x14b5e3);}(_0xd670,0x1d2));var _0x0d67=function(_0x278948,_0x85b993){_0x278948=_0x278948-0x0;var _0x59fecb=_0xd670[_0x278948];return _0x59fecb;};'use strict';var _=require(_0x0d67('0x0'));var util=require(_0x0d67('0x1'));var logger=require('../../config/logger')(_0x0d67('0x2'));var moment=require(_0x0d67('0x3'));var BPromise=require(_0x0d67('0x4'));var rp=require(_0x0d67('0x5'));var fs=require('fs');var path=require(_0x0d67('0x6'));var rimraf=require(_0x0d67('0x7'));var config=require(_0x0d67('0x8'));var attributes=require('./dashboardItem.attributes');module[_0x0d67('0x9')]=function(_0x440b62,_0x53116b){return _0x440b62['define'](_0x0d67('0xa'),attributes,{'tableName':'dashboard_items','paranoid':![],'indexes':[],'timestamps':!![]});};