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 _0xa049=['show','post','create','put','update','delete','destroy','exports','multer','util','path','express','../../components/interaction/service','./intDeskField.controller','get','isAuthenticated','index','/:id'];(function(_0x5d66a9,_0x3ad3c8){var _0x7350f=function(_0x3dfee4){while(--_0x3dfee4){_0x5d66a9['push'](_0x5d66a9['shift']());}};_0x7350f(++_0x3ad3c8);}(_0xa049,0x116));var _0x9a04=function(_0x1655bb,_0x5a82ae){_0x1655bb=_0x1655bb-0x0;var _0x5e2020=_0xa049[_0x1655bb];return _0x5e2020;};'use strict';var multer=require(_0x9a04('0x0'));var util=require(_0x9a04('0x1'));var path=require(_0x9a04('0x2'));var timeout=require('connect-timeout');var express=require(_0x9a04('0x3'));var router=express['Router']();var auth=require('../../components/auth/service');var interaction=require(_0x9a04('0x4'));var config=require('../../config/environment');var controller=require(_0x9a04('0x5'));router[_0x9a04('0x6')]('/',auth[_0x9a04('0x7')](),controller[_0x9a04('0x8')]);router[_0x9a04('0x6')](_0x9a04('0x9'),auth['isAuthenticated'](),controller[_0x9a04('0xa')]);router[_0x9a04('0xb')]('/',auth[_0x9a04('0x7')](),controller[_0x9a04('0xc')]);router[_0x9a04('0xd')](_0x9a04('0x9'),auth[_0x9a04('0x7')](),controller[_0x9a04('0xe')]);router[_0x9a04('0xf')](_0x9a04('0x9'),auth[_0x9a04('0x7')](),controller[_0x9a04('0x10')]);module[_0x9a04('0x11')]=router;