Built motion from commit 52c8a02d.|2.6.29
[motion2.git] / server / api / dashboardItem / index.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 _0xe1ce=['connect-timeout','express','fs-extra','../../components/auth/service','../../components/interaction/service','get','/:id','isAuthenticated','show','post','put','update','delete','destroy','multer','util'];(function(_0x3e59ab,_0xb1aac4){var _0x10209e=function(_0x26e9e9){while(--_0x26e9e9){_0x3e59ab['push'](_0x3e59ab['shift']());}};_0x10209e(++_0xb1aac4);}(_0xe1ce,0x1ae));var _0xee1c=function(_0x5f3f88,_0x562baf){_0x5f3f88=_0x5f3f88-0x0;var _0xd08119=_0xe1ce[_0x5f3f88];return _0xd08119;};'use strict';var multer=require(_0xee1c('0x0'));var util=require(_0xee1c('0x1'));var path=require('path');var timeout=require(_0xee1c('0x2'));var express=require(_0xee1c('0x3'));var router=express['Router']();var fs_extra=require(_0xee1c('0x4'));var auth=require(_0xee1c('0x5'));var interaction=require(_0xee1c('0x6'));var config=require('../../config/environment');var controller=require('./dashboardItem.controller');router[_0xee1c('0x7')](_0xee1c('0x8'),auth[_0xee1c('0x9')](),controller[_0xee1c('0xa')]);router[_0xee1c('0xb')]('/',auth[_0xee1c('0x9')](),controller['create']);router[_0xee1c('0xc')](_0xee1c('0x8'),auth[_0xee1c('0x9')](),controller[_0xee1c('0xd')]);router[_0xee1c('0xe')](_0xee1c('0x8'),auth[_0xee1c('0x9')](),controller[_0xee1c('0xf')]);module['exports']=router;