Built motion from commit (unavailable).|2.5.17
[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 _0x060f=['../../config/environment','./dashboard.attributes','exports','define','Dashboard','dashboards','lodash','util','../../config/logger','api','moment','bluebird','path','rimraf'];(function(_0x49f67f,_0x4113a4){var _0x4779a1=function(_0x5064b0){while(--_0x5064b0){_0x49f67f['push'](_0x49f67f['shift']());}};_0x4779a1(++_0x4113a4);}(_0x060f,0x148));var _0xf060=function(_0x1ba43c,_0x5bd2e8){_0x1ba43c=_0x1ba43c-0x0;var _0x2f60eb=_0x060f[_0x1ba43c];return _0x2f60eb;};'use strict';var _=require(_0xf060('0x0'));var util=require(_0xf060('0x1'));var logger=require(_0xf060('0x2'))(_0xf060('0x3'));var moment=require(_0xf060('0x4'));var BPromise=require(_0xf060('0x5'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xf060('0x6'));var rimraf=require(_0xf060('0x7'));var config=require(_0xf060('0x8'));var attributes=require(_0xf060('0x9'));module[_0xf060('0xa')]=function(_0x38f9ca,_0x377bff){return _0x38f9ca[_0xf060('0xb')](_0xf060('0xc'),attributes,{'tableName':_0xf060('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};