cefffbfb2428379220be41d5211e63de507744ab
[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 _0x5907=['rimraf','../../config/environment','./dashboardItem.attributes','exports','define','lodash','../../config/logger','api','moment','request-promise','path'];(function(_0x2b4fea,_0xc01e5f){var _0x48419d=function(_0x21b02d){while(--_0x21b02d){_0x2b4fea['push'](_0x2b4fea['shift']());}};_0x48419d(++_0xc01e5f);}(_0x5907,0x7e));var _0x7590=function(_0x2a25ab,_0x342895){_0x2a25ab=_0x2a25ab-0x0;var _0x540092=_0x5907[_0x2a25ab];return _0x540092;};'use strict';var _=require(_0x7590('0x0'));var util=require('util');var logger=require(_0x7590('0x1'))(_0x7590('0x2'));var moment=require(_0x7590('0x3'));var BPromise=require('bluebird');var rp=require(_0x7590('0x4'));var fs=require('fs');var path=require(_0x7590('0x5'));var rimraf=require(_0x7590('0x6'));var config=require(_0x7590('0x7'));var attributes=require(_0x7590('0x8'));module[_0x7590('0x9')]=function(_0xc8a28a,_0x29ebac){return _0xc8a28a[_0x7590('0xa')]('DashboardItem',attributes,{'tableName':'dashboard_items','paranoid':![],'indexes':[],'timestamps':!![]});};