Built motion from commit ddca4d0d.|2.5.47
[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 _0x7ef2=['api','bluebird','request-promise','../../config/environment','./dashboard.attributes','define','dashboards','lodash','../../config/logger'];(function(_0x527951,_0x4763dd){var _0x3822ff=function(_0x5f51c1){while(--_0x5f51c1){_0x527951['push'](_0x527951['shift']());}};_0x3822ff(++_0x4763dd);}(_0x7ef2,0x15d));var _0x27ef=function(_0x2e7f26,_0x1269a9){_0x2e7f26=_0x2e7f26-0x0;var _0x448726=_0x7ef2[_0x2e7f26];return _0x448726;};'use strict';var _=require(_0x27ef('0x0'));var util=require('util');var logger=require(_0x27ef('0x1'))(_0x27ef('0x2'));var moment=require('moment');var BPromise=require(_0x27ef('0x3'));var rp=require(_0x27ef('0x4'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0x27ef('0x5'));var attributes=require(_0x27ef('0x6'));module['exports']=function(_0x2416e9,_0x294340){return _0x2416e9[_0x27ef('0x7')]('Dashboard',attributes,{'tableName':_0x27ef('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};