a26d9dc2cab9756a2b765fff3bd2b7b03ac0906c
[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 _0x9cc4=['define','Dashboard','lodash','util','../../config/logger','moment','bluebird','request-promise','path','rimraf','../../config/environment'];(function(_0x2e7a43,_0x3b3df4){var _0x52e9e1=function(_0x2c08cf){while(--_0x2c08cf){_0x2e7a43['push'](_0x2e7a43['shift']());}};_0x52e9e1(++_0x3b3df4);}(_0x9cc4,0xde));var _0x49cc=function(_0x170ad3,_0x51fefe){_0x170ad3=_0x170ad3-0x0;var _0x512fac=_0x9cc4[_0x170ad3];return _0x512fac;};'use strict';var _=require(_0x49cc('0x0'));var util=require(_0x49cc('0x1'));var logger=require(_0x49cc('0x2'))('api');var moment=require(_0x49cc('0x3'));var BPromise=require(_0x49cc('0x4'));var rp=require(_0x49cc('0x5'));var fs=require('fs');var path=require(_0x49cc('0x6'));var rimraf=require(_0x49cc('0x7'));var config=require(_0x49cc('0x8'));var attributes=require('./dashboard.attributes');module['exports']=function(_0x33c019,_0x90f85d){return _0x33c019[_0x49cc('0x9')](_0x49cc('0xa'),attributes,{'tableName':'dashboards','paranoid':![],'indexes':[],'timestamps':!![]});};