Built motion from commit (unavailable).|2.2.0
[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 _0x349f=['define','Dashboard','dashboards','lodash','util','../../config/logger','moment','bluebird','request-promise','./dashboard.attributes','exports'];(function(_0x4b369d,_0x265eb8){var _0x571a98=function(_0x56341a){while(--_0x56341a){_0x4b369d['push'](_0x4b369d['shift']());}};_0x571a98(++_0x265eb8);}(_0x349f,0xa8));var _0xf349=function(_0x2ca042,_0xe183c0){_0x2ca042=_0x2ca042-0x0;var _0x53f019=_0x349f[_0x2ca042];return _0x53f019;};'use strict';var _=require(_0xf349('0x0'));var util=require(_0xf349('0x1'));var logger=require(_0xf349('0x2'))('api');var moment=require(_0xf349('0x3'));var BPromise=require(_0xf349('0x4'));var rp=require(_0xf349('0x5'));var attributes=require(_0xf349('0x6'));module[_0xf349('0x7')]=function(_0x39b8aa,_0x27de91){return _0x39b8aa[_0xf349('0x8')](_0xf349('0x9'),attributes,{'tableName':_0xf349('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};