Built motion from commit (unavailable).|2.5.0
[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 _0x021c=['../../config/environment','./dashboard.attributes','define','Dashboard','lodash','util','../../config/logger','api','moment','bluebird','path'];(function(_0x34bf97,_0xc60f9d){var _0x292719=function(_0x31354e){while(--_0x31354e){_0x34bf97['push'](_0x34bf97['shift']());}};_0x292719(++_0xc60f9d);}(_0x021c,0xa9));var _0xc021=function(_0x4753f3,_0xfa186e){_0x4753f3=_0x4753f3-0x0;var _0x124353=_0x021c[_0x4753f3];return _0x124353;};'use strict';var _=require(_0xc021('0x0'));var util=require(_0xc021('0x1'));var logger=require(_0xc021('0x2'))(_0xc021('0x3'));var moment=require(_0xc021('0x4'));var BPromise=require(_0xc021('0x5'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xc021('0x6'));var rimraf=require('rimraf');var config=require(_0xc021('0x7'));var attributes=require(_0xc021('0x8'));module['exports']=function(_0x2c74bb,_0x1d53b7){return _0x2c74bb[_0xc021('0x9')](_0xc021('0xa'),attributes,{'tableName':'dashboards','paranoid':![],'indexes':[],'timestamps':!![]});};