59a63182591526d7d0a1fe057cc1ec904c6a4479
[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 _0x1c44=['../../config/logger','api','rimraf','./dashboardItem.attributes','exports','define','dashboard_items','util'];(function(_0x5ef161,_0x27d16c){var _0x1c6e9e=function(_0x8fc2a6){while(--_0x8fc2a6){_0x5ef161['push'](_0x5ef161['shift']());}};_0x1c6e9e(++_0x27d16c);}(_0x1c44,0x1e7));var _0x41c4=function(_0x1510c5,_0xde9022){_0x1510c5=_0x1510c5-0x0;var _0x433a86=_0x1c44[_0x1510c5];return _0x433a86;};'use strict';var _=require('lodash');var util=require(_0x41c4('0x0'));var logger=require(_0x41c4('0x1'))(_0x41c4('0x2'));var moment=require('moment');var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0x41c4('0x3'));var config=require('../../config/environment');var attributes=require(_0x41c4('0x4'));module[_0x41c4('0x5')]=function(_0x2a7683,_0x11e3a4){return _0x2a7683[_0x41c4('0x6')]('DashboardItem',attributes,{'tableName':_0x41c4('0x7'),'paranoid':![],'indexes':[],'timestamps':!![]});};