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 _0x7e9f=['exports','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../config/environment','./dashboard.controller','isAuthenticated','get','/:id','show','/:id/items','post','/:id/clone','clone','addItem','put','update','delete','destroy'];(function(_0x270adf,_0x1daaa3){var _0x29eda9=function(_0x40afec){while(--_0x40afec){_0x270adf['push'](_0x270adf['shift']());}};_0x29eda9(++_0x1daaa3);}(_0x7e9f,0x109));var _0xf7e9=function(_0x2e815f,_0x7fb015){_0x2e815f=_0x2e815f-0x0;var _0x11c68f=_0x7e9f[_0x2e815f];return _0x11c68f;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0xf7e9('0x0'));var timeout=require(_0xf7e9('0x1'));var express=require(_0xf7e9('0x2'));var router=express[_0xf7e9('0x3')]();var fs_extra=require(_0xf7e9('0x4'));var auth=require(_0xf7e9('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0xf7e9('0x6'));var controller=require(_0xf7e9('0x7'));router['get']('/',auth[_0xf7e9('0x8')](),controller['index']);router[_0xf7e9('0x9')](_0xf7e9('0xa'),auth['isAuthenticated'](),controller[_0xf7e9('0xb')]);router[_0xf7e9('0x9')](_0xf7e9('0xc'),auth[_0xf7e9('0x8')](),controller['getItems']);router[_0xf7e9('0xd')]('/',auth[_0xf7e9('0x8')](),controller['create']);router[_0xf7e9('0xd')](_0xf7e9('0xe'),auth['isAuthenticated'](),controller[_0xf7e9('0xf')]);router[_0xf7e9('0xd')](_0xf7e9('0xc'),auth[_0xf7e9('0x8')](),controller[_0xf7e9('0x10')]);router[_0xf7e9('0x11')](_0xf7e9('0xa'),auth[_0xf7e9('0x8')](),controller[_0xf7e9('0x12')]);router[_0xf7e9('0x13')](_0xf7e9('0xa'),auth[_0xf7e9('0x8')](),controller[_0xf7e9('0x14')]);module[_0xf7e9('0x15')]=router;