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 _0x2512=['./intDeskField.controller','isAuthenticated','get','show','post','create','put','/:id','destroy','multer','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment'];(function(_0x171520,_0x1cee8c){var _0x3cc729=function(_0x201c4a){while(--_0x201c4a){_0x171520['push'](_0x171520['shift']());}};_0x3cc729(++_0x1cee8c);}(_0x2512,0x15d));var _0x2251=function(_0x10b4f4,_0x4f1ca0){_0x10b4f4=_0x10b4f4-0x0;var _0x187294=_0x2512[_0x10b4f4];return _0x187294;};'use strict';var multer=require(_0x2251('0x0'));var util=require('util');var path=require(_0x2251('0x1'));var timeout=require(_0x2251('0x2'));var express=require(_0x2251('0x3'));var router=express[_0x2251('0x4')]();var auth=require(_0x2251('0x5'));var interaction=require(_0x2251('0x6'));var config=require(_0x2251('0x7'));var controller=require(_0x2251('0x8'));router['get']('/',auth[_0x2251('0x9')](),controller['index']);router[_0x2251('0xa')]('/:id',auth[_0x2251('0x9')](),controller[_0x2251('0xb')]);router[_0x2251('0xc')]('/',auth[_0x2251('0x9')](),controller[_0x2251('0xd')]);router[_0x2251('0xe')](_0x2251('0xf'),auth[_0x2251('0x9')](),controller['update']);router['delete'](_0x2251('0xf'),auth[_0x2251('0x9')](),controller[_0x2251('0x10')]);module['exports']=router;