Built motion from commit f7863d46.|2.5.41
[motion2.git] / server / api / dashboardItem / dashboardItem.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 _0x42a1=['exports','define','dashboard_items','lodash','util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','./dashboardItem.attributes'];(function(_0x1cc8fe,_0x105328){var _0x230054=function(_0x1a1b56){while(--_0x1a1b56){_0x1cc8fe['push'](_0x1cc8fe['shift']());}};_0x230054(++_0x105328);}(_0x42a1,0x155));var _0x142a=function(_0x1e9d62,_0x25bb8e){_0x1e9d62=_0x1e9d62-0x0;var _0x56c490=_0x42a1[_0x1e9d62];return _0x56c490;};'use strict';var _=require(_0x142a('0x0'));var util=require(_0x142a('0x1'));var logger=require(_0x142a('0x2'))(_0x142a('0x3'));var moment=require(_0x142a('0x4'));var BPromise=require(_0x142a('0x5'));var rp=require(_0x142a('0x6'));var fs=require('fs');var path=require(_0x142a('0x7'));var rimraf=require(_0x142a('0x8'));var config=require('../../config/environment');var attributes=require(_0x142a('0x9'));module[_0x142a('0xa')]=function(_0x207310,_0x44774a){return _0x207310[_0x142a('0xb')]('DashboardItem',attributes,{'tableName':_0x142a('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};