f2e7b39292556d80f46f5e18271be5daa3c0fc18
[motion2.git] / server / api / dashboard / dashboard.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 _0x40e8=['lodash','util','../../config/logger','api','moment','request-promise','rimraf','../../config/environment','./dashboard.attributes','define','Dashboard'];(function(_0x3adb45,_0xb2fcbe){var _0x49f07b=function(_0x112e4b){while(--_0x112e4b){_0x3adb45['push'](_0x3adb45['shift']());}};_0x49f07b(++_0xb2fcbe);}(_0x40e8,0x8f));var _0x840e=function(_0x35da42,_0x5c2610){_0x35da42=_0x35da42-0x0;var _0x370035=_0x40e8[_0x35da42];return _0x370035;};'use strict';var _=require(_0x840e('0x0'));var util=require(_0x840e('0x1'));var logger=require(_0x840e('0x2'))(_0x840e('0x3'));var moment=require(_0x840e('0x4'));var BPromise=require('bluebird');var rp=require(_0x840e('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0x840e('0x6'));var config=require(_0x840e('0x7'));var attributes=require(_0x840e('0x8'));module['exports']=function(_0x27c853,_0x4d7205){return _0x27c853[_0x840e('0x9')](_0x840e('0xa'),attributes,{'tableName':'dashboards','paranoid':![],'indexes':[],'timestamps':!![]});};