e5f95eaff89f037e812b7099a7ecd6481a99ffb1
[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 _0x810c=['exports','define','dashboard_items','lodash','util','api','moment','request-promise','rimraf','../../config/environment','./dashboardItem.attributes'];(function(_0xe5b349,_0x5f06e4){var _0x26b0ad=function(_0x1a97f1){while(--_0x1a97f1){_0xe5b349['push'](_0xe5b349['shift']());}};_0x26b0ad(++_0x5f06e4);}(_0x810c,0x1a5));var _0xc810=function(_0xf91431,_0x43afe7){_0xf91431=_0xf91431-0x0;var _0x1b86ee=_0x810c[_0xf91431];return _0x1b86ee;};'use strict';var _=require(_0xc810('0x0'));var util=require(_0xc810('0x1'));var logger=require('../../config/logger')(_0xc810('0x2'));var moment=require(_0xc810('0x3'));var BPromise=require('bluebird');var rp=require(_0xc810('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0xc810('0x5'));var config=require(_0xc810('0x6'));var attributes=require(_0xc810('0x7'));module[_0xc810('0x8')]=function(_0x1f71b5,_0x3c5bb8){return _0x1f71b5[_0xc810('0x9')]('DashboardItem',attributes,{'tableName':_0xc810('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};