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 _0x7c5e=['isAuthenticated','get','/:id','show','post','put','update','delete','destroy','exports','multer','util','path','connect-timeout','express','../../components/auth/service','../../components/interaction/service','../../config/environment','./intDeskField.controller'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0x7c5e,0x69));var _0xe7c5=function(_0xccbac4,_0x93e995){_0xccbac4=_0xccbac4-0x0;var _0x2a83c7=_0x7c5e[_0xccbac4];return _0x2a83c7;};'use strict';var multer=require(_0xe7c5('0x0'));var util=require(_0xe7c5('0x1'));var path=require(_0xe7c5('0x2'));var timeout=require(_0xe7c5('0x3'));var express=require(_0xe7c5('0x4'));var router=express['Router']();var auth=require(_0xe7c5('0x5'));var interaction=require(_0xe7c5('0x6'));var config=require(_0xe7c5('0x7'));var controller=require(_0xe7c5('0x8'));router['get']('/',auth[_0xe7c5('0x9')](),controller['index']);router[_0xe7c5('0xa')](_0xe7c5('0xb'),auth['isAuthenticated'](),controller[_0xe7c5('0xc')]);router[_0xe7c5('0xd')]('/',auth[_0xe7c5('0x9')](),controller['create']);router[_0xe7c5('0xe')](_0xe7c5('0xb'),auth[_0xe7c5('0x9')](),controller[_0xe7c5('0xf')]);router[_0xe7c5('0x10')](_0xe7c5('0xb'),auth[_0xe7c5('0x9')](),controller[_0xe7c5('0x11')]);module[_0xe7c5('0x12')]=router;