Built motion from commit e781dc3c.|2.5.42
[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 _0xe17e=['moment','bluebird','request-promise','path','rimraf','./dashboard.attributes','exports','define','Dashboard','lodash','util','../../config/logger'];(function(_0x2c8b54,_0xf1a8e1){var _0x47dd50=function(_0x284497){while(--_0x284497){_0x2c8b54['push'](_0x2c8b54['shift']());}};_0x47dd50(++_0xf1a8e1);}(_0xe17e,0xc9));var _0xee17=function(_0x15a5c8,_0x5f1610){_0x15a5c8=_0x15a5c8-0x0;var _0x162b30=_0xe17e[_0x15a5c8];return _0x162b30;};'use strict';var _=require(_0xee17('0x0'));var util=require(_0xee17('0x1'));var logger=require(_0xee17('0x2'))('api');var moment=require(_0xee17('0x3'));var BPromise=require(_0xee17('0x4'));var rp=require(_0xee17('0x5'));var fs=require('fs');var path=require(_0xee17('0x6'));var rimraf=require(_0xee17('0x7'));var config=require('../../config/environment');var attributes=require(_0xee17('0x8'));module[_0xee17('0x9')]=function(_0x6e6d84,_0x754d01){return _0x6e6d84[_0xee17('0xa')](_0xee17('0xb'),attributes,{'tableName':'dashboards','paranoid':![],'indexes':[],'timestamps':!![]});};