Built motion from commit (unavailable).|2.5.8
[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 _0x82dc=['./dashboard.attributes','exports','define','Dashboard','../../config/logger','api','bluebird','path','rimraf','../../config/environment'];(function(_0x56fb33,_0x37be08){var _0x435ee4=function(_0xa80804){while(--_0xa80804){_0x56fb33['push'](_0x56fb33['shift']());}};_0x435ee4(++_0x37be08);}(_0x82dc,0xc2));var _0xc82d=function(_0x593d66,_0x522561){_0x593d66=_0x593d66-0x0;var _0x135d96=_0x82dc[_0x593d66];return _0x135d96;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0xc82d('0x0'))(_0xc82d('0x1'));var moment=require('moment');var BPromise=require(_0xc82d('0x2'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xc82d('0x3'));var rimraf=require(_0xc82d('0x4'));var config=require(_0xc82d('0x5'));var attributes=require(_0xc82d('0x6'));module[_0xc82d('0x7')]=function(_0x2318b5,_0x58b352){return _0x2318b5[_0xc82d('0x8')](_0xc82d('0x9'),attributes,{'tableName':'dashboards','paranoid':![],'indexes':[],'timestamps':!![]});};