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 _0x6a95=['multer','util','path','connect-timeout','express','Router','fs-extra','../../config/environment','./intDeskField.controller','get','isAuthenticated','index','/:id','post','put','update','delete','destroy','exports'];(function(_0x5a455c,_0x4bb488){var _0x205b0d=function(_0x267320){while(--_0x267320){_0x5a455c['push'](_0x5a455c['shift']());}};_0x205b0d(++_0x4bb488);}(_0x6a95,0x1db));var _0x56a9=function(_0x481bf7,_0x437f69){_0x481bf7=_0x481bf7-0x0;var _0x461787=_0x6a95[_0x481bf7];return _0x461787;};'use strict';var multer=require(_0x56a9('0x0'));var util=require(_0x56a9('0x1'));var path=require(_0x56a9('0x2'));var timeout=require(_0x56a9('0x3'));var express=require(_0x56a9('0x4'));var router=express[_0x56a9('0x5')]();var fs_extra=require(_0x56a9('0x6'));var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0x56a9('0x7'));var controller=require(_0x56a9('0x8'));router[_0x56a9('0x9')]('/',auth[_0x56a9('0xa')](),controller[_0x56a9('0xb')]);router[_0x56a9('0x9')](_0x56a9('0xc'),auth['isAuthenticated'](),controller['show']);router[_0x56a9('0xd')]('/',auth[_0x56a9('0xa')](),controller['create']);router[_0x56a9('0xe')](_0x56a9('0xc'),auth[_0x56a9('0xa')](),controller[_0x56a9('0xf')]);router[_0x56a9('0x10')](_0x56a9('0xc'),auth[_0x56a9('0xa')](),controller[_0x56a9('0x11')]);module[_0x56a9('0x12')]=router;