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 _0xf14b=['api','moment','bluebird','request-promise','path','rimraf','../../config/environment','exports','define','DashboardItem','dashboard_items','lodash','util','../../config/logger'];(function(_0x3575de,_0x2e69d2){var _0x385143=function(_0x134314){while(--_0x134314){_0x3575de['push'](_0x3575de['shift']());}};_0x385143(++_0x2e69d2);}(_0xf14b,0xdd));var _0xbf14=function(_0xc9a40a,_0x99c66a){_0xc9a40a=_0xc9a40a-0x0;var _0x5e4f34=_0xf14b[_0xc9a40a];return _0x5e4f34;};'use strict';var _=require(_0xbf14('0x0'));var util=require(_0xbf14('0x1'));var logger=require(_0xbf14('0x2'))(_0xbf14('0x3'));var moment=require(_0xbf14('0x4'));var BPromise=require(_0xbf14('0x5'));var rp=require(_0xbf14('0x6'));var fs=require('fs');var path=require(_0xbf14('0x7'));var rimraf=require(_0xbf14('0x8'));var config=require(_0xbf14('0x9'));var attributes=require('./dashboardItem.attributes');module[_0xbf14('0xa')]=function(_0xb9333b,_0x1b6462){return _0xb9333b[_0xbf14('0xb')](_0xbf14('0xc'),attributes,{'tableName':_0xbf14('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};