Built motion from commit (unavailable).|2.5.13
[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 _0xc200=['path','rimraf','./dashboard.attributes','exports','Dashboard','lodash','util','../../config/logger','moment','bluebird','request-promise'];(function(_0x2acb84,_0x17d173){var _0x380b95=function(_0x277b9e){while(--_0x277b9e){_0x2acb84['push'](_0x2acb84['shift']());}};_0x380b95(++_0x17d173);}(_0xc200,0xcb));var _0x0c20=function(_0xc4001c,_0x1bf8f0){_0xc4001c=_0xc4001c-0x0;var _0x49f7bc=_0xc200[_0xc4001c];return _0x49f7bc;};'use strict';var _=require(_0x0c20('0x0'));var util=require(_0x0c20('0x1'));var logger=require(_0x0c20('0x2'))('api');var moment=require(_0x0c20('0x3'));var BPromise=require(_0x0c20('0x4'));var rp=require(_0x0c20('0x5'));var fs=require('fs');var path=require(_0x0c20('0x6'));var rimraf=require(_0x0c20('0x7'));var config=require('../../config/environment');var attributes=require(_0x0c20('0x8'));module[_0x0c20('0x9')]=function(_0xd49fd0,_0xa5e872){return _0xd49fd0['define'](_0x0c20('0xa'),attributes,{'tableName':'dashboards','paranoid':![],'indexes':[],'timestamps':!![]});};