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 _0xa73a=['post','put','delete','exports','util','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','isAuthenticated','index','get','/:id'];(function(_0xa92014,_0x5847b2){var _0x3bc139=function(_0x318362){while(--_0x318362){_0xa92014['push'](_0xa92014['shift']());}};_0x3bc139(++_0x5847b2);}(_0xa73a,0xe5));var _0xaa73=function(_0x33ca22,_0xbcc94){_0x33ca22=_0x33ca22-0x0;var _0x1790c3=_0xa73a[_0x33ca22];return _0x1790c3;};'use strict';var multer=require('multer');var util=require(_0xaa73('0x0'));var path=require('path');var timeout=require(_0xaa73('0x1'));var express=require(_0xaa73('0x2'));var router=express[_0xaa73('0x3')]();var fs_extra=require('fs-extra');var auth=require(_0xaa73('0x4'));var interaction=require(_0xaa73('0x5'));var config=require(_0xaa73('0x6'));var controller=require('./intDeskField.controller');router['get']('/',auth[_0xaa73('0x7')](),controller[_0xaa73('0x8')]);router[_0xaa73('0x9')](_0xaa73('0xa'),auth[_0xaa73('0x7')](),controller['show']);router[_0xaa73('0xb')]('/',auth['isAuthenticated'](),controller['create']);router[_0xaa73('0xc')](_0xaa73('0xa'),auth[_0xaa73('0x7')](),controller['update']);router[_0xaa73('0xd')](_0xaa73('0xa'),auth[_0xaa73('0x7')](),controller['destroy']);module[_0xaa73('0xe')]=router;