Built motion from commit d5e4af8c.|2.6.23
[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 _0x165f=['bluebird','path','rimraf','../../config/environment','./dashboard.attributes','define','Dashboard','dashboards','lodash','../../config/logger','moment'];(function(_0x467cec,_0x47b1af){var _0xea5dbd=function(_0xe0eeb9){while(--_0xe0eeb9){_0x467cec['push'](_0x467cec['shift']());}};_0xea5dbd(++_0x47b1af);}(_0x165f,0x6b));var _0xf165=function(_0x27b283,_0x5505bf){_0x27b283=_0x27b283-0x0;var _0xcacb64=_0x165f[_0x27b283];return _0xcacb64;};'use strict';var _=require(_0xf165('0x0'));var util=require('util');var logger=require(_0xf165('0x1'))('api');var moment=require(_0xf165('0x2'));var BPromise=require(_0xf165('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xf165('0x4'));var rimraf=require(_0xf165('0x5'));var config=require(_0xf165('0x6'));var attributes=require(_0xf165('0x7'));module['exports']=function(_0x413e24,_0x1764ae){return _0x413e24[_0xf165('0x8')](_0xf165('0x9'),attributes,{'tableName':_0xf165('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};