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 _0x9e88=['lodash','util','../../config/logger','moment','bluebird','request-promise','path','rimraf','../../config/environment','./dashboardItem.attributes','exports','define','DashboardItem','dashboard_items'];(function(_0x4a22cd,_0x2a0686){var _0x594ca4=function(_0x2f0563){while(--_0x2f0563){_0x4a22cd['push'](_0x4a22cd['shift']());}};_0x594ca4(++_0x2a0686);}(_0x9e88,0x7e));var _0x89e8=function(_0x54ece4,_0xf7db68){_0x54ece4=_0x54ece4-0x0;var _0x3dc7af=_0x9e88[_0x54ece4];return _0x3dc7af;};'use strict';var _=require(_0x89e8('0x0'));var util=require(_0x89e8('0x1'));var logger=require(_0x89e8('0x2'))('api');var moment=require(_0x89e8('0x3'));var BPromise=require(_0x89e8('0x4'));var rp=require(_0x89e8('0x5'));var fs=require('fs');var path=require(_0x89e8('0x6'));var rimraf=require(_0x89e8('0x7'));var config=require(_0x89e8('0x8'));var attributes=require(_0x89e8('0x9'));module[_0x89e8('0xa')]=function(_0xb51636,_0x32fa6e){return _0xb51636[_0x89e8('0xb')](_0x89e8('0xc'),attributes,{'tableName':_0x89e8('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};