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 _0x203e=['moment','bluebird','request-promise','path','rimraf','../../config/environment','./dashboardItem.attributes','exports','define','DashboardItem','dashboard_items','../../config/logger','api'];(function(_0x524c82,_0x1a3892){var _0x18d854=function(_0x2002db){while(--_0x2002db){_0x524c82['push'](_0x524c82['shift']());}};_0x18d854(++_0x1a3892);}(_0x203e,0x8d));var _0xe203=function(_0x23f5f8,_0x43e24a){_0x23f5f8=_0x23f5f8-0x0;var _0x498299=_0x203e[_0x23f5f8];return _0x498299;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0xe203('0x0'))(_0xe203('0x1'));var moment=require(_0xe203('0x2'));var BPromise=require(_0xe203('0x3'));var rp=require(_0xe203('0x4'));var fs=require('fs');var path=require(_0xe203('0x5'));var rimraf=require(_0xe203('0x6'));var config=require(_0xe203('0x7'));var attributes=require(_0xe203('0x8'));module[_0xe203('0x9')]=function(_0x679897,_0x5d786e){return _0x679897[_0xe203('0xa')](_0xe203('0xb'),attributes,{'tableName':_0xe203('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};