Built motion from commit ab870f9e.|2.5.44
[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 _0x0b80=['../../config/logger','api','moment','bluebird','request-promise','rimraf','../../config/environment','./dashboardItem.attributes','exports','define','dashboard_items','lodash','util'];(function(_0x16539a,_0x31409a){var _0x200796=function(_0xfe7803){while(--_0xfe7803){_0x16539a['push'](_0x16539a['shift']());}};_0x200796(++_0x31409a);}(_0x0b80,0xa7));var _0x00b8=function(_0x520786,_0x135075){_0x520786=_0x520786-0x0;var _0x51422a=_0x0b80[_0x520786];return _0x51422a;};'use strict';var _=require(_0x00b8('0x0'));var util=require(_0x00b8('0x1'));var logger=require(_0x00b8('0x2'))(_0x00b8('0x3'));var moment=require(_0x00b8('0x4'));var BPromise=require(_0x00b8('0x5'));var rp=require(_0x00b8('0x6'));var fs=require('fs');var path=require('path');var rimraf=require(_0x00b8('0x7'));var config=require(_0x00b8('0x8'));var attributes=require(_0x00b8('0x9'));module[_0x00b8('0xa')]=function(_0x12c902,_0x4211eb){return _0x12c902[_0x00b8('0xb')]('DashboardItem',attributes,{'tableName':_0x00b8('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};