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 _0x4a38=['../../config/environment','./dashboardItem.attributes','exports','define','DashboardItem','dashboard_items','lodash','util','../../config/logger','api','moment','bluebird','path','rimraf'];(function(_0x2cb7ab,_0x2ec6a3){var _0x5db6ee=function(_0x538fe9){while(--_0x538fe9){_0x2cb7ab['push'](_0x2cb7ab['shift']());}};_0x5db6ee(++_0x2ec6a3);}(_0x4a38,0x172));var _0x84a3=function(_0xc6900,_0x27d4b1){_0xc6900=_0xc6900-0x0;var _0x421a25=_0x4a38[_0xc6900];return _0x421a25;};'use strict';var _=require(_0x84a3('0x0'));var util=require(_0x84a3('0x1'));var logger=require(_0x84a3('0x2'))(_0x84a3('0x3'));var moment=require(_0x84a3('0x4'));var BPromise=require(_0x84a3('0x5'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x84a3('0x6'));var rimraf=require(_0x84a3('0x7'));var config=require(_0x84a3('0x8'));var attributes=require(_0x84a3('0x9'));module[_0x84a3('0xa')]=function(_0x2326ff,_0x26c13a){return _0x2326ff[_0x84a3('0xb')](_0x84a3('0xc'),attributes,{'tableName':_0x84a3('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};