Built motion from commit (unavailable).|2.3.95
[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 _0x5ae0=['./dashboard.attributes','exports','define','Dashboard','dashboards','util','../../config/logger','moment','bluebird'];(function(_0x132c8c,_0x4b41bf){var _0x46162f=function(_0x371b3d){while(--_0x371b3d){_0x132c8c['push'](_0x132c8c['shift']());}};_0x46162f(++_0x4b41bf);}(_0x5ae0,0xf8));var _0x05ae=function(_0x84635a,_0x46e1f1){_0x84635a=_0x84635a-0x0;var _0x3729d6=_0x5ae0[_0x84635a];return _0x3729d6;};'use strict';var _=require('lodash');var util=require(_0x05ae('0x0'));var logger=require(_0x05ae('0x1'))('api');var moment=require(_0x05ae('0x2'));var BPromise=require(_0x05ae('0x3'));var rp=require('request-promise');var attributes=require(_0x05ae('0x4'));module[_0x05ae('0x5')]=function(_0x4aac85,_0x554b43){return _0x4aac85[_0x05ae('0x6')](_0x05ae('0x7'),attributes,{'tableName':_0x05ae('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};