c804a7ab488f9485c944134100e3ba9fc5e3b6ed
[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 _0xbfa1=['lodash','../../config/logger','bluebird','request-promise','path','rimraf','../../config/environment','./dashboard.attributes','define','dashboards'];(function(_0x300ee2,_0x2e7a20){var _0x44d6a3=function(_0xd611a2){while(--_0xd611a2){_0x300ee2['push'](_0x300ee2['shift']());}};_0x44d6a3(++_0x2e7a20);}(_0xbfa1,0x140));var _0x1bfa=function(_0x9a9dc2,_0x2f22d4){_0x9a9dc2=_0x9a9dc2-0x0;var _0x41afe8=_0xbfa1[_0x9a9dc2];return _0x41afe8;};'use strict';var _=require(_0x1bfa('0x0'));var util=require('util');var logger=require(_0x1bfa('0x1'))('api');var moment=require('moment');var BPromise=require(_0x1bfa('0x2'));var rp=require(_0x1bfa('0x3'));var fs=require('fs');var path=require(_0x1bfa('0x4'));var rimraf=require(_0x1bfa('0x5'));var config=require(_0x1bfa('0x6'));var attributes=require(_0x1bfa('0x7'));module['exports']=function(_0x78cdc,_0x93d58d){return _0x78cdc[_0x1bfa('0x8')]('Dashboard',attributes,{'tableName':_0x1bfa('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};