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 _0x8bec=['create','put','update','delete','destroy','util','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../config/environment','./intDeskField.controller','get','/:id','show','post','isAuthenticated'];(function(_0x2fc4b9,_0x68c3b6){var _0x20e5cd=function(_0x5462cc){while(--_0x5462cc){_0x2fc4b9['push'](_0x2fc4b9['shift']());}};_0x20e5cd(++_0x68c3b6);}(_0x8bec,0xdd));var _0xc8be=function(_0x49b56b,_0x22f7d1){_0x49b56b=_0x49b56b-0x0;var _0x51d990=_0x8bec[_0x49b56b];return _0x51d990;};'use strict';var multer=require('multer');var util=require(_0xc8be('0x0'));var path=require('path');var timeout=require(_0xc8be('0x1'));var express=require(_0xc8be('0x2'));var router=express[_0xc8be('0x3')]();var fs_extra=require(_0xc8be('0x4'));var auth=require(_0xc8be('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0xc8be('0x6'));var controller=require(_0xc8be('0x7'));router[_0xc8be('0x8')]('/',auth['isAuthenticated'](),controller['index']);router[_0xc8be('0x8')](_0xc8be('0x9'),auth['isAuthenticated'](),controller[_0xc8be('0xa')]);router[_0xc8be('0xb')]('/',auth[_0xc8be('0xc')](),controller[_0xc8be('0xd')]);router[_0xc8be('0xe')](_0xc8be('0x9'),auth[_0xc8be('0xc')](),controller[_0xc8be('0xf')]);router[_0xc8be('0x10')](_0xc8be('0x9'),auth[_0xc8be('0xc')](),controller[_0xc8be('0x11')]);module['exports']=router;