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 _0xd1ee=['dashboard_items','lodash','../../config/logger','moment','request-promise','path','../../config/environment','exports','define','DashboardItem'];(function(_0x37d086,_0x44af3b){var _0x6e2c9a=function(_0x59fa79){while(--_0x59fa79){_0x37d086['push'](_0x37d086['shift']());}};_0x6e2c9a(++_0x44af3b);}(_0xd1ee,0x19b));var _0xed1e=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0xd1ee[_0x3dd15e];return _0x231fd0;};'use strict';var _=require(_0xed1e('0x0'));var util=require('util');var logger=require(_0xed1e('0x1'))('api');var moment=require(_0xed1e('0x2'));var BPromise=require('bluebird');var rp=require(_0xed1e('0x3'));var fs=require('fs');var path=require(_0xed1e('0x4'));var rimraf=require('rimraf');var config=require(_0xed1e('0x5'));var attributes=require('./dashboardItem.attributes');module[_0xed1e('0x6')]=function(_0x4eebf5,_0x2c2e60){return _0x4eebf5[_0xed1e('0x7')](_0xed1e('0x8'),attributes,{'tableName':_0xed1e('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};