1 // *************************************************************************
3 // * xCALLY Motion - The Omnichannel Contact Center *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved *
6 // *************************************************************************
8 // * Email: info@xcally.com *
9 // * Website: https://www.xcally.com *
11 // *************************************************************************
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. *
17 // *************************************************************************
18 var _0x511c=['path','connect-timeout','express','Router','fs-extra','../../components/interaction/service','../../config/environment','./dashboard.controller','get','isAuthenticated','index','/:id','/:id/items','post','create','/:id/clone','addItem','put','update','delete','destroy','exports','multer'];(function(_0x37357f,_0x3b23bb){var _0x505ef9=function(_0x42df61){while(--_0x42df61){_0x37357f['push'](_0x37357f['shift']());}};_0x505ef9(++_0x3b23bb);}(_0x511c,0x72));var _0xc511=function(_0x49335f,_0x46042c){_0x49335f=_0x49335f-0x0;var _0x144233=_0x511c[_0x49335f];return _0x144233;};'use strict';var multer=require(_0xc511('0x0'));var util=require('util');var path=require(_0xc511('0x1'));var timeout=require(_0xc511('0x2'));var express=require(_0xc511('0x3'));var router=express[_0xc511('0x4')]();var fs_extra=require(_0xc511('0x5'));var auth=require('../../components/auth/service');var interaction=require(_0xc511('0x6'));var config=require(_0xc511('0x7'));var controller=require(_0xc511('0x8'));router[_0xc511('0x9')]('/',auth[_0xc511('0xa')](),controller[_0xc511('0xb')]);router[_0xc511('0x9')](_0xc511('0xc'),auth[_0xc511('0xa')](),controller['show']);router['get'](_0xc511('0xd'),auth[_0xc511('0xa')](),controller['getItems']);router[_0xc511('0xe')]('/',auth['isAuthenticated'](),controller[_0xc511('0xf')]);router[_0xc511('0xe')](_0xc511('0x10'),auth[_0xc511('0xa')](),controller['clone']);router[_0xc511('0xe')](_0xc511('0xd'),auth[_0xc511('0xa')](),controller[_0xc511('0x11')]);router[_0xc511('0x12')](_0xc511('0xc'),auth[_0xc511('0xa')](),controller[_0xc511('0x13')]);router[_0xc511('0x14')](_0xc511('0xc'),auth['isAuthenticated'](),controller[_0xc511('0x15')]);module[_0xc511('0x16')]=router;