3956ce6b74e7e52bf7da3baa01e04d936eb67dbe
[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 _0xa4e3=['exports','define','Dashboard','lodash','util','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./dashboard.attributes'];(function(_0x3bf4f0,_0x316456){var _0x2c6a5c=function(_0x412cf){while(--_0x412cf){_0x3bf4f0['push'](_0x3bf4f0['shift']());}};_0x2c6a5c(++_0x316456);}(_0xa4e3,0x17c));var _0x3a4e=function(_0x2eb472,_0xfb2d84){_0x2eb472=_0x2eb472-0x0;var _0x4867fd=_0xa4e3[_0x2eb472];return _0x4867fd;};'use strict';var _=require(_0x3a4e('0x0'));var util=require(_0x3a4e('0x1'));var logger=require('../../config/logger')(_0x3a4e('0x2'));var moment=require(_0x3a4e('0x3'));var BPromise=require(_0x3a4e('0x4'));var rp=require(_0x3a4e('0x5'));var fs=require('fs');var path=require(_0x3a4e('0x6'));var rimraf=require(_0x3a4e('0x7'));var config=require(_0x3a4e('0x8'));var attributes=require(_0x3a4e('0x9'));module[_0x3a4e('0xa')]=function(_0xfbe0e5,_0x1f26be){return _0xfbe0e5[_0x3a4e('0xb')](_0x3a4e('0xc'),attributes,{'tableName':'dashboards','paranoid':![],'indexes':[],'timestamps':!![]});};