Built motion from commit 19a84241.|2.5.34
[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 _0x3cde=['dashboards','lodash','util','../../config/logger','api','bluebird','request-promise','path','rimraf','../../config/environment','./dashboard.attributes','define','Dashboard'];(function(_0x44d809,_0x1f76fb){var _0x5361b9=function(_0x3e2a7f){while(--_0x3e2a7f){_0x44d809['push'](_0x44d809['shift']());}};_0x5361b9(++_0x1f76fb);}(_0x3cde,0x1d5));var _0xe3cd=function(_0x480393,_0x5a7a1c){_0x480393=_0x480393-0x0;var _0x1e856a=_0x3cde[_0x480393];return _0x1e856a;};'use strict';var _=require(_0xe3cd('0x0'));var util=require(_0xe3cd('0x1'));var logger=require(_0xe3cd('0x2'))(_0xe3cd('0x3'));var moment=require('moment');var BPromise=require(_0xe3cd('0x4'));var rp=require(_0xe3cd('0x5'));var fs=require('fs');var path=require(_0xe3cd('0x6'));var rimraf=require(_0xe3cd('0x7'));var config=require(_0xe3cd('0x8'));var attributes=require(_0xe3cd('0x9'));module['exports']=function(_0x5c0bad,_0x2e47ad){return _0x5c0bad[_0xe3cd('0xa')](_0xe3cd('0xb'),attributes,{'tableName':_0xe3cd('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};