Built motion from commit 85328c08.|2.5.50
[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 _0xed2a=['request-promise','path','rimraf','../../config/environment','./dashboard.attributes','exports','dashboards','lodash','util','../../config/logger','api','moment','bluebird'];(function(_0x2dafbe,_0x5d04de){var _0x58a45a=function(_0x50ac96){while(--_0x50ac96){_0x2dafbe['push'](_0x2dafbe['shift']());}};_0x58a45a(++_0x5d04de);}(_0xed2a,0x1e8));var _0xaed2=function(_0x3ec5f0,_0x18ddbc){_0x3ec5f0=_0x3ec5f0-0x0;var _0xf9ace0=_0xed2a[_0x3ec5f0];return _0xf9ace0;};'use strict';var _=require(_0xaed2('0x0'));var util=require(_0xaed2('0x1'));var logger=require(_0xaed2('0x2'))(_0xaed2('0x3'));var moment=require(_0xaed2('0x4'));var BPromise=require(_0xaed2('0x5'));var rp=require(_0xaed2('0x6'));var fs=require('fs');var path=require(_0xaed2('0x7'));var rimraf=require(_0xaed2('0x8'));var config=require(_0xaed2('0x9'));var attributes=require(_0xaed2('0xa'));module[_0xaed2('0xb')]=function(_0x3c4b85,_0x41fe9d){return _0x3c4b85['define']('Dashboard',attributes,{'tableName':_0xaed2('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};