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 _0xcfa3=['./dashboard.attributes','exports','Dashboard','dashboards','util','api','moment','request-promise','path','rimraf','../../config/environment'];(function(_0x2d8d65,_0x4db2c0){var _0x434585=function(_0x4de1e2){while(--_0x4de1e2){_0x2d8d65['push'](_0x2d8d65['shift']());}};_0x434585(++_0x4db2c0);}(_0xcfa3,0x88));var _0x3cfa=function(_0x561db7,_0x4ba8ea){_0x561db7=_0x561db7-0x0;var _0x5b2845=_0xcfa3[_0x561db7];return _0x5b2845;};'use strict';var _=require('lodash');var util=require(_0x3cfa('0x0'));var logger=require('../../config/logger')(_0x3cfa('0x1'));var moment=require(_0x3cfa('0x2'));var BPromise=require('bluebird');var rp=require(_0x3cfa('0x3'));var fs=require('fs');var path=require(_0x3cfa('0x4'));var rimraf=require(_0x3cfa('0x5'));var config=require(_0x3cfa('0x6'));var attributes=require(_0x3cfa('0x7'));module[_0x3cfa('0x8')]=function(_0x3adb1e,_0x454773){return _0x3adb1e['define'](_0x3cfa('0x9'),attributes,{'tableName':_0x3cfa('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};