9287df7122b8ff0a7dd4f49c67d9659fcd5570bc
[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 _0x04be=['define','dashboards','lodash','util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment'];(function(_0x4001ad,_0x1e22dd){var _0x4c7ec2=function(_0x24cb8a){while(--_0x24cb8a){_0x4001ad['push'](_0x4001ad['shift']());}};_0x4c7ec2(++_0x1e22dd);}(_0x04be,0x1ca));var _0xe04b=function(_0x510ea3,_0x1b3075){_0x510ea3=_0x510ea3-0x0;var _0x18d151=_0x04be[_0x510ea3];return _0x18d151;};'use strict';var _=require(_0xe04b('0x0'));var util=require(_0xe04b('0x1'));var logger=require(_0xe04b('0x2'))(_0xe04b('0x3'));var moment=require(_0xe04b('0x4'));var BPromise=require(_0xe04b('0x5'));var rp=require(_0xe04b('0x6'));var fs=require('fs');var path=require(_0xe04b('0x7'));var rimraf=require(_0xe04b('0x8'));var config=require(_0xe04b('0x9'));var attributes=require('./dashboard.attributes');module['exports']=function(_0x556fd6,_0x23a0ae){return _0x556fd6[_0xe04b('0xa')]('Dashboard',attributes,{'tableName':_0xe04b('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};