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 _0x460e=['post','isAuthenticated','create','put','exports','path','connect-timeout','../../components/auth/service','../../components/interaction/service','../../config/environment','./intDeskField.controller','index','get','/:id','show'];(function(_0x3c0ad6,_0x26ebc2){var _0x3f1e08=function(_0xe3c62b){while(--_0xe3c62b){_0x3c0ad6['push'](_0x3c0ad6['shift']());}};_0x3f1e08(++_0x26ebc2);}(_0x460e,0xe6));var _0xe460=function(_0x1e9d62,_0x25bb8e){_0x1e9d62=_0x1e9d62-0x0;var _0x56c490=_0x460e[_0x1e9d62];return _0x56c490;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0xe460('0x0'));var timeout=require(_0xe460('0x1'));var express=require('express');var router=express['Router']();var auth=require(_0xe460('0x2'));var interaction=require(_0xe460('0x3'));var config=require(_0xe460('0x4'));var controller=require(_0xe460('0x5'));router['get']('/',auth['isAuthenticated'](),controller[_0xe460('0x6')]);router[_0xe460('0x7')](_0xe460('0x8'),auth['isAuthenticated'](),controller[_0xe460('0x9')]);router[_0xe460('0xa')]('/',auth[_0xe460('0xb')](),controller[_0xe460('0xc')]);router[_0xe460('0xd')]('/:id',auth[_0xe460('0xb')](),controller['update']);router['delete'](_0xe460('0x8'),auth[_0xe460('0xb')](),controller['destroy']);module[_0xe460('0xe')]=router;