02a23157174a3895b3870d3105597cb855b50645
[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 _0x4d7a=['../../config/logger','moment','request-promise','path','rimraf','../../config/environment','./dashboard.attributes','exports','define','dashboards','lodash','util'];(function(_0xd2c0d6,_0x414456){var _0x1a74e1=function(_0x122f81){while(--_0x122f81){_0xd2c0d6['push'](_0xd2c0d6['shift']());}};_0x1a74e1(++_0x414456);}(_0x4d7a,0xfa));var _0xa4d7=function(_0x2c4652,_0x578a9d){_0x2c4652=_0x2c4652-0x0;var _0x351fc=_0x4d7a[_0x2c4652];return _0x351fc;};'use strict';var _=require(_0xa4d7('0x0'));var util=require(_0xa4d7('0x1'));var logger=require(_0xa4d7('0x2'))('api');var moment=require(_0xa4d7('0x3'));var BPromise=require('bluebird');var rp=require(_0xa4d7('0x4'));var fs=require('fs');var path=require(_0xa4d7('0x5'));var rimraf=require(_0xa4d7('0x6'));var config=require(_0xa4d7('0x7'));var attributes=require(_0xa4d7('0x8'));module[_0xa4d7('0x9')]=function(_0xa7e72d,_0x581176){return _0xa7e72d[_0xa4d7('0xa')]('Dashboard',attributes,{'tableName':_0xa4d7('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};