Built motion from commit (unavailable).|2.5.14
[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 _0x85a6=['bluebird','path','./dashboard.attributes','exports','define','Dashboard','dashboards','lodash','util','api','moment'];(function(_0xfae23b,_0x2be4ba){var _0x200640=function(_0x4ae258){while(--_0x4ae258){_0xfae23b['push'](_0xfae23b['shift']());}};_0x200640(++_0x2be4ba);}(_0x85a6,0x172));var _0x685a=function(_0x277367,_0x319679){_0x277367=_0x277367-0x0;var _0x3c1d34=_0x85a6[_0x277367];return _0x3c1d34;};'use strict';var _=require(_0x685a('0x0'));var util=require(_0x685a('0x1'));var logger=require('../../config/logger')(_0x685a('0x2'));var moment=require(_0x685a('0x3'));var BPromise=require(_0x685a('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x685a('0x5'));var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0x685a('0x6'));module[_0x685a('0x7')]=function(_0x577896,_0x5601f2){return _0x577896[_0x685a('0x8')](_0x685a('0x9'),attributes,{'tableName':_0x685a('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};