1ccbd229ba04fc9a7fce4a8dd4d539cd9ca29ef7
[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 _0xde44=['lodash','util','../../config/logger','api','bluebird','request-promise','path','rimraf','../../config/environment','exports','define'];(function(_0x21549c,_0x6d64d1){var _0x426cbd=function(_0x323f5b){while(--_0x323f5b){_0x21549c['push'](_0x21549c['shift']());}};_0x426cbd(++_0x6d64d1);}(_0xde44,0x160));var _0x4de4=function(_0x233079,_0x333ea6){_0x233079=_0x233079-0x0;var _0x136769=_0xde44[_0x233079];return _0x136769;};'use strict';var _=require(_0x4de4('0x0'));var util=require(_0x4de4('0x1'));var logger=require(_0x4de4('0x2'))(_0x4de4('0x3'));var moment=require('moment');var BPromise=require(_0x4de4('0x4'));var rp=require(_0x4de4('0x5'));var fs=require('fs');var path=require(_0x4de4('0x6'));var rimraf=require(_0x4de4('0x7'));var config=require(_0x4de4('0x8'));var attributes=require('./dashboard.attributes');module[_0x4de4('0x9')]=function(_0x536a5b,_0x1794e1){return _0x536a5b[_0x4de4('0xa')]('Dashboard',attributes,{'tableName':'dashboards','paranoid':![],'indexes':[],'timestamps':!![]});};