993dd0095b7ec507d56b7262a4f7bc474a7ea2a5
[motion2.git] / server / api / dashboardItem / dashboardItem.model.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
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.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0xc2b3=['lodash','util','api','moment','bluebird','request-promise','path','rimraf','./dashboardItem.attributes','define','dashboard_items'];(function(_0x19660c,_0x124fc1){var _0xe13eda=function(_0x489363){while(--_0x489363){_0x19660c['push'](_0x19660c['shift']());}};_0xe13eda(++_0x124fc1);}(_0xc2b3,0x181));var _0x3c2b=function(_0x5caf8b,_0x7ab267){_0x5caf8b=_0x5caf8b-0x0;var _0x1d30a0=_0xc2b3[_0x5caf8b];return _0x1d30a0;};'use strict';var _=require(_0x3c2b('0x0'));var util=require(_0x3c2b('0x1'));var logger=require('../../config/logger')(_0x3c2b('0x2'));var moment=require(_0x3c2b('0x3'));var BPromise=require(_0x3c2b('0x4'));var rp=require(_0x3c2b('0x5'));var fs=require('fs');var path=require(_0x3c2b('0x6'));var rimraf=require(_0x3c2b('0x7'));var config=require('../../config/environment');var attributes=require(_0x3c2b('0x8'));module['exports']=function(_0x2c06b6,_0x14aeb8){return _0x2c06b6[_0x3c2b('0x9')]('DashboardItem',attributes,{'tableName':_0x3c2b('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};