Built motion from commit (unavailable).|2.5.4
[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 _0x5636=['../../config/logger','api','moment','request-promise','path','./dashboard.attributes','exports','dashboards','lodash','util'];(function(_0x5c97c1,_0xb2a8){var _0x27dfd2=function(_0x402a0f){while(--_0x402a0f){_0x5c97c1['push'](_0x5c97c1['shift']());}};_0x27dfd2(++_0xb2a8);}(_0x5636,0x1a2));var _0x6563=function(_0x5735b2,_0x5a1ce5){_0x5735b2=_0x5735b2-0x0;var _0x5da265=_0x5636[_0x5735b2];return _0x5da265;};'use strict';var _=require(_0x6563('0x0'));var util=require(_0x6563('0x1'));var logger=require(_0x6563('0x2'))(_0x6563('0x3'));var moment=require(_0x6563('0x4'));var BPromise=require('bluebird');var rp=require(_0x6563('0x5'));var fs=require('fs');var path=require(_0x6563('0x6'));var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0x6563('0x7'));module[_0x6563('0x8')]=function(_0x5495fd,_0xbb4f96){return _0x5495fd['define']('Dashboard',attributes,{'tableName':_0x6563('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};