Built motion from commit 994c64e1.|2.6.1
[motion2.git] / server / api / dashboard / 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 _0xf3ca=['/:id/clone','clone','addItem','put','update','delete','destroy','multer','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','./dashboard.controller','get','index','/:id','/:id/items','getItems','post','isAuthenticated','create'];(function(_0x50d2b0,_0x24ae06){var _0xa11e37=function(_0x4ac793){while(--_0x4ac793){_0x50d2b0['push'](_0x50d2b0['shift']());}};_0xa11e37(++_0x24ae06);}(_0xf3ca,0x97));var _0xaf3c=function(_0x3b0422,_0x820084){_0x3b0422=_0x3b0422-0x0;var _0x545e14=_0xf3ca[_0x3b0422];return _0x545e14;};'use strict';var multer=require(_0xaf3c('0x0'));var util=require('util');var path=require(_0xaf3c('0x1'));var timeout=require(_0xaf3c('0x2'));var express=require(_0xaf3c('0x3'));var router=express[_0xaf3c('0x4')]();var fs_extra=require(_0xaf3c('0x5'));var auth=require(_0xaf3c('0x6'));var interaction=require(_0xaf3c('0x7'));var config=require('../../config/environment');var controller=require(_0xaf3c('0x8'));router[_0xaf3c('0x9')]('/',auth['isAuthenticated'](),controller[_0xaf3c('0xa')]);router[_0xaf3c('0x9')](_0xaf3c('0xb'),auth['isAuthenticated'](),controller['show']);router[_0xaf3c('0x9')](_0xaf3c('0xc'),auth['isAuthenticated'](),controller[_0xaf3c('0xd')]);router[_0xaf3c('0xe')]('/',auth[_0xaf3c('0xf')](),controller[_0xaf3c('0x10')]);router[_0xaf3c('0xe')](_0xaf3c('0x11'),auth[_0xaf3c('0xf')](),controller[_0xaf3c('0x12')]);router[_0xaf3c('0xe')](_0xaf3c('0xc'),auth[_0xaf3c('0xf')](),controller[_0xaf3c('0x13')]);router[_0xaf3c('0x14')](_0xaf3c('0xb'),auth[_0xaf3c('0xf')](),controller[_0xaf3c('0x15')]);router[_0xaf3c('0x16')](_0xaf3c('0xb'),auth[_0xaf3c('0xf')](),controller[_0xaf3c('0x17')]);module['exports']=router;