4dce35d92a4de74b1cad565dfa73420950baea4d
[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 _0x9d86=['dashboard_items','lodash','util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./dashboardItem.attributes','exports','define'];(function(_0xc81ca7,_0xb90d5){var _0x366401=function(_0x181f0a){while(--_0x181f0a){_0xc81ca7['push'](_0xc81ca7['shift']());}};_0x366401(++_0xb90d5);}(_0x9d86,0x1a5));var _0x69d8=function(_0xc8fdb7,_0x161dc0){_0xc8fdb7=_0xc8fdb7-0x0;var _0x29632b=_0x9d86[_0xc8fdb7];return _0x29632b;};'use strict';var _=require(_0x69d8('0x0'));var util=require(_0x69d8('0x1'));var logger=require(_0x69d8('0x2'))(_0x69d8('0x3'));var moment=require(_0x69d8('0x4'));var BPromise=require(_0x69d8('0x5'));var rp=require(_0x69d8('0x6'));var fs=require('fs');var path=require(_0x69d8('0x7'));var rimraf=require(_0x69d8('0x8'));var config=require(_0x69d8('0x9'));var attributes=require(_0x69d8('0xa'));module[_0x69d8('0xb')]=function(_0x148ceb,_0xd5bb14){return _0x148ceb[_0x69d8('0xc')]('DashboardItem',attributes,{'tableName':_0x69d8('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};